0

I am trying to setup OpenLDap. I am really unsure what I am doing and don't wish to post a general help me question without an answer. I am interesting in getting more detailed log files so I can track down my problems.

when I run: sudo ldapsearch -x -d8

I get: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

when I run: sudo ldapsearch -x -d8 -v

I get:

ldap_initialize( <DEFAULT> )
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

If have seen this but I don't have the file /etc/syslog.conf but modifying my rsyslog.conf in a similar way does nothing.

DarkSheep
  • 1,036
  • 1
  • 13
  • 23

1 Answers1

0

It looks like you haven't specified a host or URI at all. ldapsearch can't contact the server because one hasn't been provided.

  • The openldap binaries do not currently support service discovery.
  • The openldap client binaries binaries don't log.
  • There is nothing to indicated that you are using SSL/TLS.
  • You don't need sudo to do a search unless you're trying to be gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth, in which case your URI should be ldapi:///.
84104
  • 12,905
  • 6
  • 45
  • 76
  • So my answer is user input errors are not logged on the server level. Do appreciate the help. Updated the question in hopes that somebody else can use this useful information. – DarkSheep Feb 12 '13 at 16:25