Add comments field to other forms of schema
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 4 Dec 2013 15:39:34 +0000 (15:39 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 4 Dec 2013 15:41:42 +0000 (15:41 +0000)
doc/schemas/ldap/radiusclients-edirectory.ldif
doc/schemas/ldap/radiusclients-openldap.ldif
doc/schemas/ldap/radiusclients-openldap.schema

index 27a3012..96a0f44 100644 (file)
@@ -50,6 +50,13 @@ attributetypes: ( 1.3.6.1.4.1.11344.1.100.2.6
  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 )
+
 
 dn: cn=schema
 changetype: modify
@@ -59,6 +66,4 @@ objectclasses: ( 1.3.6.1.4.1.11344.1.100.1.1
  DESC 'radiusClient object class'
  SUP top STRUCTURAL
  MUST ( radiusClientIdentifier $ radiusClientSecret )
- MAY ( radiusClientShortname $ radiusClientVirtualServer $ radiusClientType $ radiusClientRequireMa ))
-
-
+ MAY ( radiusClientShortname $ radiusClientVirtualServer $ radiusClientType $ radiusClientRequireMa $radiusClientcomment ))
index 50df74b..d591799 100644 (file)
@@ -7,10 +7,11 @@
 dn: cn=radiusClient,cn=schema,cn=config
 objectClass: olcSchemaConfig
 cn: radiusClient
-olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.1 NAME 'radiusClientIdentifier' SINGLE-VALUE DESC 'Client Identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
-olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.2 NAME 'radiusClientSecret' SINGLE-VALUE DESC 'Client Secret' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
-olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.3 NAME 'radiusClientShortname' SINGLE-VALUE DESC 'Client Shortname' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.1 NAME 'radiusClientIdentifier' SINGLE-VALUE DESC 'Client identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.2 NAME 'radiusClientSecret' SINGLE-VALUE DESC 'Client secret' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.3 NAME 'radiusClientShortname' SINGLE-VALUE DESC 'Client shortname' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
 olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.4 NAME 'radiusClientVirtualServer' SINGLE-VALUE DESC 'VirtualServer' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
 olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.5 NAME 'radiusClientType' SINGLE-VALUE DESC 'Client Type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
 olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.6 NAME 'radiusClientRequireMa' SINGLE-VALUE DESC 'Require Message Authenticator' EQUALITY booleanMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.7' )
-olcObjectClasses: ( 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 ))
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.1.100.2.7 NAME 'radiusClientComment' SINGLE-VALUE DESC 'Client comment' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
+olcObjectClasses: ( 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 ))
index 6c720d6..e362136 100644 (file)
@@ -64,6 +64,15 @@ attributetype
      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'
@@ -72,6 +81,6 @@ objectclass
      STRUCTURAL
      MUST ( radiusClientIdentifier $ radiusClientSecret )
      MAY  ( radiusClientShortname $ radiusClientVirtualServer $ radiusClientType $
-            radiusClientRequireMa )
+            radiusClientRequireMa $ radiusClientComment )
    )