s3:pylibsmb: Add .chkpath() API to SMB py bindings
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 3 Dec 2018 03:33:19 +0000 (16:33 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 00:23:07 +0000 (01:23 +0100)
commitc4dee3437afcf4ccba70cb3fd5848b65fd229781
tree7c892ea7ef16af8de9c72ee5143c9b6b3b3beabe
parent6a40e538df5ba51355a4c4a9949e66b0893f06c0
s3:pylibsmb: Add .chkpath() API to SMB py bindings

Note that this is checking the existence of *directories*, not *files*.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/smb.py
source3/libsmb/pylibsmb.c