[Samba] Winbind authenticated users - no home directory

John H Terpstra jht at samba.org
Wed Jan 15 20:51:01 GMT 2003

On Wed, 15 Jan 2003, John Oliver wrote:

> When I log on with an NT user to a Linux machine via winbind, I get
> complaints about no home directory and wind up in /  The docs don't
> mention this at all.  How to fix?

This is a Linux issue, not a samba issue!

Configure PAM for login so that it has pam_mkhomedir.so in the right
place. eg:

auth       requisite    pam_securetty.so
auth       requisite    pam_nologin.so
auth       optional     pam_env.so
auth       sufficient   pam_winbind.so
auth       sufficient   pam_pwdb.so       shadow nullok use_first_pass
account    required     pam_pwdb.so       nodelay audit
account    sufficient   pam_winbind.so
session    required     pam_mkhomedir.so
session    required     pam_pwdb.so       nodelay
password   required     pam_pwdb.so       shadow md5

- John T.
John H Terpstra
Email: jht at samba.org

More information about the samba mailing list