[Samba] User folder automatic creation - should use skel, but no
sven.schwedas at tao.at
Fri Jan 17 00:48:24 MST 2014
Windows logon is completely separate from Unix logon and does not use
PAM at all. So yes, it's done by samba itself.
On 2014-01-16 17:45, Márcio Merlone wrote:
> I am testing Samba 4.1.4 Sernet packages on Ubuntu 12.04 to replace our
> old Samba 3.x server. I edited pam common-session file and added
> required pam_mkhomedir.so skel=/etc/skel/ umask=0027' just before
> pam_unix.so and pam_sss.so. If I shell-login on the server it create its
> homedir as expected using /etc/skel with the correct umask. But when I
> login on Windows it creates its homedir and profile folder without
> copying /etc/skel nor honoring umask.
> I assume Samba is creating the user's folder /before/ pam, and thus not
> using skel, is this correct? What's wrong and how can I fix this?
> Best regards.
Mit freundlichen Grüßen, / Best Regards,
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 665 bytes
Desc: OpenPGP digital signature
More information about the samba