Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-65

Documentation for dsconf lies about file locations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • dirsrv-12.4
    • Documentation
    • None
    • None
    • rhel-sst-idm-ds
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None

      Document URL: https://access.redhat.com/documentation/en-us/red_hat_directory_server/12/html-single/importing_and_exporting_data/index#exporting-data-using-the-command-line-while-the-server-is-running_exporting-data-from-directory-server

      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:

      1. 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

      1. find / -name *.ldif -ls

      and turned up no files. Is dsconf just an expensive no-op?

              emartyny@redhat.com Evgenia Martyniuk
              jira-bugzilla-migration RH Bugzilla Integration
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: