-
-
Save mjuszczak/d21c06f4f9b23bf7cef5 to your computer and use it in GitHub Desktop.
Simple AD SSH Public Key Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Line 18 governsID gives me an "already in use!" error on add. I changed it to:
1.3.6.1.4.1.24552.500.1.1.2.0