s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.
authorGünther Deschner <gd@samba.org>
Fri, 26 Jun 2009 14:53:51 +0000 (16:53 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 29 Jun 2009 12:40:08 +0000 (14:40 +0200)
commit50bb4bcc5b271ca2c321b0d0306f0c04afb604a7
tree32bca97667630178aef782f80ddd48fe10159a4a
parentec5c83c0dba28516d5c92f57dd7c88c99b17d4ab
s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.

This test talks to a DC as a joined workstation member - in the same way
winbindd does, in particular the calls used in this test's query pattern
will all request for SEC_FLAG_MAXIMUM_ALLOWED access_mask
(which pretty much all of samba's client code does as well).

In fact this test verifies that winbind can correctly talk to a samba dc using
samr dcerpc calls.

Guenther
source4/torture/rpc/rpc.c
source4/torture/rpc/samr_accessmask.c