1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

205 Commits

Author SHA1 Message Date
Günther Deschner
d41b8c3053 s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
3db9729240 s4-smbtorture: re-arrange tests in RPC-WINREG.
Mostly choping test_Open() into smaller parts.

Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
75a4dffac1 s4-smbtorture: add test to check different keytypes.
This test will be skipped for samba.

Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
89eaa9ed8e s4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
80ba1295ec s4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
c33a7ca84c s4-smbtorture: add test_CreateKey_opts() to RPC-WINREG test.
Guenther
2010-03-17 11:48:51 +01:00
Günther Deschner
f07572063d s4-smbtorture: put HKLM current_version test into an own function.
Guenther
2010-03-17 11:48:51 +01:00
Günther Deschner
8fd4375803 s4-smbtorture: use binding handle for simple SetValue winreg test.
Guenther
2010-03-17 11:48:51 +01:00
Günther Deschner
c323629a1a s4-smbtorture: use random buffer for extended SetValue test in RPC-WINREG.
Guenther
2010-03-16 16:08:49 +01:00
Stefan Metzmacher
cb5805d789 s4:torture/rpc/winreg.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:32 +01:00
Stefan Metzmacher
c1bf3244df s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:31 +01:00
Günther Deschner
e55a975860 s4-smbtorture: remove NotifyChangeKeyValue s3 skip in RPC-WINREG:
Guenther
2010-03-16 15:30:13 +01:00
Stefan Metzmacher
8c5df22ffa Revert "Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive).""
This reverts commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3.

This lets make test fail.

Matthias: please make sure make test still passes when you change things like
this...(maybe add something to knownfail or so)

metze
2010-03-16 15:09:41 +01:00
Günther Deschner
745f6f2574 s4-smbtorture: avoid printf calls in RPC-WINREG test.
Guenther
2010-03-16 13:11:14 +01:00
Matthias Dieter Wallnöfer
508c218eb2 Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive)."
This reverts commit 40e2c04f8aba605e951810751222559ea0d32ebd.

s4 should support now also the extended "SetValue" tests.
2010-03-14 18:46:23 +01:00
Günther Deschner
6833094d6b s4-smbtorture: send even more random data in extended winreg SetValue test.
Guenther
2010-03-13 01:38:57 +01:00
Günther Deschner
40e2c04f8a s4-smbtorture: skip extended SetValue test against Samba (both dont survive).
Guenther
2010-03-11 20:48:05 +01:00
Günther Deschner
2324b07726 s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.
Guenther
2010-03-11 20:42:49 +01:00
Günther Deschner
e0d85f87b7 winreg: add winreg_KeyType enum.
Guenther
2010-03-11 20:23:47 +01:00
Günther Deschner
09ea04a7f8 s4-smbtorture: add extended SetValue test to RPC-WINREG.
Really looks like a blob based database frontend.

As it seems, we can set *any* type of data with *any* content on Windows and get
the exact same data back.

Guenther
2010-03-11 19:03:21 +01:00
Günther Deschner
3a8d85da68 s4-smbtorture: more work on test_key_value() RPC-WINREG test.
Guenther
2010-03-11 19:01:07 +01:00
Günther Deschner
25d27ff576 Revert "s4-smbtorture: disable winreg QueryValue test for today."
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64.
2010-03-10 22:04:02 +01:00
Günther Deschner
52ca26a820 s4-smbtorture: do full winreg QueryValue test for values we created.
Guenther
2010-03-10 16:12:22 +01:00
Günther Deschner
420aac7538 s4-smbtorture: check for non existing value under version key in RPC-WINREG.
Guenther
2010-03-10 16:12:22 +01:00
Günther Deschner
420e3b8553 s4-smbtorture: disable winreg QueryValue test for today.
wow, both s3 and s4 crash on full coverage winreg QueryValue testing.

Guenther
2010-03-10 02:54:27 +01:00
Günther Deschner
ae79d8ce02 s4-smbtorture: on HKLM hive test the well known CurrentVersion value.
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
722daf43d0 s4-smbtorture: add full coverage test for winreg QueryValue calls.
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
6d10645bca s4-smbtorture: add tests for set and delete value in RPC-WINREG.
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
b3765afd38 s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now.
Guenther
2010-03-05 11:09:05 +01: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
Stefan Metzmacher
900a5a6f87 s4:torture/rpc: s/class/kclass in winreg.c
metze
2009-02-02 13:09:20 +01:00
Günther Deschner
9361c73c2f winreg: fix winreg_EnumValue callers.
Guenther
2009-01-16 00:28:46 +01:00
Günther Deschner
e08e5a0f3f Revert "s4: fix the build after winreg idl changes."
This reverts commit 61db229c08a601780da09ee4f2f4f1eb32ec3aa0.
2008-10-20 15:53:24 +02:00
Günther Deschner
61db229c08 s4: fix the build after winreg idl changes.
Guenther
2008-10-20 15:47:46 +02:00
Jelmer Vernooij
29838debb3 Fix names in winreg torture tests. 2008-10-20 12:28:13 +02:00
Jelmer Vernooij
ada0e343b2 Sync parameter names with samba 3. 2008-10-15 17:38:51 +02:00
Jelmer Vernooij
fed4658c1b winreg.idl: Sync ref change from Samba 3. 2008-10-15 17:34:55 +02:00
Jelmer Vernooij
5d408ccf83 Rename reboot -> do_reboot since the first is a reserved name on FreeBSD. 2008-10-15 16:25:06 +02:00
Matthias Dieter Wallnöfer
89b23974d3 Torture suite: Revert some changes because they aren't necessary
This reverts some changes made by me because they aren't necessary. The "ZERO_STRUCT"'s remain in.
2008-09-21 23:18:01 +02:00
Matthias Dieter Wallnöfer
9038f2a0fd Torture suite: Fixes the tests to not segfault again SAMBA 4 registry server 2008-09-21 23:18:00 +02:00
Andrew Kroeger
846c81bccb torture/rpc-winreg: Split out the security descriptor tests.
The security descriptor functionality has not been implemented yet.  Now that
the other tests run successfully, the security descriptor tests have been split
out so they can be separately marked as knownfail.

The tests that test security descriptor functionality are named "*-security",
while those that don't are named "*-basic".
(This used to be commit 7b7aec9a2f0a684bb27761df71af506cce244b2c)
2008-02-26 21:17:30 -06:00
Andrew Kroeger
1aa3d0649f torture/rpc-winreg: Modify test cases to work with recursive key deletion.
(This used to be commit 3885acdee6fa3ec33cf4824826c2b8a98721382c)
2008-02-26 19:27:15 -06:00
Andrew Kroeger
497b17ac61 torture/rpc-winreg: General fixes for a number of tests.
Cleaned up issues with tests being run without the correct state being setup.
Also corrected an issue with a test expecting the wrong return value to indicate
a successful test run.
(This used to be commit d015e595ca82f8fd3941753c00a2f3d816300be9)
2008-02-26 19:27:15 -06:00
Stefan Metzmacher
4473a07fb3 winreg.idl: get rid of initshutdown_String and use lsa_StringLarge
metze
(This used to be commit 1ccea2a260de83b2e3137f762716ae67070c7024)
2008-02-19 15:59:23 +01:00
Jelmer Vernooij
7d5f0e0893 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
(This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
86dc05e99f r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
(This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2008-01-01 16:12:11 -06:00
Stefan Metzmacher
529763a9aa r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
(This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21 05:45:02 +01:00
Günther Deschner
e01ce2d712 r25814: Add my (C).
Guenther
(This used to be commit 9d12f8449fe85370afeb799fc916f9adca8ddf6c)
2007-12-21 05:44:10 +01:00
Günther Deschner
f5b0329b1f r25813: Add unfinished SecurityDescriptorsMasks test for winreg.
Guenther
(This used to be commit 3d1ffce3b34445484843b976105218e016a6a0d1)
2007-12-21 05:44:09 +01:00
Günther Deschner
6ffdd9ea24 r25812: Add test for valid and invalid security descriptor and security information flag
combinations.

Guenther
(This used to be commit 13323c71b66a66059928efdea8215f733a163318)
2007-12-21 05:44:09 +01:00