s3:pylibsmb: Don't return '.'/'..' in .list()
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 4 Dec 2018 03:03:35 +0000 (16:03 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 00:23:07 +0000 (01:23 +0100)
commit5f1ed29d6b7388e5ce0ad0023daa39cb8c4cb4dc
tree9542011fb568d31e5656ae20fbdcc1b16005c562
parent3ac4866d15af3ddebdfa2d9611fc094bf357bc3e
s3:pylibsmb: Don't return '.'/'..' in .list()

The source4 .list() API wasn't doing this. This makes source3 and source4
have *almost* equivalent functionality, so we can start usign the
source3 API in the tests.

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