rodrigosantosbr

[OpenLDAP] servidorpublico.schema

Jul 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

LDAP: Data Types

1.3.6.1.4.1.1466.115.121.1.15 => DirectoryString
1.3.6.1.4.1.1466.115.121.1.27 => Integer
1.3.6.1.4.1.1466.115.121.1.40 => Octet String

servidorpublico.schema

#-----------------------------------------------------------
# MICROSOFT EXCHANGE ATTRIBUTES
#-----------------------------------------------------------

attributetype ( 2.5.4.10002
  NAME 'extensionAttribute1'
  DESC 'MS Exchange attribute: extensionAttribute1'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10003
  NAME 'extensionAttribute2'
  DESC 'MS Exchange attribute: extensionAttribute2'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10004
  NAME 'extensionAttribute3'
  DESC 'MS Exchange attribute: extensionAttribute3'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10005
  NAME 'extensionAttribute4'
  DESC 'MS Exchange attribute: extensionAttribute4'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10006
  NAME 'extensionAttribute5'
  DESC 'MS Exchange attribute: extensionAttribute5'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10007
  NAME 'extensionAttribute6'
  DESC 'MS Exchange attribute: extensionAttribute6'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10008
  NAME 'extensionAttribute7'
  DESC 'MS Exchange attribute: extensionAttribute7'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10009
  NAME 'extensionAttribute8'
  DESC 'MS Exchange attribute: extensionAttribute8'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10010
  NAME 'extensionAttribute9'
  DESC 'MS Exchange attribute: extensionAttribute9'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10011
  NAME 'extensionAttribute10'
  DESC 'MS Exchange attribute: extensionAttribute10'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.10012
  NAME 'extensionAttribute11'
  DESC 'MS Exchange attribute: extensionAttribute11'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.100013
  NAME 'extensionAttribute12'
  DESC 'MS Exchange attribute: extensionAttribute12'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.100014
  NAME 'extensionAttribute13'
  DESC 'MS Exchange attribute: extensionAttribute13'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.100015
  NAME 'extensionAttribute14'
  DESC 'MS Exchange attribute: extensionAttribute14'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

attributetype ( 2.5.4.100016
  NAME 'extensionAttribute15'
  DESC 'MS Exchange attribute: extensionAttribute15'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

#-----------------------------------------------------------
# MICROSOFT ACTIVE DIRECTORY ATTRIBUTES
#-----------------------------------------------------------

attributetype ( 2.5.4.100017
  NAME 'mailNickname'
  DESC 'MS Exchange attribute: mailNickname'
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 2.5.4.100018
  NAME 'sAMAccountName'
  DESC 'MS Active Directory attribute: sAMAccountName'
  SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

attributetype ( 2.5.4.100019
   NAME 'userPrincipalName'
   DESC 'MS Active Directory attribute: userPrincipalName'
   EQUALITY caseIgnoreMatch
   SUBSTR caseIgnoreSubstringsMatch
   SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 2.5.4.100020
  NAME 'userAccountControl'
  DESC 'MS Active Directory attribute: userAccountControl'
  SYNTAX '1.3.6.1.4.1.1466.115.121.1.27' )

attributetype ( 2.5.4.100021
   NAME 'department'
   DESC 'MS Active Directory attribute: department'
   EQUALITY caseIgnoreMatch
   SUBSTR caseIgnoreSubstringsMatch
   SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 2.5.4.100022
   NAME 'thumbnailPhoto'
   DESC 'MS Active Directory attribute: thumbnailPhoto'
   SYNTAX '1.3.6.1.4.1.1466.115.121.1.40'
   SINGLE-VALUE )

#-----------------------------------------------------------
# OPENLDAP NEW OBJECT CLASS
#-----------------------------------------------------------

objectclass ( 2.5.6.10002
  NAME 'ServidorPublicoObjectClass'
  SUP (top $ inetOrgPerson $ organizationalPerson) STRUCTURAL
  DESC 'this is MSExchangeObjectClass object class'
  MUST (givenName $
        sn $
        cn $
        displayName $
        userPassword )
  MAY ( description $
        sAMAccountName $
        userPrincipalName $
        userAccountControl $
        thumbnailPhoto $
        telephoneNumber $
        mobile $
        mail $
        l $
        st $
        streetAddress $
        postalCode $
        department $
        employeeNumber $
        employeeType $
        physicalDeliveryOfficeName $
        title $
        extensionAttribute1 $ 
        extensionAttribute2 $
        extensionAttribute3 $
        extensionAttribute4 $
        extensionAttribute5 $
        extensionAttribute6 $
        extensionAttribute7 $
        extensionAttribute8 $
        extensionAttribute9 $
        extensionAttribute10 $
        extensionAttribute11 $
        extensionAttribute12 $
        extensionAttribute13 $
        extensionAttribute14 $
        extensionAttribute15 $
        userAccountControl ) )
Add Comment
Please, Sign In to add comment