0

LDAP login failures / admin account

I'm trying to setup team city to authenticate against LDAP following http://www.jetbrains.net/confluence/display/TCD/Authentication+Settings. I have installed teamcity 2.0, started and stopped it to create the .buildsettings directory, and then edited the main-config.xml as described and created my ldap-config.properties. My ldap-config.properties looks like:

com.sun.jndi.ldap.connect.pool=true
java.naming.provider.url=ldap://toyent01:389/
java.naming.security.principal=CN=kisdro,O=admin
java.naming.security.credentials=*******
java.naming.security.authentication=simple

I've cranked up the logging, and I see this in the logs:

DEBUG - ide.impl.auth.ServerLoginModel - Login failed, error: javax.security.auth.login.FailedLoginException: Please use DOMAIN\sAMAccountName login format

This doesn't make sense to me as I'm using straight LDAP login. Could someone please give me some guideance here?

cheers,
dim

ps - aside from these teething problems it looks like a great product and I'm looking forward to getting it all up and running.

8 comments

Please sign in to leave a comment.