]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add freeradiusClientGroupDN
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Jul 2024 05:02:51 +0000 (23:02 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Jul 2024 05:02:51 +0000 (23:02 -0600)
doc/schemas/ldap/openldap/freeradius-clients.ldif
doc/schemas/ldap/openldap/freeradius-clients.schema

index 128504a547db3e1da2b1b73d120f64677ec228e2..67e9e7de7222b1d85c1b766496de47e8e27a5c8e 100644 (file)
@@ -2,8 +2,9 @@ dn: cn=freeradius-clients,cn=schema,cn=config
 objectClass: olcSchemaConfig
 cn: freeradius-clients
 olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.1 NAME 'freeradiusClientIdentifier' DESC 'Client Identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
-olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.3 NAME 'freeradiusClientShortname' DESC 'Client Shortname' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
-olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.5 NAME 'freeradiusClientType' DESC 'Client Type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
-olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.7 NAME 'freeradiusClientComment' DESC 'Client comment' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
-olcObjectClasses: ( 1.3.6.1.4.1.11344.4.1.1.2.1 NAME 'freeradiusClient' DESC 'freeradiusClient object class' SUP top STRUCTURAL MUST freeradiusClientIdentifier MAY ( freeradiusClientShortname $ freeradiusClientType $ freeradiusClientComment ) )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.2 NAME 'freeradiusClientShortname' DESC 'Client Shortname' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.3 NAME 'freeradiusClientType' DESC 'Client Type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.4 NAME 'freeradiusClientComment' DESC 'Client comment' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.5 NAME 'freeradiusClientGroupDN' DESC 'Client group membership' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
+olcObjectClasses: ( 1.3.6.1.4.1.11344.4.1.1.2.1 NAME 'freeradiusClient' DESC 'freeradiusClient object class' SUP top STRUCTURAL MUST freeradiusClientIdentifier MAY ( freeradiusClientShortname $ freeradiusClientType $ freeradiusClientComment $ freeradiusClientGroupDN ) )
 olcObjectClasses: ( 1.3.6.1.4.1.11344.4.1.1.2.2 NAME 'freeradiusAccessDevice' DESC 'freeradiusAccessDevice object class' SUP top STRUCTURAL MUST freeradiusClientIdentifier MAY ( freeradiusClientShortname $ freeradiusClientType $ freeradiusClientComment ) )
index e3d75bd5f8b06512586d0552f3071247d79d0189..462859284ddf7e483c5152f2807d3f3a5ffb5d03 100644 (file)
@@ -21,7 +21,7 @@ attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.1
        SINGLE-VALUE
  )
 
-attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.3
+attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.2
        NAME 'freeradiusClientShortname'
        DESC 'Client Shortname'
        EQUALITY caseIgnoreMatch
@@ -30,7 +30,7 @@ attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.3
        SINGLE-VALUE
  )
 
-attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.5
+attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.3
        NAME 'freeradiusClientType'
        DESC 'Client Type'
        EQUALITY caseIgnoreMatch
@@ -39,7 +39,7 @@ attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.5
        SINGLE-VALUE
  )
 
-attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.7
+attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.4
        NAME 'freeradiusClientComment'
        DESC 'Client comment'
        EQUALITY caseIgnoreMatch
@@ -47,13 +47,20 @@ attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.7
        SINGLE-VALUE
  )
 
+ attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.5
+       NAME 'freeradiusClientGroupDN'
+       DESC 'Client group membership'
+       EQUALITY distinguishedNameMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
+ )
+
 objectclass ( 1.3.6.1.4.1.11344.4.1.1.2.1
        NAME 'freeradiusClient'
        DESC 'freeradiusClient object class'
        SUP top
        STRUCTURAL
        MUST ( freeradiusClientIdentifier )
-       MAY ( freeradiusClientShortname $ freeradiusClientType $ freeradiusClientComment )
+       MAY ( freeradiusClientShortname $ freeradiusClientType $ freeradiusClientComment $ freeradiusClientGroupDN )
  )
 
 #
@@ -68,4 +75,3 @@ objectclass ( 1.3.6.1.4.1.11344.4.1.1.2.2
        MUST ( freeradiusClientIdentifier )
        MAY ( freeradiusClientShortname $ freeradiusClientType $ freeradiusClientComment )
  )
-