summaryrefslogtreecommitdiffstats
path: root/source4/utils/ad2oLschema.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the mess with ldb includes.Simo Sorce2009-01-301-1/+1
| | | | | | | | Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
* Fix more compiler warnings in various places.Jelmer Vernooij2008-12-231-2/+2
|
* Use the direct pointer to the syntaxAndrew Bartlett2008-12-021-5/+4
| | | | | | | This rather than manually searching for it, and is inspired by a similar commit in dsdb/schema/schema_description.c by metze Andrew Bartlett
* s4:dsdb/schema: add a function to generate the "extendedClassInfo" valuesStefan Metzmacher2008-11-161-1/+2
| | | | metze
* s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" valuesStefan Metzmacher2008-11-161-1/+4
| | | | metze
* Remove DESCRIPTION from generated schema lines.Andrew Bartlett2008-10-061-4/+10
| | | | | | | This is not permitted in the AD aggregate schema, and more trouble than it is worth in the OpenLDAP schema due to escaping issues. Andrew Bartlett
* Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2008-09-231-6/+4
| | | | | The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
* Merge the two attribute syntax tables.Andrew Bartlett2008-08-181-2/+2
| | | | | | | | | | | | This merges the table once found in the oLschema2ldif tool (and moved many times) with the table used for DRSUAPI. The OpenLDAP schema map has been updated, to ensure that despite a number of attributes being declared as OIDs, they are actually used as strings (as they are actually LDAP class/attribute names). Andrew Bartlett (This used to be commit 61f2958c84beeedcf369ccdc02afed0c8055b108)
* Generate the subSchema in cn=AggregateAndrew Bartlett2008-08-151-191/+15
| | | | | | | | | | | | | | | This reads the schema from the in-memory structure, when the magic attributes are requested. The code is a modified version of that used in the ad2oLschema tool (now shared). The schema_fsmo module handles the insertion of the generated result. As such, this commit also removes these entries from the setup/schema.ldif Metze's previous stub of this functionality is also removed. Andrew Bartlett (This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
* Rework generation of the objectClass and attributeType lines.Andrew Bartlett2008-08-151-169/+209
| | | | | | | | Now that these are subroutines, we can factor them out into a file the CN=Aggregate schema code can also use. Andrew Bartlett (This used to be commit e3591a6a35ddb60398a03a4fa0545cc6158946ef)
* Paramaterise the seperator in ad2OLschemaAndrew Bartlett2008-08-151-67/+82
| | | | | | | | This will allow me to add a new mode, with the CN=Aggregate schema format automatically generated. Andrew Bartlett (This used to be commit 7d2a890a7077e446e45527847f78bba84d22bc4c)
* Make ad2oLschema even simpler, by moving the heavy work into dsdb.Andrew Bartlett2008-07-101-293/+51
| | | | | | | | This will allow the kludge_acl and schema code to leverage the same work. (We might even get schema validation soon! :-) Andrew Bartlett (This used to be commit cecd04ce1f8ce2af2fb654b3abc1499092405d60)
* Move ad2oLschema and oLschema2ldif into Samba4, out of LDBAndrew Bartlett2008-07-021-0/+798
LDB does not know about nor process the AD schema, so it makes no sense to have this tool there. I've been changing it anyway, to use a common schema manipulation library, and will enhance these links in the future. Andrew Bartlett (This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)