This post is more than 5 years old
1 Rookie
•
5 Posts
0
2071
March 26th, 2009 04:00
Authenticating with active directory
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.
No Events found!
CHIBenson
7 Posts
0
March 26th, 2009 08:00
Tim Benson
Lindsey2
1 Rookie
•
5 Posts
0
March 27th, 2009 04:00
TCorcoran
53 Posts
0
March 31st, 2009 11:00
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:
--env=SM_AUTHORITY=IDENTIFIY=sm_authority,AUTHENTICATE=/opt/InCharge7/SAM/smarts/local/script/sm_authority_ldap.pl
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.
- TC
yashr_525b35
1 Message
0
November 17th, 2009 14:00
TC,
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.
Thanks for info,
YR
Dinand1
89 Posts
0
November 19th, 2009 06:00
Hi all,
I would also like to have some extra information regarding the LDAP integration and SMARTS.
- Perl modules used
- If there is any script customization
- Location of the scripts when in production,there are at least 4 perl scripts
- Documentation
thanks in advance
Fernando
Ausgrid
1 Message
0
August 22nd, 2011 00:00
Hi TC,
More than 2years since your post...
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.
Is this syntax correct?.
--env=SM_AUTHORITY=IDENTIFY=sm_authority,AUTHENTICATE=/opt/InCharge7/SAM/smarts/local/script/sm_authority_ldap.pl
As --help indicates:
And according to the documentation SM_AUTHORITY can only have one of two values or , where is the default when nothing is specified.
Did you copy the example sm_athority and changed it to use Net::LDAP.
Thanks in advance.