s3:pylibsmb: Make .list() work for SMBv2
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 11 Dec 2018 23:08:24 +0000 (12:08 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 00:23:07 +0000 (01:23 +0100)
commit3ac4866d15af3ddebdfa2d9611fc094bf357bc3e
tree28295416c71a6fc1c08a9acb18244565ec707bce
parent057161039f45baf4acb582a6a8e6d41e3de317bd
s3:pylibsmb: Make .list() work for SMBv2

In order for .list() to work on an SMBv2 connection we need to
use the synchronous API.

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>
source3/libsmb/pylibsmb.c