[Samba] libpam-winbind mkhomedir

Rowland penny rpenny at samba.org
Mon May 31 15:47:23 UTC 2021


On 31/05/2021 15:44, Piviul via samba wrote:
> Hi all, in a domain member PC, I have configured winbind to create 
> home directories for domain users, setting to yes the parameter 
> mkhomedir in /etc/security/pam_winbind.conf.
>
> All seems to work: when a user browse or connect this domain member 
> the user home folder is automatically created on users home folder. 
> But in the users home folder I can find even a folder for every host 
> that browsed or connect to this member: there is no way to instruct 
> winbind don't create folders for PCs member?
>
> Best regards
>
> Piviul
>
>

What OS is this ?

Normally, the users Unix home directory is the one shown by 'getent 
passwd USERNAME' , So I have no idea where your extra folders are coming 
from. Can you post your smb.conf and the contents of 
/etc/security/pam_winbind.conf

Rowland





More information about the samba mailing list