Comment #2 on issue 32 by
mimiandd...@gmail.com: sshkey patch --
http://code.google.com/p/nsscache/issues/detail?id=32
Hi,
nsscache.conf
sshPublicKey should exist in the base ou=people,dc=yourdomain,dc=com
[sshkey]
ldap_base = ou=yourdomain,dc=com
sshd_config should include a line similar to this that will look up the
publickey
AuthorizedKeysCommand /usr/libexec/openssh/getpublickey.sh
where getpublickey looks like this:
awk -F: -v name="$1" '$0 ~ name {print $2}' /etc/sshkey.cache| tr -d "[']"
| sed -e 's/, /\n/g'
This would spit out correct single or multiple publicskeys stored in
sshPublicKey
hope someone finds it useful .