Jailed SSH with LDAP?



Hi,

On a CentOS 5.1 server with LDAP/Samba, I would like to implement jailed SSH so that the users have remote jailed access to their home folders. As far as I can see from several instructions in the Web, OpenSSH reads user data from /etc/passwd and other files, which nevertheless are not used by LDAP. So /etc/passwd does not contain user data, these are stored in the LDAP database.

Has anyone got jailed SSH working with LDAP? If that is the case, please comment/advise on implementation.

Your help will be appreciated.

S. Ramos
.