[Samba] ACL issue in samba 4.0.7

Kandukuru, Suresh SK Suresh.Kandukuru at lenovoemc.com
Wed Aug 28 07:31:55 MDT 2013


Hi samba team,

, We have recently moved samba  to 4.0.7  since then acl are not working when we try to set any deny permission from windows hosts. The error is as shown below in log.smbd
>>
[2013/08/21 02:49:36.322907,  0] ../source3/smbd/posix_acls.c:1814(add_current_ace_to_acl)
  add_current_ace_to_acl: malformed ACL in file ACL ! Deny entry after Allow entry. Failing to set on file Raghu.
>>

Share in smb.conf is  given below . and attached the smb.conf .

>>
[pubshar]
path= /mnt/pools/A/A0/pubshar/
max connections= 50
directory mode= 0777
create mode= 0777
follow symlinks= yes
wide links= no
nt acl support= yes
dos filemode= yes
writeable= yes
public= yes
store dos attributes= yes
write list= guest

>>

I see the bug is similar to https://lists.samba.org/archive/samba/2012-October/169503.html
https://bugzilla.samba.org/show_bug.cgi?id=9275

There the problem solved once they move from posix acl to windows acl . But we would like to use posix acls only . we did not notice this in 3.x samba versions . can you tell me how to fix this problem?. Thanks

/Suresh


More information about the samba mailing list