Hi,
I had a Solaris 10 system running ldap perfectly with no problems. However, there was a power failure over the weekend, and now, ldap does not work.
1.
svcadm enable svc:/network/ldap/client:default executes, but the service does not get enabled.
# svcs -a |grep ldap
disabled 0:14:00 svc:/network/ldap/client:default
2. '/var/ldap/ldap_client_file' is not there.
3. I re-initalized the client manually using the command below, but it does not still start the ldap client service.
ldapclient manual -v -a defaultsearchbase=dc=amber,dc=xxx,dc=xxx,dc=com -a proxyDN=cn=proxyagent,ou=profile,dc=xxx,dc=xxx,dc=com -a domainname=xxx.xxx.com-a proxypassword=mypassword 111.111.111.111
4. If I try to re-initalize the client with this command
/usr/sbin/ldapclient -v init -a proxyDN=cn=proxyagent,ou=profile,dc=xxx,dc=xxx,dc=com -a domainname=xxx.xxx.com -a proxyPassword=my password 111.111.111.111
It generate the following error:
Parsing proxyDN=cn=proxyagent,ou=profile,dc=xxx,dc=xxx,dc=com
Parsing domainname=xxx.xxx.com
Parsing proxyPassword=mypassowrd
Arguments parsed:
domainName: xxx.xxx.com
proxyDN: cn=proxyagent,ou=profile,dc=xxx,dc=xxx,dc=com
proxyPassword: mypassword
defaultServerList: 111.111.111.111
Handling init option
About to configure machine by downloading a profile
No profile specified. Using "default"
findBaseDN: begins
findBaseDN: ldap not running
findBaseDN: calling __ns_ldap_default_config()
__ns_ldap_list return NULL resultp
findBaseDN: Err exit
LDAP ERROR (91): Can't connect to the LDAP server.
Failed to find defaultSearchBase for domain xxx.xxx.com
4. /var/adm/messages file has the following message:
libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
How do I get ldap running again? What do I need to get the cachemgr working?
Please help.