James Peach
88d48a7d92
smbtorture: Make BASE-OPENATTR report a failure if it fails.
2010-08-11 11:11:11 -07:00
Kamen Mazdrashki
03bfd4290f
s4-test: Implement DRS-RPC-msDSIntId test case
2010-08-11 00:18:15 +03:00
Kamen Mazdrashki
06f59855a7
s4-test: Move dsdb_schema loading into public function
...
I will use this function for tests implementation later
2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
c30f9bd734
s4-test: Move RPC-DSSYNC test in DRS-RPC test suite
2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
da074f10e3
s4-test: Move dssync.c to torture/drs/rpc
2010-08-11 00:18:13 +03:00
Kamen Mazdrashki
f3c06892ec
s4-test: strip trailing white-spaces
2010-08-11 00:18:13 +03:00
Stefan Metzmacher
8ca8250443
s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken
...
See https://bugzilla.samba.org/show_bug.cgi?id=7486 .
metze
2010-08-08 11:05:17 +02:00
Andreas Schneider
91a8d9bc9b
s3-torture: Improve the winreg deletekey torture comments.
2010-08-05 16:11:28 +02:00
Andreas Schneider
2a15f7008c
s3-torture: Correctly cleanup the winreg volatile key test.
...
Günther please check!
2010-08-05 16:11:19 +02:00
Andreas Schneider
0a8e382d73
s4-torture: Fixed the winreg EnumValue test against Windows.
...
Günther please check!
2010-08-05 16:11:01 +02:00
Stefan Metzmacher
b1a584f9dc
s4:torture/libnet: avoid dereferencing dcerpc_binding_handle internals
...
metze
2010-08-02 17:42:49 +02:00
Günther Deschner
6463281f36
s4-smbtorture: remove another old and now invalid s3 special case during spoolss testing.
...
Guenther
2010-08-02 16:10:06 +02:00
Stefan Metzmacher
b99a02a7d4
s4:torture/rpc/winreg: fix "strict aliasing" compiler warnings
...
metze
2010-08-01 11:18:05 +02:00
Stefan Metzmacher
c7ba3c4dcf
s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)
...
metze
2010-08-01 11:17:14 +02:00
Matthias Dieter Wallnöfer
1b7029b47b
s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate casts
2010-07-31 20:59:02 +02:00
Matthias Dieter Wallnöfer
380b2cb4b0
s4:torture/winreg.c - remove unreachable code
2010-07-31 20:58:47 +02:00
Matthias Dieter Wallnöfer
f0c4a1aff4
s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard C-compatible
...
It seems to be GCC specific since it doesn't compile on Solaris 10 cc:
http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc
2010-07-31 20:57:18 +02:00
Günther Deschner
a6e1fa23ad
s4-smbtorture: remove ifdefed symlink test, this is already skipped internally
...
in the s3 case.
Guenther
2010-07-30 11:24:23 +02:00
Günther Deschner
89071133e3
Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."
...
This reverts commit 104c419345
.
2010-07-30 11:23:06 +02:00
Kamen Mazdrashki
39d287ec67
s4-test: Expand DSSYNC test to be executed against all partitions
...
It is still possible to supply specific partition
to test with on command line using
--option="dssync:partition={PARTITION_DN}"
2010-07-29 00:53:49 +03:00
Kamen Mazdrashki
bd6f77ee0b
s4-test-dssync: Issue warning in case we have diffrences in link attributes
...
In case differences in messages are:
1. Attributes with different values, i.e. 'replace'
2. Those attributes are back-link attributes
then we just warn about those differences.
It turns out windows doesn't send all values for back-link
attributes in replicated_object but in linked_attributes.
I consider this as workaround for the problem.
A better solution might be to merge linked_attribute values
into replacted_objects before comparing those with LDB result
(although this will work for Win2k8 and latter)
2010-07-29 00:53:49 +03:00
Kamen Mazdrashki
5bf54f17bd
s4-test: Simplify test_GetInfo() - we have what we need through LDB connection
...
we have already opened.
Added 'config_dn' and 'schema_dn' members which are to be used
later for extending the test_FetchData() to be executed
against every partition in case partition is not specified explicitly.
DsSyncText.site_name was removed also as it is not used anymore
2010-07-29 00:53:49 +03:00
Andreas Schneider
8fe6813ca0
s4-torture: Enable tests with keynames including a slash.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
3f68a39458
Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."
...
This reverts commit 23eb2888d9
.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Andreas Schneider
104c419345
s4-torture: Disable setting REG_BINARY printer data with size 0.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Kamen Mazdrashki
91d9f88d28
s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c test
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19 17:33:35 +10:00
Kamen Mazdrashki
148b8588bc
s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c test
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19 17:33:33 +10:00
Günther Deschner
3b0c87cf31
s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.
...
Guenther
2010-07-16 22:47:30 +02:00
Günther Deschner
1c7d089904
s4-smbtorture: rearrange testlist in RPC-BIND.
...
Guenther
2010-07-16 22:47:30 +02:00
Günther Deschner
7755e196a1
s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.
...
Guenther
2010-07-16 22:47:30 +02:00
James Peach
ec25a00031
smbtorture shell: Allow any config option to be set.
...
Not sure what I was thinking by restricting the shell to "torture:"
parametric options. It's really extemely useful to be able to set
arbitrary options.
2010-07-16 11:13:21 -07:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Günther Deschner
595c5a2498
s4-smbtorture: add very simple RPC-BIND testsuite.
...
Guenther
2010-07-14 01:34:48 +02:00
Günther Deschner
14cf257969
s4-smbtorture: rename rpc/bind.c to rpc/multi_bind.c.
...
Guenther
2010-07-14 01:34:28 +02:00
Günther Deschner
b0d69a857c
Revert "s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS."
...
This reverts commit 3587bb63e2
.
2010-07-08 10:59:16 +02:00
Steven Danneman
85504ae6ff
s4:libcli: Modify S4 client library to check for proper CN alignment
...
MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in
change notify replies must be aligned to 4-byte boundaries.
This updates s4 client to check for this restriction and also adds a
torture test which should tickle a server into giving unaligned
structures if it doesn't follow the spec.
2010-07-06 13:28:02 -07:00
Günther Deschner
d56cc23c6a
s4-smbtorture: add my (C) to rap torture lib.
...
Guenther
2010-07-05 18:06:21 +02:00
Matthias Dieter Wallnöfer
6dc1c70876
s4:torture/rpc/samlogon.c - strip trailing whitespaces
2010-07-03 21:10:18 +02:00
Matthias Dieter Wallnöfer
e2e09f5c45
s4:torture/rpc/samlogon.c - provide a function which sets and afterwards resets the minimum password age
...
This is needed since we on s4 do now use the Windows Server standard of 1 day.
2010-07-03 21:04:47 +02:00
Günther Deschner
6da040261d
s4-smbtorture: enable extended SetValue test against Samba3.
...
Guenther
2010-07-02 10:50:21 +02:00
Günther Deschner
6961048487
s4-smbtorture: in extended setvalue winreg test, reduce max random buffer length to 16 bytes.
...
Guenther
2010-06-30 21:46:09 +02:00
Günther Deschner
e1c185d07d
s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.
...
Guenther
2010-06-30 21:46:08 +02:00
Günther Deschner
a329dd0267
s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.
...
Guenther
2010-06-30 21:46:07 +02:00
Günther Deschner
73fbc9c179
s4-smbtorture: remove duplicate torture_assert_sid_equal macro.
...
Guenther
2010-06-29 23:35:45 +02:00
Günther Deschner
1fb8e192ca
s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}.
...
Guenther
2010-06-29 23:10:16 +02:00
Günther Deschner
be7bff5eb5
s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG testsuite.
...
Guenther
2010-06-29 19:57:06 +02:00
Günther Deschner
92f3e143b7
s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation test.
...
When skipping over it, we can at least verify the credential chain.
Guenther
2010-06-29 17:19:28 +02:00
Günther Deschner
5bc77c8778
s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().
...
Guenther
2010-06-29 17:16:25 +02:00
Günther Deschner
b31ff0537a
s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.
...
Guenther
2010-06-29 17:13:01 +02:00
Günther Deschner
1662e383dd
s4-smbtorture: add NDR torture test for winreg_QueryMultipleValues2.
...
Guenther
2010-06-29 12:27:08 +02:00