problems with authentication

Ali Asad Lotia lotia at umich.edu
Tue May 13 12:02:53 EDT 2003


hello all.

i am having trouble authenticating the the imapd. the details of my  
installed system are:

sasldb is at: /etc/sasldb2 the cyrus user can read the /etc/sasldb2  
file.

my /etc/imapd.conf file:
configdirectory: /home/cyrus/imap/config
partition-default: /home/cyrus/imap/mail
lmtpsocket: /home/cyrus/imap/config/socket/lmtp
idlesocket: /home/cyrus/imap/config/socket/idle
notifysocket: /home/cyrus/imap/config/socket/notify
admins: gulkhan
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasl_sasldb_path: /etc/sasldb2
unixhierarchysep: yes
altnamespace: yes
quotawarn: 90
singleinstancestore: yes
duplicatesuppression: yes
sievedir: /home/cyrus/sieve
hashimapspool: true

sasldblistusers2 shows:
test at lotia.org: userPassword
gulkhan at lotia.org: userPassword

when i try to connect using imtest:
  ./imtest -a test -r lotia.org localhost

(output)
S: * OK mail Cyrus IMAP4 v2.1.13 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 AUTH=DIGEST-MD5
S: C01 OK Completed
C: A01 AUTHENTICATE DIGEST-MD5
S: +  
bm9uY2U9Ijd6SUJTVkJMdXl4QzZzbkxUNEFKNjRNMEhKVDF3dnZLajBaMFRES1h0bUU9Iixy 
ZWFsbT0ibWFpbCIscW9wPSJhdXRoLGF1dGgtaW50LGF1dGgtY29uZiIsY2lwaGVyPSJyYzQt 
NDAscmM0LTU2LHJjNCxkZXMsM2RlcyIsbWF4YnVmPTQwOTYsY2hhcnNldD11dGYtOCxhbGdv 
cml0aG09bWQ1LXNlc3M=
Please enter your password:
C:  
dXNlcm5hbWU9InRlc3QiLHJlYWxtPSJtYWlsIixub25jZT0iN3pJQlNWQkx1eXhDNnNuTFQ0 
QUo2NE0wSEpUMXd2dktqMFowVERLWHRtRT0iLGNub25jZT0iWldqcmptN3NOQnpDbU1zYWJv 
bkZ5ODhHbW9mdGpXa24rSGM0MnpaREdKaz0iLG5jPTAwMDAwMDAxLHFvcD1hdXRoLWNvbmYs 
Y2lwaGVyPSJyYzQiLG1heGJ1Zj0xMDI0LGRpZ2VzdC11cmk9ImltYXAvbG9jYWxob3N0Iixy 
ZXNwb25zZT1kNDgwYTNmYjY5ODM1MmVkODBiZjFhOWNjNWU5ZDlkYQ==
S: A01 NO user not found
Authentication failed. generic failure
Security strength factor: 128

i know i have the password correct. insights would be greatly  
appreciated.

the log messages are:
May 13 11:49:37 [imapd] no secret in database
May 13 11:49:37 [imapd] badlogin: localhost[127.0.0.1] DIGEST-MD5  
[SASL(-13): user not found: no secret in database]

trying cyradm

./cyradm --user gulkhan --auth DIGEST-MD5 192.168.1.11
Password:
cyradm: cannot authenticate to server with DIGEST-MD5 as gulkhan

my log messages are:
May 13 12:00:10 [imapd] no secret in database
May 13 12:00:10 [imapd] badlogin: mail.lotia.org[192.168.1.11]  
DIGEST-MD5 [SASL(-13): user not found: no secret in database]
May 13 12:00:13 [perl] No worthy mechs found

any insights would be greatly appreciated.

thanks,
ali asad lotia





More information about the Info-cyrus mailing list