2023-05-20 14:26:03 +00:00
|
|
|
# LDAP SSH Public Key schema
|
|
|
|
# Source: https://blog.oddbit.com/post/2013-07-22-generating-a-membero/
|
|
|
|
# Notes will need to get our own number https://www.iana.org/assignments/enterprise-numbers/assignment/apply/
|
|
|
|
# it needs a space at teh end of it, dont remove
|
|
|
|
|
|
|
|
dn: cn=skynet-person,cn=schema,cn=config
|
|
|
|
objectClass: olcSchemaConfig
|
|
|
|
cn: skynet-person
|
2023-05-23 23:35:17 +00:00
|
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.2.1
|
|
|
|
NAME 'skMemberOf'
|
|
|
|
DESC 'Groups this user is a member of'
|
2023-05-20 14:26:03 +00:00
|
|
|
EQUALITY distinguishedNameMatch
|
2023-05-23 23:35:17 +00:00
|
|
|
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
|
|
|
|
)
|
2023-05-25 11:12:30 +00:00
|
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.6.1
|
|
|
|
NAME 'skCreated'
|
|
|
|
DESC 'When the account was created'
|
|
|
|
EQUALITY caseIgnoreMatch
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
|
|
|
|
)
|
2023-07-16 14:06:06 +00:00
|
|
|
# https://github.com/variablenix/ldap-mail-schema/blob/master/quota.schema
|
|
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.8.1
|
|
|
|
NAME 'quotaEmail'
|
|
|
|
DESC 'Quotas for Email'
|
|
|
|
EQUALITY caseIgnoreIA5Match
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255}
|
|
|
|
)
|
|
|
|
olcAttributeTypes: ( 1.3.6.1.4.1.24441.1.9.1
|
|
|
|
NAME 'quotaDisk'
|
|
|
|
DESC 'Quotas for Home dir'
|
|
|
|
EQUALITY caseIgnoreIA5Match
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255}
|
|
|
|
)
|
2023-05-23 23:35:17 +00:00
|
|
|
olcObjectClasses: ( 1.3.6.1.4.1.24441.1.1.1
|
|
|
|
NAME 'skPerson'
|
2023-05-20 14:26:03 +00:00
|
|
|
DESC 'skynet person'
|
|
|
|
SUP top AUXILIARY
|
2023-06-15 13:32:35 +00:00
|
|
|
MUST ( skMail $ skCreated )
|
2023-10-22 14:00:48 +00:00
|
|
|
MAY ( skMemberOf $ skID $ quotaEmail $ quotaDisk )
|
2023-05-23 23:35:17 +00:00
|
|
|
)
|