Re: Basic configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>:

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@xxxxxxxxxxxxxxxxxxxx
Waechterstrasse 76
72074 Tuebingen

Attachment: smime.p7s
Description: S/MIME krytographische Unterschrift

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux