Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsLoving the Team Concept but... problem with AD users
https://www.eclipse.org/forums/index.php/mv/msg/504318/1085595/#msg_1085595
The reason is that from AD's perspective, usernames are case agnostic, which means that I can logon as AMagnusson, amagnusson or some other combination, all which are correct.
The user mapping in Hudson seems to use the case that I as a user entered, which only might be the one used by the admin when added to the Team.
I recognize this problem from our own product, and there we made sure that the user handling always looks up the user via the mechanism (in this case AD) which (again at least in our API) always can return a unique name for the user. And always the same (of course).
Or, perhaps the usernames shouldn't be case-sensitive? That is up to you.
In the mean time I will test LDAP configuration to see if that one can handle usernames with different casing.
Cheers,
/Andreas]]>Andreas Magnusson2013-08-13T05:26:27-00:00Re: Loving the Team Concept but... problem with AD users
https://www.eclipse.org/forums/index.php/mv/msg/504318/1086752/#msg_1086752
- Create a user in LDAP with uid FrankBorland
- In Hudson, configure security, enable LDAP and team authorization. Add a sysadmin.
- Login as sysadmin and create 2 teams. Add a few jobs to both teams. Add FrankBorland to the first team and frankborland to the second team. Note that both are the same users as far as LDAP is concerned.
- Login as FrankBorland
//exp: To see jobs from both teams
//act: Only see jobs from the first team.
- Login as frankborland
//exp: To see jobs from both teams
//act: Only see jobs from the second team.
I think for the people functionality Hudson remembers the case for the first login and sticks to that no matter what case is used in a subsequent login. Would that sort of scheme work for this scenario?]]>Geoff Waymark2013-08-14T17:15:30-00:00Re: Loving the Team Concept but... problem with AD users
https://www.eclipse.org/forums/index.php/mv/msg/504318/1086841/#msg_1086841
Bob Foster2013-08-14T20:19:32-00:00Re: Loving the Team Concept but... problem with AD users
https://www.eclipse.org/forums/index.php/mv/msg/504318/1087081/#msg_1087081
Andreas Magnusson2013-08-15T05:23:59-00:00