[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1296-gd16e40b

Michael Adam obnox at samba.org
Tue Apr 28 09:41:22 GMT 2009


The branch, master has been updated
       via  d16e40b5ef9add630d027ff92e440c44bfb88ef0 (commit)
      from  c33291d49f888a7a29a07bc1735cbd890a23cb10 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d16e40b5ef9add630d027ff92e440c44bfb88ef0
Author: Michael Adam <obnox at samba.org>
Date:   Tue Apr 28 01:24:27 2009 +0200

    s3:mark registry shares without path unavailable just as with text config
    
    This prevents users from getting access to "/" in misconfigured setups.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source3/param/loadparm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 070c279..b7c34d0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6818,6 +6818,9 @@ static bool process_smbconf_service(struct smbconf_service *service)
 			return false;
 		}
 	}
+	if (iServiceIndex >= 0) {
+		ret = service_ok(iServiceIndex);
+	}
 	return true;
 }
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list