Mapping VCS names to a formatted combination of LDAP properties.

Is there a way to map to a formatted combination of LDAP properties for VCS user names instead of mapping it to just a specific property?  For instance to map a perforce user the way I understand from the documentation you wold have something like:

teamcity.users.property.plugin\:vcs\:perforce\:anyVcsRoot=perforceName

Where the perforceName would have to be an assigned property of the user in the LDAP.  In my case I have no assigned property but I do know that the perforce names will always be the user's first name and last name seperated by _.  Is there any way of soing something like the following?

teamcity.users.property.plugin\:vcs\:perforce\:anyVcsRoot=$givenName$_$sn$

7 comments
Comment actions Permalink

Hi Seth,

No, you can't do that now. If this is important for you, please submit a feature-request in our tracker: http://youtrack.jetbrains.net/

---
Maxim

0
Comment actions Permalink

Hello,
It's been a few years since this thread, but is this possible now in Teamcity 7.0 and above?

We want to format the VCS names like this:  DOMAIN\\{AccountName}  where {AccountName} is an LDAP Property.

Thanks.

0
Comment actions Permalink

Hi Delfino,

Unfortunately no issue was created at that moment, so I forgot about it. Sorry.
Now please watch http://youtrack.jetbrains.com/issue/TW-23376
Chances are the issue will be fixed in 8.0, and if that's urgent for you, I will simply attach the plugin zip (should work with 7.1).


--
Maxim

0
Comment actions Permalink

We are having the same issue that the usernames wich come from TFS are formatted DOMAIN\\samaccountname. These aren't matches with Teamcity users cause of this ..

I now have to manually edit the VCS username and prefix "DOMAIN\ "  So if I could "test" the plugin and change the teamcity.users.property.plugin\:vcs\:tfs\:anyVcsRoot to allow DOMAIN\\sAMAccountName that would really help us.

We are just starting to let developers use Teamcity and we really need the email notifications.

0
Comment actions Permalink

anything known about this issue in TC8?

0
Comment actions Permalink

I tried the suggested setting but somehow the variables aren't resolved. See my respons to the thread.

0

Please sign in to leave a comment.