ldap: extended class

This commit is contained in:
silver 2023-05-24 00:35:17 +01:00
parent 934b1ff1c4
commit d056929a18

View file

@ -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 )
)