[Samba] Does Samba 4 actually respect Unix file acls?

Jeremy Allison jra at samba.org
Fri Dec 19 17:00:06 MST 2014


On Fri, Dec 19, 2014 at 06:31:33PM -0500, Rufe Glick wrote:
> Hello Jeremy,
> 
> Friday, December 19, 2014, 4:55:21 PM, you wrote:
> 
> > On Fri, Dec 19, 2014 at 03:58:58PM -0500, Rufe Glick wrote:
> >> Hello Jeremy,
> 
> >> > Do alice and bob have the same user ids on client
> >> > and server ?
> 
> >> Yes, the uids and gids are identical on both server and client machines.
> 
> > Then it should work. Set debug level 10 on the smbd
> > and look for ACCESS_DENIED messages in the logs.
> 
> I set debug level to 10. This is the output -- http://pastebin.com/dfmHqYA7 -- I get in '/var/log/samba/log.' file on the server side when I try to access share as bob on the client machine (and get Permission denied error). There are no ACCESS_DENIED messages in the logs. For the reference - bob's uid/gid are 1002, alice's uid/gid are 1001.

Hmmm. Might be a client bug. It's only doing
a smbd_do_qfilepathinfo: SMB_QUERY_FILE_UNIX_BASIC
call to check if it can cd into the directory,
instead of a SMB_QUERY_POSIX_ACL: trans2
request.

Pinging Steve French...


More information about the samba mailing list