traffic_packets: provision request data for packet_drsuapi_13
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 1 May 2018 04:58:01 +0000 (16:58 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 00:09:29 +0000 (02:09 +0200)
commit7c93fb57f598a8d0d2528c950b9eec2cf5e14189
treed1a7536462634b87482f7da286dc3af0ab6ccbe5
parent9cabb16b489b43495472b0e7229ba864daa7d479
traffic_packets: provision request data for packet_drsuapi_13

The `drsuapi.DsWriteAccountSpnRequest1` struct in this packet was empty before.
Samba lets it go but Windows will report an invalid parameter error.

Provision the request with proper data, and give user permission to
write account SPN.

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
python/samba/tests/emulate/traffic_packet.py