summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | s4:schema Don't rely on objectCategory 'magic' when loading the schemaAndrew Bartlett2009-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The short-to-long name canonicalisation rules use the schema, so clearly they won't work when loading it. Andrew Bartlett
| * | | | | | s4:provision load_schema in provision.py no longer takes a hostnameAndrew Bartlett2009-03-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was missed in the earlier work to use this in provision-backend Andrew Bartlett
| * | | | | | Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schemaAndrew Bartlett2009-03-115-11/+228
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schemaAndrew Bartlett2009-03-087-35/+113
| |\ \ \ \ \ \ \
| * | | | | | | | Load the schema with a more efficient single searchAndrew Bartlett2009-03-061-93/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This search uses the index, and is not recursive, so should avoid the major performance problem with the current sorted schema load. The ad2oLschema code (recently moved to provision-backend) no longer needs the schema to be sorted. Andrew Bartlett
| * | | | | | | | Load the schema for provision-backend in a transactionAndrew Bartlett2009-03-061-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loading data in a transaction is faster than without. Andrew Bartlett
| * | | | | | | | Sort output of schema for OpenLDAP during conversionAndrew Bartlett2009-03-061-98/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids the need to assume that the schema is sorted on load, which happens more often and is a major performace issue in the Samba4's use of ldb. Andrew Bartlett
| * | | | | | | | Allow ms_schema.py to produce output much like minschema_wsppSreepathi Pai2009-03-051-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've patched the new ms_schema.py (which was intended to be used as a library) to function as minschema_wspp if invoked standalone. Although this is less robust than minschema_wspp on incorrect data, having two programs doing the same thing might not be good idea. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
| * | | | | | | | Remove ad2oLschema, insted call it directly from provision-backendAndrew Bartlett2009-03-057-225/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes a level of indirection via external binaries in the provision-backend code, and also makes better use of our internal code for loading schema from an LDIF file. Remaining to do: Sort the output again, as the load from LDIF is unsorted (also needed because the normal LDB load from sorted input is too slow anyway, and is only needed here). Andrew Bartlett
| * | | | | | | | Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schemaAndrew Bartlett2009-03-0558-292/+718
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Add the new, updated AD schema file from MicrosoftAndrew Bartlett2009-02-254-1623/+1585
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove the copy of the licence text from licence.txt, to ensure we don't get variations between the copies. Andrew Bartlett
| * | | | | | | | | Don't parse the schema data twiceAndrew Bartlett2009-02-251-12/+8
| | | | | | | | | |
| * | | | | | | | | Tolerate more whitespace errorsAndrew Bartlett2009-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to trim trailing spaces in the Microsoft-supplied schema. Andrew Bartlett
| * | | | | | | | | Create schema.ldif at runtime directly from ad-schema filesSreepathi Pai2009-02-252-5/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here's a first attempt at moving the minschema_wspp code into a library as Andrew requested. Since this script no longer has to generate CN=aggregate, I've simplified it quite a bit to a level where it almost does a line-by-line translation. This is faster and simpler, but it may not catch as many errors in the ad-schema files as the previous versions did. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* | | | | | | | | | s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.Günther Deschner2009-04-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther
* | | | | | | | | | s4-smbtorture: Small fix for RPC-SPOOLSS-WIN to deal with driver-less printers.Günther Deschner2009-04-081-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The getdriver query failure should only be critical when there is actually a driver associated to a printer. Guenther
* | | | | | | | | | svcctl: use offered/needed for buffer sizes as in spoolss.Günther Deschner2009-04-081-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther
* | | | | | | | | | Improve formatting in Python file.Jelmer Vernooij2009-04-061-0/+5
| | | | | | | | | |
* | | | | | | | | | Make valid_netbios_name() check a bit stricter.Jelmer Vernooij2009-04-062-2/+16
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | s4 torture: Addition to RAW-BENCH-LOCK to take a configurable number of ↵Zack Kirsch2009-04-011-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locks before starting the test This can be useful for benchmarking as well as stress testing.
* | | | | | | | | s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman2009-04-013-8/+8
| | | | | | | | |
* | | | | | | | | s4 torture: Remove unused parameterTim Prouty2009-04-011-14/+7
| | | | | | | | |
* | | | | | | | | s4 torture: Add new streams oplock testTim Prouty2009-04-011-0/+176
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | s4:torture/smb2: Add torture tests for lease breaks, durable opens.Zach Loafman2009-04-012-136/+988
| | | | | | | |
* | | | | | | | s4:smb2: Add lease break support for SMB2.1Zach Loafman2009-04-016-12/+167
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Add the structures and marshalling for the lease break variants of the oplock break / oplock break ack messages.
* | | | | | | change ldb version number (as ldb_module structure has changed)Andrew Tridgell2009-03-312-2/+2
| | | | | | |
* | | | | | | use the prepare_commit op in the partition codeAndrew Tridgell2009-03-311-14/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes multi-partition ldb's much safer
* | | | | | | added support for a prepare_commit() op in ldb modulesAndrew Tridgell2009-03-316-5/+36
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | This op will be used by the partition module to give us good transaction semantics across the 4 partitions that sam.ldb uses.
* | | | | | s4:torture/smb2: Add torture tests for leases.Zach Loafman2009-03-283-0/+298
| | | | | |
* | | | | | s4:smb2: Add rudimentary SMB2.1 lease support to libcliZach Loafman2009-03-283-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | Add the structures, constants, and marshalling for SMB2.1 leases.
* | | | | | s4:torture/smb2: fix compiler warnings and bugsStefan Metzmacher2009-03-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | metze
* | | | | | s4:torture/smb2: fix the buildStefan Metzmacher2009-03-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We move prototypes of _PUBLIC_ functions into /dev/null, as we want public function to have handwritten prototypes. see proto_header_template in build/make/templates.mk... metze
* | | | | | s4:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONSStefan Metzmacher2009-03-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | metze
* | | | | | Add durable open / oplock interaction test. Rather than give it a chance to ↵Zach Loafman2009-03-261-3/+109
| | | | | | | | | | | | | | | | | | | | | | | | disconnect, Win7 will break a batch oplock immediately on contention.
* | | | | | Reorganize old persistent_handles test into durable_open.c, turn it into a ↵Zach Loafman2009-03-263-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | suite instead of a solo test (in anticipation of more tests).
* | | | | | Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-03-2710-16/+38
|\ \ \ \ \ \
| * | | | | | configure: Use m4 defines for minimum library versions rather than shellJelmer Vernooij2009-03-262-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variables, so the values rather than the variable names show up in configure output.
| * | | | | | Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2009-03-266-45/+153
| |\ \ \ \ \ \
| | * | | | | | s4:heimdal_build: provide heimdal_version and heimdal_long_version symbolsStefan Metzmacher2009-03-262-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | metze
| | * | | | | | s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and ↵Stefan Metzmacher2009-03-261-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_MKSTEMP metze
| | * | | | | | s4:kdc: use krb5_data_free()Stefan Metzmacher2009-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | metze
| | * | | | | | s4:auth/credentials: use krb5_data_free()Stefan Metzmacher2009-03-261-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | metze
| | * | | | | | s4:auth/credentials: include gssapi/gssapi_krb5.hStefan Metzmacher2009-03-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | metze
| * | | | | | | display_sec: Move to common libcli/security directory.Jelmer Vernooij2009-03-251-2/+0
| | | | | | | |
| * | | | | | | Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2009-03-2511-339/+225
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2009-03-2039-1340/+868
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Strip /usr/include from include flags, so we don't end up includingJelmer Vernooij2009-03-152-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the system tevent if it's too old.
* | | | | | | | | | added a --wspp optionAndrew Tridgell2009-03-271-4/+7
| |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding --wspp to possibleInferiors.py forces it to use the WSPP documented algorithm, which doesn't match windows behaviour
* | | | | | | | | fixed possibleinferiors.py so it matches windows behaviourAndrew Tridgell2009-03-261-39/+127
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test code builds the possibleInferiors for every class in the schema on a target machine, and compares it to the servers possibleInferiors attribute. The MS-ADTS spec describes how to calculate possibleInferiors for a object, but it seems to have some bugs. The spec says that we need to use AUXCLASSES, and it does not mention the use of the SUBCLASS tree. In trying to match windows behaviour, I found that I needed to ignore the AUXCLASSES and build a SUBCLASSES tree.
* | | | | | | | s4-install: add new location of generated dcerpc headers to headermap file.Günther Deschner2009-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther