#
# Openldap schema to load dynamic clients from LDAP
#
# copyright 2013 Olivier Beytrison <olivier@heliosnet.org>
#


attributetype
   ( 1.3.6.1.4.1.11344.1.100.2.1
     NAME 'radiusClientIdentifier'
     DESC 'Client Identifier'
     EQUALITY caseIgnoreMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
     SINGLE-VALUE
   )

attributetype
   ( 1.3.6.1.4.1.11344.1.100.2.2
     NAME 'radiusClientSecret'
     DESC 'Client Secret'
     EQUALITY caseIgnoreMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
     SINGLE-VALUE
   )

attributetype
   ( 1.3.6.1.4.1.11344.1.100.2.3
     NAME 'radiusClientShortname'
     DESC 'Client Shortname'
     EQUALITY caseIgnoreMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
     SINGLE-VALUE
   )

attributetype
   ( 1.3.6.1.4.1.11344.1.100.2.4
     NAME 'radiusClientVirtualServer'
     DESC 'VirtualServer'
     EQUALITY caseIgnoreMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
     SINGLE-VALUE
   )

attributetype
   ( 1.3.6.1.4.1.11344.1.100.2.5
     NAME 'radiusClientType'
     DESC 'Client Type'
     EQUALITY caseIgnoreMatch
     SUBSTR caseIgnoreSubstringsMatch
     SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
     SINGLE-VALUE
   )

attributetype
   ( 1.3.6.1.4.1.11344.1.100.2.6
     NAME 'radiusClientRequireMa'
     DESC 'Require Message Authenticator'
     EQUALITY booleanMatch
     SYNTAX '1.3.6.1.4.1.1466.115.121.1.7'
     SINGLE-VALUE
   )

attributetypes:
   ( 1.3.6.1.4.1.11344.1.100.2.7
     NAME 'radiusClientComment'
     DESC 'Client comment'
     EQUALITY caseIgnoreMatch
     SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
     SINGLE-VALUE
   )

objectclass
   ( 1.3.6.1.4.1.11344.1.100.1.1
     NAME 'radiusClient'
     DESC 'radiusClient object class'
     SUP top
     STRUCTURAL
     MUST ( radiusClientIdentifier $ radiusClientSecret )
     MAY  ( radiusClientShortname $ radiusClientVirtualServer $ radiusClientType $
            radiusClientRequireMa $ radiusClientComment )
   )

