LDAP support

I'm trying to get LDAP support going but it's quite a struggle. Searching the forums, it looks very half baked (eg, being able to login and suck up multiple licenses by using different login name types).

I'm wondering if it's even possible to do what I need to, my settings are (which work fine for fisheye):

URL: ldap://ldapserver:389
Base DN: CN=Users,DC=lon,DC=myco,DC=net
User Filter: sAMAccountName=$
UID attribute: sAMAccountName
Email attribute: mail
Display name attribute: displayName
Initial bind user: CN=browseuser,CN=Users,DC=lon,DC=myco,DC=net

What's the equivelant settings for teamcity to specify the above?

1 comment

Hani Suleiman wrote:

I'm trying to get LDAP support going but it's quite a struggle. Searching the forums, it looks very half baked (eg, being able to login and suck up multiple licenses by using different login name types).

I'm wondering if it's even possible to do what I need to, my settings are (which work fine for fisheye):

URL: ldap://ldapserver:389
Base DN: CN=Users,DC=lon,DC=myco,DC=net
User Filter: sAMAccountName=$
UID attribute: sAMAccountName
Email attribute: mail
Display name attribute: displayName
Initial bind user: CN=browseuser,CN=Users,DC=lon,DC=myco,DC=net

What's the equivelant settings for teamcity to specify the above?


It will be better if you describe actual problems you encounter but it
looks like your case is absolutely typical and is fully covered by
documentation
http://www.jetbrains.net/confluence/display/TCD/Authentication+Settings#AuthenticationSettings-LDAPAuthentication
section "Specifying the Active Directory".

java.naming.referral=follow
java.naming.provider.url=ldap://ldapserver:389/CN=Users,DC=lon,DC=myco,DC=net
java.naming.security.authentication=simple

Do not forget to switch login-module (see top of the page).

--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.