TeamCity integrate with AD error
I have integrated AD to our JIRA, Jenkins, SVN, etc. but can't get this work. Below is the error message I got. The ldap.properties is also attached here.
2014-01-28 14:39:58,791] INFO - jetbrains.buildServer.LDAP - Reloading LDAP properties
[2014-01-28 14:39:59,664] WARN - jetbrains.buildServer.LDAP - Search in LDAP: base='DC=office,DC=adroot,DC=bmogc,DC=net', filter='(&(objectCategory=Person)(memberof=CN=ccusers,OU=UNIX%20Security%20Groups,OU=CTD_CM_RMG,OU=Corporate%20Clients%20V2,DC=office,DC=adroot,DC=bmogc,DC=net))', scope=2, attributes=[sAMAccountName, distinguishedName] resulted in error
[2014-01-28 14:39:59,664] INFO - jetbrains.buildServer.LDAP - Failed to find user in LDAP by 'jhu06'. Cause: No such object ([LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=office,DC=adroot,DC=bmogc,DC=net'
]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=office,DC=adroot,DC=bmogc,DC=net'
]; remaining name 'DC=office,DC=adroot,DC=bmogc,DC=net')
Most common reason for this error: LDAP server couldn't resolve the path specified in base DN.
Please verify the following properties:
java.naming.provider.url
teamcity.users.base
teamcity.groups.base
and make sure the base DN is relative to the root DN (specified in java.naming.provider.url)
Attachment(s):
ldap-config.properties.zip
Please sign in to leave a comment.