{"action":"created","issue":{"url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1433","repository_url":"https://api.github.com/repos/nilsteampassnet/TeamPass","labels_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1433/labels{/name}","comments_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1433/comments","events_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1433/events","html_url":"https://github.com/nilsteampassnet/TeamPass/issues/1433","id":172000630,"number":1433,"title":"LDAP Active Directory authentication, suffix required","user":{"login":"mweber88","id":2997292,"avatar_url":"https://avatars.githubusercontent.com/u/2997292?v=3","gravatar_id":"","url":"https://api.github.com/users/mweber88","html_url":"https://github.com/mweber88","followers_url":"https://api.github.com/users/mweber88/followers","following_url":"https://api.github.com/users/mweber88/following{/other_user}","gists_url":"https://api.github.com/users/mweber88/gists{/gist_id}","starred_url":"https://api.github.com/users/mweber88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweber88/subscriptions","organizations_url":"https://api.github.com/users/mweber88/orgs","repos_url":"https://api.github.com/users/mweber88/repos","events_url":"https://api.github.com/users/mweber88/events{/privacy}","received_events_url":"https://api.github.com/users/mweber88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-18T21:04:46Z","updated_at":"2016-09-13T20:00:26Z","closed_at":null,"body":"I find that in the LDAP configuration for AD, the account suffix field doesn't affect behavior.  Regardless of what I enter in this field, I cannot authenticate unless I include \"@weberautomotive.com\" (with proper values, of course) to the userID during login.\r\n\r\nAll of our users have the same suffix in AD, so I would like to default it with the suffix field in LDAP config, but it's not working.  I do, however, have LDAP over TLS functioning correctly.\r\n\r\nI've looked in the adLDAP.php library and see that the bind is attempted with the username contatenated (.) to the suffix, so that tells me that the suffix in the config must be of the form \"@domain1.domain2...domainx.tld\" and not as the helper text shows as \"@dc=domain,dc=tld\"\r\n\r\n### Steps to reproduce\r\n1. Configure LDAP, include correct suffix\r\n2. Attempt to login only providing the username at login; login fails\r\n3. reconfigure LDAP, include bogus suffix\r\n4. Attempt to login only providing the username at login; login fails\r\n5.  Attempt to login providing the username and the suffix at login; login succeeds\r\n\r\n### Server configuration\r\n**Operating system**:\r\nMac OS X 10.11.6\r\n\r\n**Web server:**\r\napache 2.4.18\r\n\r\n**Database:**\r\nMySql 5.7.13\r\n\r\n**PHP version:**\r\n5.5.36\r\n\r\n**Teampass version:** \r\n2.1.26.16\r\n\r\n**Updated from an older Teampass or fresh install:**\r\nFresh install\r\n\r\n### Client configuration\r\n**Browser:**\r\nChrome or Firefox\r\n\r\n**Operating system:**\r\nWindows 10 or Mac OS X 10.11.6\r\n\r\n**No errors in any of the logs for this issue**"},"comment":{"url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/comments/246805206","html_url":"https://github.com/nilsteampassnet/TeamPass/issues/1433#issuecomment-246805206","issue_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1433","id":246805206,"user":{"login":"mweber88","id":2997292,"avatar_url":"https://avatars.githubusercontent.com/u/2997292?v=3","gravatar_id":"","url":"https://api.github.com/users/mweber88","html_url":"https://github.com/mweber88","followers_url":"https://api.github.com/users/mweber88/followers","following_url":"https://api.github.com/users/mweber88/following{/other_user}","gists_url":"https://api.github.com/users/mweber88/gists{/gist_id}","starred_url":"https://api.github.com/users/mweber88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweber88/subscriptions","organizations_url":"https://api.github.com/users/mweber88/orgs","repos_url":"https://api.github.com/users/mweber88/repos","events_url":"https://api.github.com/users/mweber88/events{/privacy}","received_events_url":"https://api.github.com/users/mweber88/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T20:00:26Z","updated_at":"2016-09-13T20:00:26Z","body":"Nils--\r\n\r\nThis can be closed with #1486 which you closed today."}}
{"actor":{"display_login":"mweber88"}}