Results 1 to 3 of 3

Thread: [SOLVED] How to Import LDIF data into ZCS OpenSource Edition

  1. #1
    uberdol is offline Member
    Join Date
    Apr 2010
    Posts
    11
    Rep Power
    5

    Default [SOLVED] How to Import LDIF data into ZCS OpenSource Edition

    Hi-

    I hope this is the right place to ask this question, I am very new to zimbra.

    I successfully installed ZCS OpenSource edition on Ubuntu, and had success with setting up and creating some users. So with our test, sending and receiving emails are working, and no problems with it.

    However, I was recently handed an LDIF file and asked to import it into Zimbra.
    I can't seem to figure out how to do this.

    I tried the procedure mentioned in this blog:
    Exporting and Importing Zimbra LDAP Data » Zimbra :: Blog

    and did not have any success with it (The post might be very old).

    From the Administation console, I saw the "Bulk Provision" button but it requires a csv file to import. So I ended up trying to convert ldif into csv with the procedure mentioned here:

    Frederik Orellana’s blog Blog Archive Zimbra, ldif and backup

    but when I try to upload the csv ,I get this following error:

    "Server error occured
    Message : system failure: java.lang.ArrayIndexOutofBoundsException: 1
    Error Code: service.Failure Method: GetBulkProvisionAccountsRequest
    Details:soap:Receiver"

    My ldif looks like this:

    dn: cn=......,mail=.......
    objectclass: top
    objectclass: person
    objectclass: organizationalPerson
    objectclass: inetOrgPerson
    objectclass: mozillaAbPersonAlpha
    givenName: <name>
    sn: .....
    cn: .....
    mail: ......
    modifytimestamp: 0Z

    dn: cn=......,mail=........
    objectclass: top
    objectclass: person
    objectclass: organizationalPerson
    objectclass: inetOrgPerson
    objectclass: mozillaAbPersonAlpha
    givenName: <name>
    sn: .....
    cn: .....
    mail: .....
    modifytimestamp: 0Z
    homePhone: ......
    homeStreet: .....
    mozillaHomeLocalityName: ....
    mozillaHomeState: ...
    mozillaHomePostalCode: ......

    ....

    There are actual entries up above instead of the dots, I just removed them to post in here.

    Can somebody direct me to an how-to for uploading an LDIF file into ZCS? or can somebody give me some pointers where to look on how to do this?

    Please let me know if you need more information.....

    I really appreciated it,
    Thanks
    Deniz.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    The Perl script you referenced is for converting LDIF into a CSV for contacts and not new accounts.

  3. #3
    uberdol is offline Member
    Join Date
    Apr 2010
    Posts
    11
    Rep Power
    5

    Default

    Thanks, actually I figured out the problem.

    I got a csv instead of ldif.....

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 12-10-2009, 08:56 PM
  2. Replies: 0
    Last Post: 10-27-2009, 02:46 PM
  3. Zimbra Desktop Stopped Syncing with Zimbra Online
    By dasofsky in forum Error Reports
    Replies: 0
    Last Post: 01-19-2009, 03:57 PM
  4. ZCS OSS To Network Edition Migration
    By r8escjohn in forum Administrators
    Replies: 2
    Last Post: 05-16-2008, 06:40 AM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 PM

Posting Permissions

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