--- Comment #2 from dpa-openldap(a)aegee.org <dpa-openldap(a)aegee.org> ---
This is a duplicate of https://bugs.openldap.org/show_bug.cgi?id=9702
While using relative paths in olcDbDirectory and changing to the root-base
before calling slapcat/slapadd does help, and creating a symlink outside the
chrooted environment pointing to the data-directory inside the chrooted
environment (e.g /var/openldap-data symlinked to /zzz/chroot/var/openldap-data)
also helps, it would be better, if slapadd/slapcat had the -r option.
This avoids the need to change to a particular directory, before calling
slapcat/slapadd. I call slapcat/slapadd only when upgrading 2.4→2.5→2.6, so
once a year and I really forget the details (calling “cd” )when operations are
performed that seldom. With an -r option, slapcat/slapadd will be more
coherent to slapd.
You are receiving this mail because:
You are on the CC list for the issue.