traffic: fix userAccountControl for machine account
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 2 May 2018 22:22:52 +0000 (22:22 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 May 2018 00:53:16 +0000 (02:53 +0200)
commit2fc6cbb8cb4931f7f4b130817859d2a283ac541c
tree660eba82a72e32bef331125adb9912aab88e8aaa
parent72f98f9763669887482cf430c7734b0a0d69cc1b
traffic: fix userAccountControl for machine account

change userAccountControl from

UF_WORKSTATION_TRUST_ACCOUNT | UF_PASSWD_NOTREQD

to

UF_TRUSTED_FOR_DELEGATION | UF_SERVER_TRUST_ACCOUNT

This will fix NetrServerPasswordSet2 failure in packet_rpc_netlogon_30
while testing against windows.

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.py