Ok, i took the output of the above, and threw it into a userlist.txt.
Then i did this on the destination server:
Code:
for i in `cat userlist.txt`;\
do zmprov ma `echo $i | \
awk -F, '{print $1 " userPassword " $2}'`; \
done
Hello ,
I use it for my destination server and i export to userlist with using this command ; zmprov -l gaa -v > /tmp/users.txt
and i check the user.txt file in userPassword line its looklike ;
------
objectClass: amavisAccount
sn: Showroom
uid: astoria.showroom
userPassword: {SSHA}ZutwfeBdyHHg+IRirZiJmNeblPqhLW0Q
zimbraAccountStatus: active
zimbraAdminAuthTokenLifetime: 12h
zimbraAllowAnyFromAddress: FALSE
------
userPassword line and zimbraAccountStatus line have 1 empty line .Thath way i can migrate the user password.Could you help me please.
Thanks