summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-25 11:50:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:38 -0500
commitf8afc52ed0125e15d1ea05e79a0f86077dc92ddd (patch)
tree7e6dd747a238f2ad07574bd8aa333075755bbb34 /source4
parentcc22f65d7b31518ae11beb4e06aca8c9d91883f1 (diff)
downloadsamba-f8afc52ed0125e15d1ea05e79a0f86077dc92ddd.tar.gz
samba-f8afc52ed0125e15d1ea05e79a0f86077dc92ddd.tar.bz2
samba-f8afc52ed0125e15d1ea05e79a0f86077dc92ddd.zip
r19492: - fix RPC-AUTHCONTEXT and RPC-SAMBA3-GETUSERNAME (sorry volker:-)
smb_composite_sesssetup() doesn't set session->vuid any more... (I changed that yesterday, because it was inconsistently only done for spnego session setups, as it was needed internaly for the 2nd session setup call, but know session->vuid is only touched (reset to 0) for the wrong password case) metze (This used to be commit bf2a7dd2180c9a025b99b87831960827baf75f16)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/samba3rpc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index 64a5c46e33..b95c255662 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -169,6 +169,7 @@ BOOL torture_bind_authcontext(struct torture_context *torture)
nt_errstr(status));
goto done;
}
+ session2->vuid = setup.out.vuid;
tmp = cli->tree->session;
cli->tree->session = session2;
@@ -1684,6 +1685,7 @@ BOOL torture_samba3_rpc_getusername(struct torture_context *torture)
ret = False;
goto done;
}
+ session2->vuid = setup.out.vuid;
if (!NT_STATUS_IS_OK(secondary_tcon(mem_ctx, session2,
"IPC$", &tree))) {
@@ -2811,7 +2813,9 @@ BOOL torture_samba3_rpc_winreg(struct torture_context *torture)
{"OpenHKPD", (winreg_open_fn)dcerpc_winreg_OpenHKPD },
{"OpenHKPT", (winreg_open_fn)dcerpc_winreg_OpenHKPT },
{"OpenHKCR", (winreg_open_fn)dcerpc_winreg_OpenHKCR }};
+#if 0
int i;
+#endif
mem_ctx = talloc_init("torture_rpc_winreg");