Results 1 to 9 of 9

Thread: [SOLVED] Ldap User Migration and old mailbox restoration

  1. #1
    yogesh2tech is offline Active Member
    Join Date
    Sep 2009
    Location
    India
    Posts
    45
    Rep Power
    5

    Default [SOLVED] Ldap User Migration and old mailbox restoration

    Dear All,
    I am very new to zimbra , i have installed the open source version GA-6.0 on a new server.I have configured the zimbra successfully and the only probem is to restore the existing mail ID's and all their mail boxes to the new zimbra server.

    The old setup is like this
    all user authentication is through Open LDAP with the base DN
    dc=example, dc=com
    Now what i want that is i have taken the all account information in user.ldif file and want to restore the same in the newly configured server.
    i have also taken the backup of mailbox and also wants to restore the mails to their respective mailbox.

    If we got the desired then we will move to the NE edition of zimbra and will replace the existing mailing system.

    currently we are having the openldap and postfix.
    pls tell me the exact way to achieve the same.

    Thanks in Advance

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,436
    Rep Power
    56

    Default

    There are several methods of moving to a new server and the method you're using isn't recommended, check the following articles:

    Moving ZCS to Another Server » Zimbra :: Blog
    Moving ZCS to New Server - Zimbra :: Wiki

    There are other articles in the wiki about moving to a new server and plenty of threads in the forums that discuss this if you'd care to search.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    yogesh2tech is offline Active Member
    Join Date
    Sep 2009
    Location
    India
    Posts
    45
    Rep Power
    5

    Default

    Thanks for quick reply,
    I think u didnt get my point.
    My existing mail server is not running on zimbra, it is basically running on the RHEL 5 with open ldap and postfix.
    and i want to migrate all user from openladp to zimbra ldap and their mailbox as well.
    Pls reply to get out of this problem.

  4. #4
    yogesh2tech is offline Active Member
    Join Date
    Sep 2009
    Location
    India
    Posts
    45
    Rep Power
    5

    Default

    Dear All,
    I have the Postfix and ldap with the following attributes.
    I want these ID'S either imported to the Zimbra Ldap or want authentication from external ldap server running on the port 389.How can i do these changes to zimbra pls help me. I am in very critical condition.
    The following are the attribues in my current setup.
    # Entry 200: uid=abc,dc=example,dc=com
    dn: uid=abc,dc=example,dc=com
    uid: abc
    homeDirectory: /mailbox/abc
    mail: abc@example.com
    mailAlternateAddress: blank
    accountStatus: active
    vacationInfo: blank
    objectClass: organizationalPerson
    objectClass: person
    objectClass: qmailUser
    objectClass: inetOrgPerson
    objectClass: Vacation
    objectClass: top
    mailMessageStore: /mailbox/abc/Maildir
    homePhone: 01122555222
    telephoneNumber: 01154547237
    facsimileTelephoneNumber: 011-12345678
    employeeNumber: 2224
    Grade: E6
    Location: Corporate
    City: Delhi
    cn: Rohit
    sn: Ahuja
    DateofBirth: 12-Aug-1982
    ExtensionNumber: 102
    mobile: +91 9868041613
    Designation: General Manager
    mailForwardingAddress: abc@example.com
    mailForwardingAddress: abc@gmail.com
    userPassword: {CRYPT}A3.WPK6qYVfY
    mailQuotaSize: 1024000


    and.........
    How can I add user.ldif file to zimbra ldap
    pls provide the best answer step by step so that i can achive the sme.


    Thanks

  5. #5
    yogesh2tech is offline Active Member
    Join Date
    Sep 2009
    Location
    India
    Posts
    45
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    There are several methods of moving to a new server and the method you're using isn't recommended, check the following articles:

    Moving ZCS to Another Server » Zimbra :: Blog
    Moving ZCS to New Server - Zimbra :: Wiki

    There are other articles in the wiki about moving to a new server and plenty of threads in the forums that discuss this if you'd care to search.
    what can i do to solve my problem because i want seamless migration from my old setup to new zimbra setup with the current attributes in openldap.

  6. #6
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    For LDAP data that you want to migrate frpom old server to zimbra, you need to parse your LDIF and pickup fields you want to migrate to zimbra. You need to look for mapping attibutes in zimbra which you can get from zimbra schema. Then using script provision all users and domains.

  7. #7
    yogesh2tech is offline Active Member
    Join Date
    Sep 2009
    Location
    India
    Posts
    45
    Rep Power
    5

    Default

    Thanks Veronica
    I have mapped the attribute from openldap to zimbra Ldap and and have restored the Ldif file to the new Zimbra server.
    The only prob is that haw can i restored the password from openldap to new zimbra server.although both the attribute are same i.e userPassword.
    But when adding ldif file to zimbra it shows the error in this attribute
    basically i want to store password to the new server, and we are using crypt password in openldap.

  8. #8
    tribear is offline Senior Member
    Join Date
    Oct 2009
    Location
    North Carolina, USA
    Posts
    58
    Rep Power
    5

    Question Parsing your LDAP file to match Zimbra's schema

    yogesh2tech,

    What tool did you use to parse your ldap file to match the Zimbra schema before importing the data?

    Steven

  9. #9
    yogesh2tech is offline Active Member
    Join Date
    Sep 2009
    Location
    India
    Posts
    45
    Rep Power
    5

    Default

    I didnt use any tool for that , except ldapadmin
    I took the ldif file from my old ldap server and change some attributes that matches to to zimbra ldap schema accordingly and then with the use of ldapadd command, restored the all users to zimbra ldap.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •