#
# LDIF Novell eDirectory schema to load dynamic clients from LDAP
#
# copyright 2013 Olivier Beytrison <olivier@heliosnet.org>
#
# 1.3.6.1.4.1.11344.4.1.1 is the toplevel OID for this work
#	          .1 = objectclasses
#	          .2 = attributes
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 1.3.6.1.4.1.11344.4.1.1.2.1
 NAME 'freeradiusClientIdentifier'
 DESC 'Client Identifier'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
 SINGLE-VALUE )
attributetypes: ( 1.3.6.1.4.1.11344.4.1.1.2.2
 NAME 'freeradiusClientSecret'
 DESC 'Client Secret'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
 SINGLE-VALUE )
attributetypes: ( 1.3.6.1.4.1.11344.4.1.1.2.3
 NAME 'freeradiusClientShortname'
 DESC 'Client Shortname'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
 SINGLE-VALUE )
attributetypes: ( 1.3.6.1.4.1.11344.4.1.1.2.4
 NAME 'freeradiusClientVirtualServer'
 DESC 'VirtualServer'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
 SINGLE-VALUE )
attributetypes: ( 1.3.6.1.4.1.11344.4.1.1.2.5
 NAME 'freeradiusClientType'
 DESC 'Client Type'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
 SINGLE-VALUE )
attributetypes: ( 1.3.6.1.4.1.11344.4.1.1.2.6
 NAME 'freeradiusClientRequireMa'
 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.4.1.1.2.7
 NAME 'freeradiusClientComment'
 DESC 'Client comment'
 EQUALITY caseIgnoreMatch
 SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
 SINGLE-VALUE )


dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 1.3.6.1.4.1.11344.4.1.1.1.1
 NAME 'freeradiusClient'
 DESC 'freeradiusClient object class'
 SUP top STRUCTURAL
 MUST ( freeradiusClientIdentifier $ freeradiusClientSecret )
 MAY ( freeradiusClientShortname $ freeradiusClientVirtualServer $ freeradiusClientType $ freeradiusClientRequireMa $freeradiusClientcomment ))
