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

Re: olcHidden breaks slapcat? possible bug in slapcat(8)?



Igor Shmukler wrote:
Hello,

I use olcHidden and set it to true in some instances.
This seems to work, yet it breaks slapcat(8) as below:
$ sudo slapcat -n 0
5530b282 olcRootPW: value #0: <olcRootPW> can only be set when rootdn
is under suffix
5530b282 config error processing olcDatabase={2}hdb,cn=config:
<olcRootPW> can only be set when rootdn is under suffix
slapcat: bad configuration file!

Is this a bug, or the desired behavior?

Sounds like a bug. That check for valid rootDN probably should be skipped if the DB is hidden. Please submit an ITS, thanks.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/