summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-04-29 01:49:53 +0200
committerMichael Adam <obnox@samba.org>2009-04-29 02:20:19 +0200
commit077bcc11257697b243916fbb02cd72b3a122b9ba (patch)
treec2e02e5604f876999da6e9edf875c76dd02f902d /source3/param
parentfb3b6576127ce837ac711e87c293d1f4cf97473c (diff)
downloadsamba-077bcc11257697b243916fbb02cd72b3a122b9ba.tar.gz
samba-077bcc11257697b243916fbb02cd72b3a122b9ba.tar.bz2
samba-077bcc11257697b243916fbb02cd72b3a122b9ba.zip
s3:smbd/service: switch load_registry_service/shares to use loadparm routines
instead of reading the registry directly with tdb and activating the configure options by hand. This eliminates the need for repeating checks done in loadparm. For instance it disables registry shares without path in the server as is the case with text based shares. Michael
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 380b9e1b8c..7b794020a1 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6883,7 +6883,7 @@ static bool process_registry_globals(void)
return process_registry_service(GLOBAL_NAME);
}
-static bool process_registry_shares(void)
+bool process_registry_shares(void)
{
WERROR werr;
uint32_t count;