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

(ITS#6258) slaptest -f slapd.conf -F slapd.d returns errors without DB



Full_Name: Andrew Bartlett
Version: CVS HEAD
OS: Fedora 10
URL: 
Submission from: (NULL) (59.167.251.137)


When running slaptest to convert between slapd.conf and slapd.d format
configuration, before the databases exist, the slaptest returns with an non-zero
error code and prints warnings.

If I add -u to the command line, then it does not perform the conversion.

In Samba4's provision system, I wish to run using cn=config from the very start,
and so wish to do the conversion before the databases are created.  

I had expected -u to quiet the warnings, but it was unexpected that it would
also not perform the conversion.  (I understand it is also considered a 'dry
run' parameter). 

Can I have a new parameter added to allow a behaviour of 'do the conversion,
don't check the database vaildity'?

Thanks,

Andrew Bartlett