traffic_packets.py: let Lookup{Sids,Names}() work against a sane server
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Jan 2018 17:04:29 +0000 (18:04 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 21 Feb 2018 13:19:18 +0000 (14:19 +0100)
commit1a258b6b0f667ec077639a7cfe826e5e25f46768
treee575e37be0c5b3809ecbc9520703d3b212938f13
parentda784305e7b306664b79d30a734d45582f5bf4dd
traffic_packets.py: let Lookup{Sids,Names}() work against a sane server

In order to resolve predefined sids or names we need to use
level = LSA_LOOKUP_NAMES_ALL (1).

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13284

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/emulate/traffic_packets.py