summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-01-17 16:24:16 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-01-18 10:55:05 +0100
commit489e3372d629a56b8f6c433f99ae750d16eecc2c (patch)
treebb8097747eed0053692dd96a3eda1cf0fb2bedf6 /source4
parent4e2e5eafb2dfd60fcddd27efa95ff17a52311fec (diff)
downloadsamba-489e3372d629a56b8f6c433f99ae750d16eecc2c.tar.gz
samba-489e3372d629a56b8f6c433f99ae750d16eecc2c.tar.bz2
samba-489e3372d629a56b8f6c433f99ae750d16eecc2c.zip
s4-torture Remove unused temp dirs from the RPC-PAC test.
The code previously required the creation of a messaging context, but this isn't done any more, so we don't need the tmp dir to put it in. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/remote_pac.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c
index 33034e0190..8f4d677c44 100644
--- a/source4/torture/rpc/remote_pac.c
+++ b/source4/torture/rpc/remote_pac.c
@@ -74,7 +74,6 @@ static bool test_PACVerify(struct torture_context *tctx,
struct auth_session_info *session_info;
- char *tmp_dir;
struct dcerpc_binding_handle *b = p->binding_handle;
TALLOC_CTX *tmp_ctx = talloc_new(tctx);
torture_assert(tctx, tmp_ctx != NULL, "talloc_new() failed");
@@ -85,9 +84,6 @@ static bool test_PACVerify(struct torture_context *tctx,
return false;
}
- status = torture_temp_dir(tctx, "PACVerify", &tmp_dir);
- torture_assert_ntstatus_ok(tctx, status, "torture_temp_dir failed");
-
status = gensec_client_start(tctx, &gensec_client_context, tctx->ev,
lpcfg_gensec_settings(tctx, tctx->lp_ctx));
torture_assert_ntstatus_ok(tctx, status, "gensec_client_start (client) failed");
@@ -418,17 +414,12 @@ static bool test_S2U4Self(struct torture_context *tctx,
struct dom_sid *builtin_domain;
- char *tmp_dir;
-
TALLOC_CTX *tmp_ctx = talloc_new(tctx);
torture_assert(tctx, tmp_ctx != NULL, "talloc_new() failed");
/* First, do a normal Kerberos connection */
- status = torture_temp_dir(tctx, "S2U4Self", &tmp_dir);
- torture_assert_ntstatus_ok(tctx, status, "torture_temp_dir failed");
-
status = gensec_client_start(tctx, &gensec_client_context, tctx->ev,
lpcfg_gensec_settings(tctx, tctx->lp_ctx));
torture_assert_ntstatus_ok(tctx, status, "gensec_client_start (client) failed");