summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:cleanups More trailing spaces and tabsSimo Sorce2009-12-236-181/+181
|
* s4:cleanups remove trailing spaces and tabsSimo Sorce2009-12-231-119/+120
|
* s4:ldb Fix declaration in the middle of the codeSimo Sorce2009-12-231-2/+4
|
* s4: Fix the buildSimo Sorce2009-12-231-0/+1
|
* s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodifyMatthieu Patou2009-12-234-1/+90
|
* s4: make ldbadd/ldbmodify/ldbdelete really use the --controls switchMatthieu Patou2009-12-236-9/+230
|
* s4:gensec Don't give a warning when Windows client connects with NTLMAndrew Bartlett2009-12-221-11/+20
| | | | | | | We have had the workaround for a long time, but at the time the log warnings remained. Andrew Bartlett
* s4:auth Change 'get_challenge' API to be more like Samba3Andrew Bartlett2009-12-228-38/+32
| | | | | | | It is just easier to fill in the known to be 8 byte challenge than stuff about with allocated pointers. Andrew Bartlett
* s4:auth generate the prototype file in the right placeAndrew Bartlett2009-12-221-1/+1
|
* Samba4 and LDB requires talloc 2.0.1Andrew Bartlett2009-12-222-2/+2
| | | | reported by ewoud@kohlvanwijngaarden.nl
* s4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19Tim Prouty2009-12-211-0/+171
|
* s4 torture: Update raw oplock to use win7 as the baseline for rename oplock ↵Tim Prouty2009-12-211-13/+66
| | | | break behavior
* s4 torture: Be more permissive with share modes for oplock testingTim Prouty2009-12-211-2/+4
| | | | | | | Share modes are tested elsewhere, and there is currently an outstanding issue about share mode contention for nt-passthrough levels: http://lists.samba.org/archive/cifs-protocol/2009-December/001227.html
* s4 torture: Do a better job of closing open files in RAW-OPLOCK.Tim Prouty2009-12-211-5/+4
|
* param: Fix build on systems without ldb installed.Jelmer Vernooij2009-12-221-1/+1
|
* provision/pyldb: Avoid linking in static python ldb module.Jelmer Vernooij2009-12-214-6/+32
|
* ldb_wrap: Fix compilation when using system ldb.Jelmer Vernooij2009-12-211-1/+1
|
* Fix initialisation of TypeObject samba.param.LoadparmService.Jelmer Vernooij2009-12-212-3/+10
| | | | Found by Ricardo Jorge <rvelhote@gmail.com>.
* s4-schema: fixed the sorting of schema attributesAndrew Tridgell2009-12-211-3/+9
| | | | | another case of unsigned int subtracting breaking sorts. This one surfaced now as attributeID_id now can be larger than 2^31
* s4-torture: update uuid_compare test for new behaviourAndrew Tridgell2009-12-211-2/+11
|
* s4-drs: Implement constraints on ATTID values in prefixMapKamen Mazdrashki2009-12-212-0/+35
| | | | | | Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-tort: Test handling of different ATTID values in prefixMap interface.Kamen Mazdrashki2009-12-211-0/+44
| | | | | | | It turns out ATTID values are separated in ranges. Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Adapted acl module to skip checks if as_system control is provided.Nadezhda Ivanova2009-12-211-7/+17
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Save prefix map using LDB_CONTROL_AS_SYSTEM controlKamen Mazdrashki2009-12-211-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb-util: Execute ldb_request using LDB_CONTROL_AS_SYSTEMKamen Mazdrashki2009-12-211-0/+49
| | | | | | | This function is intended to be used when data needs to be modified skipping access checks. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb-util: Utility function to process ldb_request in transactionKamen Mazdrashki2009-12-211-0/+26
| | | | | | | This function is to be used later for manually crafted ldb_requests from within dsdb layer Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-schema: Implement msDS-IntId attribute generationKamen Mazdrashki2009-12-211-14/+133
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-schema: Constraints on msDS-IntId attributeKamen Mazdrashki2009-12-211-0/+27
| | | | | | | | This attribute can not be modified on existing schema object. msDS-IntId is not allowed during attribute creation also. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-schema: Set ATTID in schema cache from "msDS-IntId"Kamen Mazdrashki2009-12-211-8/+13
| | | | | | | | | According to http://msdn.microsoft.com/en-us/library/cc223224%28PROT.13%29.aspx some Attributes OIDs may not use prefixMap. Setting ATTID in Schema Cache here should work, although this code snippet should be moved in separate function. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Revert "s4-drs: cope with bogus empty attributes from w2k8-r2"Kamen Mazdrashki2009-12-211-17/+0
| | | | | | | | This reverts commit 1287c1d115fb7e8f3954bc05ff65007968403a9c. Next patch should fix the "not recognized ATTIDs" problem Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-tort: Tests for "msDS-IntId" attribute implementedKamen Mazdrashki2009-12-211-2/+281
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-tort: Move Schema tests from ldap.py into separate moduleKamen Mazdrashki2009-12-213-133/+222
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Fix bug - prefixMap is not updated when adding new OIDs.Kamen Mazdrashki2009-12-211-2/+1
| | | | | | | | The bug is that prefixMap is updated only memory when adding new Classs/Attribute that has and OID not in prefixMap already. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drstest: Don't remove temp LDB so it can be reviewed if necessaryKamen Mazdrashki2009-12-211-1/+0
| | | | | | | This test makes temp directory which is not removed so why not just leave LDB also. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-repl: give a reason why the prepare commit failedAndrew Tridgell2009-12-211-1/+2
|
* s4-kcc: don't crash with a NULL ntds connection listAndrew Tridgell2009-12-211-3/+3
|
* s4-repl: only try to replicate for NCs that we are a master forAndrew Tridgell2009-12-211-4/+3
|
* s4-torture: another unsigned comparison bugAndrew Tridgell2009-12-211-1/+1
|
* s4-schema: a unsigned comparison bug in the schema codeAndrew Tridgell2009-12-211-1/+2
|
* s4-drs: another two unsigned comparison bugsAndrew Tridgell2009-12-211-3/+5
|
* s4-repl: lower debug level of a common messageAndrew Tridgell2009-12-211-1/+1
|
* s4-dsdb: don't use a non-constant format string for a printf formatAndrew Tridgell2009-12-211-10/+3
|
* s4-dsdb: added DSDB_MODIFY_RELAX flag to the dsdb_module_*() callsAndrew Tridgell2009-12-212-0/+8
|
* s4-dsdb: added dsdb_get_extended_dn_uint64()Andrew Tridgell2009-12-211-3/+11
|
* s4-dsdb: use varargs expression in dsdb_module_search()Andrew Tridgell2009-12-211-1/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added two new dsdb_get_extended_dn_*() helper functionsAndrew Tridgell2009-12-211-0/+43
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: added a note about where invocationIDs come fromAndrew Tridgell2009-12-211-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: give us an invocationID when in standalone modeAndrew Tridgell2009-12-211-1/+79
| | | | | | | | | To allow us to use the repl_meta_data module in standalone mode (and thus not have two module stacks to test), we need a invocationID stored somewhere when standalone. This creates a random one, and stores it in @SAMBA_DSDB. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:kdc: setup the local and remote tsocket_address at accept timeStefan Metzmacher2009-12-191-44/+49
| | | | metze
* s4:kdc: convert UDP based communication to tdgram_contextStefan Metzmacher2009-12-192-177/+138
| | | | metze