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
Kamen Mazdrashki
2fa4c4dcee
s4/drs(tort): _torture_drs_pfm_compare_same() should not fail tctx by itself
...
The responsibility for failing torture_context sould be for the
caller.
This gives better control in for test case driver function.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:49 +01:00
Kamen Mazdrashki
ef959b42ca
s4/drs(tort): Test case for dsdb_create_prefix_mapping() implemented
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:49 +01:00
Kamen Mazdrashki
009361e1ff
s4/drs(tort): refactor - SCHEMA_INFO_DEFAULT defined on file scope
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:47 +01:00
Kamen Mazdrashki
b50df3bd7f
s4/drs(tort): prefixMap read/write in LDB test case
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:46 +01:00
Kamen Mazdrashki
6a32200667
s4/drs(tort): Create temporary LDB for testing purposes
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:46 +01:00
Kamen Mazdrashki
20622de49f
s4/drs(tort): prefixMap to/from ldb_val serialization test case
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:44 +01:00
Kamen Mazdrashki
fc05386c0d
s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMap
...
"partial drsuapi_prefixMap" is a prefix map without last entry
being special - i.e. map that does not contains schema_info entry.
Test for dsdb_schema_pfm_from_drsuapi_pfm() were also extended to
cover both 'full' and 'partial' map conversion.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:44 +01:00
Kamen Mazdrashki
ba4d87f817
s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:43 +01:00
Kamen Mazdrashki
ddab9d1fe7
s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by dsdb_schema_pfm_contains_drsuapi_pfm()
...
dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented
prefixMap interface.
This name was choosen to clearly show, that this a week verification
in case we want to determine if remote schema is changed.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:42 +01:00
Kamen Mazdrashki
a83385303b
s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi()
...
Also, dsdb_load_oid_mappings_drsuapi() was reimplemented to use
dsdb_schema_pfm_from_drsuapi_pfm() function to load
drsuapi_prefixMap into schema->prefixmap
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:41 +01:00
Kamen Mazdrashki
5446123190
s4/drs(tort): test for schema_prefixMap to/from drsuapi_prefixMap conversion
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:39 +01:00
Kamen Mazdrashki
3d91c8ef5a
s4/drs(tort): implement prefixMap comparison function
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:38 +01:00
Stefan Metzmacher
be06d5ccb4
s4:torture/drs: move intern/ => unit/
...
metze
2009-11-06 14:05:36 +01:00
Jeremy Allison
c2df97f57c
Fix up some of the timing constants for DELAYWRITE. Add some extra tests up test_delayed_write_update6
...
to investigate what happens to a sticky write handle after a second handle close.
Jeremy.
2009-11-05 15:37:26 -08: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
Matthias Dieter Wallnöfer
3caaf6a84c
s4:torture/raw/samba3misc - Add "discard_const_p" macro before a string
2009-11-02 16:36:51 +11: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
Jeremy Allison
e2c84f67a3
Change RAW-STREAMS for s3 to allow rename over an existing stream,
...
we need to file a CAR to find out why Windows gives INVALID_PARAMETER
for this.
Jeremy.
2009-10-29 16:38:34 -07: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
Andrew Tridgell
98e4393df9
s4-dsdb: create a static system_session context
...
This patch adds a system_session cache, preventing us from having to
recreate it on every ldb open, and allowing us to detect when the same
session is being used in ldb_wrap
2009-10-23 14:52:17 +11:00
Andrew Tridgell
9c9e853c77
s4-torture: fixed double free in libnet_group test
2009-10-22 18:46:27 +11:00
Andrew Bartlett
c9838f0e13
s4:torture Silence const warning by use of data_blob_const()
...
This was inspired by one of mdw's const patches
Andrew Bartlett
2009-10-22 10:17:35 +11:00
Matthias Dieter Wallnöfer
24bca52c0b
s4:smbtorture - Add "const" before "value"
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-10-22 10:02:27 +11:00
Kamen Mazdrashki
4dc90c0851
s4/drs(tort): Unit test for prefixMap implementation.
...
Currenly those tests cover only the main part of the interface,
i.e. dsdb_schema_pfm_new(), dsdb_schema_pfm_make_attid()
and dsdb_schema_pfm_oid_from_attid()
2009-10-21 11:49:50 +03:00
Kamen Mazdrashki
31168f1fac
s4/drs(tort): Comment typos fixed in drs_util.c
2009-10-21 11:49:50 +03:00
Kamen Mazdrashki
1ecca31caa
s4/drs(tort): fixed '==' to '>='
...
ATTID is marked as partial by adding 32768.
Thus the check should be '>= 32768'
2009-10-21 11:49:50 +03: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
Matthias Dieter Wallnöfer
abeb794b66
s4:torture "cldap" test - restore the removed constraints and add more
...
Consider for description the post on the technical mailing list. I hope that this
satisfies abartlet again.
2009-10-19 18:34:29 +02: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
Matthias Dieter Wallnöfer
77b9d2827b
s4:torture "cldap" test - rework and test more results
2009-10-18 14:33:43 +02:00
Andrew Tridgell
9ae4daeb96
s4-torture: fixed the streams tests for Samba4
...
In some cases we were not doing streams tests on s4 that we should. In
others, we were calling tests that are known to fail on s4. Some of
those are a bit puzzling.
2009-10-18 15:06:13 +11:00
Andrew Tridgell
d1efaf39f5
smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privileges
2009-10-18 07:13:47 +11:00
Jeremy Allison
d6351adca9
Fix the smbtorture4 build. root_fid is a "union smb_handle". tridge
...
please check.
Jeremy.
2009-10-17 12:56:15 -07:00