[patch] testparm --section-name, --parameter-name,
jra at samba.org
Fri Jun 3 16:42:18 GMT 2005
On Fri, Jun 03, 2005 at 03:17:54PM +0200, Lars MÜLLER wrote:
> I've added three new options to testparm to make it handier for the
> daily usage.
> --section-name allows to limit the view of testparm to one section. If
> you use global it shows the global section.
> --parameter-name allows to limit the view to one parameter. If the
> section name isn't set global is assumed.
> --show-all-parameters outputs a ini file with [local] and [global]
> sections of all available parameters, the type, possible values for
> enums, and the flags. For example:
> ldap ssl=P_ENUM,no|No|off|Off|start tls|Start_tls,FLAG_ADVANCED
> This might allow a configuration tool to provide appropriate control
> widgets for each parameter. We'll create this list while the build
> process and ship it with the Samba package.
> The patch is attached to bug #2767.
> Any comments?
Looks really good to me (although I'll valgrind it to be sure :-). I
should do that more often with my own code :-) :-).
More information about the samba-technical