pysmbd: fix use of sysacl API
authorUri Simchoni <uri@samba.org>
Tue, 5 Dec 2017 18:49:03 +0000 (20:49 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 21 Dec 2017 18:12:07 +0000 (19:12 +0100)
commitd6f5ee6707fa5404e2bef6fc81ae06b393ebd8ff
treee6ed797c5a3ba67e94d7494c2093617318ff2253
parent6a6f0952a5769628bfa07d1bf1c04bd23d827492
pysmbd: fix use of sysacl API

Fix pysmbd to use the sysacl (POSIX ACL support) as intended, and
not assume too much about the inner structure and implementation
of the permissions in the sysacl API.

This will allow the inner structure to change in a following commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13176

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/pysmbd.c