summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-21s3-docs: not working for SuSE anymore...Günther Deschner1-2/+2
Guenther
2009-12-21s3: Shrink winbindd_proto.h a bitVolker Lendecke1-71/+0
2009-12-21s3: Fix some nonempty blank linesVolker Lendecke2-14/+14
2009-12-21s3: Remove unused get_sam_group_entriesVolker Lendecke2-136/+0
2009-12-21s3: Remove unused winbindd_dual_getsidaliasesVolker Lendecke3-93/+0
2009-12-21s3: Remove an unused struct definitionVolker Lendecke1-20/+0
2009-12-21s3: Remove unused winbindd_dual_getuserdomgroupsVolker Lendecke3-52/+0
2009-12-21s3: Remove unused winbindd_dual_getdcnameVolker Lendecke3-78/+0
2009-12-21s3: Remove unused winbindd_dual_lookupnameVolker Lendecke3-46/+0
2009-12-21s3: Remove unused winbindd_dual_lookupsidVolker Lendecke3-46/+0
2009-12-21s3: Remove unused winbindd_dual_userinfoVolker Lendecke3-78/+0
2009-12-21s3: Remove some unused dual functionsVolker Lendecke2-125/+0
2009-12-21s3: Remove unused do_asyncVolker Lendecke3-75/+0
2009-12-21s3: Remove unused winbindd_gid2sid_asyncVolker Lendecke2-48/+0
2009-12-21s3: Remove unused winbindd_uid2sid_asyncVolker Lendecke2-51/+0
2009-12-21s3: Remove unused winbindd_sid2gid_asyncVolker Lendecke2-49/+0
2009-12-21s3: Remove unused winbindd_sid2uid_asyncVolker Lendecke2-57/+0
2009-12-21s3: Remove unused do_async_domainVolker Lendecke1-27/+0
2009-12-21s3: Remove unused query_user_asyncVolker Lendecke2-59/+0
2009-12-21s3: Remove unused winbindd_getsidaliases_asyncVolker Lendecke2-80/+0
2009-12-21s3: Remove unused winbindd_lookupname_asyncVolker Lendecke2-157/+0
2009-12-21s3: Remove unused winbindd_lookupsid_asyncVolker Lendecke2-119/+0
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-21librpc: fixed the GUID_compare() functionAndrew Tridgell1-5/+5
When comparing two unsigned values you can't just subtract them. Imagine you are comparing: "uint32_t u1" and "uint32_t u2". If you use "u1 - u2" and u2 is zero, then the signed integer result will depend on the top bit of u1. This error occurs in a few places in Samba. For DRS replication it resulted in corrupt uptodateness vectors.
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
2009-12-21s4-dsdb: added dsdb_get_extended_dn_uint64()Andrew Tridgell1-3/+11
2009-12-21s4-dsdb: use varargs expression in dsdb_module_search()Andrew Tridgell1-1/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>