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 184.108.40.206:220.127.116.11.4.1.718.104.22.168 dITContentRules:samba4DITContentRules 22.214.171.124:126.96.36.199.4.1.7188.8.131.52 objectClasses:samba4ObjectClasses 184.108.40.206:220.127.116.11.4.1.718.104.22.168 subSchema:samba4SubSchema 22.214.171.124:126.96.36.199.4.1.7188.8.131.52 #'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 184.108.40.206:220.127.116.11.4.1.718.104.22.168 #MiddleName has a conflicting OID 2.16.840.1.113722.214.171.124:126.96.36.199.4.1.7188.8.131.52 #defaultGroup has a conflicting OID 1.2.840.1135184.108.40.2060:220.127.116.11.4.1.718.104.22.168 #This large integer format is unimplemented in OpenLDAP 2.3 1.2.840.113522.214.171.1246:126.96.36.199.4.1.14188.8.131.52.27 #This case insensitive string isn't available 1.2.840.1135184.108.40.2065:220.127.116.11.4.1.1418.104.22.168.44 #This type of DN isn't in OpenLDAP 1.2.840.113522.214.171.1243:126.96.36.199.4.1.14188.8.131.52.12 #Treat Security Descriptors as binary 1.2.840.1135184.108.40.2067:220.127.116.11.4.1.1418.104.22.168.40
Description: This is a digitally signed message part