/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_Connect_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(samr_Connect, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.system_name = system_name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_Connect, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Close, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_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(samr_Close, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Close, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_Close, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetSecurity, &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(samr_SetSecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sec_info = sec_info;
r.in.sdbuf = sdbuf;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetSecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetSecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QuerySecurity, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_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(samr_QuerySecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.sec_info = sec_info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QuerySecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QuerySecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Shutdown, &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(samr_Shutdown, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.connect_handle = connect_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Shutdown, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_Shutdown, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_LookupDomain, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_LookupDomain_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(samr_LookupDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.connect_handle = connect_handle;
r.in.domain_name = domain_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_LookupDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_LookupDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomains, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_EnumDomains_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(samr_EnumDomains, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.resume_handle = resume_handle;
r.in.buf_size = buf_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomains, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomains, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenDomain, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_OpenDomain_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(samr_OpenDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.access_mask = access_mask;
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_OpenDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDomainInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryDomainInfo_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(samr_QueryDomainInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.domain_handle = domain_handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDomainInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryDomainInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetDomainInfo, &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(samr_SetDomainInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetDomainInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetDomainInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateDomainGroup, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_CreateDomainGroup_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(samr_CreateDomainGroup, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name = name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateDomainGroup, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_CreateDomainGroup, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomainGroups, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_EnumDomainGroups_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(samr_EnumDomainGroups, &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(samr_EnumDomainGroups, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomainGroups, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateUser, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_CreateUser_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(samr_CreateUser, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.account_name = account_name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateUser, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_CreateUser, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomainUsers, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_EnumDomainUsers_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(samr_EnumDomainUsers, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.acct_flags = acct_flags;
r.in.max_size = max_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomainUsers, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomainUsers, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateDomAlias, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_CreateDomAlias_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(samr_CreateDomAlias, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.alias_name = alias_name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateDomAlias, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_CreateDomAlias, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomainAliases, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_EnumDomainAliases_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(samr_EnumDomainAliases, &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(samr_EnumDomainAliases, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomainAliases, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetAliasMembership, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetAliasMembership_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(samr_GetAliasMembership, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.domain_handle = domain_handle;
r.in.sids = sids;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetAliasMembership, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetAliasMembership, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_LookupNames, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_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(samr_LookupNames, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.num_names = num_names;
r.in.names = names;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_LookupNames, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_LookupNames, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_LookupRids, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_LookupRids_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(samr_LookupRids, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.num_rids = num_rids;
r.in.rids = rids;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_LookupRids, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_LookupRids, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenGroup, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_OpenGroup_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(samr_OpenGroup, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.access_mask = access_mask;
r.in.rid = rid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenGroup, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_OpenGroup, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryGroupInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryGroupInfo_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(samr_QueryGroupInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.group_handle = group_handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryGroupInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryGroupInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetGroupInfo, &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(samr_SetGroupInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetGroupInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetGroupInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_AddGroupMember, &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(samr_AddGroupMember, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.rid = rid;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_AddGroupMember, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_AddGroupMember, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteDomainGroup, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_DeleteDomainGroup_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(samr_DeleteDomainGroup, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.group_handle = group_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteDomainGroup, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_DeleteDomainGroup, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteGroupMember, &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(samr_DeleteGroupMember, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.group_handle = group_handle;
r.in.rid = rid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteGroupMember, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_DeleteGroupMember, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryGroupMember, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryGroupMember_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(samr_QueryGroupMember, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.group_handle = group_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryGroupMember, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryGroupMember, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetMemberAttributesOfGroup, &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(samr_SetMemberAttributesOfGroup, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown1 = unknown1;
r.in.unknown2 = unknown2;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetMemberAttributesOfGroup, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetMemberAttributesOfGroup, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenAlias, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_OpenAlias_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(samr_OpenAlias, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.access_mask = access_mask;
r.in.rid = rid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenAlias, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_OpenAlias, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryAliasInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryAliasInfo_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(samr_QueryAliasInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.alias_handle = alias_handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryAliasInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryAliasInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetAliasInfo, &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(samr_SetAliasInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetAliasInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetAliasInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteDomAlias, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_DeleteDomAlias_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(samr_DeleteDomAlias, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.alias_handle = alias_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteDomAlias, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_DeleteDomAlias, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_AddAliasMember, &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(samr_AddAliasMember, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.alias_handle = alias_handle;
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_AddAliasMember, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_AddAliasMember, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteAliasMember, &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(samr_DeleteAliasMember, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.alias_handle = alias_handle;
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteAliasMember, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_DeleteAliasMember, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetMembersInAlias, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetMembersInAlias_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(samr_GetMembersInAlias, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.alias_handle = alias_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetMembersInAlias, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetMembersInAlias, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenUser, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_OpenUser_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(samr_OpenUser, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.access_mask = access_mask;
r.in.rid = rid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OpenUser, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_OpenUser, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteUser, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_DeleteUser_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(samr_DeleteUser, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.user_handle = user_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_DeleteUser, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_DeleteUser, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryUserInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryUserInfo_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(samr_QueryUserInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.user_handle = user_handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryUserInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryUserInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetUserInfo, &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(samr_SetUserInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetUserInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetUserInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ChangePasswordUser, &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(samr_ChangePasswordUser, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.cross2_present = cross2_present;
r.in.lm_cross = lm_cross;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ChangePasswordUser, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetGroupsForUser, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetGroupsForUser_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(samr_GetGroupsForUser, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.user_handle = user_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetGroupsForUser, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetGroupsForUser, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDisplayInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryDisplayInfo_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(samr_QueryDisplayInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_entries = max_entries;
r.in.buf_size = buf_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDisplayInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetDisplayEnumerationIndex, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetDisplayEnumerationIndex_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(samr_GetDisplayEnumerationIndex, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.name = name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetDisplayEnumerationIndex, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetDisplayEnumerationIndex, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_TestPrivateFunctionsDomain, &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(samr_TestPrivateFunctionsDomain, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.domain_handle = domain_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_TestPrivateFunctionsDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_TestPrivateFunctionsDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_TestPrivateFunctionsUser, &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(samr_TestPrivateFunctionsUser, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.user_handle = user_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_TestPrivateFunctionsUser, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_TestPrivateFunctionsUser, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetUserPwInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetUserPwInfo_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(samr_GetUserPwInfo, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.user_handle = user_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetUserPwInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetUserPwInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_RemoveMemberFromForeignDomain, &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(samr_RemoveMemberFromForeignDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.domain_handle = domain_handle;
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_RemoveMemberFromForeignDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_RemoveMemberFromForeignDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDomainInfo2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryDomainInfo2_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(samr_QueryDomainInfo2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.domain_handle = domain_handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDomainInfo2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryDomainInfo2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryUserInfo2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryUserInfo2_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(samr_QueryUserInfo2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.user_handle = user_handle;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryUserInfo2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryUserInfo2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDisplayInfo2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryDisplayInfo2_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(samr_QueryDisplayInfo2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_entries = max_entries;
r.in.buf_size = buf_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDisplayInfo2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetDisplayEnumerationIndex2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetDisplayEnumerationIndex2_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(samr_GetDisplayEnumerationIndex2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.name = name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetDisplayEnumerationIndex2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetDisplayEnumerationIndex2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateUser2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_CreateUser2_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(samr_CreateUser2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.acct_flags = acct_flags;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_CreateUser2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_CreateUser2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDisplayInfo3, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_QueryDisplayInfo3_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(samr_QueryDisplayInfo3, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_entries = max_entries;
r.in.buf_size = buf_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_QueryDisplayInfo3, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo3, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_AddMultipleMembersToAlias, &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(samr_AddMultipleMembersToAlias, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.alias_handle = alias_handle;
r.in.sids = sids;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_AddMultipleMembersToAlias, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_AddMultipleMembersToAlias, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_RemoveMultipleMembersFromAlias, &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(samr_RemoveMultipleMembersFromAlias, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.alias_handle = alias_handle;
r.in.sids = sids;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_RemoveMultipleMembersFromAlias, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_RemoveMultipleMembersFromAlias, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OemChangePasswordUser2, &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(samr_OemChangePasswordUser2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.hash = hash;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_OemChangePasswordUser2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_OemChangePasswordUser2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ChangePasswordUser2, &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(samr_ChangePasswordUser2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.lm_password = lm_password;
r.in.lm_verifier = lm_verifier;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ChangePasswordUser2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetDomPwInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetDomPwInfo_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(samr_GetDomPwInfo, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.domain_name = domain_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetDomPwInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetDomPwInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_Connect2_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(samr_Connect2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.system_name = system_name;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_Connect2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetUserInfo2, &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(samr_SetUserInfo2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetUserInfo2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetUserInfo2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetBootKeyInformation, &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(samr_SetBootKeyInformation, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown2 = unknown2;
r.in.unknown3 = unknown3;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetBootKeyInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetBootKeyInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetBootKeyInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_GetBootKeyInformation_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(samr_GetBootKeyInformation, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.domain_handle = domain_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_GetBootKeyInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_GetBootKeyInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect3, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_Connect3_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(samr_Connect3, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown = unknown;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect3, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_Connect3, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect4, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_Connect4_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(samr_Connect4, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.client_version = client_version;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect4, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_Connect4, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ChangePasswordUser3, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_ChangePasswordUser3_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(samr_ChangePasswordUser3, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.lm_verifier = lm_verifier;
r.in.password3 = password3;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ChangePasswordUser3, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser3, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect5, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_Connect5_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(samr_Connect5, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level_in = level_in;
r.in.info_in = info_in;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_Connect5, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_Connect5, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_RidToSid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_RidToSid_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(samr_RidToSid, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.domain_handle = domain_handle;
r.in.rid = rid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_RidToSid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_RidToSid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetDsrmPassword, &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(samr_SetDsrmPassword, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown = unknown;
r.in.hash = hash;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_SetDsrmPassword, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_SetDsrmPassword, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ValidatePassword, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_samr_ValidatePassword_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(samr_ValidatePassword, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(samr_ValidatePassword, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_samr,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(samr_ValidatePassword, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}