loadparm3: Add lp_wi_scan_global_parametrics()
commitef97c16c6729e3bc516c6719580f964dde1fa298
authorVolker Lendecke <vl@samba.org>
Tue, 18 Aug 2015 11:18:33 +0000 (18 13:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 31 Aug 2015 08:18:16 +0000 (31 10:18 +0200)
treed1d600e4b4ed098b44e09d8b3ad7471c452c50a3
parentf484b247068f6e120984b7fec6f6f641040f3c04
loadparm3: Add lp_wi_scan_global_parametrics()

This routine takes a regex and goes through all parametric parameters
in [global], matching the regex. It can easily be extended to also
look at shares, but right now it will only be used to list all idmap
config domain names.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11464
(cherry picked from commit 443dd9bbbc641ede10a2a3708465f61ea3dfbde3)
source3/include/proto.h
source3/param/loadparm.c