Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 552
  • Last Modified:

ldapclient init against OpenLDAP server fails

I have setup an OpenLDAP server that contains a profile defined according to the Sun's "System Administration Guide: Naming and Directory Services". I've also created a proxyagent-dn as an objectclass=person. This is all running on one computer, lets call it server.example.com. Then from another computer, client.example.com i run the following command
ldapclient -v init -a profilename=myprofile -a domainname=client.example.com -a proxyDN=cn=proxyagent,ou=profile,dc=basedn -a proxypassword=secret -a certificatepath=/var/ldap server.example.com
The ldapclient finds the basedn, creates the /var/ldap/ldap_client_file and /var/ldap/ldap_cred_file and starts to restart a lot of services. All of these stops and starts are mark success.

Then ldapclient writes
restart: milestone/name-services:default... success
Error resetting system.
Recovering old system settings.
Stopping network services
and starts reverting to old settings.

When i look in /var/adm/messages I get the following line repeatedly
Mar 31 11:30:48 server ldap_cachemgr[6792]: [ID 293258 daemon.warning] libsldap: Status: 7  Mesg: Session error no available conn.
Mar 31 11:31:29 server last message repeated 83 times

For now I do not run any TLS, all binds are simple, server is responding on port 389.

Can anyone helt me out here?

Best regards
Linus Lund
1 Solution
Please have a look at the following docs:

http://lists.fini.net/pipermail/ldap-interop/2005-January/000239.html (follow the links)

"Installing and configuring OpenLDAP for Solaris9":


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now