[Samba] SaMBa 4.0.3 - permissions in mapping

TAKAHASHI Motonobu monyo at monyo.com
Sat Mar 2 23:16:50 MST 2013


From: Celso Viana <celso.vianna at gmail.com>
Date: Sat, 2 Mar 2013 10:25:08 -0300

> I'm testing samba 4 (4.0.3) with FreeBSD 9.1 amd64. After
> done "domain provision" [1] with the tool "samba-tool", was
> generated the "smb.conf" [2]:
> 
> The manual "smb.conf", reports that the default value of the options
> "create mask" and "directory mask" are respectively "0744" and "0755."
> The command "testparm" [3] reports that the two values are valued
> "0777".

If you set up Samba4 as a DC, these values are forcibly set to "0777".
See init_locals() in source3/param/loadparm.c

---
TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo 
                   facebook.com/takahashi.motonobu



More information about the samba mailing list