cannot login with cyradm

Ken Murchison ken at oceana.com
Tue Dec 16 12:43:06 EST 2003


Nora Bernhard wrote:

> Hi :)
> 
> I have a SuSE9.0 with the distributed cyrus-imapd from the installation 
> cds running. Additionally, I downloaded the cyrus-sasl from the official 
> website and compiled it with LDAP support.
> 
> If I now try 'cyradm --user cyrus localhost' (the user 'cyrus' exists on 
> the LDAP directory), I get "cannot connect to server". In 
> /var/log/messages, I see:

If all you are going to allow are plaintext mechanisms, either remove 
the non-plaintext SASL plugins, specify 'sasl_mech_list: PLAIN LOGIN' in 
imapd.conf, or use the '--auth login' option to cyradm.


> 
> Dec 16 15:29:28 lx14 master[25264]: about to exec /usr/lib/cyrus/bin/imapd
> Dec 16 15:29:28 lx14 imap[25264]: executed
> Dec 16 15:29:28 lx14 imapd[25264]: accepted connection
> Dec 16 15:29:31 lx14 imapd[25264]: unable to open Berkeley db 
> /etc/sasldb2: No such file or directory
> Dec 16 15:29:31 lx14 imapd[25264]: no OTP secret in database
> Dec 16 15:29:31 lx14 imapd[25264]: don't have a OTP secret
> Dec 16 15:29:31 lx14 imapd[25264]: badlogin: localhost[127.0.0.1] OTP 
> [SASL(-1): generic failure: don't have a OTP secret]
> Dec 16 15:29:34 lx14 imapd[25264]: DIGEST-MD5 server step 1
> Dec 16 15:29:34 lx14 perl: DIGEST-MD5 client step 2
> Dec 16 15:29:34 lx14 imapd[25264]: DIGEST-MD5 server step 2
> Dec 16 15:29:34 lx14 imapd[25264]: unable to open Berkeley db 
> /etc/sasldb2: No such file or directory
> Dec 16 15:29:34 lx14 imapd[25264]: unable to open Berkeley db 
> /etc/sasldb2: No such file or directory
> Dec 16 15:29:34 lx14 imapd[25264]: no secret in database
> Dec 16 15:29:34 lx14 imapd[25264]: badlogin: localhost[127.0.0.1] 
> DIGEST-MD5 [SASL(-13): user not found: no secret in database]
> Dec 16 15:29:37 lx14 imapd[25264]: bad userid authenticated
> Dec 16 15:29:37 lx14 imapd[25264]: badlogin: localhost[127.0.0.1] 
> CRAM-MD5 [SASL(-13): authentication failure: bad userid authenticated]
> Dec 16 15:29:40 lx14 perl: No worthy mechs found
> 
> I guess there may be something wrong with the configuration of the 
> imap-server itself!? I already tried to compile cyrus-imapd myself, but 
> make aborts with errors (some undefined references in cyrusMasterMIB.c).
> 
> Has anybody got a hint for me?
> 
> Thanks,
> 
> Nora
> 
> 


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list