|LDAP roles as parameters to scripts [message #902805]
||Mon, 20 August 2012 14:15
| Harald van Kesteren
Registered: July 2009
I'm using hudson v2.2.0 as a tool for build and deploy. Currently the authentication/authorisation is controlled by hudson's internal user-database. This has to change : LDAP has to be used for this in the future.|
Some procedures (shell-scripts) use the HUDSON_USER environment variable to control parts of the flow (a bit wacky, I know). The fastest way to 'transform' the processes is to use the LDAP-roles for the same purpose (or is it?).
Question: how do I get the scripts to identify which role (or roles) the user has?
The LDAP authentication can control hudson, can information resulting from that be passed on to shell-scripts that are run by the hudson-jobs?
That's All Folks,
Powered by FUDForum
. Page generated in 0.01914 seconds