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 dn: cn=skynet-person,cn=schema,cn=config
objectClass: olcSchemaConfig objectClass: olcSchemaConfig
cn: skynet-person cn: skynet-person
olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.1.1 NAME 'skMemberOf' olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.2.1
DESC 'Distinguished name of a group of which the object is a member' NAME 'skMemberOf'
DESC 'Groups this user is a member of'
EQUALITY distinguishedNameMatch EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ) 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' )
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' DESC 'skynet person'
SUP top AUXILIARY SUP top AUXILIARY
MAY ( skMemberOf ) MUST ( skMail )
MAY ( skMemberOf $ skID $ skDiscord )
) )