1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/setup/schema-map-openldap-2.3
Andrew Bartlett d22adc14a9 More work to have OpenLDAP accept the full AD schema
We need to avoid handling DN+Binary and DN+String with the refint
module for now, as this is a currently unsupported syntax.

Also rename entryTTL to avoid a conflict with the operational
attribute of the same name.

Andrew Bartlett
2009-01-05 12:38:47 +11:00

55 lines
1.8 KiB
Groff

#Standard OpenLDAP attributes
labeledURI
createTimeStamp
objectClass
userPassword
seeAlso
uid
subSchemaSubEntry
structuralObjectClass
distinguishedName
description
cn
top
uidNumber
gidNumber
#The memberOf plugin provides this attribute
memberOf
#These conflict with OpenLDAP builtins
attributeTypes:samba4AttributeTypes
2.5.21.5:1.3.6.1.4.1.7165.4.255.7
dITContentRules:samba4DITContentRules
2.5.21.2:1.3.6.1.4.1.7165.4.255.6
objectClasses:samba4ObjectClasses
2.5.21.6:1.3.6.1.4.1.7165.4.255.5
subSchema:samba4SubSchema
2.5.20.1:1.3.6.1.4.1.7165.4.255.4
#'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
2.5.18.2:1.3.6.1.4.1.7165.4.255.3
dynamicObject:samba4DynaimcObject
1.3.6.1.4.1.1466.101.119.2:1.3.6.1.4.1.7165.4.255.8
entryTTL:samba4EntryTTL
1.3.6.1.4.1.1466.101.119.3:1.3.6.1.4.1.7165.4.255.9
#MiddleName has a conflicting OID
2.16.840.1.113730.3.1.34:1.3.6.1.4.1.7165.4.255.1
#defaultGroup has a conflicting OID
1.2.840.113556.1.4.480:1.3.6.1.4.1.7165.4.255.2
#This large integer format is unimplemented in OpenLDAP 2.3
1.2.840.113556.1.4.906:1.3.6.1.4.1.1466.115.121.1.27
#This case insensitive string isn't available
1.2.840.113556.1.4.905:1.3.6.1.4.1.1466.115.121.1.44
#Treat Security Descriptors as binary
1.2.840.113556.1.4.907:1.3.6.1.4.1.1466.115.121.1.40
#Treat OIDs as case insensitive strings (as otherwise ldap class and
#attribute names, declared at OIDs fail
1.3.6.1.4.1.1466.115.121.1.38:1.3.6.1.4.1.1466.115.121.1.44
#Treat Object(DN-Binary) as a binary blob
1.2.840.113556.1.4.903:1.3.6.1.4.1.1466.115.121.1.40
#Treat Object(DN-String) as a binary blob
1.2.840.113556.1.4.904:1.3.6.1.4.1.1466.115.121.1.40
#Treat UTC-Time as GeneralizedTime
1.3.6.1.4.1.1466.115.121.1.53:1.3.6.1.4.1.1466.115.121.1.24