Create a gist now

Instantly share code, notes, and snippets.

@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
attributeID: 1.3.6.1.4.1.1466.115.121.1.40
cn: sshPublicKey
name: sshPublicKey
lDAPDisplayName: sshPublicKey
description: Users public SSH key
attributeSyntax: 2.5.5.5
oMSyntax: 22
isSingleValued: FALSE
dn: CN=ldapPublicKey,CN=Schema,CN=Configuration,DC=example,DC=com
changetype: add
objectClass: top
objectClass: classSchema
governsID: 1.3.6.1.4.1.1466.115.121.1.40
cn: ldapPublicKey
name: ldapPublicKey
lDAPDisplayName: ldapPublicKey
description: Used to store SSH keys in LDAP
subClassOf: top
objectClassCategory: 3
mayContain: sshPublicKey
mayContain: uid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment