s4-smbtorture: add RPC-SPOOLSS-ACCESS.
commite89502e0f5a79c960cbecf50f49af3aa4bba8e35
authorGünther Deschner <gd@samba.org>
Fri, 4 Jun 2010 17:03:11 +0000 (4 19:03 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 4 Jun 2010 22:35:09 +0000 (5 00:35 +0200)
tree1b4aa6ca465541545e6d67671f1d95668a90bb02
parent29c0c103afed7238698cc83ff3ab017fc1510dcd
s4-smbtorture: add RPC-SPOOLSS-ACCESS.

This test creates

- a user
- a user with BUILTIN\Administrators membership
- a user with BUILTIN\Print Operators membership
- a user with SePrintOperatorPrivilege (if available)
- a user with full access in security descriptor

and checks what access rights are granted in spoolss_OpenPrinterEx.

Guenther
source4/torture/config.mk
source4/torture/rpc/rpc.c
source4/torture/rpc/spoolss_access.c [new file with mode: 0644]
source4/torture/wscript_build