Appendix D. Setup for home directory and quota management
Prev |  | Next

## Appendix D. Setup for home directory and quota management

Lamdaemon.pl is used to modify quota and home directories on a remote or local host via SSH (even if homedirs are located on localhost).

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 will be located at /usr/share/ldap-account-manager/lib/lamdaemon.pl.

- 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 or create a new account. Please do not forget to setup LDAP write access (ACLs) if you create a new account.

Note that the builtin admin/manager entries do not work for lamdaemon. You need to login with a Unix account.

OpenLDAP ACL location:

The access rights for OpenLDAP are configured in /etc/ldap/slapd.conf or /etc/ldap/slapd.d/cn=config/olcDatabase={1}bdb.ldif.

Prev |  | Next
Appendix C. Typical OpenLDAP settings | Home | Setup sudo