mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
s4:rpc_server/netlogon: let dcesrv_netr_LogonSamLogon_base_reply handle encryption errors
This might be the better option when we implement netr_ServerAuthenticateKerberos(). Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
a4105f94f9
commit
567d4e356a
@ -1704,6 +1704,12 @@ static void dcesrv_netr_LogonSamLogon_base_reply(
|
||||
DBG_ERR("netlogon_creds_encrypt_samlogon_validation() "
|
||||
"failed - %s\n",
|
||||
nt_errstr(status));
|
||||
if (r->out.validation != NULL) {
|
||||
ZERO_STRUCTP(r->out.validation);
|
||||
}
|
||||
*r->out.authoritative = true;
|
||||
*r->out.flags = 0;
|
||||
r->out.result = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user