{"action":"created","issue":{"url":"https://api.github.com/repos/Yvand/LDAPCP/issues/16","repository_url":"https://api.github.com/repos/Yvand/LDAPCP","labels_url":"https://api.github.com/repos/Yvand/LDAPCP/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Yvand/LDAPCP/issues/16/comments","events_url":"https://api.github.com/repos/Yvand/LDAPCP/issues/16/events","html_url":"https://github.com/Yvand/LDAPCP/issues/16","id":252011406,"number":16,"title":"Unexpected error in SearchOrValidate","user":{"login":"Joeostr","id":31250068,"avatar_url":"https://avatars2.githubusercontent.com/u/31250068?v=4","gravatar_id":"","url":"https://api.github.com/users/Joeostr","html_url":"https://github.com/Joeostr","followers_url":"https://api.github.com/users/Joeostr/followers","following_url":"https://api.github.com/users/Joeostr/following{/other_user}","gists_url":"https://api.github.com/users/Joeostr/gists{/gist_id}","starred_url":"https://api.github.com/users/Joeostr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joeostr/subscriptions","organizations_url":"https://api.github.com/users/Joeostr/orgs","repos_url":"https://api.github.com/users/Joeostr/repos","events_url":"https://api.github.com/users/Joeostr/events{/privacy}","received_events_url":"https://api.github.com/users/Joeostr/received_events","type":"User","site_admin":false},"labels":[{"id":403712961,"url":"https://api.github.com/repos/Yvand/LDAPCP/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"Yvand","id":8788631,"avatar_url":"https://avatars2.githubusercontent.com/u/8788631?v=4","gravatar_id":"","url":"https://api.github.com/users/Yvand","html_url":"https://github.com/Yvand","followers_url":"https://api.github.com/users/Yvand/followers","following_url":"https://api.github.com/users/Yvand/following{/other_user}","gists_url":"https://api.github.com/users/Yvand/gists{/gist_id}","starred_url":"https://api.github.com/users/Yvand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yvand/subscriptions","organizations_url":"https://api.github.com/users/Yvand/orgs","repos_url":"https://api.github.com/users/Yvand/repos","events_url":"https://api.github.com/users/Yvand/events{/privacy}","received_events_url":"https://api.github.com/users/Yvand/received_events","type":"User","site_admin":false},"assignees":[{"login":"Yvand","id":8788631,"avatar_url":"https://avatars2.githubusercontent.com/u/8788631?v=4","gravatar_id":"","url":"https://api.github.com/users/Yvand","html_url":"https://github.com/Yvand","followers_url":"https://api.github.com/users/Yvand/followers","following_url":"https://api.github.com/users/Yvand/following{/other_user}","gists_url":"https://api.github.com/users/Yvand/gists{/gist_id}","starred_url":"https://api.github.com/users/Yvand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yvand/subscriptions","organizations_url":"https://api.github.com/users/Yvand/orgs","repos_url":"https://api.github.com/users/Yvand/repos","events_url":"https://api.github.com/users/Yvand/events{/privacy}","received_events_url":"https://api.github.com/users/Yvand/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-08-22T16:11:54Z","updated_at":"2017-08-23T17:06:35Z","closed_at":null,"body":"Hi,\r\n\r\nInstalled and configured LDAPCP in SharePoint 2013. It all seems to be fine except the people picker doesnt return any results. i see the following errors in the log.\r\n\r\n08/22/2017 12:02:52.44 \tw3wp.exe (FPSSP1:0x1478)                \t0x41F4\tLDAPCP                        \tLDAP Lookup                   \t1337\tMedium\t[LDAPCP] 4 permission(s) to create after filtering\tb8cd119e-ad17-d04e-d6c0-f866acdad5be\r\n\r\n08/22/2017 12:02:52.44 \tw3wp.exe (FPSSP1:0x1478)                \t0x41F4\tLDAPCP                        \tClaims Picking                \t1337\tUnexpected\t[LDAPCP] Unexpected error in SearchOrValidate: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.  Parameter name: index, Callstack:    at System.Collections.ArrayList.get_Item(Int32 index)     at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)     at ldapcp.LDAPCP.CreatePickerEntityHelper(ConsolidatedResult result)     at ldapcp.LDAPCP.ProcessLdapResults(RequestInformation requestInfo, List`1& LDAPSearchResultWrappers)     at ldapcp.LDAPCP.SearchOrValidateWithLDAP(RequestInformation requestInfo, List`1& permissions)     at ldapcp.LDAPCP.SearchOrValidate(RequestInformation requestInfo)\tb8cd119e-ad17-d04e-d6c0-f866acdad5be\r\n"},"comment":{"url":"https://api.github.com/repos/Yvand/LDAPCP/issues/comments/324400308","html_url":"https://github.com/Yvand/LDAPCP/issues/16#issuecomment-324400308","issue_url":"https://api.github.com/repos/Yvand/LDAPCP/issues/16","id":324400308,"user":{"login":"Joeostr","id":31250068,"avatar_url":"https://avatars2.githubusercontent.com/u/31250068?v=4","gravatar_id":"","url":"https://api.github.com/users/Joeostr","html_url":"https://github.com/Joeostr","followers_url":"https://api.github.com/users/Joeostr/followers","following_url":"https://api.github.com/users/Joeostr/following{/other_user}","gists_url":"https://api.github.com/users/Joeostr/gists{/gist_id}","starred_url":"https://api.github.com/users/Joeostr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joeostr/subscriptions","organizations_url":"https://api.github.com/users/Joeostr/orgs","repos_url":"https://api.github.com/users/Joeostr/repos","events_url":"https://api.github.com/users/Joeostr/events{/privacy}","received_events_url":"https://api.github.com/users/Joeostr/received_events","type":"User","site_admin":false},"created_at":"2017-08-23T17:06:35Z","updated_at":"2017-08-23T17:06:35Z","body":"Hi there,\r\n\r\nYes, its pretty much all users. Requested info below. i just tried again, all returned results are  \"_i:0#.w_\" windows users\r\n\r\n**Get-SPTrustedIdentityTokenIssuer** (relevant data)\r\nClaimTypes                    : {http://schemas.xmlsoap.org/ws/2005/05/identity\r\n                                /claims/emailaddress, http://schemas.xmlsoap.or\r\n                                g/ws/2005/05/identity/claims/upn, http://schema\r\n                                s.microsoft.com/ws/2008/06/identity/claims/role\r\n                                , http://schemas.microsoft.com/ws/2008/06/ident\r\n                                ity/claims/primarysid}\r\nHasClaimTypeInformation       : True\r\nClaimTypeInformation          : {EmailAddress, UPN, Role, SID}\r\nClaimProviderName             : LDAPCP\r\nUseWReplyParameter            : False\r\nUseWHomeRealmParameter        : False\r\nRegisteredIssuerName          :\r\nIdentityClaimTypeInformation  : Microsoft.SharePoint.Administration.Claims.SPTr\r\n                                ustedClaimTypeInformation\r\nDescription                   : AD Federation Server\r\n\r\n**Get-SPClaimProvider -Identity LDAPCP**\r\nDisplayName                 : LDAPCP\r\nDescription                 : LDAPCP\r\nIsEnabled                   : True\r\nIsUsedByDefault             : True\r\nIsVisible                   : True\r\nAssemblyName                : ldapcp, Version=1.0.0.0, Culture=neutral,\r\n                              PublicKeyToken=80be731bc1a1a740\r\nTypeName                    : ldapcp.LDAPCP\r\nClaimProvider               : ldapcp.LDAPCP\r\nClaimProviderType           : ldapcp.LDAPCP\r\nIsValid                     : True\r\nUpgradedPersistedProperties : {}\r\n\r\n"}}
{"actor":{"display_login":"Joeostr"}}