TeamCity LDAP authentication with JumpCloud
Posted on June 22, 2016 (Last modified on July 11, 2024) • 1 min read • 66 wordsJumpCloud looks like a great service to use LDAP without using LDAP. And I have just managed to find an error in the documentation, precisely the file “ldap-config.properties.dist”.
The working configuration is:
# basic jumpcloud url
java.naming.provider.url=ldap://ldap.jumpcloud.com:389/
# search user for jumpcloud
java.naming.security.principal=uid=BIND_USER_NAME,ou=Users,o=ORG_ID,dc=jumpcloud,dc=com
java.naming.security.credentials=BIND_USER_PASSWORD
# unix ldap seems to use uid as username - see https://is.gd/dBPegr
teamcity.users.login.filter=(uid=$capturedLogin$)
teamcity.users.username=uid
teamcity.users.base=ou=Users,o=ORG_ID,dc=jumpcloud,dc=com
Seems to work nicely, now comes the finetuning.