-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Hudson 1.388 with active directory plugin version 1.17, running under Linux
In my setup Hudson is using a svn server where users are reported in the following format: USER@DOMAIN.EXT.
Unfortunately, when I log in Hudson through Active Directory, the created user is only USER thus it does not match the discovered users through svn.
My patch modify two things:
- the method getPrincipalName() so that if the user log in as USER@DOMAIN.EXT the code does not transform it to USER@DOMAIN.EXT.DOMAIN.EXT.
- the returned name is the principalName variable, that is the full username with the domain information.
My patch only modify the ActiveDirectoryUnixAuthenticationProvider class, the other authentication provider used when Hudson is running on Windows was not modified, I have to test environment to do this change.
I also see that my change conflicts with JENKINS-5773, so I am wondering if we should not add a new configuration parameter where we can define a pattern for the username?
- is related to
-
JENKINS-5773 User name related to SVN
-
- Open
-
[JENKINS-8287] Append domain name to the username
Link | New: This issue is related to JENKINS-5773 [ JENKINS-5773 ] |
Workflow | Original: JNJira [ 138397 ] | New: JNJira + In-Review [ 174887 ] |