[Date Prev][Date Next]
Re: (ITS#6258) slaptest -f slapd.conf -F slapd.d returns errors without DB
> Full_Name: Andrew Bartlett
> Version: CVS HEAD
> OS: Fedora 10
> Submission from: (NULL) (188.8.131.52)
> When running slaptest to convert between slapd.conf and slapd.d format
> configuration, before the databases exist, the slaptest returns with an
> 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
> 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
> also not perform the conversion. (I understand it is also considered a
> run' parameter).
> Can I have a new parameter added to allow a behaviour of 'do the
> don't check the database vaildity'?
I think having a "dry dun" that does no harm, and a "safe" (although
perhaps overconservative) behavior are very important, so I wouldn't favor
a modification of their behavior (let alone the implied behavioral change
However I don't see any issue in having a specific, well documented
behavior implemented within a specific option. Perhaps, given it is a
specific and not recommended behavior in normal (read: overconservative)
use, it could go under the "-o" switch, which is a catchall for specific