{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1939","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1939/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1939/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1939/events","html_url":"https://github.com/gogits/gogs/issues/1939","id":116713080,"number":1939,"title":"ldap authentication","user":{"login":"renewsorensen","id":10239939,"avatar_url":"https://avatars.githubusercontent.com/u/10239939?v=3","gravatar_id":"","url":"https://api.github.com/users/renewsorensen","html_url":"https://github.com/renewsorensen","followers_url":"https://api.github.com/users/renewsorensen/followers","following_url":"https://api.github.com/users/renewsorensen/following{/other_user}","gists_url":"https://api.github.com/users/renewsorensen/gists{/gist_id}","starred_url":"https://api.github.com/users/renewsorensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renewsorensen/subscriptions","organizations_url":"https://api.github.com/users/renewsorensen/orgs","repos_url":"https://api.github.com/users/renewsorensen/repos","events_url":"https://api.github.com/users/renewsorensen/events{/privacy}","received_events_url":"https://api.github.com/users/renewsorensen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/14","html_url":"https://github.com/gogits/gogs/milestones/0.7.x","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/14/labels","id":1391993,"number":14,"title":"0.7.x","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":85,"state":"open","created_at":"2015-11-03T18:59:46Z","updated_at":"2015-11-21T10:51:01Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-11-13T06:56:12Z","updated_at":"2015-11-21T17:52:42Z","closed_at":"2015-11-21T10:51:01Z","body":"I have been trying to setup the ldap authentication, but i am not able to get it working, so i could use other eyes on this. I am rather new to ldap, so im am not sure what to put where in the settings screen.\r\nIf i use ldap browser by softerra i will find all my users in this path or what ever it's called. note that i changed company name and initials.\r\n\r\nCN=My Full Name,OU=AAR,OU=DK,OU=VISTA,OU=Company group,DC=domain,DC=net\r\n\r\nbeneath here is a lot of attributes, one of them is initials \r\n\r\nUser DN: OU=AAR,OU=DK,OU=VISTA,OU=Company group,DC=domain,DC=net\r\nUser Filter: (&(objectCategory=Person)(objectClass=User)(initials=%s))\r\n\r\nthe log stats: \r\n[Macaron] Started POST /user/login for 192.168.1.2\r\n2015/11/13 07:32:33 [T] LDAP will bind directly via UserDN template: OU=AAR,OU=DK,OU=VISTA,OU=Company group,DC=domain,DC=net\r\n2015/11/13 07:32:33 [T] Binding with userDN: OU=AAR,OU=DK,OU=VISTA,OU=Company group,DC=domain,DC=net%!(EXTRA string=my initials)\r\n2015/11/13 07:32:33 [D] LDAP auth. failed for OU=AAR,OU=DK,OU=VISTA,OU=Company group,DC=domain,DC=net%!(EXTRA string=my initials), reason: LDAP Result Code 49 \"Invalid Credentials\": 80090308: LdapErr: DSID-0C0903A8, comment: AcceptSecurityContext error, data 52e, v1db1"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/158665853","html_url":"https://github.com/gogits/gogs/issues/1939#issuecomment-158665853","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1939","id":158665853,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T17:52:42Z","updated_at":"2015-11-21T17:52:42Z","body":":tada:"}}