We moved our server from a windows box to a linux box, and we found that the NTDomain authentication would no longer work for people who weren't in the default domain.
So I started configuring LDAP. However, I've run into some issues, it seems like all the items to help with user ids are setup as if only one domain exists.
I can't get this to use multiple domains, if i do (DOMAIN_A|DOMAIN_B)\\\\(.*) then the username is passed in as DOMAIN_A\userid, which means all the users we have linked & their roles won't work anymore. I'm not sure how this thing is doing regex to know that DOMAIN_A\\\\(.*) goes to just the user id, and the other patterns do not.
I tried to use the teamcity.users.acceptedLogin property instead of the capture as in the web docs, but it didn't do anything, still saw users login as DOMAIN\userid
Is there any way we can get the NTDomainAuthentication working under linux like it did in windows? I know in windows we had that ntlm.compatibilityMode=true setting that worked great for us. People could login with the default domain, or put in the domain\userid. nice and flexible. I'd really like to get back to that.
I did notice for ldap that if you use the teamcity.auth.formatDN setting, you dont' have to enter the domain, but you screw over other domains as team city isn't smart enough to realize that DOMAIN_A\userid shouldn't be translated to DOMAIN_A\DOMAIN_A\userid. If it did, this would solve most of my problems. As 95% of my users are on DOMAIN_A.
I've attached a sample of what i have going now.