/* Out parameters */
state->orig.out.version = _version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_GetManagerVersion, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dfs_GetManagerVersion_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(dfs_GetManagerVersion, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_GetManagerVersion, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_GetManagerVersion, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Add, &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(dfs_Add, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.comment = comment;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Add, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_Add, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Remove, &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(dfs_Remove, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.servername = servername;
r.in.sharename = sharename;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Remove, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_Remove, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_SetInfo, &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(dfs_SetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_SetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_SetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_GetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dfs_GetInfo_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(dfs_GetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sharename = sharename;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_GetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_GetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Enum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dfs_Enum_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(dfs_Enum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.total = total;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Enum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_Enum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Rename, &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(dfs_Rename, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Rename, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_Rename, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Move, &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(dfs_Move, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Move, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_Move, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_ManagerGetConfigInfo, &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(dfs_ManagerGetConfigInfo, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_ManagerGetConfigInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_ManagerGetConfigInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_ManagerSendSiteInfo, &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(dfs_ManagerSendSiteInfo, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_ManagerSendSiteInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_ManagerSendSiteInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_AddFtRoot, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dfs_AddFtRoot_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(dfs_AddFtRoot, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.flags = flags;
r.in.unknown2 = unknown2;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_AddFtRoot, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_AddFtRoot, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_RemoveFtRoot, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dfs_RemoveFtRoot_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(dfs_RemoveFtRoot, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.flags = flags;
r.in.unknown = unknown;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_RemoveFtRoot, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_RemoveFtRoot, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_AddStdRoot, &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(dfs_AddStdRoot, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.comment = comment;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_AddStdRoot, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_AddStdRoot, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_RemoveStdRoot, &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(dfs_RemoveStdRoot, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.rootshare = rootshare;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_RemoveStdRoot, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_RemoveStdRoot, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_ManagerInitialize, &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(dfs_ManagerInitialize, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.servername = servername;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_ManagerInitialize, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_ManagerInitialize, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_AddStdRootForced, &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(dfs_AddStdRootForced, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.comment = comment;
r.in.store = store;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_AddStdRootForced, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_AddStdRootForced, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_GetDcAddress, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dfs_GetDcAddress_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(dfs_GetDcAddress, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.is_root = is_root;
r.in.ttl = ttl;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_GetDcAddress, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_GetDcAddress, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_SetDcAddress, &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(dfs_SetDcAddress, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.flags = flags;
r.in.ttl = ttl;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_SetDcAddress, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_SetDcAddress, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_FlushFtTable, &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(dfs_FlushFtTable, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.servername = servername;
r.in.rootshare = rootshare;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_FlushFtTable, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_FlushFtTable, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Add2, &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(dfs_Add2, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Add2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_Add2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Remove2, &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(dfs_Remove2, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_Remove2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_Remove2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_EnumEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dfs_EnumEx_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(dfs_EnumEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.total = total;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_EnumEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_EnumEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_SetInfo2, &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(dfs_SetInfo2, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dfs_SetInfo2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netdfs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dfs_SetInfo2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsBind, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsBind_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(drsuapi_DsBind, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.bind_guid = bind_guid;
r.in.bind_info = bind_info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsBind, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsBind, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsUnbind, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsUnbind_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(drsuapi_DsUnbind, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.bind_handle = bind_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsUnbind, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsUnbind, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaSync, &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(drsuapi_DsReplicaSync, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaSync, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaSync, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetNCChanges, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsGetNCChanges_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(drsuapi_DsGetNCChanges, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetNCChanges, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsGetNCChanges, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaUpdateRefs, &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(drsuapi_DsReplicaUpdateRefs, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaUpdateRefs, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaUpdateRefs, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaAdd, &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(drsuapi_DsReplicaAdd, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaAdd, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaAdd, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaDel, &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(drsuapi_DsReplicaDel, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaDel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaDel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaMod, &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(drsuapi_DsReplicaMod, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaMod, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaMod, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_VERIFY_NAMES, &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(DRSUAPI_VERIFY_NAMES, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_VERIFY_NAMES, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(DRSUAPI_VERIFY_NAMES, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetMemberships, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsGetMemberships_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(drsuapi_DsGetMemberships, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetMemberships, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsGetMemberships, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_INTER_DOMAIN_MOVE, &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(DRSUAPI_INTER_DOMAIN_MOVE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_INTER_DOMAIN_MOVE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(DRSUAPI_INTER_DOMAIN_MOVE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetNT4ChangeLog, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsGetNT4ChangeLog_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(drsuapi_DsGetNT4ChangeLog, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetNT4ChangeLog, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsGetNT4ChangeLog, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsCrackNames, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsCrackNames_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(drsuapi_DsCrackNames, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsCrackNames, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsCrackNames, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsWriteAccountSpn, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsWriteAccountSpn_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(drsuapi_DsWriteAccountSpn, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsWriteAccountSpn, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsWriteAccountSpn, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsRemoveDSServer, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsRemoveDSServer_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(drsuapi_DsRemoveDSServer, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsRemoveDSServer, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsRemoveDSServer, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_REMOVE_DS_DOMAIN, &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(DRSUAPI_REMOVE_DS_DOMAIN, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_REMOVE_DS_DOMAIN, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(DRSUAPI_REMOVE_DS_DOMAIN, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetDomainControllerInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsGetDomainControllerInfo_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(drsuapi_DsGetDomainControllerInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetDomainControllerInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsGetDomainControllerInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsAddEntry, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsAddEntry_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(drsuapi_DsAddEntry, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsAddEntry, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsAddEntry, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsExecuteKCC, &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(drsuapi_DsExecuteKCC, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsExecuteKCC, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsExecuteKCC, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsReplicaGetInfo_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(drsuapi_DsReplicaGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_ADD_SID_HISTORY, &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(DRSUAPI_ADD_SID_HISTORY, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_ADD_SID_HISTORY, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(DRSUAPI_ADD_SID_HISTORY, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetMemberships2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_DsGetMemberships2_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(drsuapi_DsGetMemberships2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_DsGetMemberships2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_DsGetMemberships2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_REPLICA_VERIFY_OBJECTS, &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(DRSUAPI_REPLICA_VERIFY_OBJECTS, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_REPLICA_VERIFY_OBJECTS, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(DRSUAPI_REPLICA_VERIFY_OBJECTS, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_GET_OBJECT_EXISTENCE, &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(DRSUAPI_GET_OBJECT_EXISTENCE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(DRSUAPI_GET_OBJECT_EXISTENCE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(DRSUAPI_GET_OBJECT_EXISTENCE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_QuerySitesByCost, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_drsuapi_QuerySitesByCost_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(drsuapi_QuerySitesByCost, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.req = req;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(drsuapi_QuerySitesByCost, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_drsuapi,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(drsuapi_QuerySitesByCost, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_dssetup_DsRoleGetPrimaryDomainInformation_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(dssetup_DsRoleGetPrimaryDomainInformation, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDnsNameToFlatName, &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(dssetup_DsRoleDnsNameToFlatName, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDnsNameToFlatName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDnsNameToFlatName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsDc, &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(dssetup_DsRoleDcAsDc, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsDc, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsDc, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsReplica, &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(dssetup_DsRoleDcAsReplica, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsReplica, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsReplica, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDemoteDc, &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(dssetup_DsRoleDemoteDc, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleDemoteDc, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDemoteDc, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationProgress, &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(dssetup_DsRoleGetDcOperationProgress, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationProgress, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationProgress, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationResults, &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(dssetup_DsRoleGetDcOperationResults, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationResults, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationResults, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleCancel, &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(dssetup_DsRoleCancel, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleCancel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleCancel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &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(dssetup_DsRoleServerSaveStateForUpgrade, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &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(dssetup_DsRoleUpgradeDownlevelServer, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &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(dssetup_DsRoleAbortDownlevelServerUpgrade, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_dssetup,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Out parameters */
state->orig.out.out_data = _out_data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_AddOne, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_echo_AddOne_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(echo_AddOne, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.in_data = in_data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_AddOne, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_AddOne, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Out parameters */
state->orig.out.out_data = _out_data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_EchoData, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_echo_EchoData_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(echo_EchoData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.len = len;
r.in.in_data = in_data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_EchoData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_EchoData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Out parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_SinkData, &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(echo_SinkData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.len = len;
r.in.data = data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_SinkData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_SinkData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Out parameters */
state->orig.out.data = _data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_SourceData, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_echo_SourceData_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(echo_SourceData, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.len = len;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_SourceData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_SourceData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Out parameters */
state->orig.out.s2 = _s2;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestCall, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_echo_TestCall_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(echo_TestCall, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.s1 = s1;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestCall, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_TestCall, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestCall2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_echo_TestCall2_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(echo_TestCall2, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestCall2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_TestCall2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestSleep, &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(echo_TestSleep, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.seconds = seconds;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestSleep, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_TestSleep, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
state->orig.out.foo2 = _foo2;
state->orig.out.foo3 = _foo3;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_echo_TestEnum_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(echo_TestEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.foo2 = foo2;
r.in.foo3 = foo3;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_TestEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Out parameters */
state->orig.out.data = _data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestSurrounding, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_echo_TestSurrounding_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(echo_TestSurrounding, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.data = data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestSurrounding, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_TestSurrounding, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestDoublePointer, &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(echo_TestDoublePointer, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.data = data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(echo_TestDoublePointer, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_rpcecho,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(echo_TestDoublePointer, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_Insert, &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(epm_Insert, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.entries = entries;
r.in.replace = replace;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_Insert, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_Insert, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_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(epm_Delete, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.num_ents = num_ents;
r.in.entries = entries;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_Delete, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_Delete, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_Lookup, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_epm_Lookup_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(epm_Lookup, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.entry_handle = entry_handle;
r.in.max_ents = max_ents;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_Lookup, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_Lookup, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_Map, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_epm_Map_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(epm_Map, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.entry_handle = entry_handle;
r.in.max_towers = max_towers;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_Map, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_Map, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_LookupHandleFree, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_epm_LookupHandleFree_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(epm_LookupHandleFree, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.entry_handle = entry_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_LookupHandleFree, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_LookupHandleFree, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_InqObject, &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(epm_InqObject, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.epm_object = epm_object;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_InqObject, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_InqObject, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_MgmtDelete, &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(epm_MgmtDelete, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.object = object;
r.in.tower = tower;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_MgmtDelete, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_MgmtDelete, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_MapAuth, &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(epm_MapAuth, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(epm_MapAuth, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_epmapper,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(epm_MapAuth, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogW, &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(eventlog_ClearEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.backupfile = backupfile;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogW, &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(eventlog_BackupEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.backup_filename = backup_filename;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_CloseEventLog, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_CloseEventLog_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(eventlog_CloseEventLog, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_CloseEventLog, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_CloseEventLog, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterEventSource, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_DeregisterEventSource_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(eventlog_DeregisterEventSource, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterEventSource, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_DeregisterEventSource, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetNumRecords, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_GetNumRecords_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(eventlog_GetNumRecords, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetNumRecords, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetNumRecords, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetOldestRecord, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_GetOldestRecord_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(eventlog_GetOldestRecord, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetOldestRecord, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetOldestRecord, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ChangeNotify, &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(eventlog_ChangeNotify, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ChangeNotify, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ChangeNotify, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_OpenEventLogW_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(eventlog_OpenEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.major_version = major_version;
r.in.minor_version = minor_version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_RegisterEventSourceW_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(eventlog_RegisterEventSourceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.major_version = major_version;
r.in.minor_version = minor_version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_OpenBackupEventLogW_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(eventlog_OpenBackupEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.major_version = major_version;
r.in.minor_version = minor_version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_ReadEventLogW_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(eventlog_ReadEventLogW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offset = offset;
r.in.number_of_bytes = number_of_bytes;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_ReportEventW_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(eventlog_ReportEventW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.record_number = record_number;
r.in.time_written = time_written;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogA, &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(eventlog_ClearEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogA, &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(eventlog_BackupEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogA, &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(eventlog_OpenEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceA, &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(eventlog_RegisterEventSourceA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogA, &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(eventlog_OpenBackupEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogA, &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(eventlog_ReadEventLogA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventA, &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(eventlog_ReportEventA, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterClusterSvc, &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(eventlog_RegisterClusterSvc, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_RegisterClusterSvc, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_RegisterClusterSvc, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterClusterSvc, &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(eventlog_DeregisterClusterSvc, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_DeregisterClusterSvc, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_DeregisterClusterSvc, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_WriteClusterEvents, &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(eventlog_WriteClusterEvents, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_WriteClusterEvents, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_WriteClusterEvents, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetLogInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_GetLogInformation_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(eventlog_GetLogInformation, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.buf_size = buf_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_GetLogInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_FlushEventLog, &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(eventlog_FlushEventLog, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_FlushEventLog, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_FlushEventLog, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventAndSourceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_eventlog_ReportEventAndSourceW_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(eventlog_ReportEventAndSourceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.record_number = record_number;
r.in.time_written = time_written;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(eventlog_ReportEventAndSourceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_eventlog,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(eventlog_ReportEventAndSourceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(initshutdown_Init, &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(initshutdown_Init, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.force_apps = force_apps;
r.in.do_reboot = do_reboot;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(initshutdown_Init, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_initshutdown,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(initshutdown_Init, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(initshutdown_Abort, &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(initshutdown_Abort, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.server = server;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(initshutdown_Abort, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_initshutdown,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(initshutdown_Abort, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(initshutdown_InitEx, &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(initshutdown_InitEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.do_reboot = do_reboot;
r.in.reason = reason;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(initshutdown_InitEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_initshutdown,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(initshutdown_InitEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* 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;
}
/* 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);
}
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;
}
/* 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);
}
r.in.lookup_options = lookup_options;
r.in.client_revision = client_revision;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* 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);
}
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;
}
/* 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);
}
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;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &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_LSARSETFORESTTRUSTINFORMATION, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* 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;
}
/* 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);
}
r.in.lookup_options = lookup_options;
r.in.client_revision = client_revision;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids3, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_lsarpc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids3, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* 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);
}
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;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonUasLogon, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonUasLogon_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(netr_LogonUasLogon, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.account_name = account_name;
r.in.workstation = workstation;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonUasLogon, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonUasLogon, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonUasLogoff, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonUasLogoff_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(netr_LogonUasLogoff, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.account_name = account_name;
r.in.workstation = workstation;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonUasLogoff, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonUasLogoff, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogon, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonSamLogon_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(netr_LogonSamLogon, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.logon = logon;
r.in.validation_level = validation_level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogon, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonSamLogon, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogoff, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonSamLogoff_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(netr_LogonSamLogoff, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.logon_level = logon_level;
r.in.logon = logon;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogoff, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonSamLogoff, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerReqChallenge, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerReqChallenge_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(netr_ServerReqChallenge, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.computer_name = computer_name;
r.in.credentials = credentials;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerReqChallenge, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerReqChallenge, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerAuthenticate_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(netr_ServerAuthenticate, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.computer_name = computer_name;
r.in.credentials = credentials;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerPasswordSet, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerPasswordSet_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(netr_ServerPasswordSet, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.credential = credential;
r.in.new_password = new_password;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerPasswordSet, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerPasswordSet, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseDeltas, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DatabaseDeltas_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(netr_DatabaseDeltas, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sequence_num = sequence_num;
r.in.preferredmaximumlength = preferredmaximumlength;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseDeltas, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DatabaseDeltas, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseSync, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DatabaseSync_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(netr_DatabaseSync, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sync_context = sync_context;
r.in.preferredmaximumlength = preferredmaximumlength;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseSync, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DatabaseSync, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_AccountDeltas, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_AccountDeltas_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(netr_AccountDeltas, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.buffersize = buffersize;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_AccountDeltas, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_AccountDeltas, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_AccountSync, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_AccountSync_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(netr_AccountSync, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffersize = buffersize;
r.in.recordid = recordid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_AccountSync, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_AccountSync, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_GetDcName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_GetDcName_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(netr_GetDcName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.logon_server = logon_server;
r.in.domainname = domainname;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_GetDcName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_GetDcName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonControl, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonControl_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(netr_LogonControl, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.function_code = function_code;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonControl, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonControl, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_GetAnyDCName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_GetAnyDCName_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(netr_GetAnyDCName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.logon_server = logon_server;
r.in.domainname = domainname;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_GetAnyDCName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_GetAnyDCName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonControl2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonControl2_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(netr_LogonControl2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.data = data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonControl2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonControl2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerAuthenticate2_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(netr_ServerAuthenticate2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.credentials = credentials;
r.in.negotiate_flags = negotiate_flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseSync2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DatabaseSync2_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(netr_DatabaseSync2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sync_context = sync_context;
r.in.preferredmaximumlength = preferredmaximumlength;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseSync2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DatabaseSync2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseRedo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DatabaseRedo_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(netr_DatabaseRedo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.change_log_entry = change_log_entry;
r.in.change_log_entry_size = change_log_entry_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DatabaseRedo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DatabaseRedo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonControl2Ex, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonControl2Ex_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(netr_LogonControl2Ex, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.data = data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonControl2Ex, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonControl2Ex, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NetrEnumerateTrustedDomains, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_NetrEnumerateTrustedDomains_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(netr_NetrEnumerateTrustedDomains, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.server_name = server_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NetrEnumerateTrustedDomains, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_NetrEnumerateTrustedDomains, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetDCName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsRGetDCName_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(netr_DsRGetDCName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.site_guid = site_guid;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetDCName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsRGetDCName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonGetCapabilities, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonGetCapabilities_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(netr_LogonGetCapabilities, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.return_authenticator = return_authenticator;
r.in.query_level = query_level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonGetCapabilities, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonGetCapabilities, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONSETSERVICEBITS, &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(netr_NETRLOGONSETSERVICEBITS, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONSETSERVICEBITS, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_NETRLOGONSETSERVICEBITS, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonGetTrustRid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonGetTrustRid_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(netr_LogonGetTrustRid, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_name = server_name;
r.in.domain_name = domain_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonGetTrustRid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonGetTrustRid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTESERVERDIGEST, &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(netr_NETRLOGONCOMPUTESERVERDIGEST, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTESERVERDIGEST, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_NETRLOGONCOMPUTESERVERDIGEST, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTECLIENTDIGEST, &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(netr_NETRLOGONCOMPUTECLIENTDIGEST, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTECLIENTDIGEST, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_NETRLOGONCOMPUTECLIENTDIGEST, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate3, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerAuthenticate3_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(netr_ServerAuthenticate3, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.credentials = credentials;
r.in.negotiate_flags = negotiate_flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate3, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate3, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetDCNameEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsRGetDCNameEx_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(netr_DsRGetDCNameEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.site_name = site_name;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetDCNameEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsRGetDCNameEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetSiteName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsRGetSiteName_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(netr_DsRGetSiteName, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.computer_name = computer_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetSiteName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsRGetSiteName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonGetDomainInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonGetDomainInfo_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(netr_LogonGetDomainInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.query = query;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonGetDomainInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonGetDomainInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerPasswordSet2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerPasswordSet2_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(netr_ServerPasswordSet2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.credential = credential;
r.in.new_password = new_password;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerPasswordSet2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerPasswordSet2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerPasswordGet, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerPasswordGet_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(netr_ServerPasswordGet, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.computer_name = computer_name;
r.in.credential = credential;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerPasswordGet, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerPasswordGet, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONSENDTOSAM, &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(netr_NETRLOGONSENDTOSAM, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONSENDTOSAM, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_NETRLOGONSENDTOSAM, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRAddressToSitenamesW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsRAddressToSitenamesW_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(netr_DsRAddressToSitenamesW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.count = count;
r.in.addresses = addresses;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRAddressToSitenamesW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsRAddressToSitenamesW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetDCNameEx2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsRGetDCNameEx2_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(netr_DsRGetDCNameEx2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.site_name = site_name;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetDCNameEx2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsRGetDCNameEx2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &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(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NetrEnumerateTrustedDomainsEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_NetrEnumerateTrustedDomainsEx_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(netr_NetrEnumerateTrustedDomainsEx, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.server_name = server_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_NetrEnumerateTrustedDomainsEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_NetrEnumerateTrustedDomainsEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRAddressToSitenamesExW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsRAddressToSitenamesExW_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(netr_DsRAddressToSitenamesExW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.count = count;
r.in.addresses = addresses;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRAddressToSitenamesExW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsRAddressToSitenamesExW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsrGetDcSiteCoverageW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsrGetDcSiteCoverageW_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(netr_DsrGetDcSiteCoverageW, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.server_name = server_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsrGetDcSiteCoverageW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsrGetDcSiteCoverageW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogonEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonSamLogonEx_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(netr_LogonSamLogonEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.validation_level = validation_level;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogonEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonSamLogonEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsrEnumerateDomainTrusts, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsrEnumerateDomainTrusts_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(netr_DsrEnumerateDomainTrusts, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_name = server_name;
r.in.trust_flags = trust_flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsrEnumerateDomainTrusts, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsrEnumerateDomainTrusts, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsrDeregisterDNSHostRecords, &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(netr_DsrDeregisterDNSHostRecords, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.dsa_guid = dsa_guid;
r.in.dns_host = dns_host;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsrDeregisterDNSHostRecords, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsrDeregisterDNSHostRecords, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerTrustPasswordsGet, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerTrustPasswordsGet_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(netr_ServerTrustPasswordsGet, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.computer_name = computer_name;
r.in.credential = credential;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerTrustPasswordsGet, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerTrustPasswordsGet, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetForestTrustInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_DsRGetForestTrustInformation_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(netr_DsRGetForestTrustInformation, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.trusted_domain_name = trusted_domain_name;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_DsRGetForestTrustInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_DsRGetForestTrustInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_GetForestTrustInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_GetForestTrustInformation_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(netr_GetForestTrustInformation, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.credential = credential;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_GetForestTrustInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_GetForestTrustInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogonWithFlags, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_LogonSamLogonWithFlags_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(netr_LogonSamLogonWithFlags, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.validation_level = validation_level;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_LogonSamLogonWithFlags, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_LogonSamLogonWithFlags, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerGetTrustInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_netr_ServerGetTrustInfo_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(netr_ServerGetTrustInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.computer_name = computer_name;
r.in.credential = credential;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(netr_ServerGetTrustInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_netlogon,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(netr_ServerGetTrustInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_Disconnect, &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(PNP_Disconnect, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_Disconnect, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_Disconnect, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_Connect, &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(PNP_Connect, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_Connect, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_Connect, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetVersion, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_PNP_GetVersion_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(PNP_GetVersion, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetVersion, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetVersion, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetGlobalState, &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(PNP_GetGlobalState, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetGlobalState, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetGlobalState, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_InitDetection, &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(PNP_InitDetection, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_InitDetection, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_InitDetection, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_ReportLogOn, &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(PNP_ReportLogOn, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_ReportLogOn, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_ReportLogOn, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_ValidateDeviceInstance, &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(PNP_ValidateDeviceInstance, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.devicepath = devicepath;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_ValidateDeviceInstance, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_ValidateDeviceInstance, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetRootDeviceInstance, &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(PNP_GetRootDeviceInstance, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetRootDeviceInstance, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetRootDeviceInstance, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetRelatedDeviceInstance, &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(PNP_GetRelatedDeviceInstance, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetRelatedDeviceInstance, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetRelatedDeviceInstance, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_EnumerateSubKeys, &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(PNP_EnumerateSubKeys, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_EnumerateSubKeys, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_EnumerateSubKeys, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceList, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_PNP_GetDeviceList_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(PNP_GetDeviceList, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.length = length;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceList, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetDeviceList, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceListSize, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_PNP_GetDeviceListSize_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(PNP_GetDeviceListSize, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.devicename = devicename;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceListSize, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetDeviceListSize, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDepth, &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(PNP_GetDepth, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDepth, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetDepth, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceRegProp, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_PNP_GetDeviceRegProp_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(PNP_GetDeviceRegProp, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.needed = needed;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceRegProp, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetDeviceRegProp, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetDeviceRegProp, &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(PNP_SetDeviceRegProp, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetDeviceRegProp, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_SetDeviceRegProp, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassInstance, &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(PNP_GetClassInstance, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassInstance, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetClassInstance, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_CreateKey, &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(PNP_CreateKey, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_CreateKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_CreateKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DeleteRegistryKey, &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(PNP_DeleteRegistryKey, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DeleteRegistryKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_DeleteRegistryKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassCount, &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(PNP_GetClassCount, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassCount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetClassCount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassName, &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(PNP_GetClassName, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetClassName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DeleteClassKey, &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(PNP_DeleteClassKey, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DeleteClassKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_DeleteClassKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceAlias, &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(PNP_GetInterfaceDeviceAlias, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceAlias, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceAlias, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceList, &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(PNP_GetInterfaceDeviceList, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceList, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceList, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceListSize, &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(PNP_GetInterfaceDeviceListSize, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceListSize, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceListSize, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RegisterDeviceClassAssociation, &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(PNP_RegisterDeviceClassAssociation, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RegisterDeviceClassAssociation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_RegisterDeviceClassAssociation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_UnregisterDeviceClassAssociation, &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(PNP_UnregisterDeviceClassAssociation, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_UnregisterDeviceClassAssociation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_UnregisterDeviceClassAssociation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassRegProp, &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(PNP_GetClassRegProp, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetClassRegProp, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetClassRegProp, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetClassRegProp, &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(PNP_SetClassRegProp, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetClassRegProp, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_SetClassRegProp, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_CreateDevInst, &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(PNP_CreateDevInst, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_CreateDevInst, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_CreateDevInst, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DeviceInstanceAction, &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(PNP_DeviceInstanceAction, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DeviceInstanceAction, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_DeviceInstanceAction, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceStatus, &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(PNP_GetDeviceStatus, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetDeviceStatus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetDeviceStatus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetDeviceProblem, &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(PNP_SetDeviceProblem, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetDeviceProblem, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_SetDeviceProblem, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DisableDevInst, &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(PNP_DisableDevInst, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DisableDevInst, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_DisableDevInst, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_UninstallDevInst, &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(PNP_UninstallDevInst, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_UninstallDevInst, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_UninstallDevInst, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_AddID, &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(PNP_AddID, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_AddID, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_AddID, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RegisterDriver, &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(PNP_RegisterDriver, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RegisterDriver, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_RegisterDriver, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryRemove, &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(PNP_QueryRemove, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryRemove, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_QueryRemove, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RequestDeviceEject, &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(PNP_RequestDeviceEject, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RequestDeviceEject, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_RequestDeviceEject, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_IsDockStationPresent, &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(PNP_IsDockStationPresent, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_IsDockStationPresent, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_IsDockStationPresent, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RequestEjectPC, &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(PNP_RequestEjectPC, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RequestEjectPC, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_RequestEjectPC, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_HwProfFlags, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_PNP_HwProfFlags_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(PNP_HwProfFlags, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name_length = name_length;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_HwProfFlags, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_HwProfFlags, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetHwProfInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_PNP_GetHwProfInfo_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(PNP_GetHwProfInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.size = size;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetHwProfInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetHwProfInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_AddEmptyLogConf, &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(PNP_AddEmptyLogConf, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_AddEmptyLogConf, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_AddEmptyLogConf, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_FreeLogConf, &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(PNP_FreeLogConf, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_FreeLogConf, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_FreeLogConf, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetFirstLogConf, &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(PNP_GetFirstLogConf, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetFirstLogConf, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetFirstLogConf, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetNextLogConf, &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(PNP_GetNextLogConf, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetNextLogConf, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetNextLogConf, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetLogConfPriority, &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(PNP_GetLogConfPriority, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetLogConfPriority, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetLogConfPriority, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_AddResDes, &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(PNP_AddResDes, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_AddResDes, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_AddResDes, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_FreeResDes, &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(PNP_FreeResDes, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_FreeResDes, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_FreeResDes, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetNextResDes, &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(PNP_GetNextResDes, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetNextResDes, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetNextResDes, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetResDesData, &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(PNP_GetResDesData, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetResDesData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetResDesData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetResDesDataSize, &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(PNP_GetResDesDataSize, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetResDesDataSize, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetResDesDataSize, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_ModifyResDes, &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(PNP_ModifyResDes, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_ModifyResDes, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_ModifyResDes, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DetectResourceLimit, &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(PNP_DetectResourceLimit, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_DetectResourceLimit, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_DetectResourceLimit, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryResConfList, &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(PNP_QueryResConfList, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryResConfList, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_QueryResConfList, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetHwProf, &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(PNP_SetHwProf, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_SetHwProf, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_SetHwProf, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeData, &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(PNP_QueryArbitratorFreeData, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeSize, &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(PNP_QueryArbitratorFreeSize, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeSize, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeSize, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RunDetection, &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(PNP_RunDetection, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RunDetection, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_RunDetection, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RegisterNotification, &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(PNP_RegisterNotification, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_RegisterNotification, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_RegisterNotification, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_UnregisterNotification, &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(PNP_UnregisterNotification, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_UnregisterNotification, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_UnregisterNotification, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetCustomDevProp, &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(PNP_GetCustomDevProp, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetCustomDevProp, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetCustomDevProp, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetVersionInternal, &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(PNP_GetVersionInternal, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetVersionInternal, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetVersionInternal, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetBlockedDriverInfo, &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(PNP_GetBlockedDriverInfo, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetBlockedDriverInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetBlockedDriverInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetServerSideDeviceInstallFlags, &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(PNP_GetServerSideDeviceInstallFlags, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(PNP_GetServerSideDeviceInstallFlags, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_ntsvcs,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(PNP_GetServerSideDeviceInstallFlags, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* 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;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinters, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPrinters_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(spoolss_EnumPrinters, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinters, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinters, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_OpenPrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_OpenPrinter_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(spoolss_OpenPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.devmode_ctr = devmode_ctr;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_OpenPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetJob, &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(spoolss_SetJob, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.ctr = ctr;
r.in.command = command;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetJob, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_SetJob, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetJob, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetJob_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(spoolss_GetJob, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetJob, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetJob, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumJobs, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumJobs_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(spoolss_EnumJobs, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumJobs, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumJobs, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_AddPrinter_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(spoolss_AddPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.devmode_ctr = devmode_ctr;
r.in.secdesc_ctr = secdesc_ctr;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinter, &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(spoolss_DeletePrinter, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetPrinter, &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(spoolss_SetPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.secdesc_ctr = secdesc_ctr;
r.in.command = command;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_SetPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrinter_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(spoolss_GetPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterDriver, &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(spoolss_AddPrinterDriver, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.servername = servername;
r.in.info_ctr = info_ctr;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterDriver, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterDriver, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterDrivers, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPrinterDrivers_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(spoolss_EnumPrinterDrivers, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterDrivers, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterDrivers, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriver, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrinterDriver_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(spoolss_GetPrinterDriver, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriver, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriver, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriverDirectory, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrinterDriverDirectory_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(spoolss_GetPrinterDriverDirectory, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriverDirectory, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriverDirectory, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterDriver, &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(spoolss_DeletePrinterDriver, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.architecture = architecture;
r.in.driver = driver;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterDriver, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDriver, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrintProcessor, &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(spoolss_AddPrintProcessor, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.path_name = path_name;
r.in.print_processor_name = print_processor_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrintProcessor, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPrintProcessor, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrintProcessors, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPrintProcessors_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(spoolss_EnumPrintProcessors, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrintProcessors, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrintProcessors, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrintProcessorDirectory, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrintProcessorDirectory_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(spoolss_GetPrintProcessorDirectory, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrintProcessorDirectory, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrintProcessorDirectory, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_StartDocPrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_StartDocPrinter_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(spoolss_StartDocPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_StartDocPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_StartDocPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_StartPagePrinter, &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(spoolss_StartPagePrinter, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_StartPagePrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_StartPagePrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_WritePrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_WritePrinter_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(spoolss_WritePrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.data = data;
r.in._data_size = _data_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_WritePrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_WritePrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EndPagePrinter, &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(spoolss_EndPagePrinter, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EndPagePrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EndPagePrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AbortPrinter, &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(spoolss_AbortPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AbortPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AbortPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ReadPrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_ReadPrinter_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(spoolss_ReadPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.data_size = data_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ReadPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ReadPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EndDocPrinter, &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(spoolss_EndDocPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EndDocPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EndDocPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddJob, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_AddJob_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(spoolss_AddJob, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddJob, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddJob, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ScheduleJob, &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(spoolss_ScheduleJob, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.jobid = jobid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ScheduleJob, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ScheduleJob, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterData, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrinterData_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(spoolss_GetPrinterData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.value_name = value_name;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetPrinterData, &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(spoolss_SetPrinterData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.data = data;
r.in._offered = _offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetPrinterData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_SetPrinterData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_WaitForPrinterChange, &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(spoolss_WaitForPrinterChange, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_WaitForPrinterChange, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_WaitForPrinterChange, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ClosePrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_ClosePrinter_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(spoolss_ClosePrinter, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ClosePrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ClosePrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddForm, &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(spoolss_AddForm, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddForm, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddForm, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeleteForm, &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(spoolss_DeleteForm, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.form_name = form_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeleteForm, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeleteForm, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetForm, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetForm_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(spoolss_GetForm, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetForm, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetForm, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetForm, &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(spoolss_SetForm, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetForm, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_SetForm, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumForms, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumForms_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(spoolss_EnumForms, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumForms, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumForms, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPorts, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPorts_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(spoolss_EnumPorts, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPorts, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPorts, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumMonitors, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumMonitors_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(spoolss_EnumMonitors, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumMonitors, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumMonitors, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPort, &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(spoolss_AddPort, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown = unknown;
r.in.monitor_name = monitor_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPort, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPort, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ConfigurePort, &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(spoolss_ConfigurePort, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ConfigurePort, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ConfigurePort, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePort, &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(spoolss_DeletePort, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePort, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePort, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_CreatePrinterIC, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_CreatePrinterIC_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(spoolss_CreatePrinterIC, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.devmode_ctr = devmode_ctr;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_CreatePrinterIC, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_CreatePrinterIC, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_PlayGDIScriptOnPrinterIC, &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(spoolss_PlayGDIScriptOnPrinterIC, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_PlayGDIScriptOnPrinterIC, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_PlayGDIScriptOnPrinterIC, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterIC, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_DeletePrinterIC_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(spoolss_DeletePrinterIC, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.gdi_handle = gdi_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterIC, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterIC, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterConnection, &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(spoolss_AddPrinterConnection, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterConnection, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterConnection, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterConnection, &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(spoolss_DeletePrinterConnection, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterConnection, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterConnection, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_PrinterMessageBox, &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(spoolss_PrinterMessageBox, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_PrinterMessageBox, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_PrinterMessageBox, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddMonitor, &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(spoolss_AddMonitor, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddMonitor, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddMonitor, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeleteMonitor, &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(spoolss_DeleteMonitor, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeleteMonitor, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeleteMonitor, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrintProcessor, &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(spoolss_DeletePrintProcessor, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrintProcessor, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrintProcessor, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrintProvidor, &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(spoolss_AddPrintProvidor, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrintProvidor, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPrintProvidor, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrintProvidor, &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(spoolss_DeletePrintProvidor, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrintProvidor, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrintProvidor, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrintProcDataTypes, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPrintProcDataTypes_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(spoolss_EnumPrintProcDataTypes, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrintProcDataTypes, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrintProcDataTypes, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ResetPrinter, &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(spoolss_ResetPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.data_type = data_type;
r.in.devmode_ctr = devmode_ctr;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ResetPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ResetPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriver2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrinterDriver2_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(spoolss_GetPrinterDriver2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.client_major_version = client_major_version;
r.in.client_minor_version = client_minor_version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriver2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriver2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_FindFirstPrinterChangeNotification, &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(spoolss_FindFirstPrinterChangeNotification, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_FindFirstPrinterChangeNotification, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_FindFirstPrinterChangeNotification, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_FindNextPrinterChangeNotification, &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(spoolss_FindNextPrinterChangeNotification, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_FindNextPrinterChangeNotification, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_FindNextPrinterChangeNotification, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_FindClosePrinterNotify, &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(spoolss_FindClosePrinterNotify, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_FindClosePrinterNotify, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_FindClosePrinterNotify, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterFindFirstPrinterChangeNotificationOld, &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(spoolss_RouterFindFirstPrinterChangeNotificationOld, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterFindFirstPrinterChangeNotificationOld, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_RouterFindFirstPrinterChangeNotificationOld, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ReplyOpenPrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_ReplyOpenPrinter_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(spoolss_ReplyOpenPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.bufsize = bufsize;
r.in.buffer = buffer;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ReplyOpenPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ReplyOpenPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterReplyPrinter, &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(spoolss_RouterReplyPrinter, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.bufsize = bufsize;
r.in.buffer = buffer;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterReplyPrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_RouterReplyPrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ReplyClosePrinter, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_ReplyClosePrinter_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(spoolss_ReplyClosePrinter, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ReplyClosePrinter, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ReplyClosePrinter, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPortEx, &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(spoolss_AddPortEx, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPortEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPortEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterFindFirstPrinterChangeNotification, &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(spoolss_RouterFindFirstPrinterChangeNotification, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterFindFirstPrinterChangeNotification, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_RouterFindFirstPrinterChangeNotification, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SpoolerInit, &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(spoolss_SpoolerInit, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SpoolerInit, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_SpoolerInit, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ResetPrinterEx, &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(spoolss_ResetPrinterEx, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_ResetPrinterEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_ResetPrinterEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RemoteFindFirstPrinterChangeNotifyEx, &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(spoolss_RemoteFindFirstPrinterChangeNotifyEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.printer_local = printer_local;
r.in.notify_options = notify_options;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RemoteFindFirstPrinterChangeNotifyEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_RemoteFindFirstPrinterChangeNotifyEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterReplyPrinterEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_RouterReplyPrinterEx_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(spoolss_RouterReplyPrinterEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.reply_type = reply_type;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterReplyPrinterEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_RouterReplyPrinterEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterRefreshPrinterChangeNotify, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_RouterRefreshPrinterChangeNotify_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(spoolss_RouterRefreshPrinterChangeNotify, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.change_low = change_low;
r.in.options = options;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_RouterRefreshPrinterChangeNotify, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_RouterRefreshPrinterChangeNotify, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_44, &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(spoolss_44, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_44, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_44, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_OpenPrinterEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_OpenPrinterEx_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(spoolss_OpenPrinterEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.userlevel = userlevel;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_OpenPrinterEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinterEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_AddPrinterEx_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(spoolss_AddPrinterEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.secdesc_ctr = secdesc_ctr;
r.in.userlevel_ctr = userlevel_ctr;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_47, &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(spoolss_47, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_47, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_47, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterData, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPrinterData_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(spoolss_EnumPrinterData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.value_offered = value_offered;
r.in.data_offered = data_offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterData, &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(spoolss_DeletePrinterData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.value_name = value_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_4a, &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(spoolss_4a, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_4a, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_4a, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_4b, &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(spoolss_4b, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_4b, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_4b, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_4c, &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(spoolss_4c, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_4c, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_4c, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetPrinterDataEx, &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(spoolss_SetPrinterDataEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_SetPrinterDataEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_SetPrinterDataEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDataEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrinterDataEx_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(spoolss_GetPrinterDataEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.value_name = value_name;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDataEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDataEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterDataEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPrinterDataEx_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(spoolss_EnumPrinterDataEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.key_name = key_name;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterDataEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterDataEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterKey, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_EnumPrinterKey_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(spoolss_EnumPrinterKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.key_name = key_name;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterDataEx, &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(spoolss_DeletePrinterDataEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.key_name = key_name;
r.in.value_name = value_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterDataEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDataEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterKey, &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(spoolss_DeletePrinterKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.key_name = key_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_53, &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(spoolss_53, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_53, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_53, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterDriverEx, &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(spoolss_DeletePrinterDriverEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.delete_flags = delete_flags;
r.in.version = version;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterDriverEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDriverEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_55, &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(spoolss_55, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_55, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_55, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_56, &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(spoolss_56, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_56, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_56, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_57, &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(spoolss_57, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_57, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_57, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_XcvData, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_XcvData_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(spoolss_XcvData, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.out_data_size = out_data_size;
r.in.status_code = status_code;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_XcvData, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_XcvData, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterDriverEx, &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(spoolss_AddPrinterDriverEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_ctr = info_ctr;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_AddPrinterDriverEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterDriverEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5a, &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(spoolss_5a, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5a, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_5a, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5b, &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(spoolss_5b, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5b, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_5b, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5c, &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(spoolss_5c, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5c, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_5c, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5d, &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(spoolss_5d, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5d, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_5d, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5e, &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(spoolss_5e, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5e, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_5e, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5f, &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(spoolss_5f, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_5f, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_5f, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_60, &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(spoolss_60, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_60, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_60, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_61, &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(spoolss_61, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_61, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_61, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_62, &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(spoolss_62, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_62, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_62, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_63, &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(spoolss_63, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_63, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_63, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_64, &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(spoolss_64, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_64, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_64, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_65, &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(spoolss_65, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_65, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_65, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetCorePrinterDrivers, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetCorePrinterDrivers_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(spoolss_GetCorePrinterDrivers, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.core_driver_dependencies = core_driver_dependencies;
r.in.core_printer_driver_count = core_printer_driver_count;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetCorePrinterDrivers, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetCorePrinterDrivers, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_67, &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(spoolss_67, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_67, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_67, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriverPackagePath, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_spoolss_GetPrinterDriverPackagePath_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(spoolss_GetPrinterDriverPackagePath, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.driver_package_cab = driver_package_cab;
r.in.driver_package_cab_size = driver_package_cab_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriverPackagePath, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriverPackagePath, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_69, &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(spoolss_69, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_69, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_69, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6a, &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(spoolss_6a, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6a, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_6a, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6b, &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(spoolss_6b, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6b, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_6b, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6c, &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(spoolss_6c, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6c, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_6c, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6d, &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(spoolss_6d, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(spoolss_6d, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_spoolss,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(spoolss_6d, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetCharDevEnum_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(srvsvc_NetCharDevEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetCharDevGetInfo_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(srvsvc_NetCharDevGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.device_name = device_name;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevControl, &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(srvsvc_NetCharDevControl, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.device_name = device_name;
r.in.opcode = opcode;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevControl, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevControl, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetCharDevQEnum_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(srvsvc_NetCharDevQEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetCharDevQGetInfo_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(srvsvc_NetCharDevQGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.user = user;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQSetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetCharDevQSetInfo_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(srvsvc_NetCharDevQSetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.parm_error = parm_error;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQSetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQSetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQPurge, &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(srvsvc_NetCharDevQPurge, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_unc = server_unc;
r.in.queue_name = queue_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQPurge, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQPurge, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQPurgeSelf, &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(srvsvc_NetCharDevQPurgeSelf, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.queue_name = queue_name;
r.in.computer_name = computer_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQPurgeSelf, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQPurgeSelf, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetConnEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetConnEnum_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(srvsvc_NetConnEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetConnEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetConnEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetFileEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetFileEnum_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(srvsvc_NetFileEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetFileEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetFileEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetFileGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetFileGetInfo_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(srvsvc_NetFileGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.fid = fid;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetFileGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetFileGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetFileClose, &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(srvsvc_NetFileClose, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_unc = server_unc;
r.in.fid = fid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetFileClose, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetFileClose, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSessEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetSessEnum_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(srvsvc_NetSessEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSessEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetSessEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSessDel, &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(srvsvc_NetSessDel, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.client = client;
r.in.user = user;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSessDel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetSessDel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareAdd, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareAdd_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(srvsvc_NetShareAdd, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.parm_error = parm_error;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareAdd, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareAdd, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnumAll, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareEnumAll_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(srvsvc_NetShareEnumAll, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnumAll, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnumAll, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareGetInfo_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(srvsvc_NetShareGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.share_name = share_name;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareSetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareSetInfo_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(srvsvc_NetShareSetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.parm_error = parm_error;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareSetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareSetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDel, &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(srvsvc_NetShareDel, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.share_name = share_name;
r.in.reserved = reserved;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelSticky, &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(srvsvc_NetShareDelSticky, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.share_name = share_name;
r.in.reserved = reserved;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelSticky, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelSticky, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareCheck, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareCheck_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(srvsvc_NetShareCheck, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_unc = server_unc;
r.in.device_name = device_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareCheck, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareCheck, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSrvGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetSrvGetInfo_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(srvsvc_NetSrvGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_unc = server_unc;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSrvGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetSrvGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSrvSetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetSrvSetInfo_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(srvsvc_NetSrvSetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.parm_error = parm_error;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSrvSetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetSrvSetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetDiskEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetDiskEnum_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(srvsvc_NetDiskEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.maxlen = maxlen;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetDiskEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetDiskEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetServerStatisticsGet, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetServerStatisticsGet_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(srvsvc_NetServerStatisticsGet, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.options = options;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetServerStatisticsGet, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetServerStatisticsGet, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetTransportAdd, &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(srvsvc_NetTransportAdd, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetTransportAdd, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportAdd, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetTransportEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetTransportEnum_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(srvsvc_NetTransportEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetTransportEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetTransportDel, &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(srvsvc_NetTransportDel, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info0 = info0;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetTransportDel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportDel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetRemoteTOD, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetRemoteTOD_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(srvsvc_NetRemoteTOD, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.server_unc = server_unc;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetRemoteTOD, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetRemoteTOD, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSetServiceBits, &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(srvsvc_NetSetServiceBits, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.servicebits = servicebits;
r.in.updateimmediately = updateimmediately;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSetServiceBits, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetSetServiceBits, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPathType, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetPathType_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(srvsvc_NetPathType, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.path = path;
r.in.pathflags = pathflags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPathType, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetPathType, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPathCanonicalize, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetPathCanonicalize_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(srvsvc_NetPathCanonicalize, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.pathtype = pathtype;
r.in.pathflags = pathflags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPathCanonicalize, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetPathCanonicalize, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPathCompare, &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(srvsvc_NetPathCompare, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.pathtype = pathtype;
r.in.pathflags = pathflags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPathCompare, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetPathCompare, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetNameValidate, &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(srvsvc_NetNameValidate, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name_type = name_type;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetNameValidate, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetNameValidate, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRPRNAMECANONICALIZE, &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(srvsvc_NETRPRNAMECANONICALIZE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRPRNAMECANONICALIZE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRPRNAMECANONICALIZE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPRNameCompare, &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(srvsvc_NetPRNameCompare, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name_type = name_type;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetPRNameCompare, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetPRNameCompare, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareEnum_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(srvsvc_NetShareEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelStart, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareDelStart_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(srvsvc_NetShareDelStart, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.share = share;
r.in.reserved = reserved;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelStart, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelStart, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelCommit, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetShareDelCommit_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(srvsvc_NetShareDelCommit, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.hnd = hnd;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelCommit, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelCommit, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetGetFileSecurity, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_srvsvc_NetGetFileSecurity_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(srvsvc_NetGetFileSecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.file = file;
r.in.securityinformation = securityinformation;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetGetFileSecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetGetFileSecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSetFileSecurity, &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(srvsvc_NetSetFileSecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.securityinformation = securityinformation;
r.in.sd_buf = sd_buf;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSetFileSecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetSetFileSecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetServerTransportAddEx, &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(srvsvc_NetServerTransportAddEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.level = level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetServerTransportAddEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetServerTransportAddEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetServerSetServiceBitsEx, &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(srvsvc_NetServerSetServiceBitsEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.servicebits = servicebits;
r.in.updateimmediately = updateimmediately;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetServerSetServiceBitsEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetServerSetServiceBitsEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSGETVERSION, &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(srvsvc_NETRDFSGETVERSION, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSGETVERSION, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSGETVERSION, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATELOCALPARTITION, &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(srvsvc_NETRDFSCREATELOCALPARTITION, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATELOCALPARTITION, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSCREATELOCALPARTITION, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETELOCALPARTITION, &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(srvsvc_NETRDFSDELETELOCALPARTITION, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETELOCALPARTITION, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSDELETELOCALPARTITION, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &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(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETSERVERINFO, &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(srvsvc_NETRDFSSETSERVERINFO, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETSERVERINFO, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSSETSERVERINFO, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATEEXITPOINT, &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(srvsvc_NETRDFSCREATEEXITPOINT, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATEEXITPOINT, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSCREATEEXITPOINT, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETEEXITPOINT, &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(srvsvc_NETRDFSDELETEEXITPOINT, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETEEXITPOINT, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSDELETEEXITPOINT, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMODIFYPREFIX, &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(srvsvc_NETRDFSMODIFYPREFIX, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMODIFYPREFIX, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSMODIFYPREFIX, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSFIXLOCALVOLUME, &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(srvsvc_NETRDFSFIXLOCALVOLUME, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSFIXLOCALVOLUME, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSFIXLOCALVOLUME, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &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(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRSERVERTRANSPORTDELEX, &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(srvsvc_NETRSERVERTRANSPORTDELEX, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(srvsvc_NETRSERVERTRANSPORTDELEX, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_srvsvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NETRSERVERTRANSPORTDELEX, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CloseServiceHandle, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_CloseServiceHandle_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(svcctl_CloseServiceHandle, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CloseServiceHandle, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CloseServiceHandle, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ControlService, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_ControlService_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(svcctl_ControlService, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.control = control;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ControlService, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ControlService, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_DeleteService, &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(svcctl_DeleteService, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_DeleteService, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_DeleteService, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_LockServiceDatabase, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_LockServiceDatabase_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(svcctl_LockServiceDatabase, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_LockServiceDatabase, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_LockServiceDatabase, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceObjectSecurity, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceObjectSecurity_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(svcctl_QueryServiceObjectSecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.security_flags = security_flags;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceObjectSecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceObjectSecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceObjectSecurity, &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(svcctl_SetServiceObjectSecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceObjectSecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SetServiceObjectSecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatus, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceStatus_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(svcctl_QueryServiceStatus, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceStatus, &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(svcctl_SetServiceStatus, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceStatus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SetServiceStatus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_UnlockServiceDatabase, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_UnlockServiceDatabase_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(svcctl_UnlockServiceDatabase, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.lock = lock;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_UnlockServiceDatabase, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_UnlockServiceDatabase, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_NotifyBootConfigStatus, &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(svcctl_NotifyBootConfigStatus, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_NotifyBootConfigStatus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_NotifyBootConfigStatus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsW, &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(svcctl_SCSetServiceBitsW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.bitson = bitson;
r.in.immediate = immediate;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_ChangeServiceConfigW_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(svcctl_ChangeServiceConfigW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.display_name = display_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_CreateServiceW_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(svcctl_CreateServiceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.password_size = password_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumDependentServicesW_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(svcctl_EnumDependentServicesW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.state = state;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumServicesStatusW_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(svcctl_EnumServicesStatusW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offered = offered;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_OpenSCManagerW_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(svcctl_OpenSCManagerW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.DatabaseName = DatabaseName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_OpenServiceW_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(svcctl_OpenServiceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.ServiceName = ServiceName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfigW_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(svcctl_QueryServiceConfigW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceLockStatusW_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(svcctl_QueryServiceLockStatusW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceW, &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(svcctl_StartServiceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.NumArgs = NumArgs;
r.in.Arguments = Arguments;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_StartServiceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceDisplayNameW_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(svcctl_GetServiceDisplayNameW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceKeyNameW_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(svcctl_GetServiceKeyNameW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsA, &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(svcctl_SCSetServiceBitsA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.bitson = bitson;
r.in.immediate = immediate;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_ChangeServiceConfigA_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(svcctl_ChangeServiceConfigA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.display_name = display_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_CreateServiceA_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(svcctl_CreateServiceA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_start_name = service_start_name;
r.in.password = password;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumDependentServicesA_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(svcctl_EnumDependentServicesA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.state = state;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumServicesStatusA_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(svcctl_EnumServicesStatusA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offered = offered;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_OpenSCManagerA_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(svcctl_OpenSCManagerA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.DatabaseName = DatabaseName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceA, &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(svcctl_OpenServiceA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.ServiceName = ServiceName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfigA_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(svcctl_QueryServiceConfigA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceLockStatusA_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(svcctl_QueryServiceLockStatusA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceA, &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(svcctl_StartServiceA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.NumArgs = NumArgs;
r.in.Arguments = Arguments;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_StartServiceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceDisplayNameA_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(svcctl_GetServiceDisplayNameA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceKeyNameA_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(svcctl_GetServiceKeyNameA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetCurrentGroupeStateW, &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(svcctl_GetCurrentGroupeStateW, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetCurrentGroupeStateW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetCurrentGroupeStateW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServiceGroupW, &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(svcctl_EnumServiceGroupW, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServiceGroupW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServiceGroupW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2A, &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(svcctl_ChangeServiceConfig2A, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2A, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2A, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2W, &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(svcctl_ChangeServiceConfig2W, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2W, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2W, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2A, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfig2A_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(svcctl_QueryServiceConfig2A, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2A, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2A, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2W, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfig2W_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(svcctl_QueryServiceConfig2W, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2W, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2W, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatusEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceStatusEx_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(svcctl_QueryServiceStatusEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatusEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatusEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_EnumServicesStatusExA_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(EnumServicesStatusExA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offered = offered;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(EnumServicesStatusExA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_EnumServicesStatusExW_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(EnumServicesStatusExW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.resume_handle = resume_handle;
r.in.group_name = group_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(EnumServicesStatusExW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSendTSMessage, &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(svcctl_SCSendTSMessage, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSendTSMessage, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSendTSMessage, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKCR, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKCR_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(winreg_OpenHKCR, &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(winreg_OpenHKCR, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKCR, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKCU, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKCU_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(winreg_OpenHKCU, &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(winreg_OpenHKCU, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKCU, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKLM, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKLM_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(winreg_OpenHKLM, &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(winreg_OpenHKLM, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKLM, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKPD, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKPD_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(winreg_OpenHKPD, &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(winreg_OpenHKPD, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKPD, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKU, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKU_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(winreg_OpenHKU, &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(winreg_OpenHKU, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKU, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_CloseKey, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_CloseKey_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(winreg_CloseKey, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_CloseKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_CloseKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_CreateKey, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_CreateKey_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(winreg_CreateKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.secdesc = secdesc;
r.in.action_taken = action_taken;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_CreateKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_CreateKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_DeleteKey, &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(winreg_DeleteKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.key = key;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_DeleteKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_DeleteKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_DeleteValue, &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(winreg_DeleteValue, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.value = value;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_DeleteValue, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_DeleteValue, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_EnumKey, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_EnumKey_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(winreg_EnumKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.keyclass = keyclass;
r.in.last_changed_time = last_changed_time;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_EnumKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_EnumKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_EnumValue, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_EnumValue_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(winreg_EnumValue, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.size = size;
r.in.length = length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_EnumValue, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_EnumValue, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_FlushKey, &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(winreg_FlushKey, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_FlushKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_FlushKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_GetKeySecurity, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_GetKeySecurity_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(winreg_GetKeySecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sec_info = sec_info;
r.in.sd = sd;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_GetKeySecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_GetKeySecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_LoadKey, &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(winreg_LoadKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.keyname = keyname;
r.in.filename = filename;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_LoadKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_LoadKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_NotifyChangeKeyValue, &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(winreg_NotifyChangeKeyValue, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.string2 = string2;
r.in.unknown2 = unknown2;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_NotifyChangeKeyValue, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_NotifyChangeKeyValue, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenKey, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenKey_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(winreg_OpenKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown = unknown;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryInfoKey, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_QueryInfoKey_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(winreg_QueryInfoKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.classname = classname;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryInfoKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_QueryInfoKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryValue, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_QueryValue_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(winreg_QueryValue, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.data_size = data_size;
r.in.data_length = data_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryValue, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_QueryValue, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_ReplaceKey, &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(winreg_ReplaceKey, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_ReplaceKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_ReplaceKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_RestoreKey, &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(winreg_RestoreKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.filename = filename;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_RestoreKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_RestoreKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SaveKey, &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(winreg_SaveKey, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.filename = filename;
r.in.sec_attrib = sec_attrib;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SaveKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_SaveKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SetKeySecurity, &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(winreg_SetKeySecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sec_info = sec_info;
r.in.sd = sd;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SetKeySecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_SetKeySecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SetValue, &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(winreg_SetValue, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.data = data;
r.in.size = size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SetValue, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_SetValue, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_UnLoadKey, &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(winreg_UnLoadKey, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_UnLoadKey, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_UnLoadKey, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdown, &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(winreg_InitiateSystemShutdown, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.force_apps = force_apps;
r.in.do_reboot = do_reboot;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdown, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_InitiateSystemShutdown, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_AbortSystemShutdown, &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(winreg_AbortSystemShutdown, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.server = server;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_AbortSystemShutdown, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_AbortSystemShutdown, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_GetVersion, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_GetVersion_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(winreg_GetVersion, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_GetVersion, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_GetVersion, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKCC, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKCC_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(winreg_OpenHKCC, &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(winreg_OpenHKCC, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKCC, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKDD, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKDD_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(winreg_OpenHKDD, &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(winreg_OpenHKDD, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKDD, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_QueryMultipleValues_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(winreg_QueryMultipleValues, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.buffer_size = buffer_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_QueryMultipleValues, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdownEx, &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(winreg_InitiateSystemShutdownEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.do_reboot = do_reboot;
r.in.reason = reason;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdownEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_InitiateSystemShutdownEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SaveKeyEx, &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(winreg_SaveKeyEx, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_SaveKeyEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_SaveKeyEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKPT, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKPT_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(winreg_OpenHKPT, &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(winreg_OpenHKPT, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKPT, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_OpenHKPN, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_winreg_OpenHKPN_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(winreg_OpenHKPN, &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(winreg_OpenHKPN, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_OpenHKPN, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues2, &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(winreg_QueryMultipleValues2, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_winreg,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(winreg_QueryMultipleValues2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetWkstaGetInfo_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(wkssvc_NetWkstaGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_name = server_name;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaSetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetWkstaSetInfo_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(wkssvc_NetWkstaSetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.parm_error = parm_error;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaSetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaSetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaEnumUsers, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetWkstaEnumUsers_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(wkssvc_NetWkstaEnumUsers, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.prefmaxlen = prefmaxlen;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaEnumUsers, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaEnumUsers, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaUserGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrWkstaUserGetInfo_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(wkssvc_NetrWkstaUserGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown = unknown;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaUserGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaUserGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaUserSetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrWkstaUserSetInfo_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(wkssvc_NetrWkstaUserSetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info = info;
r.in.parm_err = parm_err;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaUserSetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaUserSetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaTransportEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetWkstaTransportEnum_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(wkssvc_NetWkstaTransportEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.max_buffer = max_buffer;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaTransportEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaTransportEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaTransportAdd, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrWkstaTransportAdd_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(wkssvc_NetrWkstaTransportAdd, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info0 = info0;
r.in.parm_err = parm_err;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaTransportAdd, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaTransportAdd, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaTransportDel, &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(wkssvc_NetrWkstaTransportDel, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.transport_name = transport_name;
r.in.unknown3 = unknown3;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWkstaTransportDel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaTransportDel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseAdd, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrUseAdd_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(wkssvc_NetrUseAdd, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.ctr = ctr;
r.in.parm_err = parm_err;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseAdd, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseAdd, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseGetInfo, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrUseGetInfo_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(wkssvc_NetrUseGetInfo, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.use_name = use_name;
r.in.level = level;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseGetInfo, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseGetInfo, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseDel, &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(wkssvc_NetrUseDel, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.use_name = use_name;
r.in.force_cond = force_cond;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseDel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseDel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseEnum, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrUseEnum_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(wkssvc_NetrUseEnum, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.prefmaxlen = prefmaxlen;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUseEnum, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseEnum, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrMessageBufferSend, &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(wkssvc_NetrMessageBufferSend, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.message_buffer = message_buffer;
r.in.message_size = message_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrMessageBufferSend, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrMessageBufferSend, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWorkstationStatisticsGet, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrWorkstationStatisticsGet_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(wkssvc_NetrWorkstationStatisticsGet, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown3 = unknown3;
r.in.unknown4 = unknown4;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrWorkstationStatisticsGet, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrWorkstationStatisticsGet, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrLogonDomainNameAdd, &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(wkssvc_NetrLogonDomainNameAdd, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.domain_name = domain_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrLogonDomainNameAdd, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrLogonDomainNameAdd, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrLogonDomainNameDel, &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(wkssvc_NetrLogonDomainNameDel, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.domain_name = domain_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrLogonDomainNameDel, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrLogonDomainNameDel, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrJoinDomain, &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(wkssvc_NetrJoinDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.join_flags = join_flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrJoinDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrJoinDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUnjoinDomain, &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(wkssvc_NetrUnjoinDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.unjoin_flags = unjoin_flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUnjoinDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrUnjoinDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrRenameMachineInDomain, &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(wkssvc_NetrRenameMachineInDomain, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.RenameOptions = RenameOptions;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrRenameMachineInDomain, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrRenameMachineInDomain, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrValidateName, &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(wkssvc_NetrValidateName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.Password = Password;
r.in.name_type = name_type;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrValidateName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrValidateName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrGetJoinInformation, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrGetJoinInformation_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(wkssvc_NetrGetJoinInformation, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.server_name = server_name;
r.in.name_buffer = name_buffer;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrGetJoinInformation, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinInformation, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrGetJoinableOus, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrGetJoinableOus_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(wkssvc_NetrGetJoinableOus, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.unknown = unknown;
r.in.num_ous = num_ous;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrGetJoinableOus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinableOus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrJoinDomain2, &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(wkssvc_NetrJoinDomain2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.encrypted_password = encrypted_password;
r.in.join_flags = join_flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrJoinDomain2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrJoinDomain2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUnjoinDomain2, &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(wkssvc_NetrUnjoinDomain2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.encrypted_password = encrypted_password;
r.in.unjoin_flags = unjoin_flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrUnjoinDomain2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrUnjoinDomain2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrRenameMachineInDomain2, &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(wkssvc_NetrRenameMachineInDomain2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.EncryptedPassword = EncryptedPassword;
r.in.RenameOptions = RenameOptions;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrRenameMachineInDomain2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrRenameMachineInDomain2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrValidateName2, &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(wkssvc_NetrValidateName2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.EncryptedPassword = EncryptedPassword;
r.in.name_type = name_type;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrValidateName2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrValidateName2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrGetJoinableOus2, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrGetJoinableOus2_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(wkssvc_NetrGetJoinableOus2, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.EncryptedPassword = EncryptedPassword;
r.in.num_ous = num_ous;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrGetJoinableOus2, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinableOus2, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrAddAlternateComputerName, &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(wkssvc_NetrAddAlternateComputerName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.EncryptedPassword = EncryptedPassword;
r.in.Reserved = Reserved;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrAddAlternateComputerName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrAddAlternateComputerName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &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(wkssvc_NetrRemoveAlternateComputerName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.EncryptedPassword = EncryptedPassword;
r.in.Reserved = Reserved;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrSetPrimaryComputername, &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(wkssvc_NetrSetPrimaryComputername, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.EncryptedPassword = EncryptedPassword;
r.in.Reserved = Reserved;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrSetPrimaryComputername, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrSetPrimaryComputername, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrEnumerateComputerNames, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wkssvc_NetrEnumerateComputerNames_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(wkssvc_NetrEnumerateComputerNames, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name_type = name_type;
r.in.Reserved = Reserved;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wkssvc_NetrEnumerateComputerNames, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wkssvc,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wkssvc_NetrEnumerateComputerNames, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
$self->pidl("");
}
- $self->pidl("if (DEBUGLEVEL >= 10) {");
- $self->indent;
- $self->pidl("NDR_PRINT_IN_DEBUG($fn->{NAME}, &state->orig);");
- $self->deindent;
- $self->pidl("}");
- $self->pidl("");
-
if ($out_params > 0) {
$self->pidl("state->out_mem_ctx = talloc_named_const(state, 0,");
$self->pidl("\t\t \"$out_mem_ctx\");");
$self->pidl("ZERO_STRUCT(state->tmp);");
$self->pidl("");
- $self->pidl("if (DEBUGLEVEL >= 10) {");
- $self->indent;
- $self->pidl("NDR_PRINT_OUT_DEBUG($fn->{NAME}, &state->orig);");
- $self->deindent;
- $self->pidl("}");
- $self->pidl("");
-
$self->pidl("tevent_req_done(req);");
$self->deindent;
$self->pidl("}");
}
}
- $self->pidl("");
- $self->pidl("if (DEBUGLEVEL >= 10) {");
- $self->indent;
- $self->pidl("NDR_PRINT_IN_DEBUG($fn->{NAME}, &r);");
- $self->deindent;
- $self->pidl("}");
$self->pidl("");
$self->pidl("status = cli->dispatch(cli,");
$self->pidl("\t\t\tmem_ctx,");
$self->deindent;
$self->pidl("}");
- $self->pidl("");
- $self->pidl("if (DEBUGLEVEL >= 10) {");
- $self->indent;
- $self->pidl("NDR_PRINT_OUT_DEBUG($fn->{NAME}, &r);");
- $self->deindent;
- $self->pidl("}");
$self->pidl("");
$self->pidl("if (NT_STATUS_IS_ERR(status)) {");
$self->indent;
/* Out parameters */
state->orig.out.out_data = _out_data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Ping, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_Ping_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(wbint_Ping, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.in_data = in_data;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Ping, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Ping, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupSid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_LookupSid_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(wbint_LookupSid, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupSid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupSid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_LookupName_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(wbint_LookupName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.name = name;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Sid2Uid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_Sid2Uid_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(wbint_Sid2Uid, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.dom_name = dom_name;
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Sid2Uid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Sid2Uid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Sid2Gid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_Sid2Gid_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(wbint_Sid2Gid, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.dom_name = dom_name;
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Sid2Gid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Sid2Gid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Uid2Sid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_Uid2Sid_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(wbint_Uid2Sid, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.dom_name = dom_name;
r.in.uid = uid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Uid2Sid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Uid2Sid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Gid2Sid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_Gid2Sid_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(wbint_Gid2Sid, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.dom_name = dom_name;
r.in.gid = gid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Gid2Sid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Gid2Sid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_AllocateUid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_AllocateUid_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(wbint_AllocateUid, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_AllocateUid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_AllocateUid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_AllocateGid, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_AllocateGid_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(wbint_AllocateGid, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_AllocateGid, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_AllocateGid, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryUser, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_QueryUser_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(wbint_QueryUser, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryUser, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QueryUser, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupUserAliases, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_LookupUserAliases_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(wbint_LookupUserAliases, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.sids = sids;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupUserAliases, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupUserAliases, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupUserGroups, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_LookupUserGroups_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(wbint_LookupUserGroups, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.sid = sid;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupUserGroups, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupUserGroups, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QuerySequenceNumber, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_QuerySequenceNumber_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(wbint_QuerySequenceNumber, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QuerySequenceNumber, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QuerySequenceNumber, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupGroupMembers, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_LookupGroupMembers_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(wbint_LookupGroupMembers, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.sid = sid;
r.in.type = type;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupGroupMembers, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupGroupMembers, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryUserList, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_QueryUserList_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(wbint_QueryUserList, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryUserList, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QueryUserList, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryGroupList, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_QueryGroupList_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(wbint_QueryGroupList, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryGroupList, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QueryGroupList, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_DsGetDcName, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_DsGetDcName_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(wbint_DsGetDcName, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.site_name = site_name;
r.in.flags = flags;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_DsGetDcName, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_DsGetDcName, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupRids, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_wbint_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(wbint_LookupRids, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.rids = rids;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupRids, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupRids, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_CheckMachineAccount, &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(wbint_CheckMachineAccount, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_CheckMachineAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_CheckMachineAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_ChangeMachineAccount, &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(wbint_ChangeMachineAccount, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_ChangeMachineAccount, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_ChangeMachineAccount, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_SetMapping, &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(wbint_SetMapping, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.type = type;
r.in.id = id;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_SetMapping, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_SetMapping, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_RemoveMapping, &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(wbint_RemoveMapping, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.type = type;
r.in.id = id;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_RemoveMapping, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_RemoveMapping, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_SetHWM, &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(wbint_SetHWM, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.type = type;
r.in.id = id;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_SetHWM, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_wbint,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_SetHWM, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
state->r = r;
state->call = &table->calls[opnum];
+ if (DEBUGLEVEL >= 10) {
+ ndr_print_function_debug(state->call->ndr_print,
+ state->call->name, NDR_IN, r);
+ }
+
push = ndr_push_init_ctx(talloc_tos(), NULL);
if (tevent_req_nomem(push, req)) {
return tevent_req_post(req, ev);
ndr_err = state->call->ndr_pull(pull, NDR_OUT, state->r);
TALLOC_FREE(pull);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
+ if (NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
+ if (DEBUGLEVEL >= 10) {
+ ndr_print_function_debug(state->call->ndr_print,
+ state->call->name, NDR_OUT,
+ state->r);
+ }
+ } else {
return ndr_map_error2ntstatus(ndr_err);
}