[Samba] samba 4.1 roaming profiles

Mark Nienberg mnlists at tippingstructural.com
Mon Dec 15 14:38:19 MST 2014


I'm configuring a new samba 4.1 server with NT4 style domain. I've copied
most of the configuration from our working 3.6 server, making some changes
as needed for the newer samba version. So far, I have been unable to get
roaming profiles to work. It seems like the users cannot write in the
profiles directory, but I don't see why not.

Here is the relevant part of smb.cond

[global]

netbios name = gecko
workgroup = MSD
server string = FileServer
hosts allow = 127. 10.0.0.

max protocol = SMB2

allow insecure wide links = yes

log file = /var/log/samba/log.%m
max log size = 50

security = user
passdb backend = tdbsam
domain master = yes
domain logons = yes

logon script = startup.vbs
logon path = \\%L\profiles\%U

local master = yes
os level = 65
preferred master = yes
wins support = yes

map archive = no
map hidden = no
map read only = no
map system = no
store dos attributes = yes
acl allow execute always = True

[homes]
        comment = Home Directories
        path = /mnt/share/homes/%u
        browseable = no
        writable = yes
        valid users = %S
        oplocks = No
        level2 oplocks = No

[netlogon]
        comment = Network Logon Service
        path = /mnt/share/netlogon
        browseable = no
        writable = no
        write list = +ntadmins
        wide links = yes

[profiles]
        comment = Roaming Profiles
        path = /mnt/share/ntprofiles
        admin users = +ntadmins
        writable = yes
        profile acls = yes
        csc policy = disable

And here is the directory structure:

[root at geckovm share]# ls -la /mnt/share/

drwxr-xr-x  11 root      root        4096 Dec 15 12:24 homes
drwxrwxrwx   2 root      Everyone    4096 Nov 24 18:00 netlogon
drwxrwxr-x   4 root      Everyone    4096 Dec 15 12:24 ntprofiles

We do all of our administration from the linux side, so I refered to the
section for
"Profile Shares using POSIX ACLS" in this wiki article.

https://wiki.samba.org/index.php/Samba_%26_Windows_Profiles

Thanks for any suggestions on how to proceed,

Mark

-- 
Please update your records with my new email address.


More information about the samba mailing list