Originally posted by: SystemAdmin
Dear All,
I am currently setting up a AIX client LDAP to a Sun Directory ONE LDAP 5.2 LDAP server(with referrals) using the 2307 schema.
But somehow could not get any ldap information using lsuser (lsuser -R LDAP username) command.
The following is the ldap.cfg file:
*************************
ldapservers:192.168.1.1
binddn:uid=tester,ou=People,o=org,dc=com
bindpwd:password
authtype:ldap_auth
useSSL: no
userattrmappath:/etc/security/ldap/2307user.map
groupattrmappath:/etc/security/ldap/2307group.map
userbasedn:o=org,dc=com
groupbasedn:o=org,dc=com
ldapversion:3
ldapport:389
searchmode:ALL
ldaptimeout:0
******************************
I tried using the ldapsearch command with specific host information and could successfully retrieve a host of ldap user details.
eg:
ldapsearch -h 192.168.1.1 -p 389 -D "uid=tester,ou=People,o=org,dc=com" -w password -b "o=org,dc=com" objectclass=*
Questions:
1: By default, should a ldapsearch command without host details use the ldap server specified in the "ldap.cfg"?
2: Anyone used an AIX LDAP client to connect to Sun Directory server 5.2 successfully? Is so, is the configuration file similiar to the one you are using?
Much appreciated if anyone could help.
Thanks in advance.
Regards,
Ray