[Samba] User Home Folders
Rowland Penny
rpenny at samba.org
Sat Feb 23 08:39:04 UTC 2019
On Fri, 22 Feb 2019 20:07:27 -0500
"Marco Shmerykowsky" <marco at sce-engineers.com> wrote:
>
> On Fri, February 22, 2019 2:06 pm, Rowland Penny via samba wrote:
> > On Fri, 22 Feb 2019 13:54:04 -0500
> > Marco Shmerykowsky via samba <samba at lists.samba.org> wrote:
> >
> >>
> >> Following the "User Home Folders" page on the wiki using
> >> Group Policy
> >>
> >> https://wiki.samba.org/index.php/User_Home_Folders
> >>
> >> I see this page was last updated in March 2017.
> >> Not sure if anything has changed.
> >>
> >> Although I can access the shares, the %LogonUser% directory
> >> does not seem to be automatically generating.
> >>
> >> Thoughts?
> >>
> >> Share definition:
> >>
> >> [users]
> >> path = /server/users
> >> read only = no
> >> force create mode 0600
> >> force directory mode = 0700
> >>
> >> # chgrp "Domain Users" /server/users
> >> # chmod 2750 /server/users
> >>
> >>
> >
> > They aren't autocreated by default, add this
> > to /etc/pam.d/common-session
> >
> > session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
> >
>
> The drive gets mapped but is not accessible
> The "LogonUser" directory isn't being created.
>
OOPs, forgot to say, alter the path to this 'path = /server/users/%U'
You will also need 'template homedir = /server/users/%U' in global
Rowland
More information about the samba
mailing list