s3:trusts_util: also pass the previous_nt_hash to netlogon_creds_cli_auth()
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Jun 2017 19:30:39 +0000 (21:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 27 Jun 2017 14:57:46 +0000 (16:57 +0200)
commitd60404b032eca5384d889352f52b9b129861b4af
treec92c8224bf6c6eb0770791d6230f760205826f76
parent0f5945a06df4bef501ca5085c621294057007225
s3:trusts_util: also pass the previous_nt_hash to netlogon_creds_cli_auth()

Even in the case where only the password is known to the server, we should
try to leave a valid authentication behind.

We have better ways to indentify which password worked than only using
the current one.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/trusts_util.c