]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add freeradiusClientRegion to LDAP schema
authorNick Porter <nick@portercomputing.co.uk>
Tue, 11 Feb 2025 18:07:55 +0000 (18:07 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 11 Feb 2025 18:07:55 +0000 (18:07 +0000)
doc/schemas/ldap/openldap/freeradius-clients.ldif
doc/schemas/ldap/openldap/freeradius-clients.schema

index 166a2055f309ce6394f99e543407102d11278281..47bb56a2fb3b3e018aa2845e3b48832d37b0e0cf 100644 (file)
@@ -8,5 +8,6 @@ olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.4 NAME 'freeradiusClientComment'
 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 )
 olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.6 NAME 'freeradiusClientIpV4Binding' DESC 'Client should only be able to access the server from this IPv4 address.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
 olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.7 NAME 'freeradiusClientIpV6Binding' DESC 'Client should only be able to access the server from this IPv6 address' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
-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 $ freeradiusClientIpV4Binding $ freeradiusClientIpV6Binding ) )
+olcAttributeTypes: ( 1.3.6.1.4.1.11344.4.1.1.1.8 NAME 'freeradiusClientRegion' DESC 'Client region' 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 $ freeradiusClientGroupDN $ freeradiusClientIpV4Binding $ freeradiusClientIpV6Binding $ freeradiusClientRegion ) )
 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 501115e6aa8f6404661173414684c18355dfcbd1..eae8841bca6d946a4053869fcc2b46bb165b3b9c 100644 (file)
@@ -69,13 +69,21 @@ attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.7
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  )
 
+attributetype ( 1.3.6.1.4.1.11344.4.1.1.1.8
+       NAME 'freeradiusClientRegion'
+       DESC 'Client region'
+       EQUALITY caseIgnoreMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
+       SINGLE-VALUE
+ )
+
 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 $ freeradiusClientGroupDN $ freeradiusClientIpV4Binding $ freeradiusClientIpV6Binding )
+       MAY ( freeradiusClientShortname $ freeradiusClientType $ freeradiusClientComment $ freeradiusClientGroupDN $ freeradiusClientIpV4Binding $ freeradiusClientIpV6Binding $ freeradiusClientRegion )
  )
 
 #