Sync_client syncserver problem when adding user to sasldb2

Stephen Carr sgcarr at civeng.adelaide.edu.au
Wed Feb 2 19:55:09 EST 2011


Dear All

I have had a problem that sync_client cannot authenticate to the 
replica  with a badlogin a few times and now found a workaround.

Version of cyrus-imapd 2.4.6 and sasl  2.1.23

What happened  (see parts of log below)

At 10:23 added new user to sasldb2 then there is a delay before the 
badlogin occurs when the sync_client does a RESTART

The fix was to su cyrus and run at 10:53:59

sync_client -o -v -l -u user.AAAAAA

Then all was OK

Note the sync_client has the same process ID 28563 but the syncserver 
process IDs changed from 13636 to 13919 then 13925.

The server is quite busy during this period and I noticed the log file 
in the sync directory growing.

Regards
Stephen Carr


Replica

Feb  3 10:16:45 proxy syncserver[13636]: login: 
brooks.civeng.adelaide.edu.au [129.127.16.1] cyrus DIGEST-MD5 User logged in
Feb  3 10:26:49 proxy syncserver[13636]: login: 
brooks.civeng.adelaide.edu.au [129.127.16.1] cyrus DIGEST-MD5 User logged in
Feb  3 10:36:52 proxy syncserver[13636]: login: 
brooks.civeng.adelaide.edu.au [129.127.16.1] cyrus DIGEST-MD5 User logged in
Feb  3 10:38:37 proxy syncserver[13636]: Repacking mailbox user.aaaa
Feb  3 10:46:55 proxy syncserver[13636]: badlogin: 
brooks.civeng.adelaide.edu.au [129.127.16.1] DIGEST-MD5 [SASL(-17): One 
time use of a plaintext password will enable requested mechanism for 
user: no secret in database]
Feb  3 10:47:13 proxy syncserver[13636]: badlogin: 
brooks.civeng.adelaide.edu.au [129.127.16.1] DIGEST-MD5 [SASL(-17): One 
time use of a plaintext password will enable requested mechanism for 
user: no secret in database]
Feb  3 10:47:46 proxy syncserver[13636]: badlogin: 
brooks.civeng.adelaide.edu.au [129.127.16.1] DIGEST-MD5 [SASL(-17): One 
time use of a plaintext password will enable requested mechanism for 
user: no secret in database]
Feb  3 10:48:49 proxy syncserver[13636]: badlogin: 
brooks.civeng.adelaide.edu.au [129.127.16.1] DIGEST-MD5 [SASL(-17): One 
time use of a plaintext password will enable requested mechanism for 
user: no secret in database]
Feb  3 10:50:53 proxy syncserver[13919]: badlogin: 
brooks.civeng.adelaide.edu.au [129.127.16.1] DIGEST-MD5 [SASL(-17): One 
time use of a plaintext password will enable requested mechanism for 
user: no secret in database]
Feb  3 10:53:59 proxy syncserver[13925]: login: 
brooks.civeng.adelaide.edu.au [129.127.16.1] cyrus DIGEST-MD5 User logged in
Feb  3 10:54:56 proxy syncserver[13925]: login: 
brooks.civeng.adelaide.edu.au [129.127.16.1] cyrus DIGEST-MD5 User logged in
Feb  3 10:55:04 proxy syncserver[13925]: Repacking mailbox user.bbb

Master

Feb  3 10:46:53 brooks sync_client[28563]: MAILBOX user.xxx
Feb  3 10:46:56 brooks sync_client[28563]: sync_client RESTART succeeded
Feb  3 10:54:00 brooks sync_client[8940]: USER user.AAAAAA
Feb  3 10:54:56 brooks sync_client[28563]: MAILBOX user.yyy
Feb  3 10:54:56 brooks sync_client[28563]: MAILBOX user.xxx

-- 
Stephen Carr
School of Civil, Environmental & Mining Engineering
The University of Adelaide
Adelaide, South Australia, 5005
Australia
Tel +618-8303-4313
Fax +618-8303-4359

Email sgcarr at civeng.adelaide.edu.au

CRICOS Provider Number 00123M
----------------------------------------------------------- 
This email message is intended only for the addressee(s) and
contains information that may be confidential and/or copyright.
If you are not the intended recipient please notify the sender 
by reply email and immediately delete this email. Use, disclosure 
or reproduction of this email by anyone other than the intended 
recipient(s) is strictly prohibited. No representation is made 
that this email or any attachments are free of viruses. Virus 
scanning is recommended and is the responsibility of the recipient.




More information about the Info-cyrus mailing list