summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell2009-10-235-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.
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-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
* s4-torture: fixed double free in libnet_group testAndrew Tridgell2009-10-221-1/+0
|
* s4:torture Silence const warning by use of data_blob_const()Andrew Bartlett2009-10-221-2/+1
| | | | | | This was inspired by one of mdw's const patches Andrew Bartlett
* s4:smbtorture - Add "const" before "value"Matthias Dieter Wallnöfer2009-10-221-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): Unit test for prefixMap implementation.Kamen Mazdrashki2009-10-211-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()
* s4/drs(tort): Comment typos fixed in drs_util.cKamen Mazdrashki2009-10-211-2/+2
|
* s4/drs(tort): fixed '==' to '>='Kamen Mazdrashki2009-10-211-1/+1
| | | | | ATTID is marked as partial by adding 32768. Thus the check should be '>= 32768'
* s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up ↵Günther Deschner2009-10-211-6/+45
| | | | | | a client. Guenther
* s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.Günther Deschner2009-10-201-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
* s4-smbtorture: Make it simpler to specify number of trusted domains to create inGünther Deschner2009-10-201-17/+40
| | | | | | RPC-LSA-TRUSTED-DOMAINS. Guenther
* s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.Günther Deschner2009-10-201-1/+1
| | | | Guenther
* s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.Günther Deschner2009-10-201-2/+27
| | | | Guenther
* s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.Günther Deschner2009-10-201-3/+13
| | | | Guenther
* s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.Günther Deschner2009-10-201-7/+8
| | | | Guenther
* s4-torture: fixed a pipe leakAndrew Tridgell2009-10-201-0/+2
| | | | | The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an overallocation of fd's on the server
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-20124-274/+0
| | | | This reduces compile time somewhat.
* s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS testAndrew Tridgell2009-10-201-7/+12
| | | | | This test left a large number of lsa pipes open, which could trigger the server running out of fds
* s4:torture "cldap" test - restore the removed constraints and add moreMatthias Dieter Wallnöfer2009-10-191-4/+34
| | | | | Consider for description the post on the technical mailing list. I hope that this satisfies abartlet again.
* s4:test: Fix typo.Karolin Seeger2009-10-191-1/+1
| | | | Karolin
* Fix typo.Karolin Seeger2009-10-191-1/+1
| | | | | | privilage -> privilege Karolin
* s4:torture "cldap" test - rework and test more resultsMatthias Dieter Wallnöfer2009-10-181-21/+17
|
* s4-torture: fixed the streams tests for Samba4Andrew Tridgell2009-10-182-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.
* smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privilegesAndrew Tridgell2009-10-181-0/+2
|
* Fix the smbtorture4 build. root_fid is a "union smb_handle". tridgeJeremy Allison2009-10-171-1/+1
| | | | | please check. Jeremy.
* Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2009-10-1759-646/+16929
|\
| * s4-torture: fixed the default ACL for s4Andrew Tridgell2009-10-171-13/+41
| | | | | | | | | | s4 returns group and world ACEs in the default acl, based on unix permissions
| * s4-torture: minor debugging enhancementsAndrew Tridgell2009-10-171-3/+3
| |
| * s4-torture: cleanup after the MAXIMUM_ALLOWED testAndrew Tridgell2009-10-171-0/+1
| |
| * s4-torture: add a special check for administrators and privilegesAndrew Tridgell2009-10-174-18/+57
| | | | | | | | lsa privileges calls don't expand groups. darn.
| * s4-torture: show the sid we are basing privilege tests onAndrew Tridgell2009-10-171-2/+6
| |
| * s4-smbtorture: extend netr_LogonControl test in RPC-NETLOGON.Günther Deschner2009-10-161-3/+109
| | | | | | | | Guenther
| * s4/drs(tort): prefixMap unit test initial implementatoinKamen Mazdrashki2009-10-163-1/+84
| |
| * s4/drs(tort): fix compile time warningKamen Mazdrashki2009-10-161-0/+1
| |
| * s4/drs(tort): _drs_util_verify_attids() to verify ATTIDs in objects receivedKamen Mazdrashki2009-10-161-0/+50
| |
| * s4/drs(tort): drs_util_DsAttributeId_to_string() functionKamen Mazdrashki2009-10-161-0/+74
| |
| * s4/drs(tort): _drs_ldap_attr_by_oid() implementationKamen Mazdrashki2009-10-161-0/+49
| | | | | | | | | | Utility function to be used to fetch Attribute name and DN giving attribute OID
| * s4/drs(tort): oid_from_attid() reference implementationKamen Mazdrashki2009-10-162-1/+96
| | | | | | | | | | | | | | Decode Attribute OID using prefixMap and ATTID received during replication Based on MS documentation. See MS-DRSR.pdf - 5.16.4
| * s4/drs(tort): TORTURE_DRS torture module - initial implementationKamen Mazdrashki2009-10-164-0/+95
| | | | | | | | | | | | Drsuapi tests module registers two suites: - DRS-RPC - tests to be executed against remote machine - DRS-UNIT - unit test for internal testing
| * s4-smbtorture: add very basic libwbclient testsuite.Günther Deschner2009-10-162-2/+3
| | | | | | | | Guenther
| * s4-torture: take privileges into account in BASE-MAXIMUM_ALLOWEDAndrew Tridgell2009-10-161-10/+48
| | | | | | | | The correct answer depends on the users privileges.
| * s4-torture: catch bad command line optionsAndrew Tridgell2009-10-151-0/+3
| | | | | | | | It is annoying when you mistype a command line option and aren't told.
| * s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-1521-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.
| * s4-ldb: removed incorrect rDN length testAndrew Tridgell2009-10-151-13/+0
| | | | | | | | | | This is a property of AD, not ldb, so should be in our ldb modules.
| * s4:torture cldap test - Add checks for the right forest DNS nameMatthias Dieter Wallnöfer2009-10-141-1/+6
| |
| * s4:torture - fix up "ldap_basic" testMatthias Dieter Wallnöfer2009-10-141-5/+6
| |
| * s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where neededMatthias Dieter Wallnöfer2009-10-143-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.
| * torture: fixed socket leak in BENCH-TCON testAndrew Tridgell2009-10-121-0/+1
| | | | | | | | | | | | | | The BENCH-TCON test was leaving the socket open. A smbclie_tdis() closes the tree connection, but does not close the socket. This caused the build farm to run out of file descriptors
| * s4/torture: fix build break "implicit declaration of function 'isprint'"Steven Danneman2009-10-091-0/+1
| |
| * Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2009-10-081-27/+27
| |\