On Wed, 10 May 2006, Rudy Gevaert wrote:
Hello,
I have configured sasl 2.1.19 (the one that is in Debian) to use LDAP. This
works as my gives an OK:
jura:/# testsaslauthd -u testuser1@xxxxxxxxxxxxx -p pass
0: OK "Success."
saslauthd[4147] :do_auth : auth success:
[user=testuser1@xxxxxxxxxxxxx] [service=imap] [realm=] [mech=ldap]
saslauthd[4147] :do_request : response: OK
And this doesn't work.
jura:/# testsaslauthd -u testuser1 -r mail.ugent.be -p pass
0: NO "authentication failed
saslauthd[4145] :get_accept_lock : acquired accept lock
saslauthd[4147] :rel_accept_lock : released accept lock
saslauthd[4147] :do_auth : auth failure: [user=testuser1]
[service=imap] [realm=mail.ugent.be] [mech=ldap] [reason=Unknown]
saslauthd[4147] :do_request : response: NO
I have configured cyrus-imapd's imapd.conf file with:
sasl_pwcheck_method: saslauthd
and
virtdomains: userid
I would now suspect that when login into the imap server, would work. But it
doesn't. I must have missed something. E.g. I'm using mutt to access the
mailbox: mutt -f imap://mail1.ugent.be
and enter testuser1@xxxxxxxxxxxxx als username. This doesn't let me in. I
see in the logs from sasl:
saslauthd[4145] :rel_accept_lock : released accept lock
saslauthd[4146] :get_accept_lock : acquired accept lock
saslauthd[4145] :do_auth : auth failure: [user=testuser1]
[service=imap] [realm=mail.ugent.be] [mech=ldap] [reason=Unknown]
saslauthd[4145] :do_request : response: NO
As debug output of case 2 and 3 is the same, I think they are the same
problem.
What do I need to do to get this working?
What are the contents of your saslauthd.conf?
--
Igor
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html