traffic_packets: replace level 102 to 101 for packet_srvsvc_21
authorJoe Guo <joeg@catalyst.net.nz>
Thu, 26 Apr 2018 23:27:59 +0000 (11:27 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 00:09:28 +0000 (02:09 +0200)
commit51333c153844ae22eed645a0ce6c70eef78d1963
tree593dd67261052100833a19c3c06a18f23318fd55
parent34e35c4c80f8722d15770754393ce8673fc74a3b
traffic_packets: replace level 102 to 101 for packet_srvsvc_21

Level 102 will cause WERR_ACCESS_DENIED error against Windows, because:

    > If the level is 102 or 502, the Windows implementation checks whether
    > the caller is a member of one of the groups previously mentioned or
    > is a member of the Power Users local group.

It passed against Samba since this check is not implemented by Samba yet.

refer to:

    https://msdn.microsoft.com/en-us/library/cc247297.aspx#Appendix_A_80

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/emulate/traffic_packets.py