summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:dsdb Add new functions to help modules do an ldb_search()Andrew Bartlett2009-10-125-43/+173
| | | | | | | | | | These take an ldb_module argument, and avoid doing the search from the top of the stack again. (This will help when modules are initialised before being added to the partition set) Andrew Bartlett
* s4:provision Remove all references to samba4LocalDomainAndrew Bartlett2009-10-126-35/+32
| | | | | | | | | This was a bad idea all along, as Simo said at the time. With the full MS schema and enforcement of it, it is an even worse idea. This fixes the provision of the member server in 'make test' Andrew Bartlett
* s4:provision Clarify that we set, rather than modify, objectGUID valuesAndrew Bartlett2009-10-121-6/+6
|
* s4-selftest: don't run benchmarks on the build farm hostsAndrew Tridgell2009-10-121-0/+1
|
* 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
* scripts: handle non-C files in minimal_includes.plAndrew Tridgell2009-10-121-1/+1
|
* s4-drs: make DsBind a bit less verboseAndrew Tridgell2009-10-121-1/+1
|
* 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-084-66/+69
|\
| * s3/s4 - Adapt the IDL changes on various locationsMatthias Dieter Wallnöfer2009-10-084-66/+69
| |
* | Exteded RAW-RENAME test to catch regressions in bug 6781.Jeremy Allison2009-10-071-4/+40
|/ | | | Jeremy.
* s4:ldb - SQLite: port some constraints from the TDB backend also to the ↵Matthias Dieter Wallnöfer2009-10-081-0/+49
| | | | SQLITE one
* s4:subtree_delete - Make the initialisation of the child counter more clearMatthias Dieter Wallnöfer2009-10-081-0/+2
|
* s4:ldap.py - Further enhancementsMatthias Dieter Wallnöfer2009-10-081-6/+236
| | | | | | | | - Enhance test for "distinguishedName" - Add a test for single-valued attributes - Add a test for multi-valued attributes - Add a test for empty messages - Add a test for empty attributes
* s4:ldb - add a check which has to be done on beginning of a "modify" operationMatthias Dieter Wallnöfer2009-10-081-0/+8
|
* s4:ldap server - remove unused error handlingsMatthias Dieter Wallnöfer2009-10-081-35/+0
| | | | | Those error cases should be handled by LDB itself to be available on all connection methods and not only over LDAP.
* s4:ldb_tdb - Rework/VariousMatthias Dieter Wallnöfer2009-10-081-192/+200
| | | | | | - Unify the error handling method with "done" mark in all longer functions - Fix up result codes to match more the real MS AD - Some cosmetic fixups
* s4/torture: Ported SMBv1 RAW-OPEN tests to SMB2-CREATEAravind Srinivasan2009-10-071-1/+573
| | | | | | | | Four tests were ported from raw/open.c One new tests added LEADING-SLASH, which tests that a server provides the proper error when a relative path is given to a CREATE PDU with a leading "/".
* s4/torture: convert all printf to torture_commentsAravind Srinivasan2009-10-071-20/+32
|
* s4/torture: Ported SMBv1 RAW-STREAMS tests to SMB2-STREAMSAravind Srinivasan2009-10-073-1/+1770
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-10-075-4/+9410
|\
| * s4/torture: Add server target of OneFSSteven Danneman2009-10-063-2/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | I've added a "--target=onefs" which lists expected deviation in the OneFS SMB server implementation compared to a Windows machine. I've added this in a generic way using a list of module specific parameters. This list currently only contains the absence of SACL support but will be added to as additional server differences are defined. I'd liked to use this abstraction for defining the differences between a WinXP and Win7 server as well.
| * s4/torture: Add SMB sharemode/access mask testsAravind Srinivasan2009-10-063-0/+9355
| | | | | | | | | | | | | | | | | | | | | | | | | | Test several thousand permutations of create mask and sharemodes on file and directory opens. These tests use a checked-in results table derived from a WinXP server to verify correct server behavior. CREATEX_ACCESS CREATEX_SHAREMODES_FILE CREATEX_SHAREMODES_DIR MAXIMUM_ALLOWED
| * s4/torture: change comments to torture_failuresAravind Srinivasan2009-10-061-2/+4
| | | | | | | | | | This allows the frameworks that wrap smbtorture to detect errors better.
* | s4-drs: fixed a memory error introduced yesterdayAndrew Tridgell2009-10-071-1/+1
|/ | | | ids is retrurned via _ids, so it needs to be on the passed in mem_ctx
* torture: disable the ValidatePassword testAndrew Tridgell2009-10-071-1/+5
| | | | This test causes problems on non-sealed connections against windows
* s4-torture: removed an accidental commit of a local test hackAndrew Tridgell2009-10-071-1/+0
| | | | Sorry about that ....
* s4:various LDB modules - "build_request" functions - propagate result codes backMatthias Dieter Wallnöfer2009-10-067-15/+25
| | | | | | | | | It's very useful to know the exact result code when something fails and not only a generic (by the module) created one. Sure, there are some exception cases with specific results (special message constellations, attributes, values...) which shouldn't be changed at all (examples of them are in the "ldap.py" test). Therefore I looked very carefully to not change them.
* s4:rootdse module - intendation fixupMatthias Dieter Wallnöfer2009-10-061-2/+2
|
* s4:acl module - intendation fix and comment enhancementMatthias Dieter Wallnöfer2009-10-061-1/+2
|
* s4-provision: match win2003 functional levelAndrew Tridgell2009-10-063-4/+4
| | | | | We are now defaulting to win2003 functional level, and see to report the right revisions of our db and schema
* s4-drs: added some debug lines to DsAddEntry()Andrew Tridgell2009-10-061-0/+3
|
* s4-drs: take advantage of system session auth in dsbindAndrew Tridgell2009-10-062-41/+21
| | | | | Now that the bind opens samdb with the right credentials, we no longer need the re-open in updaterefs and getncchanges
* s4-drs: fixed error message for drs_security_level_checkAndrew Tridgell2009-10-061-1/+3
|
* s4-drs: open samdb with system credentials when authorisedAndrew Tridgell2009-10-061-1/+14
| | | | | | When a DC connects to DRS, open the samdb with system session credentials, so that we don't have to re-open it each time on other calls.
* s4-ldb: fixed error on single value errorAndrew Tridgell2009-10-061-1/+1
| | | | | | When you try to add a 2nd value to a single valued attribute you get LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS. w2k8-r2 join to s4 relies on this error, doing a replace after it sees the error
* s4-repl: added RELAX control and fix transactionsAndrew Tridgell2009-10-061-8/+57
| | | | | | Added the RELAX control to dsdb_origin_objects_commit(), as it needs to modify system objects. This patch also fixes the use of ldb transactions in that function, and fixes a memory leak.
* s4:drs-development Scripts to assist testing of DRS replication with ADAndrew Bartlett2009-10-066-0/+143
| | | | | | | | | | | | | | | | These scripts, originally by tridge, allow developers to easily reproduce the same domain join senerio time after time. They need documentation, and the template named.conf and zone files for hosting an AD domain are not provided. However, I hope to have the provision script provide these shortly. They assume a local 'bind' set up to read PREFIX/private/named.conf (as per the provision instructions). Ensure you edit the 'vars' file to match your local setup. Andrew Bartlett
* s4:param Remove duplicate argument to python provisionAndrew Bartlett2009-10-061-2/+0
|
* s4:provision Remove unused parameters from provision scriptsAndrew Bartlett2009-10-061-6/+4
|
* s4-seftest: skip hold.oplock for SMB2 as wellAndrew Tridgell2009-10-061-1/+1
| | | | | This test is not designed to be run automatically. It deliberately blocks forever.
* s4:ldap.py - commented out the UTF8 tests (and fixed some deletion DNs)Matthias Dieter Wallnöfer2009-10-031-10/+12
|
* s4:ldb_tdb - fix memory leaksMatthias Dieter Wallnöfer2009-10-031-7/+12
|
* heimdal kerberos - fix memory leak (free the plugin list always - not only ↵Matthias Dieter Wallnöfer2009-10-031-1/+1
| | | | in error cases)
* s4:objectclass - Free unused memory from responsesMatthias Dieter Wallnöfer2009-10-031-0/+3
|
* s4:schema_inferiors - Fix wrong checkMatthias Dieter Wallnöfer2009-10-031-1/+1
|
* s4:ldb.h - add constant for LDAP EXOP password changeMatthias Dieter Wallnöfer2009-10-031-4/+21
| | | | Also enhance some other comments.
* heimdal - fix various warningsMatthias Dieter Wallnöfer2009-10-037-24/+24
| | | | | | | | | - Shadowed variables - "const" related warnings - Parameter names which shadow function declarations - Non-void functions which have no return value (patch also ported upstream)
* s4:ldap.py - add tests for valid parent and RDNMatthias Dieter Wallnöfer2009-10-031-0/+39
|
* s4:dsdb Use possibleInferiors to restrict creation of child objectsAndrew Bartlett2009-10-031-4/+15
| | | | | | | This also uses systemPossibleInferiors when the 'relax' control is specified, which is done by the provision. Andrew Bartlett