adding domain to jabber account

Is there a way to add a custom string to the jabber-account setting?

Currently I have: (There's no xmpp account from ldap)
teamcity.users.property.plugin\:notificator\:jabber\:jabber-account=sAMAccountName


I want to add @domain to the back of each account but can't seem to figure out how.

As background, it turns out that the teamcity jabber setup can't send to just the username for some reason (even though it will say it successfully sent) and adding the full xmpp domain is the only solution.
Anyone know a better solution?
Thanks!

When I try to add the domain to the back to the ldap property I get this in the logs:

[2015-02-11 16:00:01,670]  DEBUG -     jetbrains.buildServer.LDAP - Ignoring jetbrains.buildServer.serverSide.ldap.LdapError: LDAP error retrieving attribute 'sAMAccountName@domain' from LDAP entry CN=Test,OU=Developers
3 comments
Comment actions Permalink

Hi,

There was an experimental feature added in TeamCity 8.0: you can add "teamcity.users.properties.resolve=true" into ldap-config.properties and after that you can use %-references to LDAP attributes %ldap.userEntry.<attribute>% in the user property definitions like this:

teamcity.users.property.plugin\:notificator\:jabber\:jabber-account=%ldap.userEntry.name%@jabber.my.domain.com

For more details see the realed feature request.
0
Comment actions Permalink

Wow thanks! This is exactly what I needed!
Why isn't this documented in https://confluence.jetbrains.com/display/TCD8/LDAP+Integration or for TCD9? :p

0
Comment actions Permalink

It was not documented yet, because it was added as experimental feature. We will update doc in the nearest feature.

0

Please sign in to leave a comment.