/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_Close, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_Close_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_Close, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_Close, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_Close, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_Delete, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_Delete, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_Delete, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_Delete, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumPrivs, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_EnumPrivs_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumPrivs, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.resume_handle = resume_handle;
r.in.max_count = max_count;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumPrivs, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumPrivs, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QuerySecurity, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QuerySecurity_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QuerySecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.sec_info = sec_info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QuerySecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QuerySecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetSecObj, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetSecObj, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sec_info = sec_info;
r.in.sdbuf = sdbuf;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetSecObj, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetSecObj, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_ChangePassword, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_ChangePassword, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_ChangePassword, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_ChangePassword, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenPolicy, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_OpenPolicy_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.attr = attr;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenPolicy, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryInfoPolicy, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QueryInfoPolicy_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryInfoPolicy, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetInfoPolicy, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetInfoPolicy, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_ClearAuditLog, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_ClearAuditLog, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_ClearAuditLog, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_ClearAuditLog, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateAccount, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_CreateAccount_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateAccount, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sid = sid;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccounts, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_EnumAccounts_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccounts, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.resume_handle = resume_handle;
r.in.num_entries = num_entries;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccounts, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccounts, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomain, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_CreateTrustedDomain_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumTrustDom, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_EnumTrustDom_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumTrustDom, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.resume_handle = resume_handle;
r.in.max_size = max_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumTrustDom, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumTrustDom, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupNames_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.count = count;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupSids_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.count = count;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateSecret, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_CreateSecret_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateSecret, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name = name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateSecret, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateSecret, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenAccount, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_OpenAccount_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenAccount, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sid = sid;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumPrivsAccount, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_EnumPrivsAccount_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumPrivsAccount, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumPrivsAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumPrivsAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_AddPrivilegesToAccount, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_AddPrivilegesToAccount, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.privs = privs;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_AddPrivilegesToAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_AddPrivilegesToAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_RemovePrivilegesFromAccount, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_RemovePrivilegesFromAccount, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.remove_all = remove_all;
r.in.privs = privs;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_RemovePrivilegesFromAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_RemovePrivilegesFromAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_GetQuotasForAccount, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_GetQuotasForAccount, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_GetQuotasForAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_GetQuotasForAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetQuotasForAccount, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetQuotasForAccount, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetQuotasForAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetQuotasForAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_GetSystemAccessAccount, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_GetSystemAccessAccount_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_GetSystemAccessAccount, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_GetSystemAccessAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_GetSystemAccessAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetSystemAccessAccount, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetSystemAccessAccount, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetSystemAccessAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetSystemAccessAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenTrustedDomain, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_OpenTrustedDomain_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sid = sid;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenTrustedDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QueryTrustedDomainInfo_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.trustdom_handle = trustdom_handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetInformationTrustedDomain, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetInformationTrustedDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetInformationTrustedDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetInformationTrustedDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenSecret, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_OpenSecret_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenSecret, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name = name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenSecret, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenSecret, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetSecret, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetSecret, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.new_val = new_val;
r.in.old_val = old_val;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetSecret, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetSecret, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QuerySecret, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QuerySecret_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QuerySecret, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.old_val = old_val;
r.in.old_mtime = old_mtime;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QuerySecret, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QuerySecret, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupPrivValue, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupPrivValue_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupPrivValue, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.name = name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupPrivValue, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupPrivValue, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupPrivName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupPrivName_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupPrivName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.luid = luid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupPrivName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupPrivName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupPrivDisplayName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupPrivDisplayName_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupPrivDisplayName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.language_id = language_id;
r.in.language_id_sys = language_id_sys;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupPrivDisplayName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupPrivDisplayName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_DeleteObject, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_DeleteObject_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_DeleteObject, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_DeleteObject, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_DeleteObject, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccountsWithUserRight, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_EnumAccountsWithUserRight_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccountsWithUserRight, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.name = name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccountsWithUserRight, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccountsWithUserRight, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccountRights, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_EnumAccountRights_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccountRights, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccountRights, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccountRights, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_AddAccountRights, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_AddAccountRights, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sid = sid;
r.in.rights = rights;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_AddAccountRights, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_AddAccountRights, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_RemoveAccountRights, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_RemoveAccountRights, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.remove_all = remove_all;
r.in.rights = rights;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_RemoveAccountRights, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_RemoveAccountRights, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfoBySid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QueryTrustedDomainInfoBySid_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoBySid, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.dom_sid = dom_sid;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfoBySid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoBySid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetTrustedDomainInfo, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetTrustedDomainInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_DeleteTrustedDomain, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_DeleteTrustedDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.dom_sid = dom_sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_DeleteTrustedDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_DeleteTrustedDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_StorePrivateData, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_StorePrivateData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name = name;
r.in.val = val;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_StorePrivateData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_StorePrivateData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_RetrievePrivateData, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_RetrievePrivateData_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_RetrievePrivateData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name = name;
r.in.val = val;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_RetrievePrivateData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_RetrievePrivateData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenPolicy2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_OpenPolicy2_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.attr = attr;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenPolicy2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_GetUserName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_GetUserName_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_GetUserName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.account_name = account_name;
r.in.authority_name = authority_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_GetUserName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_GetUserName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryInfoPolicy2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QueryInfoPolicy2_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryInfoPolicy2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetInfoPolicy2, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetInfoPolicy2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfoByName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QueryTrustedDomainInfoByName_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoByName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.trusted_domain = trusted_domain;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfoByName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoByName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_handle /* [in] [ref] */,
- struct lsa_String _trusted_domain /* [in] */,
+ struct lsa_String *_trusted_domain /* [in] [ref] */,
enum lsa_TrustDomInfoEnum _level /* [in] */,
- union lsa_TrustedDomainInfo *_info /* [in] [unique,switch_is(level)] */)
+ union lsa_TrustedDomainInfo *_info /* [in] [ref,switch_is(level)] */)
{
struct tevent_req *req;
struct rpccli_lsa_SetTrustedDomainInfoByName_state *state;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetTrustedDomainInfoByName, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfoByName, &state->orig);
- }
-
tevent_req_done(req);
}
NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *handle /* [in] [ref] */,
- struct lsa_String trusted_domain /* [in] */,
+ struct lsa_String *trusted_domain /* [in] [ref] */,
enum lsa_TrustDomInfoEnum level /* [in] */,
- union lsa_TrustedDomainInfo *info /* [in] [unique,switch_is(level)] */)
+ union lsa_TrustedDomainInfo *info /* [in] [ref,switch_is(level)] */)
{
struct lsa_SetTrustedDomainInfoByName r;
NTSTATUS status;
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetTrustedDomainInfoByName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfoByName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumTrustedDomainsEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_EnumTrustedDomainsEx_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumTrustedDomainsEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.resume_handle = resume_handle;
r.in.max_size = max_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_EnumTrustedDomainsEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumTrustedDomainsEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomainEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_CreateTrustedDomainEx_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.auth_info = auth_info;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomainEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CloseTrustedDomainEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_CloseTrustedDomainEx_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CloseTrustedDomainEx, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CloseTrustedDomainEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CloseTrustedDomainEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryDomainInformationPolicy, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_QueryDomainInformationPolicy_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryDomainInformationPolicy, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_QueryDomainInformationPolicy, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryDomainInformationPolicy, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetDomainInformationPolicy, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetDomainInformationPolicy, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_SetDomainInformationPolicy, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_SetDomainInformationPolicy, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenTrustedDomainByName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_OpenTrustedDomainByName_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomainByName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name = name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_OpenTrustedDomainByName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomainByName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_TestCall, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_TestCall, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_TestCall, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_TestCall, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
struct lsa_TransNameArray2 *_names /* [in,out] [ref] */,
enum lsa_LookupNamesLevel _level /* [in] */,
uint32_t *_count /* [in,out] [ref] */,
- uint32_t _unknown1 /* [in] */,
- uint32_t _unknown2 /* [in] */)
+ enum lsa_LookupOptions _lookup_options /* [in] */,
+ enum lsa_ClientRevision _client_revision /* [in] */)
{
struct tevent_req *req;
struct rpccli_lsa_LookupSids2_state *state;
state->orig.in.names = _names;
state->orig.in.level = _level;
state->orig.in.count = _count;
- state->orig.in.unknown1 = _unknown1;
- state->orig.in.unknown2 = _unknown2;
+ state->orig.in.lookup_options = _lookup_options;
+ state->orig.in.client_revision = _client_revision;
/* Out parameters */
state->orig.out.domains = _domains;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupSids2_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids2, &state->orig);
- }
-
tevent_req_done(req);
}
struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
enum lsa_LookupNamesLevel level /* [in] */,
uint32_t *count /* [in,out] [ref] */,
- uint32_t unknown1 /* [in] */,
- uint32_t unknown2 /* [in] */)
+ enum lsa_LookupOptions lookup_options /* [in] */,
+ enum lsa_ClientRevision client_revision /* [in] */)
{
struct lsa_LookupSids2 r;
NTSTATUS status;
r.in.names = names;
r.in.level = level;
r.in.count = count;
- r.in.unknown1 = unknown1;
- r.in.unknown2 = unknown2;
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids2, &r);
- }
+ r.in.lookup_options = lookup_options;
+ r.in.client_revision = client_revision;
status = cli->dispatch(cli,
mem_ctx,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
struct lsa_TransSidArray2 *_sids /* [in,out] [ref] */,
enum lsa_LookupNamesLevel _level /* [in] */,
uint32_t *_count /* [in,out] [ref] */,
- uint32_t _lookup_options /* [in] */,
- uint32_t _client_revision /* [in] */)
+ enum lsa_LookupOptions _lookup_options /* [in] */,
+ enum lsa_ClientRevision _client_revision /* [in] */)
{
struct tevent_req *req;
struct rpccli_lsa_LookupNames2_state *state;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupNames2_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames2, &state->orig);
- }
-
tevent_req_done(req);
}
struct lsa_TransSidArray2 *sids /* [in,out] [ref] */,
enum lsa_LookupNamesLevel level /* [in] */,
uint32_t *count /* [in,out] [ref] */,
- uint32_t lookup_options /* [in] */,
- uint32_t client_revision /* [in] */)
+ enum lsa_LookupOptions lookup_options /* [in] */,
+ enum lsa_ClientRevision client_revision /* [in] */)
{
struct lsa_LookupNames2 r;
NTSTATUS status;
r.in.lookup_options = lookup_options;
r.in.client_revision = client_revision;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomainEx2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_CreateTrustedDomainEx2_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.auth_info = auth_info;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomainEx2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRWRITE, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRWRITE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRREAD, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRREAD, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRREAD, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRREAD, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRENUMERATE, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRENUMERATE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRENUMERATE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRENUMERATE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRDELETE, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRDELETE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRDELETE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRDELETE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRGETTARGETINFO, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRGETTARGETINFO, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRGETTARGETINFO, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRGETTARGETINFO, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRPROFILELOADED, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRPROFILELOADED, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRPROFILELOADED, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRPROFILELOADED, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
struct lsa_TransSidArray3 *_sids /* [in,out] [ref] */,
enum lsa_LookupNamesLevel _level /* [in] */,
uint32_t *_count /* [in,out] [ref] */,
- uint32_t _lookup_options /* [in] */,
- uint32_t _client_revision /* [in] */)
+ enum lsa_LookupOptions _lookup_options /* [in] */,
+ enum lsa_ClientRevision _client_revision /* [in] */)
{
struct tevent_req *req;
struct rpccli_lsa_LookupNames3_state *state;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames3, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupNames3_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames3, &state->orig);
- }
-
tevent_req_done(req);
}
struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
enum lsa_LookupNamesLevel level /* [in] */,
uint32_t *count /* [in,out] [ref] */,
- uint32_t lookup_options /* [in] */,
- uint32_t client_revision /* [in] */)
+ enum lsa_LookupOptions lookup_options /* [in] */,
+ enum lsa_ClientRevision client_revision /* [in] */)
{
struct lsa_LookupNames3 r;
NTSTATUS status;
r.in.lookup_options = lookup_options;
r.in.client_revision = client_revision;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames3, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames3, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRGETSESSIONTYPES, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRGETSESSIONTYPES, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRGETSESSIONTYPES, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRGETSESSIONTYPES, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARREGISTERAUDITEVENT, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARREGISTERAUDITEVENT, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARREGISTERAUDITEVENT, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARREGISTERAUDITEVENT, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARGENAUDITEVENT, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARGENAUDITEVENT, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARGENAUDITEVENT, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARGENAUDITEVENT, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_lsaRQueryForestTrustInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_lsaRQueryForestTrustInformation_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_lsaRQueryForestTrustInformation, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.trusted_domain_name = trusted_domain_name;
r.in.unknown = unknown;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_lsaRQueryForestTrustInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_lsaRQueryForestTrustInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
return r.out.result;
}
-struct rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_state {
- struct lsa_LSARSETFORESTTRUSTINFORMATION orig;
- struct lsa_LSARSETFORESTTRUSTINFORMATION tmp;
+struct rpccli_lsa_lsaRSetForestTrustInformation_state {
+ struct lsa_lsaRSetForestTrustInformation orig;
+ struct lsa_lsaRSetForestTrustInformation tmp;
TALLOC_CTX *out_mem_ctx;
NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
};
-static void rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_done(struct tevent_req *subreq);
+static void rpccli_lsa_lsaRSetForestTrustInformation_done(struct tevent_req *subreq);
-struct tevent_req *rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_send(TALLOC_CTX *mem_ctx,
+struct tevent_req *rpccli_lsa_lsaRSetForestTrustInformation_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
- struct rpc_pipe_client *cli)
+ struct rpc_pipe_client *cli,
+ struct policy_handle *_handle /* [in] [ref] */,
+ struct lsa_StringLarge *_trusted_domain_name /* [in] [ref] */,
+ uint16_t _highest_record_type /* [in] */,
+ struct lsa_ForestTrustInformation *_forest_trust_info /* [in] [ref] */,
+ uint8_t _check_only /* [in] */,
+ struct lsa_ForestTrustCollisionInfo **_collision_info /* [out] [ref] */)
{
struct tevent_req *req;
- struct rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_state *state;
+ struct rpccli_lsa_lsaRSetForestTrustInformation_state *state;
struct tevent_req *subreq;
req = tevent_req_create(mem_ctx, &state,
- struct rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_state);
+ struct rpccli_lsa_lsaRSetForestTrustInformation_state);
if (req == NULL) {
return NULL;
}
state->dispatch_recv = cli->dispatch_recv;
/* In parameters */
+ state->orig.in.handle = _handle;
+ state->orig.in.trusted_domain_name = _trusted_domain_name;
+ state->orig.in.highest_record_type = _highest_record_type;
+ state->orig.in.forest_trust_info = _forest_trust_info;
+ state->orig.in.check_only = _check_only;
/* Out parameters */
+ state->orig.out.collision_info = _collision_info;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &state->orig);
+ state->out_mem_ctx = talloc_named_const(state, 0,
+ "rpccli_lsa_lsaRSetForestTrustInformation_out_memory");
+ if (tevent_req_nomem(state->out_mem_ctx, req)) {
+ return tevent_req_post(req, ev);
}
/* make a temporary copy, that we pass to the dispatch function */
if (tevent_req_nomem(subreq, req)) {
return tevent_req_post(req, ev);
}
- tevent_req_set_callback(subreq, rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_done, req);
+ tevent_req_set_callback(subreq, rpccli_lsa_lsaRSetForestTrustInformation_done, req);
return req;
}
-static void rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_done(struct tevent_req *subreq)
+static void rpccli_lsa_lsaRSetForestTrustInformation_done(struct tevent_req *subreq)
{
struct tevent_req *req = tevent_req_callback_data(
subreq, struct tevent_req);
- struct rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_state *state = tevent_req_data(
- req, struct rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_state);
+ struct rpccli_lsa_lsaRSetForestTrustInformation_state *state = tevent_req_data(
+ req, struct rpccli_lsa_lsaRSetForestTrustInformation_state);
NTSTATUS status;
TALLOC_CTX *mem_ctx;
}
/* Copy out parameters */
+ *state->orig.out.collision_info = *state->tmp.out.collision_info;
/* Copy result */
state->orig.out.result = state->tmp.out.result;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &state->orig);
- }
-
tevent_req_done(req);
}
-NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_recv(struct tevent_req *req,
+NTSTATUS rpccli_lsa_lsaRSetForestTrustInformation_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
NTSTATUS *result)
{
- struct rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_state *state = tevent_req_data(
- req, struct rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_state);
+ struct rpccli_lsa_lsaRSetForestTrustInformation_state *state = tevent_req_data(
+ req, struct rpccli_lsa_lsaRSetForestTrustInformation_state);
NTSTATUS status;
if (tevent_req_is_nterror(req, &status)) {
return NT_STATUS_OK;
}
-NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx)
+NTSTATUS rpccli_lsa_lsaRSetForestTrustInformation(struct rpc_pipe_client *cli,
+ TALLOC_CTX *mem_ctx,
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_StringLarge *trusted_domain_name /* [in] [ref] */,
+ uint16_t highest_record_type /* [in] */,
+ struct lsa_ForestTrustInformation *forest_trust_info /* [in] [ref] */,
+ uint8_t check_only /* [in] */,
+ struct lsa_ForestTrustCollisionInfo **collision_info /* [out] [ref] */)
{
- struct lsa_LSARSETFORESTTRUSTINFORMATION r;
+ struct lsa_lsaRSetForestTrustInformation r;
NTSTATUS status;
/* In parameters */
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &r);
- }
+ r.in.handle = handle;
+ r.in.trusted_domain_name = trusted_domain_name;
+ r.in.highest_record_type = highest_record_type;
+ r.in.forest_trust_info = forest_trust_info;
+ r.in.check_only = check_only;
status = cli->dispatch(cli,
mem_ctx,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
+ *collision_info = *r.out.collision_info;
/* Return result */
return r.out.result;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRRENAME, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRRENAME, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_CREDRRENAME, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_CREDRRENAME, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
struct lsa_TransNameArray2 *_names /* [in,out] [ref] */,
enum lsa_LookupNamesLevel _level /* [in] */,
uint32_t *_count /* [in,out] [ref] */,
- uint32_t _unknown1 /* [in] */,
- uint32_t _unknown2 /* [in] */)
+ enum lsa_LookupOptions _lookup_options /* [in] */,
+ enum lsa_ClientRevision _client_revision /* [in] */)
{
struct tevent_req *req;
struct rpccli_lsa_LookupSids3_state *state;
state->orig.in.names = _names;
state->orig.in.level = _level;
state->orig.in.count = _count;
- state->orig.in.unknown1 = _unknown1;
- state->orig.in.unknown2 = _unknown2;
+ state->orig.in.lookup_options = _lookup_options;
+ state->orig.in.client_revision = _client_revision;
/* Out parameters */
state->orig.out.domains = _domains;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids3, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupSids3_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids3, &state->orig);
- }
-
tevent_req_done(req);
}
struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
enum lsa_LookupNamesLevel level /* [in] */,
uint32_t *count /* [in,out] [ref] */,
- uint32_t unknown1 /* [in] */,
- uint32_t unknown2 /* [in] */)
+ enum lsa_LookupOptions lookup_options /* [in] */,
+ enum lsa_ClientRevision client_revision /* [in] */)
{
struct lsa_LookupSids3 r;
NTSTATUS status;
r.in.names = names;
r.in.level = level;
r.in.count = count;
- r.in.unknown1 = unknown1;
- r.in.unknown2 = unknown2;
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids3, &r);
- }
+ r.in.lookup_options = lookup_options;
+ r.in.client_revision = client_revision;
status = cli->dispatch(cli,
mem_ctx,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids3, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
struct lsa_TransSidArray3 *_sids /* [in,out] [ref] */,
enum lsa_LookupNamesLevel _level /* [in] */,
uint32_t *_count /* [in,out] [ref] */,
- uint32_t _lookup_options /* [in] */,
- uint32_t _client_revision /* [in] */)
+ enum lsa_LookupOptions _lookup_options /* [in] */,
+ enum lsa_ClientRevision _client_revision /* [in] */)
{
struct tevent_req *req;
struct rpccli_lsa_LookupNames4_state *state;
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames4, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_lsa_LookupNames4_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames4, &state->orig);
- }
-
tevent_req_done(req);
}
struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
enum lsa_LookupNamesLevel level /* [in] */,
uint32_t *count /* [in,out] [ref] */,
- uint32_t lookup_options /* [in] */,
- uint32_t client_revision /* [in] */)
+ enum lsa_LookupOptions lookup_options /* [in] */,
+ enum lsa_ClientRevision client_revision /* [in] */)
{
struct lsa_LookupNames4 r;
NTSTATUS status;
r.in.lookup_options = lookup_options;
r.in.client_revision = client_revision;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames4, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames4, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSAROPENPOLICYSCE, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSAROPENPOLICYSCE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSAROPENPOLICYSCE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSAROPENPOLICYSCE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}