[SCM] Samba Shared Repository - branch master updated

Andrew Tridgell tridge at samba.org
Sun Oct 11 23:14:51 MDT 2009


The branch, master has been updated
       via  3ecfd06... s4-selftest: don't run benchmarks on the build farm hosts
       via  893564b... torture: fixed socket leak in BENCH-TCON test
       via  2b9818c... scripts: handle non-C files in minimal_includes.pl
       via  0c0eb14... s4-drs: make DsBind a bit less verbose
      from  7bce1ab... Fix builds with external tdb

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


- Log -----------------------------------------------------------------
commit 3ecfd06d64cf91098ec33c33a003d7f5b5c1b71d
Author: Andrew Tridgell <tridge at samba.org>
Date:   Mon Oct 12 16:14:02 2009 +1100

    s4-selftest: don't run benchmarks on the build farm hosts

commit 893564bc6412256aab728819aaa65b2b8a608813
Author: Andrew Tridgell <tridge at samba.org>
Date:   Mon Oct 12 16:11:53 2009 +1100

    torture: fixed socket leak in BENCH-TCON test
    
    The BENCH-TCON test was leaving the socket open. A smbclie_tdis()
    closes the tree connection, but does not close the socket.
    
    This caused the build farm to run out of file descriptors

commit 2b9818ce0fe5ab4b27972b154981cf60ff3acc78
Author: Andrew Tridgell <tridge at samba.org>
Date:   Mon Oct 12 13:31:34 2009 +1100

    scripts: handle non-C files in minimal_includes.pl

commit 0c0eb14767f4e77780a531ff2873dcad9204a16a
Author: Andrew Tridgell <tridge at samba.org>
Date:   Mon Oct 12 13:30:52 2009 +1100

    s4-drs: make DsBind a bit less verbose

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

Summary of changes:
 source4/rpc_server/drsuapi/dcesrv_drsuapi.c |    2 +-
 source4/script/minimal_includes.pl          |    2 +-
 source4/selftest/skip                       |    1 +
 source4/torture/raw/tconrate.c              |    1 +
 4 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
index f11cc23..9f90371 100644
--- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
+++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
@@ -60,7 +60,7 @@ static WERROR dcesrv_drsuapi_DsBind(struct dcesrv_call_state *dce_call, TALLOC_C
 	/* if this is a DC connecting, give them system level access */
 	werr = drs_security_level_check(dce_call, NULL);
 	if (W_ERROR_IS_OK(werr)) {
-		DEBUG(0,(__location__ ": doing DsBind with system_session\n"));
+		DEBUG(2,(__location__ ": doing DsBind with system_session\n"));
 		auth_info = system_session(b_state, dce_call->conn->dce_ctx->lp_ctx);
 	} else {
 		auth_info = dce_call->conn->auth_state.session_info;
diff --git a/source4/script/minimal_includes.pl b/source4/script/minimal_includes.pl
index 2bcbd11..d64409e 100755
--- a/source4/script/minimal_includes.pl
+++ b/source4/script/minimal_includes.pl
@@ -43,7 +43,7 @@ sub test_compile($)
 {
 	my $fname = shift;
 	my $obj;
-	if ($fname =~ s/(.*)\.c$/$1.o/) {
+	if ($fname =~ s/(.*)\..*$/$1.o/) {
 		$obj = "$1.o";
 	} else {
 		return "NOT A C FILE";
diff --git a/source4/selftest/skip b/source4/selftest/skip
index ccafbf3..38620b0 100644
--- a/source4/selftest/skip
+++ b/source4/selftest/skip
@@ -65,3 +65,4 @@ rpc.autoidl  # this one just generates a lot of noise, and is no longer useful
 samba4.rpc.countcalls # this is not useful now we have full IDL
 samba4.rap.scan # same thing here - we have docs now
 samba4.gensec.python # not finished
+bench # don't run benchmarks in our selftest
diff --git a/source4/torture/raw/tconrate.c b/source4/torture/raw/tconrate.c
index 076e5be..06cb765 100644
--- a/source4/torture/raw/tconrate.c
+++ b/source4/torture/raw/tconrate.c
@@ -112,6 +112,7 @@ static int fork_tcon_client(struct torture_context *tctx,
 		}
 
 		smbcli_tdis(cli);
+		talloc_free(cli);
 
 		*tcon_count = *tcon_count + 1;
 		now = timeval_current();


-- 
Samba Shared Repository


More information about the samba-cvs mailing list