1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

114 Commits

Author SHA1 Message Date
Kamen Mazdrashki
12bc68d4d0 s4/ndr: Fix tuncating of constant to a 'long' type 2010-06-29 00:35:22 +03:00
Günther Deschner
427c953273 s4-smbtorture: fix typo.
Not my day...

Guenther
2010-06-28 14:47:16 +02:00
Günther Deschner
c5bab3ea33 s4-smbtorture: add trustDomainPasswords blob test to LOCAL-NDR testsuite.
Our parsing of this struct is incorrect atm. and apparently also causes the s4
server to crash.

Thanks to Sumit Bose <sbose@redhat.com> for providing the auth data retrieved
from a w2k3 domain.msc operation.

Guenther
2010-06-28 14:18:04 +02:00
Matthieu Patou
0e4e39c7f5 s4 torture test: Adapt ndr-dfsblobs torture test to new idl
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:12 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Günther Deschner
45f6eae4c4 s4-smbtorture: fix drsblobs ndr torture test.
Guenther
2010-03-25 11:04:52 +01:00
Günther Deschner
bb47e5b617 s4-smbtorture: add drsblobs ndr torture test.
Guenther
2010-03-24 18:30:38 +01:00
Günther Deschner
fb70368a97 s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr level.
Guenther
2010-03-24 18:30:18 +01:00
Günther Deschner
2070c04230 s4-smbtorture: add lsa_SetTrustedDomainInfoByName NDR test.
Thanks Simo for providing the data and pointing out the IDL failure.

Guenther
2010-03-16 21:52:36 +01:00
Simo Sorce
38cba5e930 s4:torture-ndr add lsarSetForestTrustInformation ndr test
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16 15:12:19 +01:00
Günther Deschner
e0d85f87b7 winreg: add winreg_KeyType enum.
Guenther
2010-03-11 20:23:47 +01:00
Andrew Tridgell
ec7dc6a619 s4-torture: update uuid_compare test for new behaviour 2009-12-21 23:45:22 +11:00
Matthieu Patou
155bdea7b2 torture: add new tests for dfsblobs
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Günther Deschner
dc71d1c29d s4-smbtorture: add more spoolss_EnumPrinterKey tests for local NDR test.
Guenther
2009-12-10 22:49:15 +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
Günther Deschner
bca75ecf97 s4-smbtorture: fix remaining lsa lookup call unknowns. sorry...
Guenther
2009-09-11 14:34:58 +02:00
Günther Deschner
cf5ba874de s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.
Guenther
2009-02-18 20:35:48 +01:00
Günther Deschner
69b1550f7f s4-smbtorture: fix the build of the ndr spoolss tester.
Guenther
2009-02-11 23:36:43 +01:00
Günther Deschner
1798e9d7ec s4-netlogon: merge netr_ServerReqChallenge from s3 idl.
Guenther
2008-10-29 08:57:52 +01:00
Günther Deschner
8e4c691c0a s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
92f1c0d156 s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
992c03a192 s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
e08e5a0f3f Revert "s4: fix the build after winreg idl changes."
This reverts commit 61db229c08.
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
6a89b59ca6 Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba
3.
2008-10-18 18:09:04 +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
9565999755 Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
Andrew Tridgell
ba5ef49f83 updated the LSA and NETLOGON servers with fixes resulting from the AD
plugfest in Redmond
2008-10-03 17:52:59 -07:00
Jelmer Vernooij
1e973565b6 Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121d)
2008-04-27 14:02:46 +01:00
Jelmer Vernooij
1a8bfba545 Fix warnings.
(This used to be commit 88013ca977)
2008-04-15 12:15:43 +02:00
Jelmer Vernooij
148d3b170a Use torture_assert_mem_equal() in a couple more places.
(This used to be commit e2c3fab9d1)
2008-04-13 22:00:36 +02:00
Jelmer Vernooij
d1e716cf43 r26432: Require ndr_pull users to specify iconv_convenience.
(This used to be commit 28b1d36551)
2007-12-21 05:50:02 +01: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 6223c7fddc)
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358)
2007-10-10 15:02:34 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
068cc7d4d5 r21674: Fix argument
(This used to be commit 43e1cccf11)
2007-10-10 14:49:08 -05:00
Jelmer Vernooij
9ca1a3c186 r21662: More samr tests
(This used to be commit 2eae55819e)
2007-10-10 14:49:06 -05:00
Jelmer Vernooij
acdfe6dcd8 r21661: Put direction in test name
(This used to be commit bb0ebdab63)
2007-10-10 14:49:06 -05:00
Jelmer Vernooij
648fe6610e r21660: Add another test
(This used to be commit 0b1e793ed5)
2007-10-10 14:49:06 -05:00
Jelmer Vernooij
83d88d1521 r21658: Add some tests for SAMR NDR
(This used to be commit a36912721a)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
9feb63e087 r21476: Add another test for EnumValue.
(This used to be commit 8370b19ebb)
2007-10-10 14:48:41 -05:00
Jelmer Vernooij
069f0cc15b r21429: Fix the build.
(This used to be commit 88fbf9af24)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
ab975d9d7f r21426: Add more spoolss tests.
(This used to be commit 8b31fba826)
2007-10-10 14:48:31 -05:00
Jelmer Vernooij
3e208b3f80 r21425: Add ReplyClosePrinter.
(This used to be commit 745d0eae1a)
2007-10-10 14:48:31 -05:00
Jelmer Vernooij
2503fe2273 r21424: Add FindClosePrinterNotify.
(This used to be commit 0ed195f45f)
2007-10-10 14:48:31 -05:00
Jelmer Vernooij
e55e7c96f8 r21423: Extend testsuite, check that all bytes have been consumed. DsBind fails that test, so disabling it for now.
(This used to be commit d6026c2046)
2007-10-10 14:48:30 -05:00
Jelmer Vernooij
446b6bfcba r21416: add missing file
(This used to be commit 5d4dd136ed)
2007-10-10 14:48:29 -05:00
Jelmer Vernooij
34659685e1 r21415: Add tests for spoolss and drsuapi. Still need to add validators.
(This used to be commit 61cb52b65b)
2007-10-10 14:48:29 -05:00
Jelmer Vernooij
b0de151fdd r21408: Remove test that uses empty array.
(This used to be commit 33142f7646)
2007-10-10 14:48:27 -05:00
Jelmer Vernooij
e586d112e2 r21403: Add netlogon tests.
(This used to be commit a620dc3594)
2007-10-10 14:48:26 -05:00
Jelmer Vernooij
b7a46675fb r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL.
(This used to be commit 15a4b81ba0)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
f86444b516 r21381: dfs tests.
(This used to be commit 3ef8a6834d)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
3a93b655dd r21378: Add simple NDR epmap test.
(This used to be commit b29170c8ea)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
f88c667e6a r21377: More tests.
(This used to be commit f3680ba118)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
2ed0f61a62 r21376: More tests.
(This used to be commit 2e2b15e3d2)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
612cfb84d9 r21375: More lsa tests.
(This used to be commit 88fa90778a)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
5f23c888af r21374: lsa tests
(This used to be commit bfc2a1c505)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
8bcad6b901 r21373: More tests.
(This used to be commit 83a47e30b5)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
a009659e46 r21372: Tests, more tests! Some are still commented out, because the code they test is broken at the moment.
(This used to be commit 8f039a25cd)
2007-10-10 14:48:21 -05:00
Jelmer Vernooij
bd7df755f3 r21350: Add more tests for the NDR layer of winreg. I actually discovered a pidl bug,
so there are still two tests commented out.
(This used to be commit b7f6ec5c1c)
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
25a0c9146e r21347: All current tests in the testsuite mainly test the RPC code in general. Since
we're running the testsuite mainly against ourselves, we only check that the
push/pull functions work in our own environment, not whether they generate/parse
the same data that other systems do.

This commit adds the infrastructure for a testsuite for just the marshalling
code. The idea is that you provide a data blob, a function name and a function
to check the resulting struct for correctness.
(This used to be commit 9bd2421e44)
2007-10-10 14:48:17 -05:00