On Thursday 26 March 2015 12:00:31 Reece Webb wrote: > Just installed GitLab CE 7.9.0, trying to get AD authentication to work. I > receive an "Invalid DN Syntax" error when I try to login (bind user works). > It appears to be an issue dealing with commas in the DN. > > # gitlab-rake gitlab:ldap:check > Checking LDAP ... > > LDAP users with access to your GitLab server (only showing the first 100 > results) > Server: ldapmain > DN: CN=LastName\, FirstName,OU=Users,OU= ...<removed>... sAMAccountName: > user > > I checked MS TechNet, escaping the comma is the correct DN syntax, so not > sure why "user" isn't able to login. > > Just to confirm that the escaped comma was the problem, I also tried > binding to an LDAP server that sets the CN to "first last", and logins > work. For example: > > # gitlab-rake gitlab:ldap:check > Checking LDAP ... > > LDAP users with access to your GitLab server (only showing the first 100 > results) > Server: ldapmain > DN: CN=FirstName LastName,OU=Users,OU= ...<removed>... sAMAccountName: user > > > Is there any way to work around this? > > Thanks, > Reece > >
upgrade to GitLab CE 7.9.1 there should be a fix for LDAP with commas in DN regards Markus Köberl -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/2786058.15BCgdrNWD%40debian. For more options, visit https://groups.google.com/d/optout.