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