libsmbconf: add a "path" variable to the conf context.
authorMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 16:55:31 +0000 (17:55 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 17:19:24 +0000 (18:19 +0100)
commit6f7cfeddd61f728e2452a7b89f5ee2ff36ca394f
treead5f91f4c72bf9a40fa897204cb36574721d562e
parent40ea88db5e9e5dd8fd6a924bfcd1afefa538404d
libsmbconf: add a "path" variable to the conf context.

This is passed to the module init routines.
In case of the registry, this is the path of the
basekey in registry, that is to be used, defaulting
to KEY_SMBCONF (HKLM\software\samba\smbconf), when
NULL is given. This is the only case currently used.

In order to support other keys, registry initialization
for smbconf has to be changed to support different keys.

Michael
(This used to be commit 96434d9dc7a66773e313cc128af57493dee245a1)
source3/lib/netapi/serverinfo.c
source3/lib/smbconf/smbconf.c
source3/lib/smbconf/smbconf.h
source3/lib/smbconf/smbconf_private.h
source3/lib/smbconf/smbconf_reg.c
source3/libnet/libnet_join.c
source3/param/loadparm.c
source3/utils/net_conf.c