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

Re: cyrus21, login error



 --- listrcv <listrcv@condor-werke.com> escribió:

> pedro lopez wrote:
> > hi list
> > 
> > this is de error, imtest
> > 
> > L01 No Login failed: authentication failure
> > Authentication failed. Generic failure
> > Security strength factor:0
> 
> Check out /etc/default/saslauthd and check for a
> running saslauthd. 
> Also, see man saslpasswd.
> 
> If you use PAM as authentication mechanism (and
> allow plaintext logins) 
> for saslauthd, you don't need to add passwords with
> saslpasswd.
> 
> Try logging in from a MUA, that might give better
> results than imtest.
> 
> 
> GH
> 
i´m realy do this:

edit /etc/default/saslauthd like
START=yes
MECHANISMS="sasldb" 

and restart de service.

edit /etc/imapd.conf like 

admins: cyrus
allowplaintext: yes
sasl_mech_list: PLAIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auxprop_plugin: sasldb
sasl_auto_transition: no

add the user to sasldb like

$saslpasswd2 -c test
$saslpasswd2 -c cyrus
$saslpasswd2 -c test -u mtt.ciao.com

with pass all.

$sasldblistusers2

cyrus@svmail: userPassword 
test@svmail: userPassword
test@mtt.ciao.com: userPassword

add user to cyrus like.

$cyradm --user cyrus localhost
    Password:
    localhost> cm user.test
    localhost> lam user.test
    test lrswipcda 

testing sasl with

$testsaslauthd -u test -p  [pass]
0: OK "Success."

and with imtest

$imtest -a test -w <pass> -m login localhost

* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+
MAILBOX-REFERRALS NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE
ANNOTATEMORE
S: C01 OK Completed
C: L01 LOGIN root {7}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0
 
i´ll try to configure plain text over tls, but i can
login only wiht plain text.

thanks
> -- 
> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 



		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com



Reply to: