[Samba] Samba4 binding LDAP Server

Danilo Mussolini danilo at mdotti.com
Sat May 31 17:30:54 MDT 2014


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

If I authenticate with a user contained in the group testgroup, I
can't mount the volume.
If I change the "valid users" to "valid users = testuser @testgroup",
I mount the volume with the user testuser but I can't write if this
user is not the owner of the folder.

I figured out that in Samba4 I don't need to have the "valid users"
entry. So, if I delete this line, I can mount but I can't write as
well.

It's like Samba4 can't recognize/read the groups from my ldap
database, or something like that.

I appreciate if someone could help me with that.


Thanks in advance,

Danilo

Sent from my iPad


More information about the samba mailing list