ntacls: Pass correct use_ntvfs through to setntacl()
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 15 Jan 2019 01:09:15 +0000 (14:09 +1300)
committerJeremy Allison <jra@samba.org>
Thu, 17 Jan 2019 00:40:30 +0000 (01:40 +0100)
commitf3fe96fc2e2d942b4a2e241777b5ee12b2295b97
tree1319d3a2d81a77eb4038dcb586316c957bc2690f
parent2a7372da7b84921b247cefc23d7003b8056d74a4
ntacls: Pass correct use_ntvfs through to setntacl()

We were already checking the smb.conf to see if it uses the NTVFS file
server or the default smbd server. However, we weren't passing this
through to the setntacl() call.

This fixes the problem we noticed with 'samba-tool gpo aclcheck' failing
after a restore.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/ntacls.py
selftest/knownfail.d/gpo [deleted file]