From d056929a18624344746d806cd795abc9fad2daf4 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 24 May 2023 00:35:17 +0100 Subject: [PATCH] ldap: extended class --- applications/ldap/skMemberOf.ldif | 34 +++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/applications/ldap/skMemberOf.ldif b/applications/ldap/skMemberOf.ldif index a8facb0..a3c8393 100644 --- a/applications/ldap/skMemberOf.ldif +++ b/applications/ldap/skMemberOf.ldif @@ -6,12 +6,34 @@ dn: cn=skynet-person,cn=schema,cn=config objectClass: olcSchemaConfig cn: skynet-person -olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.1.1 NAME 'skMemberOf' - DESC 'Distinguished name of a group of which the object is a member' +olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.2.1 + NAME 'skMemberOf' + DESC 'Groups this user is a member of' EQUALITY distinguishedNameMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ) -olcObjectClasses: ( 1.3.6.1.4.1.24441.2.1.1 NAME 'skPerson' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 + ) +olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.3.1 + NAME 'skMail' + DESC 'username@skynet.ie' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + ) +olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.4.1 + NAME 'skID' + DESC 'Student ID' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + ) +olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.5.1 + NAME 'skDiscord' + DESC 'Discord username' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + ) +olcObjectClasses: ( 1.3.6.1.4.1.24441.1.1.1 + NAME 'skPerson' DESC 'skynet person' SUP top AUXILIARY - MAY ( skMemberOf ) - ) + MUST ( skMail ) + MAY ( skMemberOf $ skID $ skDiscord ) + )