summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ad2oLschema.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-2/+2
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19310: Add another conflicting oidAndrew Bartlett1-2/+2
Cope with there being no attributes to skip in the ad2oLscheam tool Andrew Bartlett (This used to be commit 942d7ad0c3534770ad05977b180e1c8111a5b6a6)
2007-10-10r18596: removed superfluous semicolonAndrew Tridgell1-1/+1
(This used to be commit 4f3628dea69efce430bf96a42435025806853d90)
2007-10-10r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell1-4/+5
exposed. Unfortunately this generates a large number of type punning warnings. We'll have to find some magic to hide those. (This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
2007-10-10r18436: converted ldb to use talloc_move() instead of talloc_steal() whenAndrew Tridgell1-4/+4
appropriate. Note that I also removed the error checks that were being done on the result of talloc_steal(). They are pointless as talloc_steal() doesn't have any failure modes that wouldn't cause a segv anyway, and they tend to clutter the code (This used to be commit c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
2007-10-10r18133: ad2oLschema needs ctype.h on some systemsAndrew Tridgell1-0/+1
(This used to be commit efe60c8a4b28fa88abe5177b1a95c4ac5ac9496c)
2007-10-10r18022: Increment number of records converted, and print number of records ↵Andrew Bartlett1-1/+3
skipped. Andrew Bartlett (This used to be commit 6c11501ec3d8b95d5a80d5dbca745ae9e02d3304)
2007-10-10r17868: remove duplicated attributes from listSimo Sorce1-6/+1
(This used to be commit fab0e66281ca0feddf1ce26249706e865856b17a)
2007-10-10r17707: Match the output (aside from dividers) the output ofAndrew Bartlett1-6/+28
ol-schema-migrate.pl in the schema output. Andrew Bartlett (This used to be commit 8f624fd17503e85afe74a3e1915e30f28d19853b)
2007-10-10r17601: Fix declaration after statement.Andrew Bartlett1-3/+2
Andrew Bartlett (This used to be commit 05c276568a6c42c9ceb686a390c4fd279d4a5bb6)
2007-10-10r17600: Finish the schema conversion tool, and add a mapping file, used to mapAndrew Bartlett1-57/+144
OIDs and skip built-in attributes. Andrew Bartlett (This used to be commit cb2b9d800d1228d41f7872a7b7c8ea5f07816c61)
2007-10-10r17599: Improvements to the AD-like to OpenLDAP format schema conversion ↵Andrew Bartlett1-53/+252
utility. We now read the objectClasses, and sort them into order, so that OpenLDAP will load them. We do this by walking down the 'subClassOf' chain. This should also be used in the objectClass module to sort the objectClass list, and to populate the @SUBCLASS records. Andrew Bartlett (This used to be commit 22dec7b62adbf364d2d17948fda1460cbbbf0a78)
2007-10-10r17581: Add tool to convert AD schema back to OpenLDAP's schema formatting.Andrew Bartlett1-0/+324
Andrew Bartlett (This used to be commit 391f472df775f7e7b85335d96315807c38fe5536)