Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-29-2010, 05:30 AM
Junior Member
 
Posts: 7
Default Zimbra to Zimbra user migration ( not with shadow file)

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.