Basic configuration
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Wed Jul 25 10:52:47 EDT 2007
Hi,
1. there is no "AUTH=" in the CAPABILITY at all, so i think you have
not installed sasl_plain. I don't use Debian or Ubunto so i don't know
the packagename but Google hints to libsasl2-modules,
If you don't set sasl_mech_list you should be able to use the
mechanism "AUTH=LOGIN"
Quoting Sam Przyswa <samp at arial-concept.com>:
> Michael Menge a écrit :
>> Hi,
>>
>> You may check the following points.
>>
>> 1.) You set sasl_mech_list: plain
>
> That's it !
>
>>
>> The mechanism plain is an extra sasl library, you may have to install.
>> You force the use of plain even if better mechanism would be availible,
>> but if the sasl_plain library is not installed you have no mechanism
>> for authendification at all. You can use imtest to debug the login
>> procedure.
>> The CAPABILITY string must say AUTH=PLAIN.
>
> The imtest give me:
>
> CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
> NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
> BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
>
> I don't see AUTH=PLAIN !
>
Your login problems don't depend on the securety layer,
>> 2.) Activate imaps and test the login with
>>
>> imtest -a USERID localhost
>
>
>> imtest -t '' -a USERID localhost
>> imtest -s -a USERID localhost
>>
Your PAM config looks fine.
>> 3.) if you use PAM,
> Yes but always the same result, I use saslauthd 2.1.22 Ubuntu able to
> authentication mechanisms: sasldb getpwent kerberos5 pam rimap shadow
> ldap
>
There sasldb getpwent kerberos5 pam rimap shadow are all places where
the passwd is stored. But PLAIN, LOGIN, GSSAPI, CRAMMD5 are mechanisms
to use fore authentification. The may not be part of the installed
sasl package but in an extra package.
In SuSE they are in
cyrus-sasl-crammd5
cyrus-sasl-gssapi
cyrus-sasl-plain
only login ist part of the sasl package
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung mail:
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5469 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070725/7f5c701d/attachment.bin
More information about the Info-cyrus
mailing list