Hello,
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
name.surname@domain.com 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:
Code:
zmprov ma existing.mail@domain.com uid changed.user mail changed.user@domain.com
which produces the following error:
Code:
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,
Thomas