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 09-05-2009, 02:44 PM
Active Member
 
Posts: 30
Default Exporting/Importing LDAP in Zimbra 6

From the looks of things, the documentation for exporting and importing ldap in 5.x seems to be deprecated in 6: Exporting and Importing Zimbra LDAP Data » Zimbra :: Blog

From poking around, it looks like ldap information is now stored in /opt/zimbra/dada/ldap. I cannot figure out, though, how to do an import since slapd.conf no longer exists.

Zimbra Server » Zimbra :: Blog makes it sound like slapd.conf is gone in favor of cn=config:
Quote:
OpenLDAP now allows for some on-the-fly configuration changes with zmlocalconfig via a cn=config backend instead of slapd.conf text files for preservation across upgrades.
I have no idea how to run slapadd anymore as it needs a slapd.conf file. Does anyone know how I can do an ldap import with the new cn=config system?
Reply With Quote
  #2 (permalink)  
Old 09-05-2009, 03:00 PM
Active Member
 
Posts: 30
Default

Also, (completely guessing with the syntax) running:
Code:
slapd -q -b "" -F /opt/zimbra/data/ldap/cn\=config -cv -l ldap.bak
results in:
Code:
slapadd: slap_init no backend for ""
Reply With Quote
  #3 (permalink)  
Old 09-09-2009, 08:51 PM
Active Member
 
Posts: 28
Default

Quote:
Originally Posted by jterhune View Post
From the looks of things, the documentation for exporting and importing ldap in 5.x seems to be deprecated in 6: Exporting and Importing Zimbra LDAP Data » Zimbra :: Blog

From poking around, it looks like ldap information is now stored in /opt/zimbra/dada/ldap. I cannot figure out, though, how to do an import since slapd.conf no longer exists.

Zimbra Server » Zimbra :: Blog makes it sound like slapd.conf is gone in favor of cn=config:

I have no idea how to run slapadd anymore as it needs a slapd.conf file. Does anyone know how I can do an ldap import with the new cn=config system?

Are we alone here? As I see it, with this bug, there is no possible LDAP import from a full backup? It consistently gives errors about not being able to find ldap.conf, which doesn't even exist in v6 installs.

How can one do a complete migration, when they can't import the LDAP details (accounts, domains, distro lists). This info isn't created during standard mailbox restores -- leaving your shared calendars/tasks/etc useless.

How could this go overlooked?
Reply With Quote
  #4 (permalink)  
Old 09-20-2009, 02:32 AM
Active Member
 
Posts: 32
Default Zimbra 6 LDAP export/import for Ubuntu8.04 upgrade 32 to 64bits

The wiki is not working for me too.
I have to replace a server in 5 days....
So I must retrofit to 32 bits on the new server. thank you.
This version of zimbra is causing many problem; I've post another thing for Outlook connector... What the next? Is it really tested?
Reply With Quote
  #5 (permalink)  
Old 09-21-2009, 11:01 AM
Zimbra Employee
 
Posts: 572
Default

Have you looked at the zmslapcat script? You can trivially derive how to slapadd from it. Also, if you parse zmupgrade.pm, it has an example of doing a slapadd with 6.0.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #6 (permalink)  
Old 09-21-2009, 12:31 PM
Active Member
 
Posts: 32
Default

Hi,

You can take a look at my others posts in the migration section and Outlook connector section.
Since you are a Zimbra employee, you have to give a right and sure way to perform the migration of Zimbra in your different supported OS platform.
This is not the case today with the 6.01 version of Zimbra and this cause many problem for the people who are with client's relation.

If we give some answer to ours clients when reading the WIKI and these are not working in real, we are degrading the image of Zimbra and us...

So for now, I don't have time and knowledge to develop and test a script.

I have an OLD hardware with Ubuntu 6.06/Zimbra 6.01 to replace with a new with Ubuntu 8.04. 32 bits or 64 bits (?) / Zimbra 6.01.
Actually no way to do that...
What's your best method and WIKI? For LDAP, to restore/move all the data?

Regards,

Last edited by Ced91; 09-21-2009 at 12:49 PM..
Reply With Quote
  #7 (permalink)  
Old 09-21-2009, 02:36 PM
Zimbra Employee
 
Posts: 572
Default

Wouldn't this be a lot similar to:
http://wiki.zimbra.com/index.php?title=32_bit

? Which has the 6.0 specific instructions.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #8 (permalink)  
Old 09-21-2009, 03:00 PM
Active Member
 
Posts: 32
Default

This WIKI has been modified today! After my post and test of this Week-End.
I will give a try and inform you.
Note: I have a ticket open to the support.
Regards.
Reply With Quote
  #9 (permalink)  
Old 09-21-2009, 05:41 PM
Active Member
 
Posts: 32
Default

I have imported successfuly LDAP database. Thanks.

I will inform you for the next steps of migration Friday: MySQL import, Store and index import.

The WIKI is not clear enough:
- For the passwords of localconfig to modify since these parameters below are not indicated to import:
ldap_replication_password,
zimbra_logger_mysql_password,
mailboxd_keystore_password,
mailboxd_truststore_password,
ldap_nginx_password,
mailboxd_keystore_base_password,
What are we doing for these parameters, modify or not?

- through the 5 point: Certificates.
Is it only to perform if commercials certificates are installed or all the keystore files and certificates must be copied?

Thanks to clarify,

Regards,
Reply With Quote
  #10 (permalink)  
Old 09-22-2009, 12:09 PM
Zimbra Employee
 
Posts: 572
Default

I've updated the wiki to address the password keys that you note, and you must update the certificates regardless if they are self-signed or commercial.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
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.