[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ldap_SASL_Bind (simple): error

divya shree writes:
> /usr/local/libexec/slapd
> (...)
> ldapsearch -x -b ' ' -s base '(objectclass=*)' namingContexts
> (...)
> Ldap_sasl_bind (simple) :can't connect to the server (-1)...

Either slapd could not start (check if it is still running) or
/etc/(open)ldap/ldap.conf does not contain an URI or HOST line with the
correct server address.  For the latter see man ldap.conf, or ldapsearch
parameteres -h localhost or something.

Also note that ' ' is not a valid DN, use -b ''.