Default VCS root username cannot be read from LDAP

Hello,

I have TeamCity configured to use Windows AD users  authentication. In order for name and e-mail address to be automatically  obtained from AD, I've set auth-type to use the  <login-module   />
I  then configured ldap-config.properties file according to instructions  and authentication works correctly together with full name and e-mail  synchronization from AD. The thing is not working is the automatic  setting of default VCS username for each user. We use SVN together with  Teamcity and VCS names are used for users to communicate with SVN. Now  it is always the username, but I want it to be username@domain.com
I've set:
teamcity.users.property.plugin\:vcs\:anyVcs\:anyVcsRoot=userPrincipleName
teamcity.users.property.plugin\:vcs\:svn\:anyVcsRoot=userPrincipleName

userPrincipleName  is an LDAP feature in Windows AD that holds the username@domain format.  I've tried setting different LDAP attributes, but no changes are made.  What am I doing wrong?
Could you please help me with this problem?

Thank you,

Rokas Zakarevicius
Bidz.com

2 comments
Comment actions Permalink

Hello, Rokas.

a little incorrect name of this property.
It should be referenced as "userPrincipalName":

teamcity.users.property.plugin\:vcs\:svn\:anyVcsRoot=userPrincipalName.

Should work.

0
Comment actions Permalink

Hi Inna.
My mistake. Thank you very much for a quick answer. It works! :)

Regards,

Rokas

0

Please sign in to leave a comment.