[Samba] pam_winbind and home folders

Piviul piviul at riminilug.it
Mon Jan 16 07:14:05 UTC 2023


On 1/14/23 16:44, Marco Gaiarin via samba wrote:
> Mandi! Piviul via samba
>    In chel di` si favelave...
>> Well, I can understand that System account use AD machine account to do
>> things so a uid for a machine account is needed but I don't think the pc
>> account need an home, didn't it? If you use mkhomedir in pam_winbind
>> module, home folders are created even using idmap AD backend or it's a
>> problem only of idmap rid backend?
> As just stated, i use a 'root preexec =' script on [homes] folder; machine
> account effectively does not have a home (and a profile) and don'use
> [homes].

so in root preexec you created a script that test if the home user 
folder exists and if it doesn't it creates it. Should work...

> Clearly this work only for 'windows' user, but...

You mean that's only works for domain users?

have a great day!

Piviul





More information about the samba mailing list