Results 1 to 3 of 3

Thread: [SOLVED] Change uid and mail of a user

  1. #1
    Join Date
    Dec 2009
    Rep Power

    Default [SOLVED] Change uid and mail of a user


    at our company were using our ASP.NET application to create users as well as for the application and Zimbra as well by calling a remote PHP script which implements Zimbra PHP API to create accounts, which works perfectly.
    But the problems start when the new users miss-spelled and need to be corrected, and because we're using mail address format we also need to change the email and uid of the user on zimbra, which fails.
    I have also tried changing those two things localy with zimbra user using command:
    zmprov ma uid changed.user mail
    which produces the following error:
    ERROR: service.INVALID_REQUEST (invalid request: uid is immutable)
    Same error if I drop out the uid and want to change only the mail address only that it says mail is immutable.
    I have tried locking down the account for maintainance before changing and still doesn't work. So now I'm thinking, maybe I am doing this wrong.
    So now the question arises, how to change the address and login of the account?

    Best regards,

  2. #2
    Join Date
    Nov 2006
    Rep Power


    Welcome to the forums

    I am guessing it will be a two stage process in that you will need to do a
    su - zimbra
    zmprov renameAccount {name@domain|id} {newName@domain}
    first then followed by the modifyAccount to change the specific attributes.

  3. #3
    Join Date
    Dec 2009
    Rep Power


    That's what I did, and it worked. SOLVED.

Similar Threads

  1. Can no longer start desktop
    By foobaz in forum General Questions
    Replies: 12
    Last Post: 04-02-2010, 04:06 PM
  2. getting duplicate copy of old emails every day
    By chandu in forum Administrators
    Replies: 4
    Last Post: 05-12-2009, 12:16 AM
  3. Problem syncing all folders
    By mark_the_chain in forum Error Reports
    Replies: 0
    Last Post: 11-23-2008, 03:59 PM
  4. [SOLVED] mailbox and apache not running
    By rtwick in forum Administrators
    Replies: 4
    Last Post: 11-15-2008, 07:21 AM
  5. Samba extension on existing install?
    By bersrker in forum Administrators
    Replies: 8
    Last Post: 05-17-2007, 10:42 AM

Posting Permissions

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