netcmd/ldapcmp: use set instead of list to compare attrs
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 6 Nov 2018 05:16:34 +0000 (18:16 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Nov 2018 06:46:20 +0000 (07:46 +0100)
commit7d9282bf7c02df351f976701ac6b4ed121be72f1
treecac9a230aa18c5105105ace8191b7df8023b0314
parent10855509852f8e6bc42d5410e59e76fbf2f14657
netcmd/ldapcmp: use set instead of list to compare attrs

This will simplify the logic and improve performance.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/ldapcmp.py