summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-12-24s4:auth: change auth_check_password_send/recv to tevent_reqStefan Metzmacher4-126/+169
metze
2009-12-24s4:gensec: change gensec_update_send/recv to tevent_reqStefan Metzmacher5-68/+110
metze
2009-12-24s4:kdc: use the remote and local address from the stream_connection structStefan Metzmacher1-41/+2
metze
2009-12-24s4:smbd: hold tsocket_addresses on the stream_connectionStefan Metzmacher3-10/+27
metze
2009-12-24s4:smb_server: fix mixing socket_address and tsocket_addressStefan Metzmacher1-6/+9
metze
2009-12-24s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address ↵Stefan Metzmacher2-0/+32
instead of a socket_address metze
2009-12-24s4:lib/socket: add helpers functions to convert between socket_address and ↵Stefan Metzmacher3-1/+48
tsocket_address metze
2009-12-23s4:cleanups More trailing spaces and tabsSimo Sorce6-181/+181
2009-12-23s4:cleanups remove trailing spaces and tabsSimo Sorce1-119/+120
2009-12-23s4:ldb Fix declaration in the middle of the codeSimo Sorce1-2/+4
2009-12-23s4: Fix the buildSimo Sorce1-0/+1
2009-12-23s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodifyMatthieu Patou4-1/+90
2009-12-23s4: make ldbadd/ldbmodify/ldbdelete really use the --controls switchMatthieu Patou6-9/+230
2009-12-22s4:gensec Don't give a warning when Windows client connects with NTLMAndrew Bartlett1-11/+20
We have had the workaround for a long time, but at the time the log warnings remained. Andrew Bartlett
2009-12-22s4:auth Change 'get_challenge' API to be more like Samba3Andrew Bartlett8-38/+32
It is just easier to fill in the known to be 8 byte challenge than stuff about with allocated pointers. Andrew Bartlett
2009-12-22s4:auth generate the prototype file in the right placeAndrew Bartlett1-1/+1
2009-12-22Samba4 and LDB requires talloc 2.0.1Andrew Bartlett2-2/+2
reported by ewoud@kohlvanwijngaarden.nl
2009-12-21s4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19Tim Prouty1-0/+171
2009-12-21s4 torture: Update raw oplock to use win7 as the baseline for rename oplock ↵Tim Prouty1-13/+66
break behavior
2009-12-21s4 torture: Be more permissive with share modes for oplock testingTim Prouty1-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
2009-12-21s4 torture: Do a better job of closing open files in RAW-OPLOCK.Tim Prouty1-5/+4
2009-12-22param: Fix build on systems without ldb installed.Jelmer Vernooij1-1/+1
2009-12-21provision/pyldb: Avoid linking in static python ldb module.Jelmer Vernooij4-6/+32
2009-12-21ldb_wrap: Fix compilation when using system ldb.Jelmer Vernooij1-1/+1
2009-12-21Fix initialisation of TypeObject samba.param.LoadparmService.Jelmer Vernooij2-3/+10
Found by Ricardo Jorge <rvelhote@gmail.com>.
2009-12-21s4-schema: fixed the sorting of schema attributesAndrew Tridgell1-3/+9
another case of unsigned int subtracting breaking sorts. This one surfaced now as attributeID_id now can be larger than 2^31
2009-12-21s4-torture: update uuid_compare test for new behaviourAndrew Tridgell1-2/+11
2009-12-21s4-drs: Implement constraints on ATTID values in prefixMapKamen Mazdrashki2-0/+35
Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-tort: Test handling of different ATTID values in prefixMap interface.Kamen Mazdrashki1-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>
2009-12-21Adapted acl module to skip checks if as_system control is provided.Nadezhda Ivanova1-7/+17
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-drs: Save prefix map using LDB_CONTROL_AS_SYSTEM controlKamen Mazdrashki1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-dsdb-util: Execute ldb_request using LDB_CONTROL_AS_SYSTEMKamen Mazdrashki1-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>
2009-12-21s4-dsdb-util: Utility function to process ldb_request in transactionKamen Mazdrashki1-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>
2009-12-21s4-schema: Implement msDS-IntId attribute generationKamen Mazdrashki1-14/+133
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-schema: Constraints on msDS-IntId attributeKamen Mazdrashki1-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>
2009-12-21s4-schema: Set ATTID in schema cache from "msDS-IntId"Kamen Mazdrashki1-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>
2009-12-21Revert "s4-drs: cope with bogus empty attributes from w2k8-r2"Kamen Mazdrashki1-17/+0
This reverts commit 1287c1d115fb7e8f3954bc05ff65007968403a9c. Next patch should fix the "not recognized ATTIDs" problem Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-tort: Tests for "msDS-IntId" attribute implementedKamen Mazdrashki1-2/+281
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-tort: Move Schema tests from ldap.py into separate moduleKamen Mazdrashki3-133/+222
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-drs: Fix bug - prefixMap is not updated when adding new OIDs.Kamen Mazdrashki1-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>
2009-12-21s4-drstest: Don't remove temp LDB so it can be reviewed if necessaryKamen Mazdrashki1-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>
2009-12-21s4-repl: give a reason why the prepare commit failedAndrew Tridgell1-1/+2
2009-12-21s4-kcc: don't crash with a NULL ntds connection listAndrew Tridgell1-3/+3
2009-12-21s4-repl: only try to replicate for NCs that we are a master forAndrew Tridgell1-4/+3
2009-12-21s4-torture: another unsigned comparison bugAndrew Tridgell1-1/+1
2009-12-21s4-schema: a unsigned comparison bug in the schema codeAndrew Tridgell1-1/+2
2009-12-21s4-drs: another two unsigned comparison bugsAndrew Tridgell1-3/+5
2009-12-21s4-repl: lower debug level of a common messageAndrew Tridgell1-1/+1
2009-12-21s4-dsdb: don't use a non-constant format string for a printf formatAndrew Tridgell1-10/+3
2009-12-21s4-dsdb: added DSDB_MODIFY_RELAX flag to the dsdb_module_*() callsAndrew Tridgell2-0/+8