-
Bug
-
Resolution: Done
-
None
-
dirsrv-12.4
-
None
Section Number and Name: 2.1. Exporting data using the command line while the server is running
Describe the issue: Claims that resulting LDIF file will be written to /var/lib/slapd-[name]/export/ directory. No errors produced anywhere despite that /export/ directory not existing. When directory created, and ownership assigned to dirsrv with appropriate permissions, no file appears. Giving it a -l flag produces no file, no matter what argument I give to -l.
Suggestions for improvement: Document what dsconf actually does. Or write dsconf such that it behaves according to the documentation. All I want is an LDIF file to show up when and where I tell it to show up.
Additional information: I have attached the output of an strace I ran against dsconf:
- strace -f dsconf -D "cn=Directory Manager" ldap://ldap.eecs.tufts.edu backend export userRoot >& /tmp/baz
The attachment is the resulting file, minus the cleartext password. The string '/var/lib' does not appear anywhere. The only instance of 'slapd' is in the data being read.
In desperation I tried
- find / -name *.ldif -ls
and turned up no files. Is dsconf just an expensive no-op?