CYRADM: badlogin: OTP [SASL(-13): user not found: no OTP secret indatabase] BUT sasldblistuser2 proves passwd is set

Ken Murchison ken at oceana.com
Thu Jan 30 09:51:31 EST 2003



Dennis Leist wrote:
> 
> Dear all,
> 
> Please help in this issue:
> 
> Trying set up mailboxes via cyradm
> 
> # cyradm --user cyrus localhost

Try:

# cyradm --user cyrus --auth login localhost


> always ends in
> 
> # cyradm: cannot authenticate to server with  as cyrus
> 
> I get  /v/l/imapd.conf:
> 
> Jan 30 12:14:00 helium imapd[17700]: accepted connection
> Jan 30 12:14:01 helium imapd[17700]: badlogin: localhost[127.0.0.1] OTP
> [SASL(-13): user not found: no OTP secret in database]
> 
> But sasldblistuser2 shows:
> 
> #> sasldblistusers2
> cyrus at helium: userPassword
> cyrus at helium: cmusaslsecretOTP

Did you specifically tell saslpasswd2 to use ony 'helium' as the realm,
or is the hostname on this machine not fully qualified?

By default, Cyrus appends the fully qualified hostname to the userid
when looking up the secret in sasldb2.  If you have a mismatch in
realms, it won't find the secret.

-- 
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