From d205ec0a63ecb74eb8724f7d544641f50253ebe7 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 4 Oct 2018 00:00:43 +0200 Subject: [PATCH] Add public key support --- fixtures/10_ldapPublicKey.ldif | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fixtures/10_ldapPublicKey.ldif diff --git a/fixtures/10_ldapPublicKey.ldif b/fixtures/10_ldapPublicKey.ldif new file mode 100644 index 0000000..eb7eb28 --- /dev/null +++ b/fixtures/10_ldapPublicKey.ldif @@ -0,0 +1,9 @@ +dn: cn=ldapPublicKey,cn=schema,cn=config +objectClass: olcSchemaConfig +cn: ldapPublicKey +olcAttributeTypes: ( 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 ) +olcObjectClasses: ( 1.3.6.1.4.1.24552.500.1.1.2.0 NAME 'ldapPublicKey' + SUP top AUXILIARY DESC 'MANDATORY: OpenSSH LPK objectclass' + MUST ( sshPublicKey $ uid ) )