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?
Problem migrating sha512 passwords to Zimbra ldap
-
- Posts: 1
- Joined: Mon Mar 23, 2015 6:13 pm
-
- Posts: 1
- Joined: Mon Jun 22, 2015 7:35 am
Problem migrating sha512 passwords to Zimbra ldap
Hello,
Try this:
zmprov ma test@example.com userPassword '{SSHA512}$6$rFZhdfmb$Nl8Atwv/JMM0C4clOjyK4l6N4RUalgrGz45lLWJ/CKmdw3ynNtXOcPgKOTeU5BLEiqfcPun1AEprWb3qf.1vB/'
Try this:
zmprov ma test@example.com userPassword '{SSHA512}$6$rFZhdfmb$Nl8Atwv/JMM0C4clOjyK4l6N4RUalgrGz45lLWJ/CKmdw3ynNtXOcPgKOTeU5BLEiqfcPun1AEprWb3qf.1vB/'