Hi,

> - What if the user comes in (for the first time) though SSH, authenticates
> against the AD, and then wants a home-dir to be created. Which PAM file
> (in /etc/pam.d) should I modify? And what should I write in it?

Here is what I use on my linux boxes with ssh configured to
authenticate through ldap:

# Modify /etc/pam.d/common-session

echo 'session required pam_mkhomedir.so skel=/etc/skel/ umask=027' >>
/etc/pam.d/common-session

Regards,

Gael
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to