Pick a day of the transfer. Generate new passwords for all users on the system. Notify all users of their new passwords as of the date of the transfer you decide on. On the day of the transfer, update the LDAP (or both LDAPs if there are two) with the password assigned and previously distributed to each user. At this point, the password is now the same as the one you distributed, and if you're using two different LDAP servers, the password will be the same on both systems. Now you can use imapsync to migrate the mailbox of the user, knowing what their password is... because you just set it.
Being able to script all of this would really be the best way to do it considering the number of users on the system. Likewise, you could do this on an individual basis as well. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Madden Sent: Thursday, September 01, 2005 2:40 PM To: Sujit Choudhury Cc: Sujit Choudhury; info-cyrus@lists.andrew.cmu.edu Subject: Re: imap transfer > After getting advice from various people I tried imapsync, as I was > moving one mailbox to another within cyrus environment on the same machine. > So far everything went ok; however only one problem I encountered - I > required the passwords of both set of accounts. As I will be dealing > with 400+ accounts, this might be the biggest challenge. > To make the matter worse, the accounts are authenticated via ldap. > Anyway I have done two so far and one person was overjoyed. We're about to go through this for about 5,000 accounts (also LDAP-backed). We'll be sending them new passwords that as of such-and-such a date will be what they use to log in. (Generate this list beforehand, then drop the new passwords into place on the migration date.) John -- John Madden UNIX Systems Engineer Ivy Tech Community College of Indiana [EMAIL PROTECTED] ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html