diff options
author | Günther Deschner <gd@samba.org> | 2009-08-26 22:27:07 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-08-26 23:04:18 +0200 |
commit | 46184692adde9c052474bb4f6a0f9d6d0e1a9178 (patch) | |
tree | 7a2ad828ea8189b868cff48130e739662bbf083c /source4/torture | |
parent | 17829cbc82b8f647374712285492dbb3210fe346 (diff) | |
download | samba-46184692adde9c052474bb4f6a0f9d6d0e1a9178.tar.gz samba-46184692adde9c052474bb4f6a0f9d6d0e1a9178.tar.bz2 samba-46184692adde9c052474bb4f6a0f9d6d0e1a9178.zip |
s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 18 | ||||
-rw-r--r-- | source4/torture/rpc/rpc.c | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 980f213679..f488a03a78 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -2634,3 +2634,21 @@ struct torture_suite *torture_rpc_netlogon(TALLOC_CTX *mem_ctx) return suite; } + +struct torture_suite *torture_rpc_netlogon_s3(TALLOC_CTX *mem_ctx) +{ + struct torture_suite *suite = torture_suite_create(mem_ctx, "NETLOGON-S3"); + struct torture_rpc_tcase *tcase; + + tcase = torture_suite_add_machine_bdc_rpc_iface_tcase(suite, "netlogon", + &ndr_table_netlogon, TEST_MACHINE_NAME); + + torture_rpc_tcase_add_test_creds(tcase, "SamLogon", test_SamLogon); + torture_rpc_tcase_add_test_creds(tcase, "SetPassword", test_SetPassword); + torture_rpc_tcase_add_test(tcase, "LogonControl", test_LogonControl); + torture_rpc_tcase_add_test(tcase, "LogonControl2", test_LogonControl2); + torture_rpc_tcase_add_test(tcase, "LogonControl2Ex", test_LogonControl2Ex); + torture_rpc_tcase_add_test(tcase, "NetrEnumerateTrustedDomains", test_netr_NetrEnumerateTrustedDomains); + + return suite; +} diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c index ffdd748470..736b037600 100644 --- a/source4/torture/rpc/rpc.c +++ b/source4/torture/rpc/rpc.c @@ -451,6 +451,7 @@ NTSTATUS torture_rpc_init(void) torture_suite_add_simple_test(suite, "SAMR-USERS", torture_rpc_samr_users); torture_suite_add_simple_test(suite, "SAMR-PASSWORDS", torture_rpc_samr_passwords); torture_suite_add_suite(suite, torture_rpc_netlogon(suite)); + torture_suite_add_suite(suite, torture_rpc_netlogon_s3(suite)); torture_suite_add_suite(suite, torture_rpc_remote_pac(suite)); torture_suite_add_simple_test(suite, "SAMLOGON", torture_rpc_samlogon); torture_suite_add_simple_test(suite, "SAMSYNC", torture_rpc_samsync); |