[Samba] Samba4 binding LDAP Server

steve steve at steve-ss.com
Sun Jun 1 03:52:31 MDT 2014


On Sat, 2014-05-31 at 20:30 -0300, Danilo Mussolini wrote:
> Hi all,
> 
> I have several servers in a facility running Samba3 authenticating
> users from a LDAP server with no issues.
> But now, I'm testing a new file server with Samba4 and I'm running in
> a problem which seems to be really easy to solve but I couldn't.
> 
> I'm using the smb.conf file from the other samba3 servers, so while I
> don't set the owner of the folder (with chown) with the user I'm
> authenticating, I can't write to this folder.
> 
> For example, I have the following share config:
> 
> [Share]
> comment = Share Test
> path = /Storage/Test
> browseable = yes
> writable = yes
> create mask = 0664
> directory mask = 2775
> valid users = @testgroup

Hi remove all the old stuff and use simply:
[Share]
path = /Storage/share
read only = no

Now set the acls:
https://wiki.samba.org/index.php/Setup_and_configure_file_shares
HTH
Steve




More information about the samba mailing list