if (tevent_req_nterror(req, status)) {
return tevent_req_post(req, ev);
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
subreq = dcerpc_netr_LogonGetCapabilities_send(state, state->ev,
state->binding_handle,
if (tevent_req_nterror(req, status)) {
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
subreq = dcerpc_netr_LogonGetCapabilities_send(state, state->ev,
state->binding_handle,
if (tevent_req_nterror(req, status)) {
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
if (state->tmp_creds.negotiate_flags & NETLOGON_NEG_PASSWORD_SET2) {
netlogon_creds_cli_LogonSamLogon_cleanup(req, status);
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
state->logon = netlogon_creds_shallow_copy_logon(state,
state->logon_level,
if (tevent_req_nterror(req, status)) {
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
subreq = dcerpc_netr_DsrUpdateReadOnlyServerDnsRecords_send(state, state->ev,
state->binding_handle,
if (tevent_req_nterror(req, status)) {
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
subreq = dcerpc_netr_ServerGetTrustInfo_send(state, state->ev,
state->binding_handle,
if (tevent_req_nterror(req, status)) {
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
subreq = dcerpc_netr_GetForestTrustInformation_send(state, state->ev,
state->binding_handle,
if (tevent_req_nterror(req, status)) {
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
status = netlogon_creds_encrypt_SendToSam(&state->tmp_creds,
state->opaque.data,
if (tevent_req_nterror(req, status)) {
return;
}
- ZERO_STRUCT(state->rep_auth);
+ state->rep_auth = (struct netr_Authenticator){0};
subreq = dcerpc_netr_LogonGetDomainInfo_send(state, state->ev,
state->binding_handle,