Added openssh schema

This commit is contained in:
Tobias Herre 2020-08-19 12:17:40 +02:00
parent 4e157077b2
commit 239a9ec76a
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#
# LDAP Public Key Patch schema for use with openssh-ldappubkey
# useful with PKA-LDAP also
#
# Adjusted: Dennis Leeuw <dleeuw@made-it.com>
# Making the uid a MUST, but the sshPublicKey a MAY
# so we can add the objectClass and later add the key
#
# Author: Eric AUGE <eau@phear.org>
#
# Based on the proposal of : Mark Ruijter
#
# octetString SYNTAX
attributetype ( 1.3.6.1.4.1.24552.500.1.1.1.13 NAME 'sshPublicKey'
DESC 'MANDATORY: OpenSSH Public key'
EQUALITY octetStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
# printableString SYNTAX yes|no
objectclass ( 1.3.6.1.4.1.24552.500.1.1.2.0 NAME 'ldapPublicKey' SUP top AUXILIARY
DESC 'MANDATORY: OpenSSH LPK objectclass'
MUST uid
MAY sshPublicKey
)

View File

@ -51,6 +51,7 @@ class wmdeit_ldap (
"udm-extension",
"custom-attribute",
"univention-syntax",
"openssh",
# "nextcloud",
# "openproject",
# "networkaccess",