--On November 10, 2014 at 7:00:58 AM -0500 Jerry jerry@seibercom.net wrote:
I have a strange problem exporting my directory into LDIF format. I am using the "mdb" format with openldap.
/usr/local/sbin/slapcat -l MyDomain.net.ldif -b "dc=MyDomain,dc=net"
slapcat does not require slapd to be running to export a DB. I would note your slapcat command is missing a -F option, which I would generally advise you provide. You also do not state if cron is running as the same user as slapd, which would also be advised.
Thousands of systems slapcat DB's each and every night out of cron, w/o issue, including my own.
--Quanah