s4:libnet: Allow libnet_SetPassword() for encrypted SMB connections
authorAndreas Schneider <asn@samba.org>
Mon, 26 Jul 2021 08:13:52 +0000 (10:13 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 3 Aug 2021 09:28:38 +0000 (09:28 +0000)
commit17cc20ebe602b619461efa215ac75fed8e0d6338
tree0f25386abeb40f309af1fcec7544f9c7d80dd7ad
parent1326e7d65d1feff53303df35b2d641660a5babc0
s4:libnet: Allow libnet_SetPassword() for encrypted SMB connections

This is needed for smbtorture to join a domain in FIPS mode.

FYI: The correct way would be to join using LDAP as the s3 code is doing it. But
this requires a bigger rewrite.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/libnet/libnet_passwd.c