I had the same issue. To fix, change the login side of the value for
key:distinguished_name_template to just curly braces, like so:
distinguished_name_template: {}@thedomain.com
Gitorious::Authentication::LDAPAuthentication doesn't support any other
syntax combination, regardless of what's been written previously. This can
be seen in the source were said curly braces are replaced with the user
login.
lib/gitorious/authentication/ldap_authentication.rb:
148 def build_username(login)
149 distinguished_name_template.sub("{}", login)
150 end
LDAP can take a bare username or username@something but not cn=username for
a non-anonymous bind. I noticed that your base dn, bind username @x and dn
template differ, which I'm sure was just an oversight when obfuscating for
public posting but that may be an issue, if not.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]