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

-- 
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/095be75d-2864-40d1-b806-b585cbf99a83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to