Günther Deschner
1d4bf02993
lsa: fill in more unknowns in lsa_LookupSid calls.
...
Guenther
2009-09-11 13:59:56 +02:00
Kamen Mazdrashki
bb6fda8a9a
s4/tort: RPC-DRSUAPI test case refactored to match torture architecture
2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
b24203fcb8
s4/tort: code clean up using torture_drsuapi_assert_call() macro
...
After this change, when a test fails, it gives
reasonable failure message.
2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
5088caa69e
s4/tort: assert macro for drsuapi dcerpc call
...
The macro actually wraps common code pattern used in
almost every test for DRSUAPI interface
2009-09-11 11:53:17 +10:00
Kamen Mazdrashki
a03e0c478d
s4/tort: Propagate torture_context and use torture_comment
...
NOTE: Not every place where printf is used is replaced by
torture_comment. Future work shall "missed" printfs also.
2009-09-11 11:53:17 +10:00
Kamen Mazdrashki
0c8eee9711
s4/tort: CRACKNAMES tests to use private structure for testing.
...
DsCrackNamesPrivate structure basically inherits DsPrivate
structure while adding few test-specific members.
2009-09-11 07:29:56 +10:00
Kamen Mazdrashki
bebeb4ff70
s4/tort: Make common setup/teardown drsuapi test funcs really common
2009-09-11 07:29:56 +10:00
Kamen Mazdrashki
ebfc13b452
s4/tort: CrackNames test update to work against W2K3.
...
DRSUAPI_DS_NAME_FORMAT_UKNOWN added to 'known-to-fail'
responses as this actually means to ask AD to resolve
a name from FQDN format to Unknown format.
2009-09-11 07:29:55 +10:00
Andrew Tridgell
27beb7fc7e
s4/torture: fixed lots of crash bugs in the DRS tests
2009-09-10 22:59:15 +10:00
Kamen Mazdrashki
2904034410
tort: RPC-CRACKNAMES test case refactored
2009-09-08 22:44:50 +10:00
Kamen Mazdrashki
899fc0ddde
tort: DsCrackNames - propagate torture context to all tests.
2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
d078d2efe8
tort: Helper function to get DC info for testing
2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
5e3759d122
tort: Implement 'setup' and 'teardown' for DRSUAPI test cases.
2009-09-08 22:44:48 +10:00
Matthias Dieter Wallnöfer
65541baf4b
s4:torture - Fix uninitialized variable
2009-09-06 12:31:37 +02:00
Günther Deschner
9bf74d0ed9
s4-smbtorture: test netr_ServerSetPassword2 against Samba3.
...
Guenther
2009-09-02 10:47:36 +02:00
Günther Deschner
3f0c8772f1
s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests.
...
Guenther
2009-08-27 13:41:50 +02:00
Günther Deschner
d368c73f95
s4-smbtorture: add test_SetPassword_flags to RPC-NETLOGON-S3 testsuite.
...
Guenther
2009-08-27 13:41:02 +02:00
Günther Deschner
46184692ad
s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.
...
Guenther
2009-08-26 23:04:18 +02:00
Andrew Bartlett
f050c500f1
s4:torture Make RPC-NETLOGON pass against ncaclrpc servers
...
The original patch didn't cope with a NULL target server name - we now key off that to decide it isn't worth checking against LDAP for this host.
I still can't get this to pass against Windows 2008, but mdw was
testing against Windows 2008R2. at least 'make test' is happy, and
the rest should not be too hard...
Andrew Bartlett
2009-08-04 18:24:37 +10:00
Matthias Dieter Wallnöfer
64b4d02032
s4: Change constant to comply with the merged build
2009-08-03 14:23:23 +02:00
Matthias Dieter Wallnöfer
720b7ea0ee
s4: Torture test for enhancements in "netr_LogonGetDomainInformations" call
...
This corrects and enhances the torture test of the mentioned call.
2009-08-03 09:46:30 +02:00
Stefan Metzmacher
1436256613
frsapi.idl: fix some unknown field names
...
metze
2009-07-21 19:11:21 +02:00
Jelmer Vernooij
de2a9fb607
Remove unused variable.
2009-07-19 17:17:23 +02:00
Günther Deschner
2e77debc99
Revert "fix LSA-PRIVILEGES"
...
This reverts commit 0d9fdbceedddb08dbea8ed84e06a218d3ec562f4.
2009-07-17 00:13:54 +02:00
Günther Deschner
106d43a1dd
Revert "fix LSA-TRUSTED-DOMAINS"
...
This reverts commit 3c9b26276083002124674678ac757e859fb6b20e.
2009-07-17 00:13:46 +02:00
Günther Deschner
8d68d04258
s4-smbtorture: use secinfo flags instead of numbers in lsa test.
...
Guenther
2009-07-17 00:13:40 +02:00
Günther Deschner
8cac8fd5d6
s4-smbtorture: use torture_comment in RPC-LSA tests.
...
Guenther
2009-07-16 11:13:26 +02:00
Günther Deschner
0d9fdbceed
fix LSA-PRIVILEGES
2009-07-16 11:07:14 +02:00
Günther Deschner
3c9b262760
fix LSA-TRUSTED-DOMAINS
2009-07-16 11:07:06 +02:00
Günther Deschner
47eb061b53
s4-smbtorture: move all privilege tests to RPC-LSA-PRIVILEGES.
...
Guenther
2009-07-16 10:03:12 +02:00
Günther Deschner
29c3a277e1
s4-smbtorture: move all trusted domain tests to RPC-LSA-TRUSTED-DOMAINS.
...
Guenther
2009-07-16 10:03:12 +02:00
Günther Deschner
c3f461c35f
s4-smbtorture: some work on getprinterdriver and getprinterdriver2 tests.
...
Guenther
2009-07-16 03:05:44 +02:00
Günther Deschner
b6fb8cf5f3
s4-smbtorture: add RPC-SPOOLSS-PRINTER test.
...
Guenther
2009-07-14 23:03:58 +02:00
Günther Deschner
3a367ab10d
s4-smbtorture: add some tests to check spoolss_SetPrinter behavior.
...
Guenther
2009-07-14 22:59:45 +02:00
Günther Deschner
b0cce950ba
s4-smbtorture: restructure test_OpenPrinter_server in RPC-SPOOLSS a bit.
...
Guenther
2009-07-14 22:58:55 +02:00
Günther Deschner
f729abaa94
s4-smbtorture: fix getjob test in RPC-SPOOLSS.
...
Guenther
2009-07-02 22:00:41 +02:00
Günther Deschner
e7d72b585a
s4-smbtorture: Test for newly added form with enum call in RPC-SPOOLSS.
...
Guenther
2009-06-30 13:34:41 +02:00
Günther Deschner
66780e016b
s4-smbtorture: remove trailing whitespace from RPC-SPOOLSS.
...
Guenther
2009-06-30 11:38:41 +02:00
Günther Deschner
0b2b9fdeda
s4-smbtorture: use torture_comment & torture_warning in RPC samr tests.
...
Guenther
2009-06-29 23:47:47 +02:00
Günther Deschner
772d5dea30
s4-smbtorture: correctly test comment behaviour in RPC-SAMR-USERS against s3.
...
Guenther
2009-06-29 22:36:12 +02:00
Günther Deschner
50bb4bcc5b
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
2009-06-29 14:40:08 +02:00
Günther Deschner
ec5c83c0db
s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.
...
Unlike torture_suite_add_machine_bdc_rpc_iface_tcase() which joins as a BDC
(ACB_SRVTRUST) this joins as a member workstation (ACB_WSTRUST).
Guenther
2009-06-29 12:43:32 +02:00
Matthias Dieter Wallnöfer
bc7b608625
Fixes for SAMBA3RPC torture test
...
On calls where both NT_STATUS and WERROR results are returned and consulted
we have to make sure to form function results considering both.
This errors have been found through a run against SAMBA 4.
2009-06-29 13:39:33 +10:00
Günther Deschner
46167c1d1b
s4-smbtorture: more paranoid checks while testing group membership in RPC-SAMR.
...
Guenther
2009-06-24 00:37:51 +02:00
Günther Deschner
e6cb82a7da
s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS.
...
Guenther
2009-06-19 11:14:51 +02:00
Matthias Dieter Wallnöfer
efe6552f0c
NETLOGON pipe improvements
...
Patch for bug #4939
This refactors the NETLOGON code related to this bug:
- Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc.
to WSPP)
- Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP)
- Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is
also true when a domain is running in mixed mode)
- Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex"
(acc. to WSPP)
- Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
2009-06-18 13:49:25 +10:00
Günther Deschner
bdd214b38c
s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.
...
Guenther
2009-06-17 01:29:22 +02:00
Günther Deschner
b5ca5412d8
s4-smbtorture: rename SECRETS to LSA-SECRETS.
...
Guenther
2009-06-09 14:09:23 +02:00
Günther Deschner
bf7c814694
s4-smbtorture: when testing RPC-SAMR-LARGE-DC its fine to just close the objects.
...
Guenther
2009-06-08 22:45:16 +02:00
Günther Deschner
80d0a12fb7
s4-smbtorture: add test_QueryDisplayInfo_level to RPC-SAMR-LARGE-DC.
...
Guenther
2009-06-08 22:45:16 +02:00