diff options
author | Michael Adam <obnox@samba.org> | 2009-04-29 01:49:53 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-04-29 02:20:19 +0200 |
commit | 077bcc11257697b243916fbb02cd72b3a122b9ba (patch) | |
tree | c2e02e5604f876999da6e9edf875c76dd02f902d /source3/param/loadparm.c | |
parent | fb3b6576127ce837ac711e87c293d1f4cf97473c (diff) | |
download | samba-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/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 2 |
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; |