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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 4 Feb 2019 08:50:09 +0000 (09:50 +0100)
commite682347bc1863a800373703f33866ea9c1f11626
tree06c5097e64e9a346b4b1c516eb7ce69843cbe3b5
parent6158ca6e2994c5090312cf4677024b43df6bcc7e
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>
(cherry picked from commit f3fe96fc2e2d942b4a2e241777b5ee12b2295b97)
python/samba/ntacls.py
selftest/knownfail.d/gpo [deleted file]