Appendix D. Setup for home directory and quota management

Table of Contents

LDAP Account Manager configuration
Setup sudo
Setup Perl
Install libssh2
Install libssh2
Install SSH2 for PHP
Set up SSH
Troubleshooting

Lamdaemon.pl is used to modify quota and home directories on a remote or local host via SSH. If you want wo use it you have to set up the following things to get it to work:

LDAP Account Manager configuration

  • Set the remote or local host in the configuration (e.g. 127.0.0.1)

  • Path to lamdaemon.pl, e.g. /srv/www/htdocs/lam/lib/lamdaemon.pl If you installed a Debian or RPM package then the script may be located at /usr/share/ldap-account-manager/lib or /var/www/html/lam/lib.

  • Your LAM admin user must be a valid Unix account. It needs to have the object class "posixAccount" and an attribute "uid". This account must be accepted by the SSH daemon of your home directory server. Do not create a second local account but change your system to accept LDAP users. You can use LAM to add the Unix account part to your admin user.