Cyradm "bug" weirdness...

Steve Clement steve.clement at ltam.lu
Mon Dec 30 11:40:59 EST 2002


Ok after having played around a bit with that problem I found the 
"solution" to it.

I tested the account with imtest to make sure all was ok and it worked 
fine then I went manually into the Cyrus::IMAP::Shell module and did:

imtest:
[root at somehost root]# imtest -a 1stadmin localhost
S: * OK somehost Cyrus IMAP4 v2.1.11 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS 
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=OTP 
AUTH=DIGEST-MD5 AUTH=CRAM-MD5 X-NETSCAPE
S: C01 OK Completed
C: A01 AUTHENTICATE OTP
S: +
Please enter your secret pass-phrase:
C: c3RldmVhZG1pbgBzdGV2ZWFkbWlu
S: + b3RwLW1kNSA0OTMgc3A0MjEwIGV4dA==
C: aGV4OjFlYjBlYzZjNjRhOGIzYjY=
S: A01 OK Success (no protection)
Authenticated.
Security strength factor: 0

log output:

Dec 30 17:20:40 somehost imapd[3135]: accepted connection
Dec 30 17:20:40 somehost master[3203]: about to exec /usr/cyrus/bin/imapd
Dec 30 17:20:40 somehost imap[3203]: executed
Dec 30 17:20:42 somehost imapd[3135]: login: local-somehost[127.0.0.1] 
steveadmin OTP User logged in

"manual" perl trickery:

[root at somehost root]# perl -MCyrus::IMAP::Shell -e shell
cyradm> server -noauthenticate localhost
local-somehost> auth 1stadmin
Password:
authenticate: authentication to server local-somehost failed
local-somehost> disc
cyradm> auth 1stadmin
authenticate: no connection to server
cyradm> server -noauthenticate localhost
local-somehost> auth steveadmin
Password:
local-somehost>
"login successfulll" all works fine from now on. Weird I think.

Ok so it might already be obvious to some of you, but it aint for me guv.

cheers Steve

P.S: CC'ed you in Mario just in case it "fixes" it for you...






More information about the Info-cyrus mailing list