summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-03-09s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible ↵Matthias Dieter Wallnöfer1-18/+100
against Windows Server 2008 This is a reworked version of the mentioned test which passes against Windows Server 2008. The previous version, also mainly written by me passed only against Windows Server <= 2003.
2010-03-09s4-smbtorture: fix uninitialized variable in winreg QueryValue call.Günther Deschner1-0/+1
Guenther
2010-03-07s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher1-3/+9
metze
2010-03-07s4:torture/nbt: use wrepl_associate_stop() instead of build the request by handStefan Metzmacher1-9/+4
metze
2010-03-07s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed ↵Stefan Metzmacher1-2/+1
by wrepl_request_recv() metze
2010-03-06s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warningsKamen Mazdrashki1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-05s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.Günther Deschner1-3/+4
Guenther
2010-03-05s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry...Günther Deschner1-1/+1
Guenther
2010-03-05s4-smbtorture: when checking PrinterData matrix, include winreg cross ↵Günther Deschner1-2/+179
reference checks. Guenther
2010-03-05s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.Günther Deschner1-3/+4
Guenther
2010-03-05s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests.Günther Deschner1-10/+1
Guenther
2010-03-05s4-smbtorture: remove check for selfmade parsing artefact.Günther Deschner1-8/+1
We were checking against a phenomenon that we created ourselves at the pidl layer... Guenther
2010-03-05s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes.Günther Deschner1-49/+37
Guenther
2010-03-05s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes.Günther Deschner1-18/+28
Guenther
2010-03-05s4:torture/nbt: avoid the usage of wrepl_pull_table_send()Stefan Metzmacher1-3/+6
metze
2010-03-05s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now.Günther Deschner1-0/+4
Guenther
2010-03-05s4:torture/rpc/samr.c - add some decision possibility constants to some switchMatthias Dieter Wallnöfer1-0/+3
At the moment nothing is done when the enumeration variable is set to one of those constants as before. This is only to quite nasty warnings.
2010-03-05s4:torture/rpc/samr.c - make some argument of function ↵Matthias Dieter Wallnöfer1-1/+1
"test_SamLogon_with_creds" constant This to quiet warnings.
2010-03-05s4:torture/winbind/struct_based.c - fix up (un)signedness of a function argumentMatthias Dieter Wallnöfer1-1/+2
Otherwise always a warning is generated.
2010-03-05s4-torture: fixed commas separating C statementsAndrew Tridgell1-4/+3
2010-03-03s4:torture/rpc/samr - Fix up SAMR-USERS testMatthias Dieter Wallnöfer1-10/+22
"QueryDomainInfo" returns only global groups, "QueryDisplayInfo" also universal ones. Consider MS-SAMR 3.1.5.5.1.1 and 3.1.5.3.1.
2010-03-03s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding ↵Matthias Dieter Wallnöfer1-0/+15
universal groups Find the "Enterprise Admins" group which does exist on s4 and Windows directories and is always per default universal. Test this only when the target is set to s4 (s3 deployments don't contain this group). If the number of returned objects is "0" (count) then we are likely testing the builtin domain of an AD deployment.Then we ignore the inexistent "Enterprise Admins" group. I didn't enhance the test for "QueryDomainInfo" since this does itself a comparison of all returned objects with the "EnumDomainGroups" call. Therefore if the latter passes, and the "QueryDomainInfo" test passes also the "QueryDomainInfo" call is okay regarding groups.
2010-03-02s4-smbtorture: fix WINBIND-STRUCT assumptions about getpwent() for s3.Günther Deschner1-5/+16
In samba3 it is not an error when no users are returned in getpwent() calls (e.g. on a DC w/o interdomain trusts). Kai, please check. Guenther
2010-03-01s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async ↵Stefan Metzmacher1-3/+3
rpc over ncacn_np metze
2010-03-01s4:RPC-NETLOGON: remove useless rpc callbackStefan Metzmacher1-18/+1
If we got a failure from one request we bail out early. metze
2010-03-01s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'Stefan Metzmacher1-4/+14
metze
2010-03-01s4:torture/rpc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher5-7/+7
metze
2010-03-01s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.Günther Deschner1-27/+67
Guenther
2010-03-01s4-smbtorture: add test_SetPrinterDataEx to RPC-SPOOLSS-PRINTER.Günther Deschner1-0/+4
Guenther
2010-03-01s4-smbtorture: return needed size pointer from test_GetPrinterDataEx.Günther Deschner1-5/+10
Guenther
2010-03-01s4-smbtorture: test at least three different regtypes in test_SetPrinterDataEx.Günther Deschner1-6/+41
Guenther
2010-02-26s4:torture/rpc: use generate_random_password()Stefan Metzmacher5-13/+13
metze
2010-02-26s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a nameStefan Metzmacher1-2/+16
metze
2010-02-26s4:torture: use a connected CLDAP socket.Stefan Metzmacher3-18/+63
This is needed because we don't (want) to specify an explicit local address. And the socket family (ipv4 vs. ipv6) needs to be autodetected based on the remote address before the socket() syscall. Otherwise we would try to connect to a ipv4 address through an ipv6only socket. metze
2010-02-25s4-smbtorture: define environment in one place in RPC-SPOOLSS test.Günther Deschner1-26/+38
Guenther
2010-02-25s4-smbtorture: try to set every single devicemode component in ↵Günther Deschner1-0/+103
RPC-SPOOLSS-PRINTER. Guenther
2010-02-25s4-smbtorture: move ChangeID test to the list of tests we run against ↵Günther Deschner1-4/+4
created printers. Guenther
2010-02-25s4:torture/ldap/basic.c - add a basic test for referral returnMatthias Dieter Wallnöfer1-3/+219
I implemented this referral test in C since the LDB python API isn't capable to extract referrals from search result sets (there the result sets are simple lists which contain only the matching entries). First I enhanced the RootDSE test to return all partition base DNs in a new null-terminated list "partitions". Then I used this in my referrals test which I've implemented in the LDB api since I needed some certain DN functions.
2010-02-24s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest2 changes in source codeKamen Mazdrashki2-6/+6
2010-02-24s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source codeKamen Mazdrashki2-4/+4
2010-02-24s4/drs: Propagate drsuapi_DsReplicaSync changes in source baseKamen Mazdrashki1-4/+7
2010-02-24s4/drs: Propagate drsuapi_DsReplicaSyncRequest1 changes in source baseKamen Mazdrashki1-1/+1
2010-02-24s4-smbtorture: verify that the client cpu architecture has no influence on theGünther Deschner1-0/+72
calculated buffer size in RPC-SPOOLSS. Guenther
2010-02-23s4/torture/smb2: Add two new SMB2 compound testsSteven Danneman1-0/+157
These tests server behavior when a client compounds both synchronous and asynchronous requests.
2010-02-23s4:schannel merge code with s3Simo Sorce1-1/+0
After looking at the s4 side of the (s)channel :) I found out that it makes more sense to simply make it use the tdb based code than redo the same changes done to s3 to simplify the interface. Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet that does not solve the lookup speed, with ldb it is always going to be slower. Looking through the history it is evident that the schannel database doesn't really need greate expanadability. And lookups are always done with a single Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated. The schannel database is not really a persistent one. It can be discared during an upgrade without causing any real issue. all it contains is temproary session data.
2010-02-22s4:torture/ldap/basic.c - add some "const"Matthias Dieter Wallnöfer1-5/+3
In addition I removed a "talloc_free(req)" since we never free elsewhere the requests explicitly and do it only indirectly with freeing the "conn" object when the testsuite terminates.
2010-02-19s4-smbtorture: more work on devicemode tests.Günther Deschner1-35/+63
Guenther
2010-02-19s4-smbtorture: explain failure conditions in printer device mode tests a ↵Günther Deschner1-11/+20
little more. Guenther
2010-02-19s4-smbtorture: add --option=torture:spoolss_check_size=yes.Günther Deschner1-0/+6
This disables the size calculation comparison by default. Guenther
2010-02-19s4-smbtorture: print more comments while running SD and DM tests in ↵Günther Deschner1-15/+14
RPC-SPOOLSS-PRINTER. Guenther