Re: authentication failure
"Skale, Franz" <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kroupware |
|---|---|
| Message-ID | <20ed0e14bc767d5ba885f0317aeb87a5__11421.7437266902$1583864023$gmane$org@dah.am> |
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 > [email protected] -> [email protected] > 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] > [email protected] LOGIN+TLS SASL(-13): authentication failure: > checkpass failed > > /var/log/roundcubemail/userlogins > > [10-Mar-2020 09:24:44,911336 +0200]: <uhnjbkbu> Failed login for > [email protected] from 213.91.180.10 in session uhnjbkbun4mi99i2 > (error: 0) > [10-Mar-2020 09:25:11,060699 +0200]: <uhnjbkbu> Failed login for > [email protected] 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 [email protected] -p IpCZvSw6d254 > 0: OK "Success." > > kolab lm shows user/[email protected] mailbox. There are folders in > /var/spool/imap/domain/......./user/username > > There was second mailbox [email protected] without children wich I > removed using cyradm (not using "kolab dm") > > Please help me to resolve this authentication failure! > > Regards! > Valentin > _______________________________________________ > users mailing list > [email protected] > https://lists.kolab.org/mailman/listinfo/users