Code

adding the schema for the ssh-lpk ldap patch
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 Jul 2007 16:55:11 +0000 (16:55 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 Jul 2007 16:55:11 +0000 (16:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6882 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/openldap/openssh-lpk_openldap.schema [new file with mode: 0644]

diff --git a/contrib/openldap/openssh-lpk_openldap.schema b/contrib/openldap/openssh-lpk_openldap.schema
new file mode 100644 (file)
index 0000000..5f5512a
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# LDAP Public Key Patch schema for use with openssh-ldappubkey
+# 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 ( sshPublicKey $ uid ) 
+       )