From 239a9ec76a05a95c522cbc1c288cd30748f23e01 Mon Sep 17 00:00:00 2001 From: tohe Date: Wed, 19 Aug 2020 12:17:40 +0200 Subject: [PATCH] Added openssh schema --- files/schema/openssh.schema | 27 +++++++++++++++++++++++++++ manifests/init.pp | 1 + 2 files changed, 28 insertions(+) create mode 100644 files/schema/openssh.schema diff --git a/files/schema/openssh.schema b/files/schema/openssh.schema new file mode 100644 index 0000000..76678d8 --- /dev/null +++ b/files/schema/openssh.schema @@ -0,0 +1,27 @@ +# +# LDAP Public Key Patch schema for use with openssh-ldappubkey +# useful with PKA-LDAP also +# +# Adjusted: Dennis Leeuw +# Making the uid a MUST, but the sshPublicKey a MAY +# so we can add the objectClass and later add the key +# +# Author: Eric AUGE +# +# 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 + ) + diff --git a/manifests/init.pp b/manifests/init.pp index cde7bf9..eddf334 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -51,6 +51,7 @@ class wmdeit_ldap ( "udm-extension", "custom-attribute", "univention-syntax", + "openssh", # "nextcloud", # "openproject", # "networkaccess",