Add the workstation to the anon sessetup credentials
authorVolker Lendecke <vl@samba.org>
Thu, 20 Mar 2008 20:11:49 +0000 (21:11 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 20 Mar 2008 22:17:37 +0000 (23:17 +0100)
Without this patch the RPC-SAMBA3SESSIONKEY against W2k3 gives
INVALID_PARAMETER for the anonymous session setup
(This used to be commit eb459be878e98cb58c6b5779584e187cdcbf4f91)

source4/torture/rpc/samba3rpc.c

index d881fbfc8ba940a60d36acd67c7ff66c6284a769..c5f91cf4eaa028df11da20684f426f887b8e7c8e 100644 (file)
@@ -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)) {