Problem migrating sha512 passwords to Zimbra ldap

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
Post Reply
begum.tuncer
Posts: 1
Joined: Mon Mar 23, 2015 6:13 pm

Problem migrating sha512 passwords to Zimbra ldap

Post by begum.tuncer »

There is an old postfix + shell users installation which I'm trying to migrate to my newly installed ZCS 8.6.
I can get the users and passwords from /etc/shadow file (which includes sha512 hashed passwords of users) and then create and modify accounts respectively like this:
zmprov ca test@example.com temppasswordQAZXSW displayName test
zmprov ma test@example.com userPassword '{crypt}$6$rFZhdfmb$Nl8Atwv/JMM0C4clOjyK4l6N4RUalgrGz45lLWJ/CKmdw3ynNtXOcPgKOTeU5BLEiqfcPun1AEprWb3qf.1vB/'
Accounts are created in internal LDAP of Zimbra, but i can not login successfully with the password. Am I missing something?
daniel@unesp.br
Posts: 1
Joined: Mon Jun 22, 2015 7:35 am

Problem migrating sha512 passwords to Zimbra ldap

Post by daniel@unesp.br »

Hello,
Try this:
zmprov ma test@example.com userPassword '{SSHA512}$6$rFZhdfmb$Nl8Atwv/JMM0C4clOjyK4l6N4RUalgrGz45lLWJ/CKmdw3ynNtXOcPgKOTeU5BLEiqfcPun1AEprWb3qf.1vB/'
Post Reply