From: Arran Cudbard-Bell Date: Thu, 4 Jul 2024 05:02:51 +0000 (-0600) Subject: Add freeradiusClientGroupDN X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=607a4a7a8f698243f72ab46e03fef9e6ee569c3f;p=thirdparty%2Ffreeradius-server.git Add freeradiusClientGroupDN --- diff --git a/doc/schemas/ldap/openldap/freeradius-clients.ldif b/doc/schemas/ldap/openldap/freeradius-clients.ldif index 128504a547d..67e9e7de722 100644 --- a/doc/schemas/ldap/openldap/freeradius-clients.ldif +++ b/doc/schemas/ldap/openldap/freeradius-clients.ldif @@ -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 ) ) diff --git a/doc/schemas/ldap/openldap/freeradius-clients.schema b/doc/schemas/ldap/openldap/freeradius-clients.schema index e3d75bd5f8b..462859284dd 100644 --- a/doc/schemas/ldap/openldap/freeradius-clients.schema +++ b/doc/schemas/ldap/openldap/freeradius-clients.schema @@ -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 ) ) -