libsmbconf: add a "path" variable to the conf context.
commit160f6b13bec74fc2a99bc68dc1b6a391ba03561a
authorMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 16:55:31 +0000 (21 17:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 27 Mar 2008 07:38:19 +0000 (27 08:38 +0100)
treefd9ba8a54d6448e4efbfe3429e4c8d2d48446513
parent35fcc34bdb5d6a82d9f20052712ea121f705f654
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
(cherry picked from commit 96434d9dc7a66773e313cc128af57493dee245a1)
source/lib/netapi/serverinfo.c
source/lib/smbconf/smbconf.c
source/lib/smbconf/smbconf.h
source/lib/smbconf/smbconf_private.h
source/lib/smbconf/smbconf_reg.c
source/libnet/libnet_join.c
source/param/loadparm.c
source/utils/net_conf.c