[Samba] pam_winbind and home folders

Marco Gaiarin gaio at lilliput.linux.it
Mon Jan 16 20:36:00 UTC 2023


Mandi! Piviul via samba
  In chel di` si favelave...

>> 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...

Exactly.


>> Clearly this work only for 'windows' user, but...
> You mean that's only works for domain users?

Yes; Strictly, windows client access by default to [homes] and so the home
get created; if you create an account to some user and this user have to
access in SSH to the server, they have no home.

Considering the user case: 'a windows network where a user need ssh access
before doing a windows logon' in your setup... ;-)

-- 
  Se Darl McBride [il presidente di SCO] ne fosse incaricato,
  probabilmente renderebbe anticostituzionale anche il matrimonio, poiché
  chiaramente attenua la normale natura commerciale dell'interazione umana
  ed è probabilmente un ostacolo importante alla crescita commerciale
  della prostituzione. 					Linus Torvalds





More information about the samba mailing list