On Fri, 2008-01-18 at 12:05 +0100, Michael StrÃder wrote: > Michael StrÃder wrote: > > Andrew Bartlett wrote: > > > >> http://samba.org/~abartlet/ol-ad/backend-schema.schema > > > > I cannot load this schema file in my build of OpenLDAP HEAD. > > It seems that this is a monolithic schema file also containing standard > attribute type declarations normally already defined within OpenLDAP's > schema files. Are you planning to do it that way when deploying Samba 4 > with OpenLDAP? I understand that there might be subtle differences > between AD's schema declaration and how things are defined in RFCs. > > But such a redefinition of standard schema elements would be problematic > because OpenLDAP internally has hard-coded schema elements you cannot > change by configuration. (These are just left as comments within the > schema config files shipped with OpenLDAP.) And you don't know which > schema elements will be transferred from schema files to the C code in > the future. Indeed I do not! I find this to be a right royal pain, and as such maintain a file (attached) that is the crude input to the conversion program, setting out the mappings that must occur. Trying to determine where AD diverges from the schema OpenLDAP uses is not a task I've yet taken on. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc.
#Standard OpenLDAP attributes labeledURI createTimeStamp objectClass userPassword seeAlso uid subSchemaSubEntry structuralObjectClass distinguishedName description cn top memberOf #This shouldn't make it to the ldap server sambaPassword #These conflict with OpenLDAP builtins attributeTypes:samba4AttributeTypes 188.8.131.52:184.108.40.206.4.1.7220.127.116.11 dITContentRules:samba4DITContentRules 18.104.22.168:22.214.171.124.4.1.7126.96.36.199 objectClasses:samba4ObjectClasses 188.8.131.52:184.108.40.206.4.1.7220.127.116.11 subSchema:samba4SubSchema 18.104.22.168:22.214.171.124.4.1.7126.96.36.199 #'name' is the RDN in AD, but something else in OpenLDAP name:samba4RDN #Remap these so that we don't put operational attributes in a schema MAY modifyTimeStamp:samba4ModifyTimestamp 188.8.131.52:184.108.40.206.4.1.7220.127.116.11 #MiddleName has a conflicting OID 2.16.840.1.113718.104.22.168:22.214.171.124.4.1.7126.96.36.199 #defaultGroup has a conflicting OID 1.2.840.1135188.8.131.520:184.108.40.206.4.1.7220.127.116.11 #This large integer format is unimplemented in OpenLDAP 2.3 1.2.840.113518.104.22.1686:22.214.171.124.4.1.14126.96.36.199.27 #This case insensitive string isn't available 1.2.840.1135188.8.131.525:184.108.40.206.4.1.14220.127.116.11.44 #This type of DN isn't in OpenLDAP 1.2.840.113518.104.22.1683:22.214.171.124.4.1.14126.96.36.199.12 #Treat Security Descriptors as binary 1.2.840.1135188.8.131.527:184.108.40.206.4.1.14220.127.116.11.40
Description: This is a digitally signed message part