netlogon_creds_cli: Do not corrupt authenticator state on application level errors
authorGarming Sam <garming@catalyst.net.nz>
Thu, 20 Apr 2017 04:55:58 +0000 (16:55 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2017 06:06:07 +0000 (08:06 +0200)
commit8ae968193b7084af8bb0ccf7d624ff10e39d5715
treef0ca2d52a2ff1e4fe7e8393c90630c64b43ae614
parent29cccff500a74bb474c097eef89db016ce57569d
netlogon_creds_cli: Do not corrupt authenticator state on application level errors

If the NETLOGON response was an error e.g. NT_STATUS_NOT_IMPLEMENTED, any subsequent
calls failed with NT_STATUS_ACCESS_DENIED. This is likely to be the cause of RODC DNS
updates falling off and never continuing.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/auth/netlogon_creds_cli.c