This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Feb 4, 2013 7:32 PM by Rokas Zakarevicius  
Rokas Zakarevicius Newbie 2 posts since
Jan 31, 2013
Currently Being Moderated

Feb 4, 2013 4:48 PM

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  class="jetbrains.buildServer.serverSide.impl.auth.LDAPLoginModule" />
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

Inna Yankelevich Newbie 15 posts since
Jan 30, 2013
Currently Being Moderated
Feb 4, 2013 7:19 PM in response to: Rokas Zakarevicius
Re: Default VCS root username cannot be read from LDAP

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.

More Like This

  • Retrieving data ...