[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-825-g3bdb434

Michael Adam obnox at samba.org
Tue Apr 28 10:21:56 GMT 2009


The branch, v3-4-test has been updated
       via  3bdb4342225444055b084908083e003e0e272e10 (commit)
      from  4982483cdd2a4d37f96574c19dd3aade236c1b93 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit 3bdb4342225444055b084908083e003e0e272e10
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
    (cherry picked from commit d16e40b5ef9add630d027ff92e440c44bfb88ef0)

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

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 81132a0..c7bb47d 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6784,6 +6784,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