libcli/auth: use the correct creds value against servers without LogonSamLogonEx
authorStefan Metzmacher <metze@samba.org>
Wed, 15 Feb 2017 07:58:20 +0000 (08:58 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 21 Feb 2017 15:09:21 +0000 (16:09 +0100)
commit0ed2a65593b5abc9ba7f40992ed0ed8f448f5836
tree39f63cf9417da438997dbefcb7572a0abc643e3a
parentcebcc2adc7e568d492466bb69f21ba2a9630a0d2
libcli/auth: use the correct creds value against servers without LogonSamLogonEx

If we use the credential chain we need to use the value from
netlogon_creds_client_authenticator() to make sure we have the current
value to encrypt in logon info.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
libcli/auth/netlogon_creds_cli.c