summaryrefslogtreecommitdiff
path: root/source4/dsdb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20703: fix minor memory leakStefan Metzmacher1-0/+1
metze (This used to be commit 4012e54ef22fc9a18d4533f6b48530ddc9c67992)
2007-10-10r20682: make the dsdb_extended_replicated_objects_commit() interface a bit ↵Stefan Metzmacher2-37/+18
more useful, so that we can apply the schema partition objects with one call metze (This used to be commit 165ff94b8a89ef4b9145405633ed11ab9567376b)
2007-10-10r20681: implement the DSDB_EXTENDED_REPLICATED_OBJECTS operation.Stefan Metzmacher2-3/+374
the merging of existing objects is not implemented yet... there are a few ifdef REPLMD_FULL_ASYNC because we need to workarouns ldb's async infrastructure (which don't handle full async sub requests nicely) metze (This used to be commit da4ff0e7ccde47b3e092313ba22422350cf50f78)
2007-10-10r20680: prepare the helper functions for applying replicated objectsStefan Metzmacher2-59/+20
to pass all needed info to the repl_meta_data module metze (This used to be commit d5db31cde279cf05bd13bcf0da03767ab3498079)
2007-10-10r20679: make the init_handle stuff a bit easier and get rid of really ugly ↵Stefan Metzmacher1-26/+15
talloc_get_type() usage simo: if you change more modules, please include also this change metze (This used to be commit 88051a82c4918ba8183e0d6909161b2af2109446)
2007-10-10r20629: add a wrapper function for ldb_extended(ldb, ↵Stefan Metzmacher3-1/+311
DSDB_EXTENDED_REPLICATED_OBJECTS_OID, out, &ext_res); which prepares the replicated objects, the repl_meta_data ldb module will then add the uSNCreated, uSNChanged and some other things and will apply the objects to the partition specific ldb metze (This used to be commit 48d568a75b8109807af29f5d9604240c20c1a116)
2007-10-10r20622: Add in a hack to avoid permitting searches on the value of protectedAndrew Bartlett1-1/+23
attributes. Andrew Bartlett (This used to be commit 5aa2195ec26d9ddf82e51f2b242cdf7c8ab52f52)
2007-10-10r20599: - forward extended operations in the partitions moduleStefan Metzmacher2-3/+47
- by default the operations goes to all partitions - but some wellkown ones will go to just one partition (DSDB_EXTENDED_REPLICATED_OBJECTS_OID for now) I'll soon change the partitions module so that it'll attach a DSDB_CONTROL_PARTITION_CONTEXT_OID control to give the repl_meta_data or other partition specific modules a chance to to know for which partition it should work. metze (This used to be commit 0ed53c6d0f4a4e43ff9c8943730eeb57c735201b)
2007-10-10r20587: prepare the DSDB_EXTENDED_REPLICATED_OBJECTS_OID handlingStefan Metzmacher2-0/+21
metze (This used to be commit ef3b325db060d43a7c2e058f6b8914b5867cd321)
2007-10-10r20580: pass the DSDB_CONTROL_REPLICATED_OBJECT_OID with the ldb_add requestStefan Metzmacher3-17/+88
when applying replicated objects. the samldb module ignores such requests now... and the repl_meta_data module has different functions for the replicated and originating cases... metze (This used to be commit a4d5e0126cfd6135ab829f4984269e265a868a28)
2007-10-10r20576: add functions to get and set dsdb_schema on the ldb contextStefan Metzmacher1-0/+34
metze (This used to be commit 2e054be8e023e23420e7ddd8cd73497400a875f9)
2007-10-10r20529: very, very ugly...Stefan Metzmacher2-5/+5
But this is currently needed to make regpatch linking in the dsdb/schema/schema_*.o object files. the problem is that the linker doesn't find any references to public symbols in this files and removes them from the link list. gnu ld has a --whole-archive option, but it seems to be not portable... I think the solution with prelinking using 'ld -r' to create one object file for a subsystem instead of using 'ar -rcs' to create an archive for a subsystem... jelmer: any ideas about this problem? metze (This used to be commit 46df7ff6e5e74eddcb81b5a195e82688d83afaf4)
2007-10-10r20523: match the lDAPDisplayName case insensitiveStefan Metzmacher1-2/+2
metze (This used to be commit c32ec0a10041dba50be23611f25e4aae8c45830c)
2007-10-10r20522: make a copy of the objectguid ldb module because:Stefan Metzmacher2-0/+275
- I'll add handling of replication meta data to it for orginating changes - I'll pass replication meta data via a ldb control for applying replicated changes - It will also update the replUpToDateVector attribute in in root object of the partition - It will handle deleted records by adding the isDeleted=TRUE attribute and move them to the CN=Deleted Objects container of the partition - I make a copy to play with the code without breaking the LDAP backend setup metze (This used to be commit 045ddfe1ec626fab5e8fd75c5b47f0525b7ebb01)
2007-10-10r20504: we handle the attribute values always as DATA_BLOB's andStefan Metzmacher2-168/+168
don't need the union with the attribute id as switch anymore metze (This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10r20492: Add in instructions/sample LDIF to setup Fedora DS as a backend.Andrew Bartlett1-1/+249
Add a new module entrypoint to handle the new, interesting and different mappings required for Fedora DS. Andrew Bartlett (This used to be commit 600c7f1a68c175b835ce45d13794a6f66bcc8493)
2007-10-10r20484: get rid of the special case for DN stringsStefan Metzmacher2-16/+29
metze (This used to be commit 4c2addf2dd5b74fa0026249ce373ff4becaaef40)
2007-10-10r20477: get rid of the spcial case for unicode stringsStefan Metzmacher2-17/+22
metze (This used to be commit ececda44c74ae4ccbaa0492acb67a88aa5c05126)
2007-10-10r20476: get rid of extra case for uint32 valuesStefan Metzmacher2-19/+16
metze (This used to be commit 13ccd405b5dbb595e5ab67879260462e5a767a8b)
2007-10-10r20475: remove special case for GUID valuesStefan Metzmacher2-14/+16
metze (This used to be commit b7ab1c0039cd8000861cd89ca072d9d2b0bbf9de)
2007-10-10r20473: remove special case for boolean valuesStefan Metzmacher2-14/+13
metze (This used to be commit 8d80629c5dde44a06b597e1247ec96ef1cd3f2e1)
2007-10-10r20472: add a comment for Object(Replica-Link), it's not clear thatStefan Metzmacher1-0/+6
the DATA_BLOB conversation functions are correct here... metze (This used to be commit 56e17f4c0cf2edab732658ab190723299850e2cd)
2007-10-10r20471: implement conversation functions for PRESENTATION_ADDRESS attribute ↵Stefan Metzmacher1-3/+102
syntax metze (This used to be commit 49e6e88778785ba33042c5d4f6bcdfbd27275083)
2007-10-10r20469: w2k3 handles String(Numeric), String(Printable), String(Teletex) and ↵Stefan Metzmacher1-11/+9
String(IA5) as byte arrays without any constraints on the used bytes. Only the rangeLower,rangeUpper constraints may reject invalid values I have tested the following values: internationalISDNNumber:1 => String(Numeric) [000] E2 82 AC E2 82 AC E2 82 AC E2 82 AC E2 82 AC 31 ........ .......1 displayNamePrintable:1 => String(Printable) [000] 68 65 6C 6F C3 B6 6C 6B 6A C3 B6 6C 6B 6A C3 B6 helo..lk j..lkj.. [010] 6C 6B 6A C3 B6 6C 6B 6A C3 B6 6C 6B 6A C3 B6 6C lkj..lkj ..lkj..l [020] 6B 6A C3 B6 6C 6B 6A C3 B6 6C 6B 6A C3 B6 6C 6B kj..lkj. .lkj..lk [030] 6A C3 B6 6C 6B 6A C3 B6 6C 6B 6A C3 B6 6B 6A C3 j..lkj.. lkj..kj. [040] B6 6C 6B 6A C3 B6 6A 38 37 70 6F 38 36 6F 37 36 .lkj..j8 7po86o76 [050] 34 65 64 74 7A 68 6F 69 6A 7A 6F 69 7A 6F 69 38 4edtzhoi jzoizoi8 [060] 69 37 36 72 35 75 66 75 35 72 i76r5ufu 5r networkAddress:1 => String(Teletex) [000] 61 02 63 04 66 67 00 68 69 a.c.fg.h i msRADIUSCallbackNumber:1 => String(IA5) [000] 61 02 63 04 66 67 00 68 69 a.c.fg.h i metze (This used to be commit 4aa96d287e9b834f1f6cc95cf2b6a98c0a8eefc0)
2007-10-10r20466: I removed the _all only for tests and forgot to revert itStefan Metzmacher1-1/+1
metze (This used to be commit 5a15c2748847e0b82e0fd4945c37d21025fad273)
2007-10-10r20463: implement conversation of NTTIME_UTC attribute syntaxStefan Metzmacher1-3/+95
Note: if we'll store the UTCTime string in our ldb we'll loose information... metze (This used to be commit cc1798f85bb52b2b2fb8971e4cd5d6153e58a3c7)
2007-10-10r20461: this attribute syntaxes are not used for any attribute definitions ↵Stefan Metzmacher1-5/+5
in the w2k3 schema metze (This used to be commit ef477b314b09bac16c8da93700a0f952f632a2ea)
2007-10-10r20460: Simplfy the handling of password hashes in the samba3sam module.Andrew Bartlett1-7/+3
Andrew Bartlett (This used to be commit 2959b4ba8bb5764ea654ae7b152284a4e02405ab)
2007-10-10r20455: Apply some of the patches from Martin Kuehl <kuehl@univention.de> toAndrew Bartlett2-66/+116
better handle the Samba3 backend. I've refactored the password format patch to use the routines in lib/samba3/smbpasswd.c, which has required me to move this into a seperate subsystem, due to recursive dependencies. Andrew Bartlett (This used to be commit 14e2c877a82d1fcf060455f9b46de5767b71438d)
2007-10-10r20453: add conversation for the DN_BINARY attribute syntaxStefan Metzmacher1-2/+100
the ldb_to_drsuapi version need to be completed, but it's currently not used... metze (This used to be commit 9b31e8c1f73aaf71522e33174c8c5415a95ac626)
2007-10-10r20452: add conversation for DN strings.Stefan Metzmacher1-3/+103
TODO: we need to implement linked attributes here, and keep the guid and sid metze (This used to be commit 72d059e8ca5e0b4708e2a62688592813d0482c82)
2007-10-10r20450: implement conversation of unicode stringsStefan Metzmacher1-2/+97
metze (This used to be commit 6383e56be88898bf533cc2476ab9e533b2cb0eec)
2007-10-10r20441: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit 44d09e37082a4584040d0acf36109f221a96b184)
2007-10-10r20440: some OID syntax attributes need special handlingStefan Metzmacher1-7/+94
metze (This used to be commit 0ce5a3471a6a4e7dfc2eab1ae69964a8c5bb0aea)
2007-10-10r20439: this should be const pointersStefan Metzmacher1-2/+2
metze (This used to be commit 1313b4774542fe5a0013d501225d5b4e8d585128)
2007-10-10r20437: add conversation function for OID'sStefan Metzmacher1-2/+94
metze (This used to be commit 76ae50389d9bd2e8fc58ec5914544a865b1b8969)
2007-10-10r20435: implement the syntax conversation functions for most of the ↵Stefan Metzmacher1-19/+460
attribute syntaxes metze (This used to be commit d704c3fca819b042cec50141d25dd2d6a8356418)
2007-10-10r20425: a w2k3 forest doesn't have objects with attribute valuesStefan Metzmacher1-0/+10
using the following attribute syntaxes by default: String(Numeric) String(Printable) String(Teletex) String(IA5) String(UTC-Time) String(Case Sensitive) Object(OR-Name) Object(Access-Point) Object(DN-String) metze (This used to be commit c10e1487708003d5a6c06b1547ce46ed4e4b0fe7)
2007-10-10r20420: create infrastructure to convert attribute values from drsuapi to ldbStefan Metzmacher3-0/+111
metze (This used to be commit 17c52ed27613051beecd5bbf72c6e6e749a21d27)
2007-10-10r20416: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit bfb0c04dffdff62a6535aa31b888db636ac2f8d5)
2007-10-10r20415: add a function to get the lDAPDisplayName for an objectClassStefan Metzmacher1-0/+20
or attribute metze (This used to be commit 437db390795be8d6a375f2d44240b66d4406e148)
2007-10-10r20410: add functions to access dsdb_attributes and dsdb_classes by oid, ↵Stefan Metzmacher1-0/+110
uint32_id or ldap name they will be optimized uing binary searches later... metze (This used to be commit e6a24c2172009b0225fa189b7107217838d286d3)
2007-10-10r20409: load the attribute syntax for the attributeStefan Metzmacher1-0/+10
metze (This used to be commit d042aac3f72ab2022479bee48e49a0ab289315f5)
2007-10-10r20408: fix cut'n'paste errorStefan Metzmacher1-1/+1
metze (This used to be commit af78a86d2cf0f05a048c5dfd86ea21c92a9d75b0)
2007-10-10r20407: the oMObjectClass values are not padded to 10 bytes!Stefan Metzmacher1-14/+9
metze (This used to be commit f860dd2dca391edf55975d582dda0c1d01ddb6e3)
2007-10-10r20405: add an array with attribute syntexesStefan Metzmacher3-1/+194
metze (This used to be commit 1a21eb700003db1d7853c9be330b2583db9bff03)
2007-10-10r20398: Revert this patch, which caused failures in the samba3sam.js build ↵Andrew Bartlett1-12/+6
farm test. The interaction of the samldb.c module and this function is complex... Andrew Bartlett (This used to be commit bf7ab75875f722cc8499d24d455a94dd83b986ad)
2007-10-10r20395: Decode more unknowns in the IDL. These are language and codepage IDs!Andrew Bartlett1-0/+1
Try to pass more of the CrackNames test. Make the test quieter. Andrew Bartlett (This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)
2007-10-10r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributesStefan Metzmacher2-18/+18
metze (This used to be commit 5440c0a99fd8dced9020a47af4dbee74df504219)
2007-10-10r20379: - make sure the schema info blob is 21 bytes longStefan Metzmacher1-0/+64
- add a function to verify the incoming mapping and schema info metze (This used to be commit 5f0da4a3ae4eae8a6f14f813a65583cef78e73e4)