[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Wed Apr 15 03:21:02 MDT 2015


The branch, master has been updated
       via  e8951eb torture: Free the temporary memory context
       via  ba6ffdb torture: Correctly invalidate the memory ccache.
      from  15db9f6 autobuild: Add options to set mail host and send e-mail with logs

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


- Log -----------------------------------------------------------------
commit e8951eb9b837c05bd3c53de9368702c5de644ada
Author: Andreas Schneider <asn at samba.org>
Date:   Tue Apr 14 10:56:53 2015 +0200

    torture: Free the temporary memory context
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Michael Adam <obnox at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Wed Apr 15 11:20:22 CEST 2015 on sn-devel-104

commit ba6ffdbbcc954b9c58547eb9505fce75234d593d
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Apr 13 15:37:58 2015 +0200

    torture: Correctly invalidate the memory ccache.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Michael Adam <obnox at samba.org>

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

Summary of changes:
 source4/torture/rpc/remote_pac.c | 4 ++++
 1 file changed, 4 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c
index 82d7af9..196d9f8 100644
--- a/source4/torture/rpc/remote_pac.c
+++ b/source4/torture/rpc/remote_pac.c
@@ -168,6 +168,8 @@ static bool test_PACVerify(struct torture_context *tctx,
 	client_creds = cli_credentials_shallow_copy(tmp_ctx,
 						    cmdline_credentials);
 	torture_assert(tctx, client_creds, "Failed to copy of credentials");
+	/* Invalidate the gss creds container to allocate a new MEMORY ccache */
+	cli_credentials_invalidate_ccache(client_creds, CRED_SPECIFIED);
 
 	server_creds = cli_credentials_shallow_copy(tmp_ctx,
 						    credentials);
@@ -447,6 +449,8 @@ static bool test_PACVerify(struct torture_context *tctx,
 	torture_assert(tctx, netlogon_creds_client_check(creds, &r.out.return_authenticator->cred),
 		       "Credential chaining failed");
 
+	talloc_free(tmp_ctx);
+
 	return true;
 }
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list