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/include/proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') 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); -- cgit