openldap in solaris 8 boxes how to.
I have configured openldap in EL4 and configured clients on redhat 6.2, EL4 servers. it is working fine.
I am new to solaris OS. I do not know how to configure solaris as a client of openldap server.
I tried some links from net but helpless.:-(
Please help me on this /refer a good article to configure solaris as ldap client.
thanks in advance.
i have looked into this wiki page.
here, they have described for solaris 10 mine solaris 8.
when i run a command
"ldapclient -v -P Solaris -D cn=proxyagent,ou=Profile,dc=example,dc=com -d paypal.com -w secret 192.168.1.142:389"
getting following error message. Please help me on this.
Handling init option
About to configure machine by downloading a profile
findBaseDN: ldap not running
findBaseDN: calling __ns_ldap_default_config()
__ns_ldap_list return NULL resultp
findBaseDN: Err exit
Failed to find defaultSearchBase for domain example.com
it would be good if there is any document for solaris 8. i can feel lots of diff between 10 and 8 configuration like ldif format and ldapclient command syntax.
The ldapclient command is indeed different from Sol8 to Sol10. Try the first link I gave you from the beginning, or use this blueprint to configure your system from scratch to use (open)ldap.
i ran a command in my solaris 8 box
ldapclient -i -w secret -D cn=Manager,dc=example,dc=com -d example.com -r true -b defaultSearchBase=dc=example,dc=com -S "passwd:ou=People,dc=example,dc=com" -S "shadow:ou=People,dc=example,dc=com" -S "group:ou=Group,dc=example,dc=com" -s one 192.168.1.142:389
command did not give any error msg and got msg as "System successfully configured" once i disabled the ACL in my ldap server ( openldap ) which is in Linux EL 4.
Now i can able to get list by command getent passwd, ldaplist passwd , ldaplist passwd < U.name >, id < U.Name >, su <U.Name >.
where, my problem is
1.getent passwd command gives only few entry amoung around 800 entries.
but id command shows rest of the user's list.
2.i can not ssh to this machine by ldap user.
3.from root i can able to su to another user who is located in ldap database.
4.From one ldap user to another ldap does not allow to login. which means when i give password, it says "password: Sorry".
Its mean user name resolving from ldap database but password does not allow?
can you help me on this please?
thanks in advance .....
It is working fine. My problem was in my rootdn password at my slapd.conf file.
My password was containing "$" symbols so it could not resolve by solaris boxes.
thanks whoever helped on this.
|All times are GMT -5. The time now is 08:05 AM.|