{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/2257","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/2257/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/2257/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/2257/events","html_url":"https://github.com/snipe/snipe-it/issues/2257","id":165967454,"number":2257,"title":"ldap sync blank page ","user":{"login":"ehareef","id":20264703,"avatar_url":"https://avatars.githubusercontent.com/u/20264703?v=3","gravatar_id":"","url":"https://api.github.com/users/ehareef","html_url":"https://github.com/ehareef","followers_url":"https://api.github.com/users/ehareef/followers","following_url":"https://api.github.com/users/ehareef/following{/other_user}","gists_url":"https://api.github.com/users/ehareef/gists{/gist_id}","starred_url":"https://api.github.com/users/ehareef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehareef/subscriptions","organizations_url":"https://api.github.com/users/ehareef/orgs","repos_url":"https://api.github.com/users/ehareef/repos","events_url":"https://api.github.com/users/ehareef/events{/privacy}","received_events_url":"https://api.github.com/users/ehareef/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snipe/snipe-it/labels/not%20a%20bug","name":"not a bug","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-17T08:48:22Z","updated_at":"2016-07-28T13:53:41Z","closed_at":null,"body":"\r\nDears, \r\n\r\nGood day , \r\n\r\nKindly try to configure LDAP setting , i already configure ldap.php file and from admin setting ,\r\n\r\nProblem is when i press sync i get blank page without any error or source code \r\n\r\nPHP-Ldap installed and running good \r\n\r\nalso i enabled debug but no errors at all \r\nattached files for admin \r\n\r\nand nest is ldap File\r\n\r\n`  /*\r\n    |--------------------------------------------------------------------------\r\n    | URL\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | URL for the LDAP server. This should start with ldap://, for example:\r\n    | ldap://ldap.yourserver.com\r\n    |\r\n    */\r\n    'url' => \"LDAP://10.1.30.33:389\",\r\n\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | Username\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | Username to use to connect authenticate to LDAP, for example:\r\n    | cn=read-only-admin,dc=example,dc=com\r\n    |\r\n    */\r\n\t'username' => \"CN=FortiGate,OU=Services Accounts,OU=PalmHills,DC=phd,DC=palmhills,DC=local\",\r\n\r\n\t/*\r\n    |--------------------------------------------------------------------------\r\n    | Password\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | Password to use when authenticating to LDAP.\r\n    |\r\n    */\r\n\t'password' => \"********\",\r\n\r\n\t/*\r\n    |--------------------------------------------------------------------------\r\n    | Basedn\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | The base where the search for users will be executed, for example:\r\n    | dc=example,dc=com\r\n    |\r\n    */\r\n\t'basedn'   => \"DC=phd,DC=palmhills,DC=local\",\r\n\r\n\r\n\t/*\r\n    |--------------------------------------------------------------------------\r\n    | Filter\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | The search filter for the LDAP query. This probably does not have to be\r\n    | changed.\r\n    |\r\n    */\r\n\t'filter' => \"&(cn=*)\",\r\n\r\n\r\n\t/*\r\n    |--------------------------------------------------------------------------\r\n    | LDAP field names that will be retrieved to create a user.\r\n    |\r\n    | Using the username as an example:\r\n    | If I set 'result.username' => 'my-org-username', the code will connect to\r\n    | LDAP as follows (where $results[$i] represents a row in the LDAP query:\r\n    | $username-to-insert-in-snipe-it = $results[$i][\"my-org-username\"][0]\r\n    |\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | The search filter for the LDAP query.\r\n    | Note: all these fields are required, and they should all be lowercase.\r\n    |\r\n    */\r\n    'result.username' => \"samaccountname\",\r\n    'result.last.name'  => \"sn\",\r\n    'result.first.name' => \"givenname\",\r\n\r\n    /*\r\n    | These fields are optional as not all LDAP directories will have it.  If yours\r\n    | does not have them, just leave these blank and the extra check will\r\n    | be omitted.\r\n    */\r\n    'result.active.flag' => \"\",\r\n    'result.emp.num'  => \"\",\r\n    'result.email' => \"mail\",\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | LDAP filter query for authentication\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | The LDAP query that we want to execute when authenticating a user. This\r\n    | should not have to be changed.\r\n    |\r\n    */\r\n    'authentication.filter.query' => \"uid=\",\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | LDAP Version\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | Version of LDAP you are using.\r\n    |\r\n    */\r\n    'version' => 3,`\r\n\r\nBR,\r\n\r\n![snapit ldap](https://cloud.githubusercontent.com/assets/20264703/16899642/76e50f8c-4c0b-11e6-9a84-889d704bc34d.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/235900921","html_url":"https://github.com/snipe/snipe-it/issues/2257#issuecomment-235900921","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/2257","id":235900921,"user":{"login":"snipe","id":197404,"avatar_url":"https://avatars.githubusercontent.com/u/197404?v=3","gravatar_id":"","url":"https://api.github.com/users/snipe","html_url":"https://github.com/snipe","followers_url":"https://api.github.com/users/snipe/followers","following_url":"https://api.github.com/users/snipe/following{/other_user}","gists_url":"https://api.github.com/users/snipe/gists{/gist_id}","starred_url":"https://api.github.com/users/snipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipe/subscriptions","organizations_url":"https://api.github.com/users/snipe/orgs","repos_url":"https://api.github.com/users/snipe/repos","events_url":"https://api.github.com/users/snipe/events{/privacy}","received_events_url":"https://api.github.com/users/snipe/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T13:53:41Z","updated_at":"2016-07-28T13:53:41Z","body":"My guess would be that your filter or search query is wrong. LDAP support was improved in v3, so you might want to consider upgrading. "}}
{"actor":{"display_login":"snipe"}}