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

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 03-09-2009, 03:53 AM
Advanced Member
 
Posts: 186
Exclamation migration of mailboxes & LDAP data

hi all,
I am planing for the migration of mailbox data from sun java communication suite 5.
I have seen the migration links for zimbra, however i have not yet find any right way for it.My question is how i can transfer the format of mailbox from comm suite to zimbra? Is there any command through which i can reconstruct the mailboxes?
More over the LDAP data was stored in sun java directory server earlier,
Is there any way of importing user from the LDAp.diff file, if not that any way for modifying the user's password with the hash for the password as same as earlier stored.

#############################################
What do you suggest me regarding the migration,


Best regards
Adeel
Reply With Quote
  #2 (permalink)  
Old 03-09-2009, 03:59 AM
Moderator
 
Posts: 7,928
Default

Some examples on passwords :-

[SOLVED] Migrate to Zimbra from iPlanet 5.2
Migrating Accounts from LDAP with Encrypted Passwords
__________________
Reply With Quote
  #3 (permalink)  
Old 03-09-2009, 08:57 AM
Trained Alumni
 
Posts: 28
Default

If you are interested in a perl migration script that will convert iplanet messaging 5.2's Personal Address Book to a form that will allow you to import it into zimbra, pm me.

Last edited by fowler; 03-09-2009 at 08:59 AM..
Reply With Quote
  #4 (permalink)  
Old 03-10-2009, 07:48 AM
Advanced Member
 
Posts: 186
Exclamation From Sun java comm suite 5 to ZIMBRA

Hi all,
And thanks for the help provided,
But i am still confused and looking for the stuff which can help me.
###########################
Regarding LDAP (sun java directory Server)
I have an file named ldap.ldif
which contains the user ID,passwords in encrypted form and all the attributes.
How i can import the data in to the zimbra LDAP server, moreover i am unable to find the same kind of file in the Zimbra LDAP server.There is a file in the zimbra LDAP but the users i have created are not present in that file.
################################
Regarding MailBox Data(Sun Java Messaging Server)
How can i migrate the Mailbox data in to the zimbra format,
I think, for migration following thing is to planed,
1- Creation or importing the users
2- Placing the HASH password for every user from the previous LDAP server (This is to be done if users have been created and not imported).
3- Login the User, and when the mail box is created on the file level for that user, copy the mailbox from sun java messaging server to Zimbra (But the format of the mailbox have to be changed so that zimbra supports it)
#####################################

Please Suggest me, Thanks in Advance\
Regards
Adeel
Reply With Quote
  #5 (permalink)  
Old 03-10-2009, 10:25 AM
Trained Alumni
 
Posts: 28
Default

The import would be something you need to script. Map the attributes and values of your ldif file to the zmprov equivalent.

One suggestion might be to do something like this:

1. cycle through your ldif file picking out mail, givenname, cn, sn and userpassword.
2. Map them to the equivalent zimbra attributes.

givenname => firstName
cn => displayName
sn => lastName

3. generate the zmprov commands and save them to a file.

ca mail@host.com {ssha}asdlkfgj234 displayName 'Jim Norton' firstName Jim lastName Norton

4. import your users.
zmprov < commands.zmp

Bulk Provisioning - Zimbra :: Wiki
Zmprov Examples - Zimbra :: Wiki
Zmprov (Provisioning - Zimbra :: Wiki)

The message store for Sun and Zimbra are different. You are not going to be able to cp them from one file system to another. imapsync has been the recommended method, although it can be slow.

User Migration - Zimbra :: Wiki

Last edited by fowler; 03-10-2009 at 11:38 AM..
Reply With Quote
  #6 (permalink)  
Old 03-11-2009, 12:48 AM
Advanced Member
 
Posts: 186
Exclamation From Sun java comm suite 5 to ZIMBRA

Hi,
thanks for your help, it was really useful.
Now I need to know the following things, I will be glade if you entertain me.
####### Openldap
under the path >>/opt/zimbra/openldap/etc/openldap, I have find the following file.In this case my domain is zimbra.domain.com.
DB_CONFIG.example master-accesslog.conf slapd.conf zimbra_globalconfig.ldif
ldap.conf master-accesslog-overlay.conf slapd.conf.default zimbra.ldif
ldap.conf.default schema zimbra_defaultcos.ldif zimbra_mimehandlers.ldif
#######
But i have now find scehma for mydomain.com, in my previous ldap server the file ldap.diff i had entries for every user like following,
# entry-id: 5079
dn: uid=testing.user,ou=People,o=mydomain.com,o=USERS, dc=mydomain,dc=com
uid: testing.user
..bla bla bla.
..
.

###########################
As far as mailboxes are concern, I am unable to find the imapsync . Can you please provide me with the download link for it > OS is redhat linux AS 5


Thank you very much for the support provided earlier,
Regards
Adeel
Reply With Quote
  #7 (permalink)  
Old 03-11-2009, 01:38 AM
Advanced Member
 
Posts: 186
Exclamation From Sun java comm suite 5 to ZIMBRA

Hi,
thanks for your help, it was really useful.
Now I need to know the following things, I will be glade if you entertain me.
####### Openldap
under the path >>/opt/zimbra/openldap/etc/openldap, I have find the following file.In this case my domain is zimbra.domain.com.
DB_CONFIG.example master-accesslog.conf slapd.conf zimbra_globalconfig.ldif
ldap.conf master-accesslog-overlay.conf slapd.conf.default zimbra.ldif
ldap.conf.default schema zimbra_defaultcos.ldif zimbra_mimehandlers.ldif
#######
But i have not find scehma for mydomain.com, in my previous ldap server the file ldap.diff i had entries for every user like following,
# entry-id: 5079
dn: uid=testing.user,ou=People,o=mydomain.com,o=USERS, dc=mydomain,dc=com
uid: testing.user
..bla bla bla.
..
.

###########################
As far as mailboxes are concern, I am unable to find the imapsync . Can you please provide me with the download link for it > OS is redhat linux AS 5


Thank you very much for the support provided earlier,
Regards
Adeel
Reply With Quote
  #8 (permalink)  
Old 03-11-2009, 01:44 AM
Moderator
 
Posts: 7,928
Default

DAG: imapsync RPM packages for Red Hat, CentOS and Fedora
__________________
Reply With Quote
  #9 (permalink)  
Old 03-11-2009, 04:57 AM
Advanced Member
 
Posts: 186
Exclamation From Sun java comm suite 5 to ZIMBRA

yappyyyyyyyyyyyyyyy...

MailBoxes have been converted in to the format,

However i still need to look for help as far as LDAP data is concern.
My current LDAP contains 2 domains.?
Please give some more explanation and i will be thankful to you
#####

One suggestion might be to do something like this:

1. cycle through your ldif file picking out mail, givenname, cn, sn and userpassword.
2. Map them to the equivalent zimbra attributes.

givenname => firstName
cn => displayName
sn => lastName

3. generate the zmprov commands and save them to a file.

ca mail@host.com {ssha}asdlkfgj234 displayName 'Jim Norton' firstName Jim lastName Norton
##############


Please suggest me
Regards
Adeel
Reply With Quote
  #10 (permalink)  
Old 01-06-2011, 11:08 AM
Starter Member
 
Posts: 1
Default export iplanet PAB

Quote:
Originally Posted by fowler View Post
If you are interested in a perl migration script that will convert iplanet messaging 5.2's Personal Address Book to a form that will allow you to import it into zimbra, pm me.
Do you still have this?

Many thanks.
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.