[Samba] Samba4 AD DC User Home Directories?

Jim Seymour jseymour at LinxNet.com
Wed Sep 9 12:19:41 UTC 2015


G'day All,

I appear to have a functioning Samba4 AD DC (joined my laptop to it,
late yesterday morning), now I'm seeing what it takes to actually have
users on the AD DC.  So, next up...

User home directories.  My Samba3 server has, in smb.conf:

    [homes]
       comment = Home Directories
       browseable = no
       guest ok = no
       read only = no
       inherit permissions = yes
       ; For brain-dead MS-VC++
       dos filetime resolution = True

This doc, at the Wiki:
https://wiki.samba.org/index.php/WIP/Beginner_HowTo_-_SOHO_business_server
says you need something like:

    [home]
            path = /data/home
            comment = Homedirectories
            read only = No

            vfs objects = acl_xattr recycle
            acl_xattr:ignore system acl = yes
            recycle:keeptree = yes
            recycle:versions = yes
            recycle:maxsize = 1073741824

            csc policy = programs

(Tho mine would be "path = /home", and I'm not certain about the other
parameters.)

Meanwhile, this thread:
http://samba.2283325.n4.nabble.com/Samba-4-Create-User-Home-Dir-td4676687.html

says, variously, you need something like
'/home/%WORKGROUP%/%ACCOUNTNAME%', or it can't be done at all on an AD
DC, or it can be done with hacks or work-arounds, or...

So...?

Thanks,
Jim
-- 
Note: My mail server employs *very* aggressive anti-spam
filtering.  If you reply to this email and your email is
rejected, please accept my apologies and let me know via my
web form at <http://jimsun.LinxNet.com/contact/scform.php>.



More information about the samba mailing list