authentication failure

Skale, Franz i.bin at dah.am
Tue Mar 10 19:13:17 CET 2020


Hi,
your ptcache.db seems to be broken.
Try the following:
1.) Create a backup ! (always!)
E.g. cp -a /var/lib/imap/ptclient/ptscache.db 
/var/lib/imap/ptclient/ptscache.db.bak
2.) Dump the file by issuing following command:
su - cyrus -c /usr/lib/cyrus-imapd/ptdump
Check all the entries and the timestamps.
3.) Clear the DB by using ptexpire: (Man Page: 
https://www.cyrusimap.org/imap/reference/manpages/systemcommands/ptexpire.html)
Issue: (Default 3h).
su - cyrus -c /usr/lib/cyrus-imapd/ptexpire
Check again by logging in as user again.
Dump again and verify the timestamp by using following command:
date -d @[timestamp]

Best regards
Franz

Am 2020-03-10 12:37, schrieb Valentin Laskov:
> Hello,
> 
> I have almost 80 user mailboxes and they are working without problems
> but one of them is unable to login. There was some creation and
> deletion procedures of this mailbox and a moment with two users with
> this same mailbox.
> 
> Now imap log messages for this mailbox are:
> 
> Mar 10 12:31:46 mailserver imaps[31916]: ptload(): bad response from
> ptloader server: identifier not found
> Mar 10 12:31:46 mailserver imaps[31916]: ptload failed: but canonified
> username at example.com -> username at example.com
> Mar 10 12:31:46 mailserver imaps[31916]: SASL Password verification 
> failed
> Mar 10 12:31:52 mailserver imaps[31916]: badlogin: [127.0.0.1]
> username at example.com LOGIN+TLS SASL(-13): authentication failure:
> checkpass failed
> 
> /var/log/roundcubemail/userlogins
> 
> [10-Mar-2020 09:24:44,911336 +0200]: <uhnjbkbu> Failed login for
> username at example.com from 213.91.180.10 in session uhnjbkbun4mi99i2
> (error: 0)
> [10-Mar-2020 09:25:11,060699 +0200]: <uhnjbkbu> Failed login for
> username at example.com from 213.91.180.10 in session uhnjbkbun4mi99i2
> (No user record found)
> 
> /var/log/dirsrv/slapd-mailserver/access
> 
> [10/Mar/2020:13:12:08.323708292 +0200] conn=194649 op=1 BIND
> dn="uid=username,ou=People,dc=example,dc=com" method=128 version=3
> [10/Mar/2020:13:12:08.324133667 +0200] conn=194649 op=1 RESULT err=49
> tag=97 nentries=0 etime=0.0000506992 - Invalid credentials
> 
> but
> 
> # testsaslauthd -u username at example.com -p IpCZvSw6d254
> 0: OK "Success."
> 
> kolab lm shows user/username at example.com mailbox. There are folders in
> /var/spool/imap/domain/......./user/username
> 
> There was second mailbox username at example.com without children wich I
> removed using cyradm (not using "kolab dm")
> 
> Please help me to resolve this authentication failure!
> 
> Regards!
> Valentin
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list