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

Re: Reg OpenLdap on Ubuntu

Hi Michael,

Thanks for the reply.

I tried with "ldapsearch -x -H ldap://ldap-company.com:636 -ZZ -D dc=ldap-company,dc=com" and got the error :

ber_get_next failed.
ldap_start_tls: Can't contact LDAP server (-1)

Using http resulted in error "Could not parse LDAP URI(s)=http://ldapagcf-alcatel-lucent.com:636 (3)"


2009/7/20 Michael Ströder <michael@stroeder.com>
Asimananda Mohanty wrote:
> *res_errno: 49, res_error: <SASL(-13): user not found: no secret in
> database>, res_matched: <>*
> /var/log/debug shows the following :
> *Jul 20 13:14:03 ubuntu slapd[2354]: SASL [conn=32] Error: unable to
> open Berkeley db /etc/sasldb2: No such file or directory
> Jul 20 13:14:03 ubuntu last message repeated 3 times
> Jul 20 13:14:03 ubuntu slapd[2354]: SASL [conn=32] Failure: no secret in
> database*

SASL passwords are not properly set up on your system. You might wanna
try first a simple bind (note -x and -D):

ldapsearch -x -H http://ldap-company.com:636 -ZZ -D <bind-DN> ...

Ciao, Michael.

Michael Ströder
E-Mail: michael@stroeder.com