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

Re: (ITS#4218) back-config broken in HEAD



ando@sys-net.it wrote:
> Apparently, when in config_back_db_open got_ldif == 1 the database nodes
> are not created; as a consequence, when the rootDSE info is generated,
> only the config database appears to be present.  I have no direct clue,
> though.

got_ldif should only be set because LDIF data was successfully read from 
the underlying DB. As such, no further node creation should be needed. 
If the database nodes are missing from the rootDSE, that means they are 
missing from the slapd.d directory or they were not read successfully. 
An error reading from the slapd.d directory should cause slapd to fail 
to startup.

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