Skip to content

Instantly share code, notes, and snippets.

@mjuszczak mjuszczak/ssh.ldif Secret
Created Nov 23, 2015

What would you like to do?
Simple AD SSH Public Key Schema
dn: CN=sshPublicKey,CN=Schema,CN=Configuration,DC=example,DC=com
changetype: add
objectClass: top
objectClass: attributeSchema
cn: sshPublicKey
name: sshPublicKey
lDAPDisplayName: sshPublicKey
description: Users public SSH key
oMSyntax: 22
isSingleValued: FALSE
dn: CN=ldapPublicKey,CN=Schema,CN=Configuration,DC=example,DC=com
changetype: add
objectClass: top
objectClass: classSchema
cn: ldapPublicKey
name: ldapPublicKey
lDAPDisplayName: ldapPublicKey
description: Used to store SSH keys in LDAP
subClassOf: top
objectClassCategory: 3
mayContain: sshPublicKey
mayContain: uid

This comment has been minimized.

Copy link

jeidsath commented Aug 2, 2017

Line 18 governsID gives me an "already in use!" error on add. I changed it to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.