Results 1 to 3 of 3

Thread: Must know all user passwords?

  1. #1
    Join Date
    Jan 2007
    Posts
    39
    Rep Power
    10

    Default Must know all user passwords?

    Do you have to know each user's password to successfully migrate from courier IMAP to zimbra? I did the migration for myself, of course I know my own UN and password though. I read that string I've been using has to be done for every user, but can be scripted. But do I need to know everyone's password? Or reset everyone's password to something I know and then have them change it next time they login?

    (Yes, I looked on the Wiki and did a forum search. The results I got were from a year ago and they were not specific.)

  2. #2
    Join Date
    Sep 2006
    Posts
    6
    Rep Power
    10

    Default

    Yes, to successfully use imapsync you're going to need to know all of your user's passwords.

    In my case I'm migrating from a non-ldapified mail server to Zimbra which will be authing against an external LDAP server. I've already got my users in LDAP and they all have passwords set that are unknown. I just threw together a quick script to grab those password hashes, stick them in a file and then set everyone's password to a known value. I have a similar script to hack up the /etc/shadow file on the source imap server. After the migration, I have another script that reads that file and restores LDAP passwords, and I can restore /etc/shadow from a backup that I will make before munging it.

    This does mean that any other LDAPified services will be fubared while I'm doing the imapsync. Fortunately, I don't have too many of those yet.

  3. #3
    Join Date
    Jan 2007
    Posts
    39
    Rep Power
    10

    Default

    Ok thanks for the reply. Luckily I only have about 70 users because I don't know how to write scripts like that lol. I'll probably just end up re-setting everyones password to something default and setting must change on next login (going to do this in off hours). Anyway, thanks, I wanted to be sure before I went that route.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  3. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •