Stefan Metzmacher
89dd048bdf
s4:torture/rpc/netlogon: test invalid netr_LogonControl() level
...
metze
2011-02-02 11:58:26 +01:00
Stefan Metzmacher
d3e4d90d41
s4:torture/rpc/netlogon: test invalid LogonSamLogon levels
...
This proves that the invalid parameter/info class checks
need to be done before the credential chain checks.
metze
2011-02-02 11:58:26 +01:00
Stefan Metzmacher
e9807916af
s4:torture/rpc/netlogon: test validation levels 2 and 3
...
metze
2011-02-02 11:58:26 +01:00
Andrew Bartlett
7faa3be453
s4-python Ensure we add the Samba python path first.
...
This exact form of the construction is important, and we match on it
in the installation scripts.
Andrew Bartlett
2011-02-02 15:21:12 +11:00
Pavel Shilovsky
f453235ce0
smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option set to "no"
2011-01-31 12:03:17 -08:00
Günther Deschner
1537f5dab1
s4-smbtorture: add samr_changepassworduser3 ndr torture tests.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104
2011-01-31 16:07:14 +01:00
Günther Deschner
8f4eee9054
s4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.
...
Guenther
2011-01-31 15:16:35 +01:00
Günther Deschner
7182da7f91
s4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon reply we can't currently parse.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 16:23:30 CET 2011 on sn-devel-104
2011-01-28 16:23:30 +01:00
Günther Deschner
6957109e8d
s4-smbtorture: add NDR tests for netr_LogonSamLogon.
...
Guenther
2011-01-28 15:37:10 +01:00
Andreas Schneider
dbb184ab7b
s4-torture: Reorder the epmapper tests.
...
It works like a stack!
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jan 27 15:28:05 CET 2011 on sn-devel-104
2011-01-27 15:28:05 +01:00
Andreas Schneider
3e29bb0b92
s4-torture: Added a full epm_Map test.
2011-01-27 14:41:41 +01:00
Andreas Schneider
357fd2cecc
s4-torture: Added a test_Insert for epmapper.
2011-01-27 14:41:41 +01:00
Andreas Schneider
43f766dd04
s4-torture: Use binding handle in epm_Delete test.
2011-01-27 14:41:41 +01:00
Andreas Schneider
fed2b6167a
s4-torture: Comment out the test_InqObject.
2011-01-27 14:41:41 +01:00
Andreas Schneider
dd9feec3df
s4-torture: Added a clean test_Map_simple.
2011-01-27 14:41:41 +01:00
Andreas Schneider
c3c650623a
s4-torture: Added a clean test_Lookup_terminate_search.
2011-01-27 14:41:41 +01:00
Andreas Schneider
548c712082
s4-torture: Added a clean test_Lookup_simple.
2011-01-27 14:41:41 +01:00
Andreas Schneider
0ccb374c6a
s4-torture: Added test_LookupHandleFree.
2011-01-27 14:41:40 +01:00
Andreas Schneider
9a771f17c8
s4-torture: Start with a clean epm_Insert_noreplace test.
2011-01-27 14:41:40 +01:00
Kamen Mazdrashki
6e2263749a
s4-test/delete_object: Remove global ldb connections
...
Make it more xUnit compliant
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Jan 25 21:30:19 CET 2011 on sn-devel-104
2011-01-25 21:30:19 +01:00
Günther Deschner
1f3fb30ed9
s4-smbtorture: make sure there is always driverextra data in spoolss devmode size tests.
...
Guenther
2011-01-21 10:58:20 +01:00
Günther Deschner
aefbec5270
s4-smbtorture: add tests for the size member of spoolss devicemodes.
...
Guenther
2011-01-21 10:58:20 +01:00
Günther Deschner
7a7b61ef08
s4-smbtorture: prepare devicemode test for expected result tests.
...
Guenther
2011-01-21 10:58:20 +01:00
Günther Deschner
bb51c05014
s4-smbtorture: add some paranoia checks for 0 sized devmodes.
...
Guenther
2011-01-21 10:58:20 +01:00
Andrew Bartlett
fbe6d155bf
s4-auth Remove special case for account_sid from auth_serversupplied_info
...
This makes everything reference a server_info->sids list, which is now
a struct dom_sid *, not a struct dom_sid **. This is in keeping with
the other sid lists in the security_token etc.
In the process, I also tidy up the talloc tree (move more structures
under their logical parents) and check for some possible overflows in
situations with a pathological number of sids.
Andrew Bartlett
2011-01-20 23:44:05 +01:00
Stefan Metzmacher
c9e6bf047d
lib/util: add tests for anonymous_shared_allocate/free()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
2011-01-20 06:25:03 +01:00
Andrew Bartlett
489e3372d6
s4-torture Remove unused temp dirs from the RPC-PAC test.
...
The code previously required the creation of a messaging context, but
this isn't done any more, so we don't need the tmp dir to put it in.
Andrew Bartlett
2011-01-18 10:55:05 +01:00
Andrew Tridgell
87f3151047
s4-dsdb: pass parent request to dsdb_module_*() functions
...
this preserves the request hierarchy for dsdb_module_*() calls inside
dsdb ldb modules
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-17 05:23:04 +01:00
Matthias Dieter Wallnöfer
3b78fcff5a
s4:torture/nbench/nbench.c - initialise "n"
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Jan 12 20:38:02 CET 2011 on sn-devel-104
2011-01-12 20:38:02 +01:00
Matthias Dieter Wallnöfer
a26a48934d
torture:drs/rpc/msds_intid.c - proof for the correct "intId"
...
"drs_attr" is uninitialised in this loop
2011-01-12 19:52:19 +01:00
Matthieu Patou
1c6077e71e
torture: add ndr tests for backup key protocol
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 12 10:25:00 CET 2011 on sn-devel-104
2011-01-12 10:25:00 +01:00
Günther Deschner
0279422c83
s4-smbtorture: check driver_version equality as well.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
2011-01-04 11:22:08 +01:00
Günther Deschner
64576106b1
s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().
...
Guenther
2011-01-04 10:33:56 +01:00
Günther Deschner
69174fea5b
s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 as
...
well.
Guenther
2011-01-04 10:33:56 +01:00
Günther Deschner
19a295dee8
s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.
...
Guenther
2011-01-04 10:33:55 +01:00
Günther Deschner
8fc28818b9
s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
...
Guenther
2011-01-04 10:33:55 +01:00
Günther Deschner
9c46370e91
s4-smbtorture: add more tests for driver_dates.
...
Guenther
2011-01-04 10:33:52 +01:00
Jelmer Vernooij
b5474f2441
remove unnecessary use of pass.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
2011-01-03 08:21:12 +01:00
Jelmer Vernooij
9fc2e6c352
Use TestCase.get_credentials() where possible.
2011-01-03 01:48:05 +01:00
Stefan Metzmacher
01a1a71b55
s4:selftest: specify the gentest_seeds.dat location
...
metze
2010-12-27 15:37:56 +01:00
Matthias Dieter Wallnöfer
78d12e5629
s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer literal
...
To quiet a warning on Solaris
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 23 13:43:57 CET 2010 on sn-devel-104
2010-12-23 13:43:57 +01:00
Günther Deschner
a204c45e59
s4-smbtorture: always skip addprinter{ex} level 1 tests for now.
...
Guenther
2010-12-22 13:33:18 +01:00
Günther Deschner
9626487a14
s4-smbtorture: fix expected driver date REG_SZ string.
...
This resolves the "WARNING!: ../torture/rpc/spoolss.c:4688: str was 01/01/1601,
expected 01/01/1970: "DriverDate" - driver_date mismatch" warnings.
Guenther
2010-12-22 13:33:17 +01:00
Günther Deschner
3931d4aa65
s4-smbtorture: check the returned driver date is equal to the one we passed in.
...
Guenther
2010-12-22 13:33:17 +01:00
Günther Deschner
340d2df123
s4-smbtorture: interesting, DriverDate and DriverVersion are different in w2k3 and w2k8r2.
...
While in w2k8 they are REG_SZ date or numerical strings, they are 8 byte REG_BINARY blobs in w2k3.
Guenther
2010-12-22 13:33:17 +01:00
Matthias Dieter Wallnöfer
912faf1b08
s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDs
2010-12-21 15:10:37 +11:00
Günther Deschner
9dce43a809
s4-smbtorture: run the winreg tests also against an added driver.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104
2010-12-20 14:31:43 +01:00
Günther Deschner
4e9d67b7c0
s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
2010-12-17 17:35:21 +01:00
Günther Deschner
92f1029e87
s4-smbtorture: check if returned driver paths match requested architecture.
...
Guenther
2010-12-17 16:50:19 +01:00
Günther Deschner
545d3a013c
s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.
...
Guenther
2010-12-17 13:10:08 +01:00