summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-02-15s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor.Günther Deschner1-9/+14
Guenther
2010-02-15s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and ↵Günther Deschner1-0/+241
RPC-SPOOLSS-PRINTER. Guenther
2010-02-13libwbclient: Separate out the async functionsKai Blin1-1/+1
2010-02-13s4-torture: use TYPESAFE_QSORT() in smbtortureAndrew Tridgell4-26/+15
2010-02-10test:local added LOCAL-DLINKLIST testsuiteAndrew Tridgell2-0/+2
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
2010-02-10s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.Günther Deschner2-45/+27
Guenther
2010-02-09s4-torture: allow host-only in unc lists in smbtortureAndrew Tridgell1-2/+5
Allow UNC lists like this: 192.168.2.1 192.168.2.2 192.168.2.3 the share name will be taken from the command line
2010-02-08s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.Günther Deschner1-0/+4
Guenther
2010-02-08s4-torture: more useful error message in SMB2-DIRAndrew Tridgell1-2/+2
2010-02-04s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell3-6/+12
a CONNECTION_RESET is now the normal "client disconnect" status code
2010-02-02Change uint_t to unsigned int in source4Matt Kraai21-124/+124
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02s4:NBT-WINSREPLICATION: don't mark a local variable as staticStefan Metzmacher1-1/+1
This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0. metze
2010-02-01s4:NBT-WINS: test large scopesStefan Metzmacher1-0/+37
metze
2010-02-01s4:NBT-WINS: pass the expected rcode of the name registration to the test codeStefan Metzmacher1-18/+39
metze
2010-02-01s4:NBT-WINSREPLICATION: test replication with names including scopesStefan Metzmacher1-1/+51
metze
2010-02-01s4:NBT-WINSREPLICATION: fix compiler warningsStefan Metzmacher1-8/+16
metze
2010-02-01s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different namesStefan Metzmacher1-10/+7
metze
2010-01-31s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in ↵Günther Deschner1-6/+147
RPC-SPOOLSS-NOTIFY. Guenther
2010-01-31s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in ↵Günther Deschner1-0/+25
RPC-SPOOLSS-NOTIFY. Guenther
2010-01-31s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.Günther Deschner1-19/+31
Guenther
2010-01-29s4/ldap: Test to expoit ldb_ildap bug in case of nested search requestsKamen Mazdrashki3-1/+205
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-27s4-smbtorture: pick correct last packet while checking backchannel replies ↵Günther Deschner1-2/+10
in RPC-SPOOLSS-NOTIFY. Guenther
2010-01-27s4:torture: refactor querying of domain info out into ↵Michael Adam1-52/+40
test_QueryDomainInfo2_level() Used in several places. (Note: The _level suffix in the function name is just because test_QueryDomainInfo2() already exists as an overall test for all levels.) Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: create new test_SetDomainInfo_ntstatus()Michael Adam1-12/+26
for checking for SetDomainInfo giving a desired return code. Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: refactor setting of domain inf out into test_SetDomainInfo()Michael Adam1-101/+56
and use it in several places. Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: refactor setting account flags out into ↵Michael Adam1-50/+46
test_SetUserInfo_acct_flags() and use this in four places (enabling/disabling accounts). Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-26s4:smbtorture: add BASE-BENCH-HOLDOPENStefan Metzmacher2-0/+64
This is useful for manual performance testing with a large number of share mode entries. metze
2010-01-26s4-smbtorture: also test smbc_getOptionUseCCacheGünther Deschner2-1/+3
2010-01-25s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into ↵Günther Deschner1-73/+108
smaller parts. Guenther
2010-01-21s4: Fix a few warnings.Jelmer Vernooij2-3/+2
2010-01-20torture: add new test RPC-SAMR-PASSWORDS-LOCKOUTMichael Adam2-0/+452
This tests account lockout features. Windows 2003r2 and Windows 2008r2 survice this test. Note: Windows does not set the ACB_AUTOLOCK account flag when it locks out an account. One thing that could/should be added to this test is a check of the lockout time property. Michael
2010-01-19s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.Günther Deschner1-10/+0
Guenther
2010-01-19s4-smbtorture: also configure check smbc_setOptionCaseSensitive for ↵Günther Deschner1-1/+2
LIBSMBCLIENT testsuite. Guenther
2010-01-19s4-smbtorture: support spoolss_ReplyClosePrinter server call in ↵Günther Deschner1-2/+36
RPC-SPOOLSS-NOTIFY. A handle obtained with spoolss_ReplyOpenPrinter will be closed with spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote side. Guenther
2010-01-19s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.Günther Deschner1-1/+19
Guenther
2010-01-19s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while ↵Günther Deschner1-0/+4
testing s3. Guenther
2010-01-19s4-smbtorture: strip trailing whitespace.Günther Deschner1-12/+12
Guenther
2010-01-18idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell3-25/+25
The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations.
2010-01-16s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME testKai Blin1-4/+5
2010-01-16s4-torture: fixed DsReplicaGetInfo elementsAndrew Tridgell1-2/+2
2010-01-16s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_contextAndrew Tridgell1-2/+2
2010-01-16s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).Erick Nogueira do Nascimento3-1/+352
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-15s4-smbtorture: add setup_schannel_netlogon_pipe() function.Günther Deschner1-34/+25
Guenther
2010-01-14s4-torture: Migrate ntp_signd test to tsocket.Andreas Schneider1-126/+160
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-14s4-smbtorture: add rather simple libsmbclient torture testsuite.Günther Deschner5-0/+278
Guenther
2010-01-14s3 test: Fix WINBINDD-STRUCT testsKai Blin1-2/+2
The struct-based tests are working in make selftest, make them work in plain "make test" as well.
2010-01-14s3 selftest: Fix LOOKUP_SID test.Kai Blin1-4/+12
WINBINDD_LIST_USERS does not give a domain name if we're a DC and the user is from our domain.
2010-01-14s3 selftest: Fix WINBINDD_LIST_GROUPS testKai Blin1-9/+22
If there's no groups in the database, there are no entries in extra_data. This caused WINBINDD_LIST_GROUPS test to fail. Use the fact that WINBINDD_LIST_GROUPS now reports the number of groups in data.num_entries to identify the "no groups" case.
2010-01-14s3 selftest: Allow the enumeration of users and groupsKai Blin1-1/+1
This fixes the WINBINDD_GETPWENT test.
2010-01-14s3 selftest: Fix the WINBINDD_GETDCNAMEe test.Kai Blin1-0/+10
The WINBINDD_GETDCNAME test expected an NSS_STATUS_SUCCESS return from all calls. However, this does not apply for BUILTIN and the DC's own domain. Make the test work again by skipping those two.