[patch] testparm --section-name, --parameter-name, and --show-all-parameters

Lars MÜLLER lmuelle at SuSE.de
Fri Jun 3 13:17:54 GMT 2005


Hi,

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?

Lars
-- 
Lars MÜLLER [ˈlaː(r)z ˈmʏlɐ]
SuSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050603/1c316a4d/attachment.bin


More information about the samba-technical mailing list