TeamCity - Ldap Integration ( Group Sync ) Not working
Hi,
I am from Apple. We are trying to integrate Ldap to Teamcity.
I have configured all the required properties in (ldap-config.properties) file. I have written all the required config properties in it.
Problem:
My user name is in a group called A. When i try to login to teamcity, i am able to login and
Things working -- under GENERAL TAB
- It's populating ( Username, Name, Email Address )
- It's populating ( Jabber accout details )
Not working -- under GROUPS TAB
- It's NOT populating the GROUP that i am actually in ( A ) under the group name table.
Here is the properties that I have written in the file::
Please help me out if i am missing any property for the group sync in the file
### MANDATORY SETTINGS ###
#—————————————————————————————————————————————————————————————#
##### LDAP Login and Active Directory ######
java.naming.provider.url=ldap://od.xxxxx.com:xxx/dc=xxxxx,dc=com
java.naming.security.principal=uid=xxxxxxxxxxx,cn=users,dc=xxxxx,dc=com
java.naming.security.credentials=xxxxxxxxxxxxx
teamcity.users.login.filter=(uid=$capturedLogin$)
teamcity.users.username=uid
java.naming.security.authentication=simple
java.naming.referral=follow
#—————————————————————————————————————————————————————————————#
### USERNAME TRANSFORMATION SETTINGS ###
#—————————————————————————————————————————————————————————————#
##### User Login Check with out Domain ######
teamcity.auth.login.filter=[^/\\\\@]+
# teamcity.auth.loginFilter=.*
#—————————————————————————————————————————————————————————————#
####################################################################################################
# LDAP SYNCHRONIZATION
####################################################################################################
### USERS SETTINGS ###
#—————————————————————————————————————————————————————————————#
##### User Profile Mapping ######
teamcity.users.base=cn=users
teamcity.users.property.displayName=cn
teamcity.users.property.email=mail
teamcity.users.properties.resolve=true
teamcity.users.property.plugin\:notificator\:jabber\:jabber-account=%ldap.userEntry.uid%@im.xxxxx.com
teamcity.users.property.plugin:vcs:git:anyVcsRoot=mail
teamcity.options.users.synchronize=true
teamcity.users.filter=(&(objectClass=apple-user))
#—————————————————————————————————————————————————————————————#
##### Active Directory with User Creation ######
#teamcity.options.users.synchronize.createUsers=true
teamcity.options.createUsers=true
#teamcity.options.users.synchronize.deleteUsers=true
#teamcity.options.deleteUsers=true
#—————————————————————————————————————————————————————————————#
##### Group Linking######
teamcity.options.groups.synchronize=true
teamcity.groups.base=cn=groups
teamcity.groups.property.member=memberUid
teamcity.groups.property.memberId=cn
teamcity.groups.filter=(cn=xxxxxxx)
#—————————————————————————————————————————————————————————————#
##### Optional Settings ######
teamcity.options.syncTimeout=3600000
teamcity.property.distinguishedName=dn
teamcity.users.property.resolve=true
Please sign in to leave a comment.
Hi Srini,
file?Have you configured groups manually in TeamCity and specified the mapping of LDAP groups to TeamCity groups in the
Automatic groups synchronisation is not currently supported by TeamCity. Please vote for the related request: https://youtrack.jetbrains.com/issue/TW-21095.