diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-02-26 20:14:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:11 -0500 |
commit | 28e2069d1f066f20b376d911d6ed582a76c4a713 (patch) | |
tree | 02c77d5f5e4104287c8becf1ff7531c99079f804 /source3/param | |
parent | e7d6c7b1514fe8f4b6b9748b4d6f43e7c9cd1aa1 (diff) | |
download | samba-28e2069d1f066f20b376d911d6ed582a76c4a713.tar.gz samba-28e2069d1f066f20b376d911d6ed582a76c4a713.tar.bz2 samba-28e2069d1f066f20b376d911d6ed582a76c4a713.zip |
r21547: Fix from Michael Adam <ma@sernet.de>: Refuse registry shares without path.
Thanks,
Volker
(This used to be commit e795865d58472498097edc3fb68438ed08c38d8d)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 8849d2dea7..b90b53c16b 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2157,7 +2157,6 @@ static int getservicebyname(const char *pszServiceName, service * pserviceDest); static void copy_service(service * pserviceDest, service * pserviceSource, BOOL *pcopymapDest); -static BOOL service_ok(int iService); static BOOL do_parameter(const char *pszParmName, const char *pszParmValue); static BOOL do_section(const char *pszSectionName); static void init_copymap(service * pservice); @@ -2977,7 +2976,7 @@ Check a service for consistency. Return False if the service is in any way incomplete or faulty, else True. ***************************************************************************/ -static BOOL service_ok(int iService) +BOOL service_ok(int iService) { BOOL bRetval; @@ -3010,7 +3009,7 @@ static BOOL service_ok(int iService) ServicePtrs[iService]->bAvailable = False; } - /* If a service is flagged unavailable, log the fact at level 0. */ + /* If a service is flagged unavailable, log the fact at level 1. */ if (!ServicePtrs[iService]->bAvailable) DEBUG(1, ("NOTE: Service %s is flagged unavailable.\n", ServicePtrs[iService]->szService)); |