]> git.ipfire.org Git - thirdparty/samba.git/commit
pysmbd: set_nt_acl() can raise FileNotFoundError
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 1 Sep 2022 01:18:12 +0000 (01:18 +0000)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 7 Sep 2022 05:01:37 +0000 (05:01 +0000)
commitdc9f29e5c35982e7ce2cb5135ce906e9960579af
tree4e5b4e6e1b45d11866e3ef74c9863b5593e7fcbb
parent1b4938c3b1afc8600d693ef92b6944b18e449415
pysmbd: set_nt_acl() can raise FileNotFoundError

rather than an NTStatusError, which is harder to decipher, and which
carries less information (namely, not the name of the problematic file).

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/pysmbd.c