summaryrefslogtreecommitdiff
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
commit21c7afd9b0aa4c32d42b5f6acd042bf833e9e9b6 (patch)
treeeedecc2183ed4c226d24db0c6c073a5fca2d6ba3
parent1c9fe1157cda484e6d450de9b2fe49ff57663a2e (diff)
downloadsamba-21c7afd9b0aa4c32d42b5f6acd042bf833e9e9b6.tar.gz
samba-21c7afd9b0aa4c32d42b5f6acd042bf833e9e9b6.tar.bz2
samba-21c7afd9b0aa4c32d42b5f6acd042bf833e9e9b6.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 (This used to be commit eb459be878e98cb58c6b5779584e187cdcbf4f91)
-rw-r--r--source4/torture/rpc/samba3rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index d881fbfc8b..c5f91cf4ea 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/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)) {