From 077bcc11257697b243916fbb02cd72b3a122b9ba Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 29 Apr 2009 01:49:53 +0200 Subject: 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 --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/param/loadparm.c') 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; -- cgit