Michael Adam
9764db806f
torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT
...
This tests account lockout features.
Windows 2003r2 and Windows 2008r2 survice this test.
Note: Windows does not set the ACB_AUTOLOCK account flag when it
locks out an account.
One thing that could/should be added to this test is a check of
the lockout time property.
Michael
2010-01-20 17:32:58 +01:00
Günther Deschner
f8314c27b3
s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-19 17:17:29 +01:00
Günther Deschner
f5bba4034b
s4-smbtorture: support spoolss_ReplyClosePrinter server call in RPC-SPOOLSS-NOTIFY.
...
A handle obtained with spoolss_ReplyOpenPrinter will be closed with
spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote side.
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
2b68215a22
s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
e0660ed1bc
s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3.
...
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
7d1c1e0083
s4-smbtorture: strip trailing whitespace.
...
Guenther
2010-01-19 14:14:30 +01:00
Andrew Tridgell
f461a72ec3
idl: switched to using the WSPP names for the 'neighbour' DRS options
...
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Andrew Tridgell
4e0090c917
s4-torture: fixed DsReplicaGetInfo elements
2010-01-16 14:45:33 +11:00
Andrew Tridgell
93531a52f0
s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context
2010-01-16 14:10:44 +11:00
Erick Nogueira do Nascimento
48bdf3e608
s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-16 14:10:41 +11:00
Günther Deschner
9d881f4cfb
s4-smbtorture: add setup_schannel_netlogon_pipe() function.
...
Guenther
2010-01-15 00:53:16 +01:00
Andrew Tridgell
74a5719614
s4-torture: switch smbtorture to the generic DRS options
2010-01-14 15:37:59 +11:00
Günther Deschner
13dad38930
s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.
...
Guenther
2010-01-12 12:12:05 +01:00
Günther Deschner
a744dbcf2b
s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.
...
This test checks the behavior (since w2k3 sp1) of the badPwdCount samr attribute
in relation to password history and successfull and unsucessful netlogon
samlogons.
Michael, please check. This should help verifiying Bug #4347 .
Guenther
2010-01-12 12:09:47 +01:00
Günther Deschner
c9e84ad397
s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR family of tests.
...
Guenther
2010-01-12 12:09:25 +01:00
Günther Deschner
3dbe8603d9
s4-smbtorture: add test_ChangeID to RPC-SPOOLSS.
...
This tests ChangeID consistency between spoolss_GetPrinterData,
spoolss_GetPrinterDataEx and spoolss_GetPrinter (level 0).
Guenther
2010-01-06 22:09:37 +01:00
Günther Deschner
7568f49134
s4-smbtorture: add test_SetPrinter to RPC-SPOOLSS.
...
Guenther
2010-01-06 22:09:36 +01:00
Günther Deschner
0457cf915b
s4-smbtorture: refactor test_GetPrinter in RPC-SPOOLSS.
...
Guenther
2010-01-06 22:09:36 +01:00
Günther Deschner
dc4c411242
s4-smbtorture: skip GetAliasMembership against s4.
...
It returns NT_STATUS_INTERNAL_DB_CORRUPTION for unknown sids and I could not
figure out why.
Guenther
2009-12-17 18:05:36 +01:00
Günther Deschner
619ad0c6ec
s4-smbtorture: add a samr_GetAliasMembership test to RPC-SAMR.
...
Guenther
2009-12-17 15:40:42 +01:00
Günther Deschner
a9689bb755
s4-smbtorture: fix smbtorture after setprinter IDL fixes.
...
Guenther
2009-12-17 10:43:32 +01:00
Günther Deschner
308b50a7bb
s4-smbtorture: run GetPrinterDriver2 tests against each printer's driver.
...
Guenther
2009-12-16 01:13:43 +01:00
Volker Lendecke
4a19adadcc
smbtorture4: Add rpc-samba3-getaliasmembership-0
2009-12-15 12:28:16 -08:00
Günther Deschner
801fbd0569
s4-smbtorture: check whether a returned buffer size is a multiple of 4 in RPC-SPOOLSS.
...
This gives a good indication where our IDL (and the s3 spoolss implementation) is still wrong.
Guenther
2009-12-14 10:37:41 +01:00
Günther Deschner
ce33967f4a
s4-smbtorture: fix and extend enum printerkey test.
...
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
d2f13dd688
s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.
...
This demonstrates that s3 still does not have that call implemented correctly.
Guenther
2009-12-09 15:34:45 +01:00
Günther Deschner
5e8e5dfe88
s4-smbtorture: make level 8 the reference for PrinterDriverEnum test.
...
Guenther
2009-12-08 11:51:09 +01:00
Günther Deschner
35c067782b
s4-smbtorture: fill in COMPARE_STRING_ARRAY macro in spoolss driver test.
...
Guenther
2009-12-08 10:37:13 +01:00
Günther Deschner
8de6f7178c
s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass at the moment.
...
Guenther
2009-12-07 14:42:13 +01:00
Günther Deschner
123d8d1c2c
s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change.
...
Guenther
2009-12-07 14:42:13 +01:00
Günther Deschner
02fe863039
s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.
...
Including new tests for:
- spoolss_SetPrinterDataEx
- spoolss_DeletePrinterDataEx
- spoolss_DeletePrinterKey
Guenther
2009-12-04 12:55:52 +01:00
Günther Deschner
2f0548fd98
s4-smbtorture: check more WERRORs in RPC-SPOOLSS.
...
Guenther
2009-12-03 23:48:59 +01:00
Günther Deschner
4e20a6f83b
s4-smbtorture: call test_EnumPrinterDrivers with architecture in RPC-SPOOLSS.
...
Guenther
2009-12-03 22:16:24 +01:00
Günther Deschner
450211b610
s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.
...
Guenther
2009-12-03 01:04:02 +01:00
Günther Deschner
5f60855ba2
samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
...
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.
Guenther
2009-12-02 14:56:17 +01:00
Günther Deschner
8f6df5d3ec
s4-smbtorture: more and stricter tests for printer and data keys in RPC-SPOOLSS.
...
Guenther
2009-11-27 23:16:21 +01:00
Günther Deschner
60419a0eb7
s4-smbtorture: refactor RPC-SAMR-LARGE-DC test a little more.
...
Guenther
2009-11-26 01:45:35 +01:00
Günther Deschner
d22eb75a13
s4-smbtorture: add torture_samr_context to carry some RPC-SAMR-X specifics.
...
Guenther
2009-11-26 01:45:35 +01:00
Kamen Mazdrashki
65e95b8aa9
s4/drs(tort): DSSYNC test to print what is different in drs_msg also
2009-11-23 14:15:05 +01:00
Günther Deschner
0608d6b125
s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.
...
Guenther
2009-11-23 13:35:32 +01:00
Günther Deschner
d66b7d80d5
s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.
...
Guenther
2009-11-23 12:17:54 +01:00
Matthias Dieter Wallnöfer
28423114ec
s4:torture/rpc/netlogon - Fix uninitialised variable
2009-11-21 17:37:39 +01:00
Kamen Mazdrashki
b9e262c512
s4/drs(tort): Convert DSSYNC test to a test case fixture
...
Now it should be much more clear why and where a test
in DSSYNC test case has failed.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:47:16 +11:00
Kamen Mazdrashki
442cded430
s4/drs(tort): replace DEBUG with torture_asert/comment/fail
...
I left dumping of decrypted attributes values 'as is'
(using DEBUG and DEBUGADD) as it uses dump_data() function.
dump_data() uses DEBUGADD internally, so I have no way
to redirect its output to torture_context at this point.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:47:05 +11:00
Kamen Mazdrashki
aaff29f5b4
s4/drs(tort): use torture_drsuapi_assert_call() macro for error checking
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:59 +11:00
Kamen Mazdrashki
673049142b
s4/drs(tort): replace 'printf' with 'torture_...' calls
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:48 +11:00
Kamen Mazdrashki
9e4beef614
s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system call
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:42 +11:00
Kamen Mazdrashki
b0de573629
s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system call
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:28 +11:00
Andrew Bartlett
b13518e4e8
s4:dsdb With these workarounds, we now pass the RPC-DSSYNC test
2009-11-17 10:38:09 +11:00
Andrew Bartlett
95a12cdf21
s4:torture Use (some) torture_assert() calls in RPC-DSSYNC test
2009-11-12 16:34:23 +11:00
Andrew Bartlett
06b234e811
s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC
...
I'm satisfied that the task this test does is already done by the time
we map the incoming schema, and process the objects. If we have the
OID mapping wrong or incomplete, we will get any errors this test
found errors there.
(And this dramaticly reduces the test time, so we can now add
RPC-DSSYNC to 'make test').
Andrew Bartlett
2009-11-12 16:34:18 +11:00
Andrew Bartlett
6d1e60987b
s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNC
...
This is done by comparing the values against the remote host's LDAP
server.
Andrew Bartlett
2009-11-12 16:34:17 +11:00
Andrew Bartlett
87e984f0bd
s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAP
...
(This should make it easier to do more 'compare DRS with LDAP'
operations, as LDB is an easier interface to program.)
Andrew Bartlett
2009-11-12 16:34:13 +11:00
Andrew Bartlett
fd5174e88c
lib/util Split data_blob_hex_string() into upper and lower
...
Rather than have a repeat of the bugs we found at the plugfest where
hexidecimal strings must be in upper or lower case in particular
places, ensure that each caller chooses which case they want.
This reverts most of the callers back to upper case, as things were
before tridge's patch. The critical call in the extended DN code is
of course handled in lower case.
Andrew Bartlett
2009-11-12 16:34:01 +11:00
Günther Deschner
9599d142c0
s4-smbtorture: strip trailing whitespace in RPC-SAMR.
...
Guenther
2009-11-10 13:08:28 +01:00
Günther Deschner
e9c6984cb6
s4-smbtorture: re-arrange netlogon LogonControl test.
...
The LogonControl tests now are split out to a new RPC-NETLOGON-ADMIN test that
tests the behaviour of that call when called by user, dc or workstation.
Guenther
2009-11-09 17:36:53 +01:00
Matthias Dieter Wallnöfer
17d6506c9e
s4:torture/samr - Add status code on "ValidatePassword" test output
2009-11-06 15:19:39 +01:00
Matthias Dieter Wallnöfer
9f481664fb
s4:torture/samr - Activate "ValidatePassword" test per default
2009-11-06 15:19:39 +01:00
Matthias Dieter Wallnöfer
1685ee3ee7
s4:torture/rpc/samr - Add a comment for "ValidatePassword" test
2009-11-05 12:43:03 +01:00
Günther Deschner
a8de4f091e
s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.
...
These are only supported by s3 when running pdb_ads atm.
Guenther
2009-11-03 22:18:09 +01:00
Günther Deschner
58d401bb21
s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.
...
This is only supported by s3 when running pdb_ads atm.
Guenther
2009-11-03 22:17:05 +01:00
Günther Deschner
bff9819521
s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA.
...
Guenther
2009-11-03 22:13:28 +01:00
Günther Deschner
074ad24653
s4-smbtorture: simplify some torture_comments in RPC-LSA.
...
Guenther
2009-11-03 22:10:31 +01:00
Günther Deschner
3587bb63e2
s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.
...
Guenther
2009-10-30 12:28:49 +01:00
Günther Deschner
5e8c86c558
s4-smbtorture: fix warning in RPC-WKSSVC torture test.
...
Guenther
2009-10-30 12:28:47 +01:00
Andrew Tridgell
4ad0397d8a
s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()
...
This allows us to reuse a ldb context if it is open twice, instead
of going through the expensive process of a full ldb open. We can
reuse it if all of the parameters are the same.
The change relies on callers using talloc_unlink() or free of a parent
to close a ldb context.
2009-10-23 14:52:17 +11:00
Günther Deschner
48520b2274
s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up a client.
...
Guenther
2009-10-21 03:13:24 +02:00
Günther Deschner
a4d5487576
s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.
...
Make sure to split out lsa_LookupName NULL name test so that we can better track
results from bogus names and NULL names.
Guenther
2009-10-20 23:57:58 +02:00
Günther Deschner
9ee5d84665
s4-smbtorture: Make it simpler to specify number of trusted domains to create in
...
RPC-LSA-TRUSTED-DOMAINS.
Guenther
2009-10-20 21:49:38 +02:00
Günther Deschner
7e180101d3
s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.
...
Guenther
2009-10-20 15:30:19 +02:00
Günther Deschner
bf2746b537
s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.
...
Guenther
2009-10-20 15:30:12 +02:00
Günther Deschner
d76e77ce9a
s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.
...
Guenther
2009-10-20 15:28:30 +02:00
Günther Deschner
80b512fe03
s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.
...
Guenther
2009-10-20 15:28:30 +02:00
Andrew Tridgell
2c34112e58
s4-torture: fixed a pipe leak
...
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an
overallocation of fd's on the server
2009-10-20 16:34:42 +11:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Andrew Tridgell
2ff2c421d0
s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS test
...
This test left a large number of lsa pipes open, which could trigger
the server running out of fds
2009-10-20 14:27:57 +11:00
Karolin Seeger
b7b548411c
s4:test: Fix typo.
...
Karolin
2009-10-19 10:40:15 +02:00
Karolin Seeger
fa08d0b44b
Fix typo.
...
privilage -> privilege
Karolin
2009-10-19 09:47:33 +02:00
Günther Deschner
22276961c3
s4-smbtorture: extend netr_LogonControl test in RPC-NETLOGON.
...
Guenther
2009-10-16 14:54:58 +02:00
Kamen Mazdrashki
1d3342e9fa
s4/drs(tort): _drs_util_verify_attids() to verify ATTIDs in objects received
2009-10-16 12:54:14 +03:00
Kamen Mazdrashki
8631548f12
s4/drs(tort): _drs_ldap_attr_by_oid() implementation
...
Utility function to be used to fetch Attribute name and DN
giving attribute OID
2009-10-16 12:54:14 +03:00
Matthias Dieter Wallnöfer
e9686985cb
s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed
...
For KERBEROS applications the realm should be upcase (function "lp_realm") but
for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch
implements the use of both in the right way.
2009-10-14 10:50:43 +02:00
Matthias Dieter Wallnöfer
607ceff234
s3/s4 - Adapt the IDL changes on various locations
2009-10-08 09:50:19 +02:00
Andrew Tridgell
8dedceaff9
torture: disable the ValidatePassword test
...
This test causes problems on non-sealed connections against windows
2009-10-07 10:55:35 +11:00
Andrew Tridgell
d31fa07fde
s4-torture: removed an accidental commit of a local test hack
...
Sorry about that ....
2009-10-07 10:05:26 +11:00
Matthias Dieter Wallnöfer
44df2488e3
s4: fix various warnings (not "const" related ones)
2009-10-02 15:33:48 +02:00
Andrew Tridgell
7bdb4306b0
s4-torture: added a very simple samr ValidatePassword test
2009-10-02 16:03:02 +10:00
Kamen Mazdrashki
98245727c9
s4-tort-drs: Add bind_info for dcerpc_drsuapi_DsBind() call
...
After this patch DsGetNCChanges() test works fine.
bind_info returned by server is also cached for future use
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:23 +03:00
Kamen Mazdrashki
d60e3ac8d3
s4-tort-drs: DsReplicaUpdateRefs test fixed and extended
...
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:22 +03:00
Kamen Mazdrashki
b49249864a
s4-tort: Added assertion macro for DRSUAPI call
...
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:22 +03:00
Andrew Tridgell
430ee62e0c
s4-torture: add some debug info to RPC-HANDLES
2009-09-22 17:10:05 -07:00
Stefan Metzmacher
f0704f5abc
s4:torture: the spoolss notify test should listen on the ncacn_np endpoint
...
metze
2009-09-18 20:34:43 +02:00
Stefan Metzmacher
3207188287
s4:torture: don't use 'pipe' as variable name it's a system call
...
metze
2009-09-18 20:34:39 +02:00
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 0d9fdbceed
.
2009-07-17 00:13:54 +02:00
Günther Deschner
106d43a1dd
Revert "fix LSA-TRUSTED-DOMAINS"
...
This reverts commit 3c9b262760
.
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
Günther Deschner
d11d4382b9
s4-smbtorture: also test for "all" architecture in enum driver tests in RPC-SPOOLSS.
...
Guenther
2009-06-08 21:24:31 +02:00
Günther Deschner
963efb5542
s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.
...
Guenther
2009-06-08 19:56:59 +02:00
Günther Deschner
9e4b510504
s4-smbtorture: exclude oem_information checking for s3 in RPC-SAMR.
...
Guenther
2009-06-08 10:45:11 +02:00
Günther Deschner
0845db66e0
s4-smbtorture: skip samr MultipleMember alias tests for 3 as well as we do already for s4.
...
Guenther
2009-06-07 00:54:57 +02:00
Günther Deschner
abbcd574db
s4-smbtorture: fix comment in RPC-SAMR-LARGE-DC test.
...
Andrew, I think you wanted to print this instead.
Guenther
2009-06-04 21:18:14 +02:00
Andrew Bartlett
a12b8571fe
s4:torture Cut the RPC-SAMR-LARGE-DC test down to size
...
This removes the validation of the estimated number of accounts,
because MS-SAMR 3.1.5.5.1.1 makes clear the number returned cannot be
relied apon.
I've also converted a bit more of the test to use torture_assert(),
and where that is impractical, to print error messages when things
fail.
Andrew Bartlett
2009-06-04 18:12:59 +10:00
Björn Jacke
b3491df2f9
s3:torture: fix password timestamp checks on NetBSD
...
The Open Group says:
"The useconds argument [of usleep] must be less than 1,000,000."
NetBSD takes this seriously. usleep of more than 999999 are effectless.
2009-06-03 17:50:01 +02:00