[Date Prev][Date Next] [Chronological] [Thread] [Top]

Why cannot run slapadd -l backup.ldif which requires deprecated lsapd.conf?


I am running openldap version 2.4.23 on CentOS 6.5, there is no
slapd.conf, according to the document it is deprecated. But when I run
slapadd, it got an error.

# slapadd -v -l /root/backup.ldif
could not stat config file "/etc/openldap/slapd.conf": No such file or
directory (2)
slapadd: bad configuration file!

Now I am confused, if the slapd.conf is deprecated why the slapadd
sdepends on it? How can I generate the slapd.conf, or copy a template
of slpad.conf?

Thank you and appreciate your advice

- j