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 05-14-2010, 03:57 PM
Intermediate Member
 
Posts: 19
Default [SOLVED] Missing slapd.conf

I'm trying to run
Code:
slapcat -f slapd.conf
and I get the error:

Code:
openldap/sbin/slapcat -f openldap-2.4.21.7z/etc/openldap/slapd.conf
Unrecognized database type (bdb)
openldap-2.4.21.7z/etc/openldap/slapd.conf: line 53: <database> failed init (bdb)
slapcat: bad configuration file!
So, in /opt/zimbra, I do:
Code:
find . -print | grep slapd.conf
./openldap-2.4.21.7z/share/man/man5/slapd.conf.5
./openldap-2.4.21.7z/share/man/man5/slapd-config.5
./openldap-2.4.21.7z/etc/openldap/slapd.conf
./openldap-2.4.21.7z/etc/openldap/slapd.conf.default
So, I looked into slapd.conf and saw that the dc was my-domain and I switched that to the appropriate domain. But still no go.

Any ideas?

Dave


Release 6.0.6_GA_2330.UBUNTU8 UBUNTU8 FOSS edition.
Reply With Quote
  #2 (permalink)  
Old 05-14-2010, 11:27 PM
Moderator
 
Posts: 7,928
Default

What are you trying to do exactly ?
__________________
Reply With Quote
  #3 (permalink)  
Old 05-15-2010, 06:25 AM
Intermediate Member
 
Posts: 19
Default slapcat

slapcat is a tool for dumping ldap account data to stdout or a file. At least on my old OpenExchange system, this is how it's done. Since the tool is available on the Zimbra box, I presume that it would do the same thing.

I'm just trying to dump the ldap account data so I can glean better how to import my old ldap data.

Also, I'd like to be able to do comprehensive backups.
Reply With Quote
  #4 (permalink)  
Old 05-15-2010, 07:41 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
mkdir /tmp/ldapbackup
/opt/zimbra/libexec/zmslapcat /tmp/ldapbackup
__________________
Reply With Quote
  #5 (permalink)  
Old 05-15-2010, 07:16 PM
Intermediate Member
 
Posts: 19
Default Thanks.

That solved it.
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.