Add new comment

Submitted by djtremors (registered user) on Tue, 2008-01-22 13:39.

OPTS="-h 'ldaps:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'"

There is no sock file on CentOS5. I also had to put 'bind_policy soft' in /etc/ldapd.conf otherwise ldap wouldn't start and hang forever but now just keeps dumping into logs :

Jan 22 23:43:46 hybrid runuser: nss_ldap: failed to bind to LDAP server ldap://domain.local/: Can't contact LDAP server Jan 22 23:43:46 hybrid runuser: nss_ldap: could not search LDAP server - Server is unavailable Jan 22 23:43:46 hybrid runuser: nss_ldap: failed to bind to LDAP server ldap://domain.local/: Can't contact LDAP server Jan 22 23:43:46 hybrid runuser: nss_ldap: could not search LDAP server - Server is unavailable Jan 22 23:43:46 hybrid slapd[16452]: nss_ldap: failed to bind to LDAP server ldap://domain.local/: Can't contact LDAP server Jan 22 23:43:46 hybrid slapd[16452]: nss_ldap: could not search LDAP server - Server is unavailable Jan 22 23:43:46 hybrid slapd[16452]: nss_ldap: failed to bind to LDAP server ldap://domain.local/: Can't contact LDAP server Jan 22 23:43:46 hybrid slapd[16452]: nss_ldap: could not search LDAP server - Server is unavailable

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.