diff options
author | Günther Deschner <gd@samba.org> | 2010-06-04 19:03:11 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-05 00:35:09 +0200 |
commit | e89502e0f5a79c960cbecf50f49af3aa4bba8e35 (patch) | |
tree | 1b4aa6ca465541545e6d67671f1d95668a90bb02 /source4/torture/rpc/rpc.c | |
parent | 29c0c103afed7238698cc83ff3ab017fc1510dcd (diff) | |
download | samba-e89502e0f5a79c960cbecf50f49af3aa4bba8e35.tar.gz samba-e89502e0f5a79c960cbecf50f49af3aa4bba8e35.tar.bz2 samba-e89502e0f5a79c960cbecf50f49af3aa4bba8e35.zip |
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
Diffstat (limited to 'source4/torture/rpc/rpc.c')
-rw-r--r-- | source4/torture/rpc/rpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c index 746698ec37..a860bdad72 100644 --- a/source4/torture/rpc/rpc.c +++ b/source4/torture/rpc/rpc.c @@ -445,6 +445,7 @@ NTSTATUS torture_rpc_init(void) torture_suite_add_suite(suite, torture_rpc_spoolss_notify(suite)); torture_suite_add_suite(suite, torture_rpc_spoolss_win(suite)); torture_suite_add_suite(suite, torture_rpc_spoolss_driver(suite)); + torture_suite_add_suite(suite, torture_rpc_spoolss_access(suite)); torture_suite_add_simple_test(suite, "SAMR", torture_rpc_samr); torture_suite_add_simple_test(suite, "SAMR-USERS", torture_rpc_samr_users); torture_suite_add_simple_test(suite, "SAMR-PASSWORDS", torture_rpc_samr_passwords); |