ldap: now got skMemberOf to replace memberof (memberof does not work on unixgroups)

This commit is contained in:
silver 2023-05-20 15:26:03 +01:00
parent 0c57b35778
commit c17a28d7a9
4 changed files with 72 additions and 81 deletions

View file

@ -0,0 +1,17 @@
# 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
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'
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'
DESC 'skynet person'
SUP top AUXILIARY
MAY ( skMemberOf )
)