Quote:
Originally Posted by mmorse 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 :-)