Problems authenticating using saslauthd w/LDAP
Kjetil Torgrim Homme
kjetilho at ifi.uio.no
Wed Aug 30 14:23:34 EDT 2006
On Wed, 2006-08-30 at 20:13 +0200, Kjetil Torgrim Homme wrote:
> On Mon, 2006-08-28 at 13:39 -0700, Rob Tanner wrote:
> > I've setup an IMAP server using Cyrus IMAP4 v2.2.3 which I've setup
> > before without a problem. Authentication is handles through saslauthd.
> > When I use /etc/shadow as the authentication mechanism (-a shadow), my
> > test accounts log in just fine. When, instead, I startup saslauthd
> > using LDAP (-a ldap), I get the famous "generic failure" error. But at
> > the same time, when saslauthd is running with the -a ldap option,
> > testsaslauthd -u ,user -p <secret> returns an "OK" for the right
> > password and a "NO" for the wrong password. That in itself should
> > validate the saslauthd.conf file, but I also compared it to the
> > saslauthd.conf file on another system which is working correctly.
> > I am confused. Any ideas?
> check the permissions on the saslauthd mux. you probably run
> testsaslauthd as root.
never mind me, this can't be it since Cyrus is able to communicate with
saslauthd in the shadow case.
sorry for the noise,
More information about the Info-cyrus