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

Re: sasl message with ldap

Sean <sean@densone.com> writes:

> I am trying to authenticate via sasl and I get the following error:
> esrv:~# ldapsearch -U gino -Y digest-md5 -h -b
> dc=test,dc=net 'uid=test'
> SASL/DIGEST-MD5 authentication started
> Please enter your password:
> ldap_sasl_interactive_bind_s: Invalid credentials (49)
>         additional info: SASL(-13): user not found: no secret in
> database
> esrv:~#
> My sasl database has the following users:
> test@esrv: userPassword
> gino@esrv: userPassword
> Can someone point me in the right direction here. This error is
> boggling me.

It seems you want to authenticate via sasldb, if you really want this
you have to configure sasl to use sasldb in lib/sasl2/slapd.conf.
But I would not recommend it, use native sasl authentication via
OpenLDAP instead.

Dieter Klünter | Systemberatung