View Single Post
  #24 (permalink)  
Old 09-06-2009, 11:21 PM
Nextasy Nextasy is offline
Active Member
 
Posts: 42
Default

Quote:
Originally Posted by mmorse View Post
Goal is to create an /opt/zimbra/data/ldap/ldap.bak



A way to generate a LDIF output is a slapcat:
Code:
openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
so far i understand is, that this command ist exactly the same like

Quote:
/opt/zimbra/libexec/zmslapcat /opt/zimbra/data/ldap
or like


Quote:
/opt/zimbra/openldap/sbin/slapcat -F /opt/zimbra/data/ldap/config -b "" -l /opt/zimbra/data/ldap/ldap.bak
Is this correct? So, if this is true, die command
Quote:
openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
generates an error:

Quote:
zimbra@server:~$ /opt/zimbra/openldap-2.4.17.8z/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
could not stat config file "/opt/zimbra/lib/conf/zimbra-ext.schema": No such file or directory (2)
slapcat: bad configuration file!
zimbra@server:~$
The dir /opt/zimbra/lib/conf doesnt exists

i hope this helps a little to get this error resolved - bad times without a running zimbra :-)

Last edited by Nextasy; 09-06-2009 at 11:30 PM..
Reply With Quote