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/include | |
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/include')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 6dd9c7e7e8..2eb838fd2a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4080,6 +4080,7 @@ bool lp_invert_boolean(const char *str, const char **inverse_str); bool lp_canonicalize_boolean(const char *str, const char**canon_str); bool service_ok(int iService); bool process_registry_service(const char *service_name); +bool process_registry_shares(void); bool lp_config_backend_is_registry(void); bool lp_config_backend_is_file(void); bool lp_file_list_changed(void); |