{"action":"opened","issue":{"url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/543","repository_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel","labels_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/543/comments","events_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/543/events","html_url":"https://github.com/Adldap2/Adldap2-Laravel/issues/543","id":318685373,"number":543,"title":"Authentication fails in Openldap with objectCategoryPerson = inetOrgPerson","user":{"login":"lyustiz","id":5721247,"avatar_url":"https://avatars3.githubusercontent.com/u/5721247?v=4","gravatar_id":"","url":"https://api.github.com/users/lyustiz","html_url":"https://github.com/lyustiz","followers_url":"https://api.github.com/users/lyustiz/followers","following_url":"https://api.github.com/users/lyustiz/following{/other_user}","gists_url":"https://api.github.com/users/lyustiz/gists{/gist_id}","starred_url":"https://api.github.com/users/lyustiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyustiz/subscriptions","organizations_url":"https://api.github.com/users/lyustiz/orgs","repos_url":"https://api.github.com/users/lyustiz/repos","events_url":"https://api.github.com/users/lyustiz/events{/privacy}","received_events_url":"https://api.github.com/users/lyustiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-29T02:55:51Z","updated_at":"2018-04-29T02:55:51Z","closed_at":null,"author_association":"NONE","body":"- Laravel Version: 5.6\r\n- Adldap2-Laravel Version: 4.0\r\n- PHP Version: 7.2\r\n- LDAP Type: <OpenLDAP\r\n- Schema : Adldp\\Schemas\\OpenLDAP::class \r\n\r\n<!-- ISSUES WITHOUT THE ABOVE INFORMATION WILL BE CLOSED! -->\r\n\r\n### Description:\r\n**file:** vendor\\adldap2\\adldap2-laravel\\src\\Resolvers\\UserResolver.php\r\n**function:** byCredentials();\r\n**line:**\r\n`return $this->query()->whereEquals($field, $username)->first();`\r\n\r\n**Symptom:** always return null\r\n\r\n**Cause:**\r\n**file:** vendor\\adldap2\\adldap2\\src\\Query\\Factory.php\r\n**function:** users();\r\n\r\ndon't read attribute objectClassPerson() ->'inetorgperson'  from:\r\n**file:** vendor\\adldap2\\adldap2\\src\\Schemas\\OpenLDAP.php\r\n\r\ninstead, read attribute objectClassPerson() ->'person' from:\r\n**file:** \\vendor\\adldap2\\adldap2\\src\\Schemas\\BaseSchema.php\r\n\r\nsorry for my English.\r\n\r\n\r\n"}}
{"actor":{"display_login":"lyustiz"}}