Solaris LDAP client setup. part 1

Very simplified you can setup Solaris ldap user authentication in such steps.

On server side:
#/usr/lib/ldap/idsconfig
This tool inserts a lot of stuff in LDAP server(schemas, creates items tree, access creds, indexes search atributes etc.)

On client:
#ldapclient init -a profileName=prfilename server_ip_address
#ldapaddent -a simple -p -D "cn=Directory Manager" -f /etc/passwd passwd
#ldapaddent -a simple -p -D "cn=Directory Manager" -f /etc/group group
etc. more information in ldapaddent documentation
............

Everything goes fine, but passwords are not imported to ldap, to fix it you have manualy change password through Directory Server Control Console for each user. It actually can be coused by the fact my test environment used unencrypted communication between ldap server and client!

Comments