ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_UasInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonUasLogon(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_UasLogoffInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonUasLogoff(cli->pipes_struct, r);
r->out.return_authenticator = r->in.return_authenticator;
r->out.validation = talloc_zero(mem_ctx, union netr_Validation);
if (r->out.validation == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.authoritative = talloc_zero(mem_ctx, uint8_t);
if (r->out.authoritative == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonSamLogon(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerReqChallenge(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerAuthenticate(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerPasswordSet(cli->pipes_struct, r);
r->out.sequence_num = r->in.sequence_num;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseDeltas(cli->pipes_struct, r);
r->out.sync_context = r->in.sync_context;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseSync(cli->pipes_struct, r);
r->out.return_authenticator = r->in.return_authenticator;
r->out.buffer = talloc_zero(mem_ctx, struct netr_AccountBuffer);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.count_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.count_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.total_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.recordid = talloc_zero(mem_ctx, struct netr_UAS_INFO_0);
if (r->out.recordid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_AccountDeltas(cli->pipes_struct, r);
r->out.recordid = r->in.recordid;
r->out.buffer = talloc_zero(mem_ctx, struct netr_AccountBuffer);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.count_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.count_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.total_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.next_reference = talloc_zero(mem_ctx, uint32_t);
if (r->out.next_reference == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_AccountSync(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.dcname = talloc_zero(mem_ctx, const char *);
if (r->out.dcname == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_GetDcName(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.query = talloc_zero(mem_ctx, union netr_CONTROL_QUERY_INFORMATION);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonControl(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.dcname = talloc_zero(mem_ctx, const char *);
if (r->out.dcname == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_GetAnyDCName(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.query = talloc_zero(mem_ctx, union netr_CONTROL_QUERY_INFORMATION);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonControl2(cli->pipes_struct, r);
r->out.negotiate_flags = r->in.negotiate_flags;
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerAuthenticate2(cli->pipes_struct, r);
r->out.sync_context = r->in.sync_context;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseSync2(cli->pipes_struct, r);
r->out.return_authenticator = r->in.return_authenticator;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseRedo(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.query = talloc_zero(mem_ctx, union netr_CONTROL_QUERY_INFORMATION);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonControl2Ex(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.trusted_domains_blob = talloc_zero(mem_ctx, struct netr_Blob);
if (r->out.trusted_domains_blob == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_NetrEnumerateTrustedDomains(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_DsRGetDCNameInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetDCName(cli->pipes_struct, r);
r->out.return_authenticator = r->in.return_authenticator;
r->out.capabilities = talloc_zero(mem_ctx, union netr_Capabilities);
if (r->out.capabilities == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonGetCapabilities(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonGetTrustRid(cli->pipes_struct, r);
r->out.negotiate_flags = r->in.negotiate_flags;
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerAuthenticate3(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_DsRGetDCNameInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetDCNameEx(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.site = talloc_zero(mem_ctx, const char *);
if (r->out.site == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetSiteName(cli->pipes_struct, r);
r->out.return_authenticator = r->in.return_authenticator;
r->out.info = talloc_zero(mem_ctx, union netr_DomainInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonGetDomainInfo(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerPasswordSet2(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerPasswordGet(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, struct netr_DsRAddressToSitenamesWCtr *);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRAddressToSitenamesW(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_DsRGetDCNameInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetDCNameEx2(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.dom_trust_list = talloc_zero(mem_ctx, struct netr_DomainTrustList);
if (r->out.dom_trust_list == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_NetrEnumerateTrustedDomainsEx(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, struct netr_DsRAddressToSitenamesExWCtr *);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRAddressToSitenamesExW(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, struct DcSitesCtr *);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsrGetDcSiteCoverageW(cli->pipes_struct, r);
r->out.flags = r->in.flags;
r->out.validation = talloc_zero(mem_ctx, union netr_Validation);
if (r->out.validation == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.authoritative = talloc_zero(mem_ctx, uint8_t);
if (r->out.authoritative == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonSamLogonEx(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.trusts = talloc_zero(mem_ctx, struct netr_DomainTrustList);
if (r->out.trusts == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsrEnumerateDomainTrusts(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.password2 = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.password2 == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerTrustPasswordsGet(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.forest_trust_info = talloc_zero(mem_ctx, struct lsa_ForestTrustInformation *);
if (r->out.forest_trust_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetForestTrustInformation(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.forest_trust_info = talloc_zero(mem_ctx, struct lsa_ForestTrustInformation *);
if (r->out.forest_trust_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_GetForestTrustInformation(cli->pipes_struct, r);
r->out.flags = r->in.flags;
r->out.validation = talloc_zero(mem_ctx, union netr_Validation);
if (r->out.validation == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.authoritative = talloc_zero(mem_ctx, uint8_t);
if (r->out.authoritative == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonSamLogonWithFlags(cli->pipes_struct, r);
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.new_owf_password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.new_owf_password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.old_owf_password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.old_owf_password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.trust_info = talloc_zero(mem_ctx, struct netr_TrustInfo *);
if (r->out.trust_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerGetTrustInfo(cli->pipes_struct, r);