Intro

Installation with Ubuntu 8.04

sudo auth-client-config -a -p lac_ldap

Installation

Configure nsswitch

    passwd:     files ldap
    group:      files ldap
    shadow:     files ldap

PAM Configuration

   account sufficient      pam_ldap.so
   account required        pam_unix.so
auth    sufficient      pam_ldap.so
auth    required        pam_unix.so nullok_secure use_first_pass
password        sufficient      pam_ldap.so
password        required        pam_unix.so nullok obscure md5

PAM: Home directory creation

session required        pam_unix.so
session required        pam_mkhomedir.so skel=/etc/skel/
session optional        pam_ldap.so
session optional        pam_foreground.so