I'm trying to get pam_mkhomedir to auto-create user's home directories (of course) when they log onto Samba for the first time. In the past (Using Samba 2.0.x), I used the 'root preexec' option to specify a bash script to create the home directory, but this doesn't seem to work with Samba 2.2.x.

My /etc/pam.d/samba file looks like this:

auths sufficient pam_unix.so nullok
auth required pam_smb_auth.so
account required pam_unix.so
session required pam_mkhomedir.so umask=0022 skel=/etc/skel

Any help is greatly appreciated.

Thanks,

Ken McCord


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to