Results 1 to 5 of 5

Thread: bulk user provisionning with passwd2zmprov

  1. #1
    nahmsath is offline Active Member
    Join Date
    Apr 2008
    Location
    Lomé/Togo
    Posts
    34
    Rep Power
    7

    Default bulk user provisionning with passwd2zmprov

    Hi there,

    I'm trying to provisionning my zimbra with existing user account in /etc/passwd file using passwd2zmprov (rf. Bulk Provisioning - Zimbra :: Wiki).
    Every thing went well and my 100 existing users were batch created into my fresh zimbra.

    But when i try to connect through zimbra web mail to one of this newly transfered account, i can't: The username or password is incorrect said zimbra login page.

    How this kind of transfert handle password issue?
    What do i have to do to solve my pb?

    Thanks.

  2. #2
    p24t is offline Moderator
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

    I don't know perl, but from looking at that script, you specify a generic password on the commandline for passwd2zmprov - and it sets the users to be forced to change their password on next login. I doubt that a perl script would be able to reverse the hash from /etc/shadow. This line is from the script's documentation:

    Code:
         -password <password> [default ""]
    So if you don't specify that password, it just uses blank.

  3. #3
    nahmsath is offline Active Member
    Join Date
    Apr 2008
    Location
    Lomé/Togo
    Posts
    34
    Rep Power
    7

    Default

    Many thanks man!

    that's it mean all my transfered users do not have password?
    But it seems like Zimbra webmail doesn't allow login without password...

    May be the author of this script can shade some light on this issue?

  4. #4
    p24t is offline Moderator
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

    Well what you could do is modify the script that creates. I assume it creates a file with zmprov commands like this:
    Code:
    zmprov ca [email address] '' givenName [name] sn [name] cn [name].......
    etc. Change those commands to read like this:
    Code:
    zmprov sp [email address] [some generic password]
    Run that, then you should be able to log in with the generic password.

  5. #5
    nahmsath is offline Active Member
    Join Date
    Apr 2008
    Location
    Lomé/Togo
    Posts
    34
    Rep Power
    7

    Default

    Kudo man!
    I've just set a generic password for all my users.
    And while logon, Zimbra force them to change it before login properly.

    Many thanks again.
    Now i'm working on how to transfert their mailbox from an old server to the new zimbra powered mail server.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. DNS Questions and Trouble Installing
    By smurraysb in forum Installation
    Replies: 22
    Last Post: 03-14-2008, 03:27 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  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, 07: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
  •