ldap: is working as intended, working on scripting to add and manage users
This commit is contained in:
parent
f6183c1b10
commit
0c57b35778
3 changed files with 77 additions and 40 deletions
17
applications/ldap/openssh-lpk.ldif
Normal file
17
applications/ldap/openssh-lpk.ldif
Normal file
|
@ -0,0 +1,17 @@
|
|||
# LDAP SSH Public Key schema
|
||||
# Source: https://serverfault.com/questions/653792/ssh-key-authentication-using-ldap
|
||||
# Homepage: https://github.com/AndriiGrytsenko/openssh-ldap-publickey
|
||||
# Source2: https://github.com/turnkeylinux-apps/openldap/blob/master/overlay/etc/ldap/schema/openssh-lpk.ldif
|
||||
|
||||
dn: cn=openssh-lpk,cn=schema,cn=config
|
||||
objectClass: olcSchemaConfig
|
||||
cn: openssh-lpk
|
||||
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'
|
||||
DESC 'MANDATORY: OpenSSH LPK objectclass'
|
||||
SUP top AUXILIARY
|
||||
MAY ( sshPublicKey $ uid )
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue