[Samba] User folder automatic creation - should use skel, but no

Sven Schwedas 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:
> Hi,
> 
> 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
> '<https://wiki.samba.org/index.php/Setting_up_a_home_share>session
> 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,
Sven Schwedas
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
http://software.tao.at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20140117/66b55575/attachment.pgp>


More information about the samba mailing list