SASL problems

Sebastian Hagedorn Hagedorn at uni-koeln.de
Wed Dec 14 07:29:04 EST 2005


i,

--On 14. Dezember 2005 13:26:00 +0100 mailing at scastagnoli.info wrote:

> I do apologize but I have a problem I cannot solve.
> I type:
>
> sasldblistusers2
>
> and I see that user cyrus exists in sasl2.db, that has 644 permissions.
> When I try
>
> testsaslauthd -u cyrus -p cyrus
>
> I found in /var/log/messages the following:
>
> Dec 14 12:42:19 server imap(pam_unix)[2999]: authentication failure;
> logname=  uid=0 euid=0 tty= ruser= rhost=  user=cyrus
> Dec 14 12:42:22 server saslauthd[2999]: do_auth         : auth failure:
> [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
>
> My /etc/imapd.conf has:
>
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
>
> and
>
> ps -elf | grep sasl
>
> returns:
>
> 1 S root      2997     1  0  85   0 -  1048 interr 12:35 ?
> 00:00:00  saslauthd -a pam
> 1 S root      2998  2997  0  85   0 -  1059 interr 12:35 ?
> 00:00:00  saslauthd -a pam
> 1 S root      2999  2997  0  85   0 -  1059 interr 12:35 ?
> 00:00:00  saslauthd -a pam
> 1 S root      3000  2997  0  85   0 -  1048 schedu 12:35 ?
> 00:00:00  saslauthd -a pam
> 1 S root      3002  2997  0  85   0 -  1048 interr 12:35 ?
> 00:00:00  saslauthd -a pam
>
>
> Please, can anyone help me?

if you want to use sasldb2 you have to change your imapd.conf to read:

sasl_pwcheck_method: auxprop

Currently you use saslauthd with PAM, so entries in sasldb2 are ignored.
-- 
Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
Skype: shagedorn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20051214/79346292/attachment.bin


More information about the Info-cyrus mailing list