summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* test:local added LOCAL-DLINKLIST testsuiteAndrew Tridgell2010-02-102-0/+2
| | | | (cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
* s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.Günther Deschner2010-02-102-45/+27
| | | | Guenther
* s4-torture: allow host-only in unc lists in smbtortureAndrew Tridgell2010-02-091-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
* s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.Günther Deschner2010-02-081-0/+4
| | | | Guenther
* s4-torture: more useful error message in SMB2-DIRAndrew Tridgell2010-02-081-2/+2
|
* s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell2010-02-043-6/+12
| | | | a CONNECTION_RESET is now the normal "client disconnect" status code
* Change uint_t to unsigned int in source4Matt Kraai2010-02-0221-124/+124
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:NBT-WINSREPLICATION: don't mark a local variable as staticStefan Metzmacher2010-02-021-1/+1
| | | | | | This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0. metze
* s4:NBT-WINS: test large scopesStefan Metzmacher2010-02-011-0/+37
| | | | metze
* s4:NBT-WINS: pass the expected rcode of the name registration to the test codeStefan Metzmacher2010-02-011-18/+39
| | | | metze
* s4:NBT-WINSREPLICATION: test replication with names including scopesStefan Metzmacher2010-02-011-1/+51
| | | | metze
* s4:NBT-WINSREPLICATION: fix compiler warningsStefan Metzmacher2010-02-011-8/+16
| | | | metze
* s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different namesStefan Metzmacher2010-02-011-10/+7
| | | | metze
* s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in ↵Günther Deschner2010-01-311-6/+147
| | | | | | RPC-SPOOLSS-NOTIFY. Guenther
* s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in ↵Günther Deschner2010-01-311-0/+25
| | | | | | RPC-SPOOLSS-NOTIFY. Guenther
* s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.Günther Deschner2010-01-311-19/+31
| | | | Guenther
* s4/ldap: Test to expoit ldb_ildap bug in case of nested search requestsKamen Mazdrashki2010-01-293-1/+205
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-smbtorture: pick correct last packet while checking backchannel replies ↵Günther Deschner2010-01-271-2/+10
| | | | | | in RPC-SPOOLSS-NOTIFY. Guenther
* s4:torture: refactor querying of domain info out into ↵Michael Adam2010-01-271-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>
* s4:torture: create new test_SetDomainInfo_ntstatus()Michael Adam2010-01-271-12/+26
| | | | | | | | for checking for SetDomainInfo giving a desired return code. Michael Signed-off-by: Günther Deschner <gd@samba.org>
* s4:torture: refactor setting of domain inf out into test_SetDomainInfo()Michael Adam2010-01-271-101/+56
| | | | | | | | and use it in several places. Michael Signed-off-by: Günther Deschner <gd@samba.org>
* s4:torture: refactor setting account flags out into ↵Michael Adam2010-01-271-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>
* s4:smbtorture: add BASE-BENCH-HOLDOPENStefan Metzmacher2010-01-262-0/+64
| | | | | | | This is useful for manual performance testing with a large number of share mode entries. metze
* s4-smbtorture: also test smbc_getOptionUseCCacheGünther Deschner2010-01-262-1/+3
|
* s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into ↵Günther Deschner2010-01-251-73/+108
| | | | | | smaller parts. Guenther
* s4: Fix a few warnings.Jelmer Vernooij2010-01-212-3/+2
|
* torture: add new test RPC-SAMR-PASSWORDS-LOCKOUTMichael Adam2010-01-202-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
* s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.Günther Deschner2010-01-191-10/+0
| | | | Guenther
* s4-smbtorture: also configure check smbc_setOptionCaseSensitive for ↵Günther Deschner2010-01-191-1/+2
| | | | | | LIBSMBCLIENT testsuite. Guenther
* s4-smbtorture: support spoolss_ReplyClosePrinter server call in ↵Günther Deschner2010-01-191-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
* s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.Günther Deschner2010-01-191-1/+19
| | | | Guenther
* s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while ↵Günther Deschner2010-01-191-0/+4
| | | | | | testing s3. Guenther
* s4-smbtorture: strip trailing whitespace.Günther Deschner2010-01-191-12/+12
| | | | Guenther
* idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell2010-01-183-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.
* s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME testKai Blin2010-01-161-4/+5
|
* s4-torture: fixed DsReplicaGetInfo elementsAndrew Tridgell2010-01-161-2/+2
|
* s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_contextAndrew Tridgell2010-01-161-2/+2
|
* s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).Erick Nogueira do Nascimento2010-01-163-1/+352
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-smbtorture: add setup_schannel_netlogon_pipe() function.Günther Deschner2010-01-151-34/+25
| | | | Guenther
* s4-torture: Migrate ntp_signd test to tsocket.Andreas Schneider2010-01-141-126/+160
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-smbtorture: add rather simple libsmbclient torture testsuite.Günther Deschner2010-01-145-0/+278
| | | | Guenther
* s3 test: Fix WINBINDD-STRUCT testsKai Blin2010-01-141-2/+2
| | | | | The struct-based tests are working in make selftest, make them work in plain "make test" as well.
* s3 selftest: Fix LOOKUP_SID test.Kai Blin2010-01-141-4/+12
| | | | | WINBINDD_LIST_USERS does not give a domain name if we're a DC and the user is from our domain.
* s3 selftest: Fix WINBINDD_LIST_GROUPS testKai Blin2010-01-141-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.
* s3 selftest: Allow the enumeration of users and groupsKai Blin2010-01-141-1/+1
| | | | This fixes the WINBINDD_GETPWENT test.
* s3 selftest: Fix the WINBINDD_GETDCNAMEe test.Kai Blin2010-01-141-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.
* s4-torture: switch smbtorture to the generic DRS optionsAndrew Tridgell2010-01-141-4/+4
|
* s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.Günther Deschner2010-01-121-4/+6
| | | | Guenther
* s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.Günther Deschner2010-01-122-2/+489
| | | | | | | | | | This test checks the behavior (since w2k3 sp1) of the badPwdCount samr attribute in relation to password history and successfull and unsucessful netlogon samlogons. Michael, please check. This should help verifiying Bug #4347. Guenther
* s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR ↵Günther Deschner2010-01-121-34/+71
| | | | | | family of tests. Guenther