LDAP problems

Does anyone know what this means?

Login name doesn't follow filter pattern \S+
\S+

I've enabled LDAP and am trying to login with a big "Set as administrator" button but getting the above error. There doesn't seem to be any documentation on configuring LDAP. I have:

java.naming.provider.url=ldap://ldap.server:389/
java.naming.security.principal=cn=user,o=root
java.naming.security.credentials=passwd
java.naming.security.authentication=simple

is there a way to specify the root of the search and the uid attribute on which to search? I read somewhere you have to login using a DN - surely that's not correct?

thanks,

Alistair

2 comments
Comment actions Permalink

Please check out the documentation
http://www.jetbrains.net/confluence/display/TCD4/Authentication+Settings#AuthenticationSettings-LDAPAuthentication
specifically loginFilter attribute and "Non-AD LDAP server issues" section.

Alistair wrote:

Does anyone know what this means?

Login name doesn't follow filter pattern \S+
\S+

I've enabled LDAP and am trying to login with a big "Set as administrator" button but getting the above error. There doesn't seem to be any documentation on configuring LDAP. I have:

java.naming.provider.url=ldap://ldap.server:389/
java.naming.security.principal=cn=user,o=root
java.naming.security.credentials=passwd
java.naming.security.authentication=simple

is there a way to specify the root of the search and the uid attribute on which to search? I read somewhere you have to login using a DN - surely that's not correct?

thanks,

Alistair


0
Comment actions Permalink

thanks for that. Does that mean it doesn't do LDAP lookups? it's a brute force DN bind? i.e. if you have multiple ou at the root of your LDAP tree, only one can be used to login to Teamcity?

0

Please sign in to leave a comment.