summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2009-10-30s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.Günther Deschner1-0/+6
Guenther
2009-10-30s4-smbtorture: fix warning in RPC-WKSSVC torture test.Günther Deschner1-3/+5
Guenther
2009-10-29Change RAW-STREAMS for s3 to allow rename over an existing stream,Jeremy Allison1-1/+2
we need to file a CAR to find out why Windows gives INVALID_PARAMETER for this. Jeremy.
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell5-5/+5
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-23s4-dsdb: create a static system_session contextAndrew Tridgell1-4/+4
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-22s4-torture: fixed double free in libnet_group testAndrew Tridgell1-1/+0
2009-10-22s4:torture Silence const warning by use of data_blob_const()Andrew Bartlett1-2/+1
This was inspired by one of mdw's const patches Andrew Bartlett
2009-10-22s4:smbtorture - Add "const" before "value"Matthias Dieter Wallnöfer1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-10-21s4/drs(tort): Unit test for prefixMap implementation.Kamen Mazdrashki1-5/+327
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-21s4/drs(tort): Comment typos fixed in drs_util.cKamen Mazdrashki1-2/+2
2009-10-21s4/drs(tort): fixed '==' to '>='Kamen Mazdrashki1-1/+1
ATTID is marked as partial by adding 32768. Thus the check should be '>= 32768'
2009-10-21s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up ↵Günther Deschner1-6/+45
a client. Guenther
2009-10-20s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.Günther Deschner1-16/+50
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-20s4-smbtorture: Make it simpler to specify number of trusted domains to create inGünther Deschner1-17/+40
RPC-LSA-TRUSTED-DOMAINS. Guenther
2009-10-20s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.Günther Deschner1-1/+1
Guenther
2009-10-20s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.Günther Deschner1-2/+27
Guenther
2009-10-20s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.Günther Deschner1-3/+13
Guenther
2009-10-20s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.Günther Deschner1-7/+8
Guenther
2009-10-20s4-torture: fixed a pipe leakAndrew Tridgell1-0/+2
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an overallocation of fd's on the server
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell124-274/+0
This reduces compile time somewhat.
2009-10-20s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS testAndrew Tridgell1-7/+12
This test left a large number of lsa pipes open, which could trigger the server running out of fds
2009-10-19s4:torture "cldap" test - restore the removed constraints and add moreMatthias Dieter Wallnöfer1-4/+34
Consider for description the post on the technical mailing list. I hope that this satisfies abartlet again.
2009-10-19s4:test: Fix typo.Karolin Seeger1-1/+1
Karolin
2009-10-19Fix typo.Karolin Seeger1-1/+1
privilage -> privilege Karolin
2009-10-18s4:torture "cldap" test - rework and test more resultsMatthias Dieter Wallnöfer1-21/+17
2009-10-18s4-torture: fixed the streams tests for Samba4Andrew Tridgell2-40/+46
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-18smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privilegesAndrew Tridgell1-0/+2
2009-10-17Fix the smbtorture4 build. root_fid is a "union smb_handle". tridgeJeremy Allison1-1/+1
please check. Jeremy.
2009-10-17Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison59-646/+16929
2009-10-17s4-torture: fixed the default ACL for s4Andrew Tridgell1-13/+41
s4 returns group and world ACEs in the default acl, based on unix permissions
2009-10-17s4-torture: minor debugging enhancementsAndrew Tridgell1-3/+3
2009-10-17s4-torture: cleanup after the MAXIMUM_ALLOWED testAndrew Tridgell1-0/+1
2009-10-17s4-torture: add a special check for administrators and privilegesAndrew Tridgell4-18/+57
lsa privileges calls don't expand groups. darn.
2009-10-17s4-torture: show the sid we are basing privilege tests onAndrew Tridgell1-2/+6
2009-10-16s4-smbtorture: extend netr_LogonControl test in RPC-NETLOGON.Günther Deschner1-3/+109
Guenther
2009-10-16s4/drs(tort): prefixMap unit test initial implementatoinKamen Mazdrashki3-1/+84
2009-10-16s4/drs(tort): fix compile time warningKamen Mazdrashki1-0/+1
2009-10-16s4/drs(tort): _drs_util_verify_attids() to verify ATTIDs in objects receivedKamen Mazdrashki1-0/+50
2009-10-16s4/drs(tort): drs_util_DsAttributeId_to_string() functionKamen Mazdrashki1-0/+74
2009-10-16s4/drs(tort): _drs_ldap_attr_by_oid() implementationKamen Mazdrashki1-0/+49
Utility function to be used to fetch Attribute name and DN giving attribute OID
2009-10-16s4/drs(tort): oid_from_attid() reference implementationKamen Mazdrashki2-1/+96
Decode Attribute OID using prefixMap and ATTID received during replication Based on MS documentation. See MS-DRSR.pdf - 5.16.4
2009-10-16s4/drs(tort): TORTURE_DRS torture module - initial implementationKamen Mazdrashki4-0/+95
Drsuapi tests module registers two suites: - DRS-RPC - tests to be executed against remote machine - DRS-UNIT - unit test for internal testing
2009-10-16s4-smbtorture: add very basic libwbclient testsuite.Günther Deschner2-2/+3
Guenther
2009-10-16s4-torture: take privileges into account in BASE-MAXIMUM_ALLOWEDAndrew Tridgell1-10/+48
The correct answer depends on the users privileges.
2009-10-15s4-torture: catch bad command line optionsAndrew Tridgell1-0/+3
It is annoying when you mistype a command line option and aren't told.
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell21-128/+128
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
2009-10-15s4-ldb: removed incorrect rDN length testAndrew Tridgell1-13/+0
This is a property of AD, not ldb, so should be in our ldb modules.
2009-10-14s4:torture cldap test - Add checks for the right forest DNS nameMatthias Dieter Wallnöfer1-1/+6
2009-10-14s4:torture - fix up "ldap_basic" testMatthias Dieter Wallnöfer1-5/+6
2009-10-14s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where neededMatthias Dieter Wallnöfer3-6/+5
For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way.