LDAP Active Directory Authentication Switch

I am trying to convert our TC authentication to use LDAP Active Directory.  I have been able to have the users authenticate, but display name and email does not come across to the new user.  I get the below error in the LDAP log file which I believe they are connected.  I will attach a screenshot of Active Directory layout.  Let me know if you guys can be of any assistance or need anymore information.

[2011-07-27 15:20:07,341]   INFO -     jetbrains.buildServer.LDAP - ------ Sync with LDAP users started ------
[2011-07-27 15:20:07,450]   WARN -     jetbrains.buildServer.LDAP - Fatal error while LDAP users synchronization: invalid attribute description; nested exception is javax.naming.directory.InvalidSearchFilterException: invalid attribute description; remaining name 'OU=Users'
[2011-07-27 15:20:07,450]   INFO -     jetbrains.buildServer.LDAP - Last syncronization statistics: created users=0, updated users=0, removed users=0, users in ldap=0, matched users=0, duration=109ms, errors=[Fatal error while LDAP users synchronization: invalid attribute description; nested exception is javax.naming.directory.InvalidSearchFilterException: invalid attribute description; remaining name 'OU=Users']

The LDAP config file is such.

java.naming.provider.url=ldap://<servername>:389/OU=World%20Headquarters,OU=Office%20Locations,DC=northamerica,DC=<company>,DC=net
# Login using 'sAMAccountName' value.
teamcity.auth.loginFilter=[^/\\\\@]+
teamcity.users.login.filter=(sAMAccountName=$login$)
teamcity.users.previousUsername=$login$  
java.naming.referral=follow
java.naming.security.authentication=simple
teamcity.options.users.synchronize=true
teamcity.options.deleteUsers=true  
teamcity.options.syncTimeout=3600000


# LDAP credentials for TeamCity plugin.java.naming.security.credentials=XXXXXXX

java.naming.security.principal=XXXXXX

# User synchronization: on, synchronize display name and e-mail.


teamcity.users.base=OU=Users
teamcity.users.filter=(objectClass=user)
teamcity.users.username=sAMAccountName
teamcity.users.property.displayName=displayName
teamcity.users.property.email=mail


# Group synchronization: disabled.
teamcity.options.groups.synchronize=false



Attachment(s):
ActiveDirectory.png
2 comments
Comment actions Permalink

Were you ever able to resolve this?

0
Comment actions Permalink

I can't seem to get the displayName to come across either. :(

0

Please sign in to leave a comment.