Strange Error
apellido
apellido at mactan.ph
Fri Mar 12 20:30:07 EST 2004
Good day, im setting up setting web-cyradm and it working fine. Now im tried again but using different version of cyrus-imap, cyrus-sasl2 and cyrus-sasl2-saslauthd. I strangely got this error when im trying to authenticate using outlook express where the config is the same as the config of my previous setup. here's the error:
#############################################
tail -f /var/log/auth.log
Mar 13 00:00:35 diameter saslauthd[204]: returning 0 .
Mar 13 00:00:35 diameter saslauthd[204]: db_checkpasswd called.
Mar 13 00:00:35 diameter saslauthd[204]: pam_mysql: where clause =
Mar 13 00:00:35 diameter saslauthd[204]: SELECT password FROM accountuser WHERE username='apellido.diameter.mactan.ph'
Mar 13 00:00:35 diameter saslauthd[204]: sqlLog called.
Mar 13 00:00:35 diameter saslauthd[204]: insert into log (msg, user, host, pid, time) values('AUTH SUCCESSFUL', 'apellido.diameter.mactan.ph', '', '204', NOW())
Mar 13 00:00:35 diameter saslauthd[204]: Returning 0
Mar 13 00:00:35 diameter saslauthd[204]: returning 0 .
Mar 13 00:00:35 diameter saslauthd[204]: returning 0.
Mar 13 00:00:35 diameter saslauthd[204]: do_auth : auth failure: [user=apellido.diameter.mactan.ph] [service=pop] [realm=] [mech=pam] [reason=PAM acct error]
diameter:/usr/ports/mail/cyrus-imapd22# tail -f /var/log/messages
Mar 13 00:00:35 diameter saslauthd[204]: returning 0 .
Mar 13 00:00:35 diameter saslauthd[204]: db_checkpasswd called.
Mar 13 00:00:35 diameter saslauthd[204]: pam_mysql: where clause =
Mar 13 00:00:35 diameter saslauthd[204]: SELECT password FROM accountuser WHERE username='apellido.diameter.mactan.ph'
Mar 13 00:00:35 diameter saslauthd[204]: sqlLog called.
Mar 13 00:00:35 diameter saslauthd[204]: insert into log (msg, user, host, pid, time) values('AUTH SUCCESSFUL', 'apellido.diameter.mactan.ph', '', '204', NOW())
Mar 13 00:00:35 diameter saslauthd[204]: Returning 0
Mar 13 00:00:35 diameter saslauthd[204]: returning 0 .
Mar 13 00:00:35 diameter saslauthd[204]: returning 0.
Mar 13 00:00:35 diameter pop3[260]: badlogin: dialup-033.mactan.ph[203.177.22.134] plaintext apellido.diameter.mactan.ph SASL(-13): authentication failure: checkpass failed
before im using :
1. mysql Ver 12.22 Distrib 4.0.17, for portbld-freebsd4.8 (i386)
2. Berkeley DB 4.1
3. Postfix 2.0.16
4. cyrus-imapd 2.1.16
5. cyrus-sasl2 2.1.17
6. cyrus-sasl2-saslauthd 2.1.17
now
1. mysql Ver 12.22 Distrib 4.0.17, for portbld-freebsd4.8 (i386)
2. Berkeley DB 4.1
3. Postfix 2.0.16
4. cyrus-imapd 2.2.3
5. cyrus-sasl2 2.1.18
6. cyrus-sasl2-saslauthd 2.1.18
OTHER INFORMATION
###############################################################################################################################
diameter:~# imtest -t '' -a cyrus -u cyrus localhost
S: * OK diameter.mactan.ph Cyrus IMAP4 v2.2.3 server ready
C: C01 CAPABILITY
S: * 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 STARTTLS
S: C01 OK Completed
C: S01 STARTTLS
S: S01 OK Begin TLS negotiation now
verify error:num=18:self signed certificate
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
C: C01 CAPABILITY
S: * 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 AUTH=PLAIN SASL-IR
S: C01 OK Completed
Please enter your password:
C: A01 AUTHENTICATE PLAIN Y3lydXMAY3lydXMAY3lydXM5OSU=
S: A01 OK Success (tls protection)
Authenticated.
Security strength factor: 256
################################################################################################################
diameter:~# cyradm --user cyrus --server localhost --auth plain
Password:
IMAP Password:
localhost.mactan.ph> help
authenticate, auth, login authenticate to server
chdir, cd change current directory
createmailbox, cm, create create mailbox
deleteaclmailbox, dam, deleteacl remove ACLs from mailbox
deletemailbox, dm, delete delete mailbox
disconnect, disc disconnect from current server
exit, quit exit cyradm
help, ? show commands
info display mailbox/server metadata
listacl, listaclmailbox, lam list ACLs on mailbox
listmailbox, lm list mailboxes
listquota, lq list quotas on specified root
listquotaroot, lqm, lqr show quota roots and quotas for mailbox
mboxcfg, mboxconfig configure mailbox
reconstruct reconstruct mailbox (if supported)
renamemailbox, rename, renm rename (and optionally relocate) mailbox
server, servername, connect show current server or connect to server
setaclmailbox, sam, setacl set ACLs on mailbox
setinfo set server metadata
setquota, sq set quota on mailbox or resource
version, ver display version info of current server
xfermailbox, xfer transfer (relocate) a mailbox to a different server
localhost.mactan.ph> exit
diameter:~#
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040313/ee11a3c6/attachment.html
More information about the Info-cyrus
mailing list