Knowledge Base : LDAP and AutoFS configuration for Debian

Step-by-step guide

  1. # apt-get install libnss-ldap libpam-ldap nscd autofs
  2. Enter LDAP information in configuration screens popping up
  3. vi /etc/nsswitch.conf, add „ldap“ to entries passwd, group, shadow
  4. visudo, add „%sudo   ALL=(ALL:ALL) ALL“ if not present
  5. If applicable, stop/restart nscd to remove cache influence
  6. echo „* filer.loopback.org:/export/home/&“ >> /etc/auto.home
  7. echo „/home /etc/auto.home“ >> /etc/auto.master
  8. /etc/init.d/autofs restart
  9. Login and be happy (smile)