s3:pylibsmb: Make s3 and s4 listings return the same dict
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 4 Dec 2018 03:25:10 +0000 (16:25 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 00:23:08 +0000 (01:23 +0100)
commit6bcd64a4f14332de3259204b78c5b68988e98b6f
treeb45b1b918c8da377f178dea83de961f834e3b330
parent5f1ed29d6b7388e5ce0ad0023daa39cb8c4cb4dc
s3:pylibsmb: Make s3 and s4 listings return the same dict

Make the python dictionary generated by the s3 .list() use the same keys
as the current source4 dict. The reason for using the source4 dict is
that other python code depends on these keys (e.g. ntacls.py), whereas
the source3 API is currently unused.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/smb.py
source3/libsmb/pylibsmb.c