LDAP authentication configuration

Hi,

I'm attempting to configure LDAP authentication for our TeamCity server. The best place to start is describe the layout of our LDAP server:

o=company
ou=people
ou=region1
ou=cityA
uid=user1
uid=user2
ou=cityB
uid=user3
uid=user4
ou=region2
ou=cityC
uid=user5
uid=user6
ou=cityD
uid=user7
uid=user8

All our users (matching uid)are located in cityA, cityB, cityC and cityD. I can configure the TeamCity server for a specific city but not all of them at once. An example of a working ldap-config.properties file for the users of cityA is as follows (only user1 and user2 can login)

java.naming.provider.url=ldap://server:389
loginFilter=.+
formatDN=uid=$login$,ou=cityA,ou=region1,ou=people,o=company

Is it possible to add some wild card pattern/search for parts of the formatDN? Basically I want to match all uid under the DN ou=people,o=company.

Thanks,
Chris

2 comments
Comment actions Permalink

This is not possible at the moment.
Please file feature request to our tracker:
http://jetbrains.net/tracker/workspace/TW

Chris Butt wrote:

Hi,

I'm attempting to configure LDAP authentication for our TeamCity server. The best place to start is describe the layout of our LDAP server:

o=company
ou=people
ou=region1
ou=cityA
uid=user1
uid=user2
ou=cityB
uid=user3
uid=user4
ou=region2
ou=cityC
uid=user5
uid=user6
ou=cityD
uid=user7
uid=user8

All our users (matching uid)are located in cityA, cityB, cityC and cityD. I can configure the TeamCity server for a specific city but not all of them at once. An example of a working ldap-config.properties file for the users of cityA is as follows (only user1 and user2 can login)

java.naming.provider.url=ldap://server:389
loginFilter=.+
formatDN=uid=$login$,ou=cityA,ou=region1,ou=people,o=company

Is it possible to add some wild card pattern/search for parts of the formatDN? Basically I want to match all uid under the DN ou=people,o=company.

Thanks,
Chris



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

0

Please sign in to leave a comment.