{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/1869","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/1869/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/1869/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/1869/events","html_url":"https://github.com/snipe/snipe-it/issues/1869","id":142183808,"number":1869,"title":"Importing users via LDAP","user":{"login":"DavidR-ZA","id":17966170,"avatar_url":"https://avatars.githubusercontent.com/u/17966170?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidR-ZA","html_url":"https://github.com/DavidR-ZA","followers_url":"https://api.github.com/users/DavidR-ZA/followers","following_url":"https://api.github.com/users/DavidR-ZA/following{/other_user}","gists_url":"https://api.github.com/users/DavidR-ZA/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidR-ZA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidR-ZA/subscriptions","organizations_url":"https://api.github.com/users/DavidR-ZA/orgs","repos_url":"https://api.github.com/users/DavidR-ZA/repos","events_url":"https://api.github.com/users/DavidR-ZA/events{/privacy}","received_events_url":"https://api.github.com/users/DavidR-ZA/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snipe/snipe-it/labels/ldap","name":"ldap","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-03-20T17:25:32Z","updated_at":"2016-03-22T09:04:26Z","closed_at":null,"body":"#### Expected Behavior (or desired behavior if a feature request)\r\n\r\nI set the LDAP settings in Admin>Settings>Edit Settings >LDAP Heading\r\nI have four sites - each with own AD - so I did this four times with different LDAP server settings. \r\nWith each setting. I go to People > LDAP. Set location and Synchronize.\r\nI see the list of users. Each one shows as created with username, First Namer, LAstName and Email address.\r\nI look at the data in the users table, 1301 rows displayed, All fields correctly created for each user. Looking similar to my own admin account. Permissions field is {\"user\":1} and activated is 1. Notes is Imported from LDAP. Company (NULL)\r\n\r\n\r\n-----\r\n\r\n#### Actual Behavior\r\nIn People > Current Users, the only user displayed is my account. None of the LDP imported users display.\r\n\r\nIf I create a new user manually and I go to the Manager select drop down, all the users appear.\r\nThis user shows in the People List - with a created_at value, while the LDAP imports have 0000-00-00 00:00:00 in this field.\r\n\r\nIn status on Create Asset, when I select, Ready to deploy, the list of users does not display. Green circle going around and then a Server Error 500, when I try to create the Asset.\r\n\r\nThis is different to the behaviour on the demo site.\r\n\r\n\r\n-----\r\n\r\n#### Please confirm you have done the following before posting your bug report:\r\n\r\n- [x] I have enabled debug mode\r\n- [x] I have read [checked the Common Issues page](http://docs.snipeitapp.com/common-issues.html)\r\n\r\n-----\r\n#### Please provide answers to these questions before posting your bug report:\r\n\r\n- Version of Snipe-IT you're running\r\nSnipe-IT version\tv2.1.0-55-g701c16f\r\n- What OS and web server you're running Snipe-IT on\r\nOperating system\tUbuntu Linux 14.04.4\r\nApache Server version : Apache/2.4.7 (Ubunutu)\r\nServer Built: Jan 14 2016 17:45:23\r\n\r\n\r\n- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)\r\nused install.sh\r\n- If you're getting an error in your browser, include that error\r\nNo error message\r\n- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error\r\n/admin/users\r\n\r\n- If a stacktrace is provided in the error, include that too.\r\n- Any errors that appear in your browser's error console.\r\n- Confirm whether the error is [reproduceable on the demo](https://snipeitapp.com/demo).\r\nThe Demo site does not allow for LDAP settings\r\n\r\n- Include any additional information you can find in `app/storage/logs` and your webserver's logs.\r\n- Include what you've done so far in the installation, and if you got any error messages along the way.\r\nNo error messages during installation\r\n- Indicate whether or not you've manually edited any data directly in the database\r\nNo data has been entered into the database manually."},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/199708124","html_url":"https://github.com/snipe/snipe-it/issues/1869#issuecomment-199708124","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/1869","id":199708124,"user":{"login":"DavidR-ZA","id":17966170,"avatar_url":"https://avatars.githubusercontent.com/u/17966170?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidR-ZA","html_url":"https://github.com/DavidR-ZA","followers_url":"https://api.github.com/users/DavidR-ZA/followers","following_url":"https://api.github.com/users/DavidR-ZA/following{/other_user}","gists_url":"https://api.github.com/users/DavidR-ZA/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidR-ZA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidR-ZA/subscriptions","organizations_url":"https://api.github.com/users/DavidR-ZA/orgs","repos_url":"https://api.github.com/users/DavidR-ZA/repos","events_url":"https://api.github.com/users/DavidR-ZA/events{/privacy}","received_events_url":"https://api.github.com/users/DavidR-ZA/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T09:04:25Z","updated_at":"2016-03-22T09:04:25Z","body":"Sorry - I meant refreshing the data with the refresh button."}}