summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-20 21:11:49 +0100
committerGünther Deschner <gd@samba.org>2008-03-20 23:17:37 +0100
commiteb459be878e98cb58c6b5779584e187cdcbf4f91 (patch)
tree3f260fe5d231a2c163b811cbcaf180576115c0ce /source
parent078a6fdb3f8e389102a07b81b6b8d87fa8bf17c3 (diff)
downloadsamba-eb459be878e98cb58c6b5779584e187cdcbf4f91.tar.gz
samba-eb459be878e98cb58c6b5779584e187cdcbf4f91.tar.xz
samba-eb459be878e98cb58c6b5779584e187cdcbf4f91.zip
Add the workstation to the anon sessetup credentials
Without this patch the RPC-SAMBA3SESSIONKEY against W2k3 gives INVALID_PARAMETER for the anonymous session setup
Diffstat (limited to 'source')
-rw-r--r--source/torture/rpc/samba3rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/torture/rpc/samba3rpc.c b/source/torture/rpc/samba3rpc.c
index d881fbfc8ba..c5f91cf4eaa 100644
--- a/source/torture/rpc/samba3rpc.c
+++ b/source/torture/rpc/samba3rpc.c
@@ -1322,6 +1322,8 @@ bool torture_samba3_sessionkey(struct torture_context *torture)
goto done;
}
+ cli_credentials_set_workstation(anon_creds, wks_name, CRED_SPECIFIED);
+
ret = true;
if (!torture_setting_bool(torture, "samba3", false)) {