# https://blog.kubovy.eu/2012/09/13/openldap-schema-address-book-prepared-sync-googlecontacts/ # # mozillaOrgPerson schema v. 0.6.4 # # req. core # req. cosine # req. inetorgperson # attribute defs attributetype ( 1.3.6.1.4.1.13769.2.1.1 NAME ( 'mozillaNickname' ) SUP name ) attributetype ( 1.3.6.1.4.1.13769.2.1.2 NAME ( 'mozillaUseHtmlMail' ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.13769.2.1.3 NAME 'mozillaSecondEmail' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) attributetype ( 1.3.6.1.4.1.13769.2.1.4 NAME 'mozillaHomeLocalityName' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) attributetype ( 1.3.6.1.4.1.13769.2.1.5 NAME 'mozillaPostalAddress2' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ) attributetype ( 1.3.6.1.4.1.13769.2.1.6 NAME 'mozillaHomePostalAddress2' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ) attributetype ( 1.3.6.1.4.1.13769.2.1.7 NAME ( 'mozillaHomeState' ) SUP name ) attributetype ( 1.3.6.1.4.1.13769.2.1.8 NAME 'mozillaHomePostalCode' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} ) attributetype ( 1.3.6.1.4.1.13769.2.1.9 NAME ( 'mozillaHomeCountryName' ) SUP name SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.13769.2.1.10 NAME ( 'mozillaHomeFriendlyCountryName' ) EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) attributetype ( 1.3.6.1.4.1.13769.2.1.11 NAME ( 'mozillaHomeUrl' ) EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) attributetype ( 1.3.6.1.4.1.13769.2.1.12 NAME ( 'mozillaWorkUrl' ) EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) # un-comment for all LDAP server NOT supporting SYNTAX 2.16.840.1.113730.3.7.1 attributetype ( 1.3.6.1.4.1.13769.2.1.13 NAME ( 'nsAIMid' ) DESC 'AOL Instant Messenger (AIM) Identity' EQUALITY telephoneNumberMatch SUBSTR telephoneNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 ) attributetype ( 1.3.6.1.4.1.13769.2.1.14 NAME ( 'mozillaHomeStreet' ) EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) # MY MODIFICATIONS START attributetype ( 1.3.6.1.4.1.13769.2.1.15 NAME ( 'mozillaHomePostOfficeBox' ) EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) attributetype ( 1.3.6.1.4.1.13769.2.1.16 NAME ( 'mozillaGender' ) EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} ) attributetype ( 1.3.6.1.4.1.13769.2.1.17 NAME ( 'mozillaAdditionalNames' ) SUP name ) attributetype ( 1.3.6.1.4.1.13769.2.1.18 NAME ( 'mozillaNameSuffix' ) SUP name ) attributetype ( 1.3.6.1.4.1.13769.2.1.19 NAME ( 'mozillaNamePrefix' ) SUP name ) attributetype ( 1.3.6.1.4.1.13769.2.1.20 NAME ( 'mozillaInstantMessenger' ) EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) # MY MODIFICATIONS END # un-comment for Netscape 6.x and all other LDAP server supporting SYNTAX 2.16.840.1.113730.3.7.1 # attributeTypes ( 2.16.840.1.113730.3.1.2013 # NAME ( 'nsAIMid' ) # DESC 'AOL Instant Messenger (AIM) Identity' # SYNTAX 2.16.840.1.113730.3.7.1 ) attributetype ( 1.3.6.1.4.1.13769.2.1.96 NAME ( 'mozillaCustom1' ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.13769.2.1.97 NAME ( 'mozillaCustom2' ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.13769.2.1.98 NAME ( 'mozillaCustom3' ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.13769.2.1.99 NAME ( 'mozillaCustom4' ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) # defined in "A Summary of the X.500(96) User Schema for use with LDAPv3" - RFC 2256 # # attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' ) # DESC 'RFC2256: ISO-3166 country 2-letter code' # SUP name SINGLE-VALUE ) # defined in "The COSINE and Internet X.500 Schema" - RFC 1274 # # attributetype ( 0.9.2342.19200300.100.1.43 # NAME ( 'co' 'friendlyCountryName' ) # DESC 'RFC1274: friendly country name' # EQUALITY caseIgnoreMatch # SUBSTR caseIgnoreSubstringsMatch # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) # objectClass defs objectclass ( 1.3.6.1.4.1.13769.2.2.1 NAME 'mozillaOrgPerson' SUP inetorgperson STRUCTURAL MAY ( sn $ givenName $ cn $ displayName $ mozillaNickname $ title $ telephoneNumber $ facsimileTelephoneNumber $ mobile $ pager $ homePhone $ street $ postalCode $ mozillaPostalAddress2 $ mozillaHomeStreet $ mozillaHomePostOfficeBox $ mozillaGender $ mozillaAdditionalNames $ mozillaNameSuffix $ mozillaNamePrefix $ mozillaInstantMessenger $ mozillaHomePostalAddress2 $ l $ mozillaHomeLocalityName $ st $ mozillaHomeState $ mozillaHomePostalCode $ c $ mozillaHomeCountryName $ co $ mozillaHomeFriendlyCountryName $ ou $ o $ mail $ mozillaSecondEmail $ mozillaUseHtmlMail $ nsAIMid $ mozillaHomeUrl $ mozillaWorkUrl $ description $ mozillaCustom1 $ mozillaCustom2 $ mozillaCustom3 $ mozillaCustom4 ) ) # not part of the official Mozilla schema but read by Mozilla: 'departmentNumber' and 'postOfficeBox' #