See https://github.com/jirutka/ssh-ldap-pubkey/blob/master/etc/openssh-lpk.schema
- Update the LdapUser object to take an optional
sshpublickey field
|
* @typedef {Object} LdapUser |
- In the createLdapEntry function, if the
sshpublickey field has been provided, it should be included in the LDAP response using the sshPublicKey attribute AND the objectClass array should have the ldapPublicKey appended.
- New tests should be added including an integration test to ensure
sssd with the AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys works as expected
See https://github.com/jirutka/ssh-ldap-pubkey/blob/master/etc/openssh-lpk.schema
sshpublickeyfieldLDAPServer/npm/src/utils/ldapUtils.js
Line 7 in 767bb26
sshpublickeyfield has been provided, it should be included in the LDAP response using thesshPublicKeyattribute AND the objectClass array should have theldapPublicKeyappended.sssdwith theAuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeysworks as expected