[Samba] AD home drive

Rowland penny rpenny at samba.org
Fri Jun 14 16:09:39 UTC 2019

On 14/06/2019 16:57, Goetz, Patrick G via samba wrote:
> On 6/14/19 5:30 AM, Praveen Ghimire via samba wrote:
>> Initially I deposited the line towards the bottom but then it didn't work. The line wasn't getting enough attention so it decided to creep up a bit :)
> PAM configuration is very, very temperamental.  Unless you know exactly
> what you're doing you'll probably lock yourself out of your system.
> I suggest either taking some time to learn how PAM works or enlisting
> the help of a friend who does.  Just randomly placing lines in a PAM
> file is almost guaranteed not to work.
If he had logged in via SSH, it would have worked with the line at the 
bottom, but it seems that isn't the way the OP was trying to connect, he 
was trying to connect via Samba and Samba doesn't use PAM. He needs to 
use 'root preexec' in smb.conf with a script to create the users 
directory if it doesn't exist.


More information about the samba mailing list