We have multiple global consoles installed and would like to authenticate against the active directory database. Is there a way to do that? We currently have each individual/password listed in the serverconnect.conf file on the global manager server.
Sure there is.. I do that now. in the serverConnect.conf file the user id would read something like: *:userid@AD Domain: :All This allows you to use active directory. Keep in mind that the userid then has to be set up the same way within the global console management for userids.
Another way is to use a perl script such as /opt/InCharge7/SAM/smarts/examples/authority/sm_authority.pl you can use the Net::LDAP to communicate directly to an LDAP server and you will no longer need to worry about setting up individual system users.
You utilize the script by adding the following to your sm_service entry:
The IDENTIFY=sm_authority means that the default SMARTS credential prompting will happen, and the AUTHENTICATE=... will pipe the credentials to the script.
If you have any questions about this implementation let me know.
Do we need to make any changes to the script to get this working? Is there any documentation available? We are using RHEL4 and netldap for perl is functional.
I would like to find out more regarding your LDAP integration. I have previously used AD successfully, with no tweaks required. Currently we are running RHEL5, with LDAP integration (using Likewise) for the OS.
This however does not work when you specify on the serverConnect.conf password field.
I am NOT using the username@domain in the userfield, just username.
The /etc/passwd and /etc/shadow files no longer contains the usernames the now uses LDAP for authentication.
CHIBenson
7 Posts
648
0
Posted March 26th, 2009 08:00
Tim Benson