Dear Experts
Uing Release 6.0.7 - RHEL5_64 NETWORK edition.
We have to migrate the user from Zimbra to Zimbra with encrypted UserPasswords from Ldap.
We took Ldap backup in Source Zimbra Server using
/opt/zimbra/libexec/zmslapcat /tmp/ (Ex: ldif file will look like this ldap.bak.20100729045433).
w.r.t ldif file encrypted password , We tried crypt , ssha ,sha1 , md5 but these authentication mechanisms is not working.
We tried below steps to migrate users from zimbra to zimbra.
1 zmprov ca
test@domain.com temppasswordQAZXSW displayName test
zmprov ma
test@domain.com userPassword '{crypt}e1NTSEF9TWE0d25hSVoyYk92OE43YWFnY3NmVkhnR1 ZQT2ZoSmw='
2. ldapadd -H ldap://localhost:389 -x -D "uid=zimbra,cn=admins,cn=zimbra" -w EIQcWOt3Is -f tmp.ldif
3 Test Ldif file is
-----------------
dn: uid=testaccel,ou=people,dc=domain,dc=in
zimbraMailTransport: lmtp:domain.in:7025
zimbraAccountStatus: active
zimbraMailDeliveryAddress:
testaccel@domain.in
sn: testaccel
zimbraMailStatus: enabled
zimbraId: 93e7c70d-cbb9-4bb8-b516-b70402a2f3b9
zimbraCreateTimestamp: 20100727155502Z
mail:
testaccel@domain.in
displayName: testaccel
uid: testaccel
objectClass: organizationalPerson
objectClass: zimbraAccount
objectClass: amavisAccount
cn: testaccel
zimbraMailHost: domain.in
zimbraAuthTokenValidityValue: 0
userPassword:: e1NTSEF9TWE0d25hSVoyYk92OE43YWFnY3NmVkhnR1ZQT2ZoSm w=
zimbraPasswordModifiedTime: 20100728101057Z
Note : Destination Zimbra is live. Source and Destination having different hostnames , we cant just export and import ldap in zimbra.
Thanks in Advance
Thanks
Arun