[Samba] samba 3.5.5 and ACL mod

Sebastian.Perkins at swisscom.com Sebastian.Perkins at swisscom.com
Wed Sep 29 10:07:36 MDT 2010


>>>
>>>>> > Only one question remains, if I add a user to unix/samba it does not >>>> >> appear in the share acl even if I add it to "valid users".
>>>
>>>>> I do not think that adding users to valid users will do that but if>>
>>>>> you set the acl in the posix filesystem it will show up. Well it shows
>>>>> up on my domain after I got idmap working.
>>>
>>> Actually they do not appear even In "valid users". I am using >>security=user based on unix accounts (no domain). Can I set set the acl in >>the posix filesystem ?
>>>
>>>>> >
>>>>> > I have to add the user to the share with
>>>>> >
>>>>> > setfacl -m u:newuser:r /home/testshare
>>>>> >
>>>>> > And then change anything I need with mmc.
>>>>> >
>>>>> > Is there a way around this ?
>>>>> >
>>>>> I believe that  is the correct way. And the valid users is more of a >>hack.
>>>
>>> That means a command line for each new user in the system, hmm.

>> Why not put the users in some group?

Why not... it could an idea but for example we have a QNAP with a rather simpler smb.conf running that allows a user with mmc to add the local unix accounts. It doen't even implement acl just security on the share.

Either they have hacked samba or I fail to see why I cannot do this.



Sebastian


More information about the samba mailing list