traffic_replay: set gensec features to encrypt credentials
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 18 Apr 2018 03:31:12 +0000 (15:31 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 00:09:28 +0000 (02:09 +0200)
commit5ed1682905849f8b1971eac79fa7718aa0f07744
tree1ff997c05c0074aea9b1cb72c2b60a7ea09802d6
parent4d950527f3e68cff7fa7281f3266be0d81cc9bde
traffic_replay: set gensec features to encrypt credentials

While running traffic_replay script against windows dc, it will fail
with a `LDAP_UNWILLING_TO_PERFORM` error for adding user.

Windows requires the credentials to be encrypted before sending.
`set_gensec_features` will fix it.

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