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 220.127.116.11:18.104.22.168.4.1.722.214.171.124 dITContentRules:samba4DITContentRules 126.96.36.199:188.8.131.52.4.1.7184.108.40.206 objectClasses:samba4ObjectClasses 220.127.116.11:18.104.22.168.4.1.722.214.171.124 subSchema:samba4SubSchema 126.96.36.199:188.8.131.52.4.1.7184.108.40.206 #'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 220.127.116.11:18.104.22.168.4.1.722.214.171.124 #MiddleName has a conflicting OID 2.16.840.1.1137126.96.36.199:188.8.131.52.4.1.7184.108.40.206 #defaultGroup has a conflicting OID 1.2.840.1135220.127.116.110:18.104.22.168.4.1.722.214.171.124 #This large integer format is unimplemented in OpenLDAP 2.3 1.2.840.1135126.96.36.1996:188.8.131.52.4.1.14184.108.40.206.27 #This case insensitive string isn't available 1.2.840.1135220.127.116.115:18.104.22.168.4.1.1422.214.171.124.44 #This type of DN isn't in OpenLDAP 1.2.840.1135126.96.36.1993:188.8.131.52.4.1.14184.108.40.206.12 #Treat Security Descriptors as binary 1.2.840.1135220.127.116.117:18.104.22.168.4.1.1422.214.171.124.40
Description: This is a digitally signed message part