From 5cdee7ae0565c08026b8845cd3090b20d8abc472 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 7 Nov 2009 10:28:40 +0100 Subject: s3: Do the printing for DEBUGLEVEL>=10 centrally 12 insertions(+), 10651 deletions(-) I think that says it all :-) --- librpc/gen_ndr/cli_dfs.c | 368 -------- librpc/gen_ndr/cli_drsuapi.c | 400 --------- librpc/gen_ndr/cli_dssetup.c | 176 ---- librpc/gen_ndr/cli_echo.c | 160 ---- librpc/gen_ndr/cli_epmapper.c | 128 --- librpc/gen_ndr/cli_eventlog.c | 400 --------- librpc/gen_ndr/cli_initshutdown.c | 48 - librpc/gen_ndr/cli_lsa.c | 1312 --------------------------- librpc/gen_ndr/cli_netlogon.c | 752 ---------------- librpc/gen_ndr/cli_ntsvcs.c | 1040 ---------------------- librpc/gen_ndr/cli_samr.c | 1088 ----------------------- librpc/gen_ndr/cli_spoolss.c | 1760 ------------------------------------- librpc/gen_ndr/cli_srvsvc.c | 864 ------------------ librpc/gen_ndr/cli_svcctl.c | 704 --------------- librpc/gen_ndr/cli_winreg.c | 560 ------------ librpc/gen_ndr/cli_wkssvc.c | 496 ----------- 16 files changed, 10256 deletions(-) (limited to 'librpc') diff --git a/librpc/gen_ndr/cli_dfs.c b/librpc/gen_ndr/cli_dfs.c index 685e3b5e75..6ce5b5fcaf 100644 --- a/librpc/gen_ndr/cli_dfs.c +++ b/librpc/gen_ndr/cli_dfs.c @@ -37,10 +37,6 @@ struct tevent_req *rpccli_dfs_GetManagerVersion_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -89,10 +85,6 @@ static void rpccli_dfs_GetManagerVersion_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_GetManagerVersion, &state->orig); - } - tevent_req_done(req); } @@ -124,10 +116,6 @@ NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_GetManagerVersion, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -138,10 +126,6 @@ NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_GetManagerVersion, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -195,10 +179,6 @@ struct tevent_req *rpccli_dfs_Add_send(TALLOC_CTX *mem_ctx, /* 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; @@ -243,10 +223,6 @@ static void rpccli_dfs_Add_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Add, &state->orig); - } - tevent_req_done(req); } @@ -292,10 +268,6 @@ NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli, 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, @@ -306,10 +278,6 @@ NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Add, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -362,10 +330,6 @@ struct tevent_req *rpccli_dfs_Remove_send(TALLOC_CTX *mem_ctx, /* 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; @@ -410,10 +374,6 @@ static void rpccli_dfs_Remove_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Remove, &state->orig); - } - tevent_req_done(req); } @@ -455,10 +415,6 @@ NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli, 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, @@ -469,10 +425,6 @@ NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Remove, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -529,10 +481,6 @@ struct tevent_req *rpccli_dfs_SetInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -577,10 +525,6 @@ static void rpccli_dfs_SetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_SetInfo, &state->orig); - } - tevent_req_done(req); } @@ -626,10 +570,6 @@ NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli, 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, @@ -640,10 +580,6 @@ NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_SetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -700,10 +636,6 @@ struct tevent_req *rpccli_dfs_GetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -755,10 +687,6 @@ static void rpccli_dfs_GetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_GetInfo, &state->orig); - } - tevent_req_done(req); } @@ -803,10 +731,6 @@ NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli, 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, @@ -817,10 +741,6 @@ NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_GetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -878,10 +798,6 @@ struct tevent_req *rpccli_dfs_Enum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -938,10 +854,6 @@ static void rpccli_dfs_Enum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Enum, &state->orig); - } - tevent_req_done(req); } @@ -985,10 +897,6 @@ NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, 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, @@ -999,10 +907,6 @@ NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Enum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1055,10 +959,6 @@ struct tevent_req *rpccli_dfs_Rename_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1103,10 +1003,6 @@ static void rpccli_dfs_Rename_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Rename, &state->orig); - } - tevent_req_done(req); } @@ -1142,10 +1038,6 @@ NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_Rename, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -1156,10 +1048,6 @@ NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Rename, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1206,10 +1094,6 @@ struct tevent_req *rpccli_dfs_Move_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1254,10 +1138,6 @@ static void rpccli_dfs_Move_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Move, &state->orig); - } - tevent_req_done(req); } @@ -1293,10 +1173,6 @@ NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_Move, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -1307,10 +1183,6 @@ NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Move, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1357,10 +1229,6 @@ struct tevent_req *rpccli_dfs_ManagerGetConfigInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1405,10 +1273,6 @@ static void rpccli_dfs_ManagerGetConfigInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_ManagerGetConfigInfo, &state->orig); - } - tevent_req_done(req); } @@ -1444,10 +1308,6 @@ NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_ManagerGetConfigInfo, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -1458,10 +1318,6 @@ NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_ManagerGetConfigInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1508,10 +1364,6 @@ struct tevent_req *rpccli_dfs_ManagerSendSiteInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1556,10 +1408,6 @@ static void rpccli_dfs_ManagerSendSiteInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_ManagerSendSiteInfo, &state->orig); - } - tevent_req_done(req); } @@ -1595,10 +1443,6 @@ NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_ManagerSendSiteInfo, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -1609,10 +1453,6 @@ NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_ManagerSendSiteInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1678,10 +1518,6 @@ struct tevent_req *rpccli_dfs_AddFtRoot_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1735,10 +1571,6 @@ static void rpccli_dfs_AddFtRoot_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_AddFtRoot, &state->orig); - } - tevent_req_done(req); } @@ -1792,10 +1624,6 @@ NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli, 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, @@ -1806,10 +1634,6 @@ NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_AddFtRoot, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1872,10 +1696,6 @@ struct tevent_req *rpccli_dfs_RemoveFtRoot_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1929,10 +1749,6 @@ static void rpccli_dfs_RemoveFtRoot_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_RemoveFtRoot, &state->orig); - } - tevent_req_done(req); } @@ -1980,10 +1796,6 @@ NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli, 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, @@ -1994,10 +1806,6 @@ NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_RemoveFtRoot, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2055,10 +1863,6 @@ struct tevent_req *rpccli_dfs_AddStdRoot_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2103,10 +1907,6 @@ static void rpccli_dfs_AddStdRoot_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_AddStdRoot, &state->orig); - } - tevent_req_done(req); } @@ -2150,10 +1950,6 @@ NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli, 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, @@ -2164,10 +1960,6 @@ NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_AddStdRoot, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2220,10 +2012,6 @@ struct tevent_req *rpccli_dfs_RemoveStdRoot_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2268,10 +2056,6 @@ static void rpccli_dfs_RemoveStdRoot_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_RemoveStdRoot, &state->orig); - } - tevent_req_done(req); } @@ -2313,10 +2097,6 @@ NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli, 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, @@ -2327,10 +2107,6 @@ NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_RemoveStdRoot, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2381,10 +2157,6 @@ struct tevent_req *rpccli_dfs_ManagerInitialize_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2429,10 +2201,6 @@ static void rpccli_dfs_ManagerInitialize_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_ManagerInitialize, &state->orig); - } - tevent_req_done(req); } @@ -2472,10 +2240,6 @@ NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli, 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, @@ -2486,10 +2250,6 @@ NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_ManagerInitialize, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2544,10 +2304,6 @@ struct tevent_req *rpccli_dfs_AddStdRootForced_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2592,10 +2348,6 @@ static void rpccli_dfs_AddStdRootForced_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_AddStdRootForced, &state->orig); - } - tevent_req_done(req); } @@ -2639,10 +2391,6 @@ NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli, 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, @@ -2653,10 +2401,6 @@ NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_AddStdRootForced, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2714,10 +2458,6 @@ struct tevent_req *rpccli_dfs_GetDcAddress_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2771,10 +2511,6 @@ static void rpccli_dfs_GetDcAddress_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_GetDcAddress, &state->orig); - } - tevent_req_done(req); } @@ -2818,10 +2554,6 @@ NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli, 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, @@ -2832,10 +2564,6 @@ NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_GetDcAddress, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2893,10 +2621,6 @@ struct tevent_req *rpccli_dfs_SetDcAddress_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2941,10 +2665,6 @@ static void rpccli_dfs_SetDcAddress_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_SetDcAddress, &state->orig); - } - tevent_req_done(req); } @@ -2988,10 +2708,6 @@ NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli, 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, @@ -3002,10 +2718,6 @@ NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_SetDcAddress, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3056,10 +2768,6 @@ struct tevent_req *rpccli_dfs_FlushFtTable_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3104,10 +2812,6 @@ static void rpccli_dfs_FlushFtTable_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_FlushFtTable, &state->orig); - } - tevent_req_done(req); } @@ -3147,10 +2851,6 @@ NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli, 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, @@ -3161,10 +2861,6 @@ NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_FlushFtTable, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3211,10 +2907,6 @@ struct tevent_req *rpccli_dfs_Add2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3259,10 +2951,6 @@ static void rpccli_dfs_Add2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Add2, &state->orig); - } - tevent_req_done(req); } @@ -3298,10 +2986,6 @@ NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_Add2, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -3312,10 +2996,6 @@ NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Add2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3362,10 +3042,6 @@ struct tevent_req *rpccli_dfs_Remove2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3410,10 +3086,6 @@ static void rpccli_dfs_Remove2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Remove2, &state->orig); - } - tevent_req_done(req); } @@ -3449,10 +3121,6 @@ NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_Remove2, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -3463,10 +3131,6 @@ NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_Remove2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3525,10 +3189,6 @@ struct tevent_req *rpccli_dfs_EnumEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3585,10 +3245,6 @@ static void rpccli_dfs_EnumEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_EnumEx, &state->orig); - } - tevent_req_done(req); } @@ -3634,10 +3290,6 @@ NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, 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, @@ -3648,10 +3300,6 @@ NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_EnumEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3704,10 +3352,6 @@ struct tevent_req *rpccli_dfs_SetInfo2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3752,10 +3396,6 @@ static void rpccli_dfs_SetInfo2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_SetInfo2, &state->orig); - } - tevent_req_done(req); } @@ -3791,10 +3431,6 @@ NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dfs_SetInfo2, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netdfs, @@ -3805,10 +3441,6 @@ NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dfs_SetInfo2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_drsuapi.c b/librpc/gen_ndr/cli_drsuapi.c index 69171dc34d..c261a79f62 100644 --- a/librpc/gen_ndr/cli_drsuapi.c +++ b/librpc/gen_ndr/cli_drsuapi.c @@ -45,10 +45,6 @@ struct tevent_req *rpccli_drsuapi_DsBind_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -103,10 +99,6 @@ static void rpccli_drsuapi_DsBind_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsBind, &state->orig); - } - tevent_req_done(req); } @@ -147,10 +139,6 @@ NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli, 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, @@ -161,10 +149,6 @@ NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsBind, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -218,10 +202,6 @@ struct tevent_req *rpccli_drsuapi_DsUnbind_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -273,10 +253,6 @@ static void rpccli_drsuapi_DsUnbind_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsUnbind, &state->orig); - } - tevent_req_done(req); } @@ -314,10 +290,6 @@ NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli, /* 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, @@ -328,10 +300,6 @@ NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsUnbind, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -385,10 +353,6 @@ struct tevent_req *rpccli_drsuapi_DsReplicaSync_send(TALLOC_CTX *mem_ctx, /* 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; @@ -433,10 +397,6 @@ static void rpccli_drsuapi_DsReplicaSync_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaSync, &state->orig); - } - tevent_req_done(req); } @@ -478,10 +438,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli, 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, @@ -492,10 +448,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaSync, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -552,10 +504,6 @@ struct tevent_req *rpccli_drsuapi_DsGetNCChanges_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -608,10 +556,6 @@ static void rpccli_drsuapi_DsGetNCChanges_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetNCChanges, &state->orig); - } - tevent_req_done(req); } @@ -655,10 +599,6 @@ NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli, 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, @@ -669,10 +609,6 @@ NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetNCChanges, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -727,10 +663,6 @@ struct tevent_req *rpccli_drsuapi_DsReplicaUpdateRefs_send(TALLOC_CTX *mem_ctx, /* 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; @@ -775,10 +707,6 @@ static void rpccli_drsuapi_DsReplicaUpdateRefs_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaUpdateRefs, &state->orig); - } - tevent_req_done(req); } @@ -820,10 +748,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli, 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, @@ -834,10 +758,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaUpdateRefs, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -890,10 +810,6 @@ struct tevent_req *rpccli_drsuapi_DsReplicaAdd_send(TALLOC_CTX *mem_ctx, /* 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; @@ -938,10 +854,6 @@ static void rpccli_drsuapi_DsReplicaAdd_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaAdd, &state->orig); - } - tevent_req_done(req); } @@ -983,10 +895,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaAdd(struct rpc_pipe_client *cli, 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, @@ -997,10 +905,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaAdd(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaAdd, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1053,10 +957,6 @@ struct tevent_req *rpccli_drsuapi_DsReplicaDel_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1101,10 +1001,6 @@ static void rpccli_drsuapi_DsReplicaDel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaDel, &state->orig); - } - tevent_req_done(req); } @@ -1146,10 +1042,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaDel(struct rpc_pipe_client *cli, 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, @@ -1160,10 +1052,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaDel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaDel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1216,10 +1104,6 @@ struct tevent_req *rpccli_drsuapi_DsReplicaMod_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1264,10 +1148,6 @@ static void rpccli_drsuapi_DsReplicaMod_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaMod, &state->orig); - } - tevent_req_done(req); } @@ -1309,10 +1189,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaMod(struct rpc_pipe_client *cli, 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, @@ -1323,10 +1199,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaMod(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaMod, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1373,10 +1245,6 @@ struct tevent_req *rpccli_DRSUAPI_VERIFY_NAMES_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1421,10 +1289,6 @@ static void rpccli_DRSUAPI_VERIFY_NAMES_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_VERIFY_NAMES, &state->orig); - } - tevent_req_done(req); } @@ -1460,10 +1324,6 @@ NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(DRSUAPI_VERIFY_NAMES, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_drsuapi, @@ -1474,10 +1334,6 @@ NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_VERIFY_NAMES, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1534,10 +1390,6 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1590,10 +1442,6 @@ static void rpccli_drsuapi_DsGetMemberships_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetMemberships, &state->orig); - } - tevent_req_done(req); } @@ -1637,10 +1485,6 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli, 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, @@ -1651,10 +1495,6 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetMemberships, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1703,10 +1543,6 @@ struct tevent_req *rpccli_DRSUAPI_INTER_DOMAIN_MOVE_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1751,10 +1587,6 @@ static void rpccli_DRSUAPI_INTER_DOMAIN_MOVE_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_INTER_DOMAIN_MOVE, &state->orig); - } - tevent_req_done(req); } @@ -1790,10 +1622,6 @@ NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(DRSUAPI_INTER_DOMAIN_MOVE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_drsuapi, @@ -1804,10 +1632,6 @@ NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_INTER_DOMAIN_MOVE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1864,10 +1688,6 @@ struct tevent_req *rpccli_drsuapi_DsGetNT4ChangeLog_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1920,10 +1740,6 @@ static void rpccli_drsuapi_DsGetNT4ChangeLog_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetNT4ChangeLog, &state->orig); - } - tevent_req_done(req); } @@ -1967,10 +1783,6 @@ NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog(struct rpc_pipe_client *cli, 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, @@ -1981,10 +1793,6 @@ NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetNT4ChangeLog, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2043,10 +1851,6 @@ struct tevent_req *rpccli_drsuapi_DsCrackNames_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2099,10 +1903,6 @@ static void rpccli_drsuapi_DsCrackNames_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsCrackNames, &state->orig); - } - tevent_req_done(req); } @@ -2146,10 +1946,6 @@ NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli, 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, @@ -2160,10 +1956,6 @@ NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsCrackNames, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2222,10 +2014,6 @@ struct tevent_req *rpccli_drsuapi_DsWriteAccountSpn_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2278,10 +2066,6 @@ static void rpccli_drsuapi_DsWriteAccountSpn_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsWriteAccountSpn, &state->orig); - } - tevent_req_done(req); } @@ -2325,10 +2109,6 @@ NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli, 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, @@ -2339,10 +2119,6 @@ NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsWriteAccountSpn, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2401,10 +2177,6 @@ struct tevent_req *rpccli_drsuapi_DsRemoveDSServer_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2457,10 +2229,6 @@ static void rpccli_drsuapi_DsRemoveDSServer_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsRemoveDSServer, &state->orig); - } - tevent_req_done(req); } @@ -2504,10 +2272,6 @@ NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli, 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, @@ -2518,10 +2282,6 @@ NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsRemoveDSServer, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2570,10 +2330,6 @@ struct tevent_req *rpccli_DRSUAPI_REMOVE_DS_DOMAIN_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2618,10 +2374,6 @@ static void rpccli_DRSUAPI_REMOVE_DS_DOMAIN_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_REMOVE_DS_DOMAIN, &state->orig); - } - tevent_req_done(req); } @@ -2657,10 +2409,6 @@ NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(DRSUAPI_REMOVE_DS_DOMAIN, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_drsuapi, @@ -2671,10 +2419,6 @@ NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_REMOVE_DS_DOMAIN, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2731,10 +2475,6 @@ struct tevent_req *rpccli_drsuapi_DsGetDomainControllerInfo_send(TALLOC_CTX *mem /* 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)) { @@ -2787,10 +2527,6 @@ static void rpccli_drsuapi_DsGetDomainControllerInfo_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetDomainControllerInfo, &state->orig); - } - tevent_req_done(req); } @@ -2834,10 +2570,6 @@ NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo(struct rpc_pipe_client *cli, 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, @@ -2848,10 +2580,6 @@ NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetDomainControllerInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2910,10 +2638,6 @@ struct tevent_req *rpccli_drsuapi_DsAddEntry_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2966,10 +2690,6 @@ static void rpccli_drsuapi_DsAddEntry_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsAddEntry, &state->orig); - } - tevent_req_done(req); } @@ -3013,10 +2733,6 @@ NTSTATUS rpccli_drsuapi_DsAddEntry(struct rpc_pipe_client *cli, 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, @@ -3027,10 +2743,6 @@ NTSTATUS rpccli_drsuapi_DsAddEntry(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsAddEntry, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3085,10 +2797,6 @@ struct tevent_req *rpccli_drsuapi_DsExecuteKCC_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3133,10 +2841,6 @@ static void rpccli_drsuapi_DsExecuteKCC_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsExecuteKCC, &state->orig); - } - tevent_req_done(req); } @@ -3178,10 +2882,6 @@ NTSTATUS rpccli_drsuapi_DsExecuteKCC(struct rpc_pipe_client *cli, 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, @@ -3192,10 +2892,6 @@ NTSTATUS rpccli_drsuapi_DsExecuteKCC(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsExecuteKCC, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3252,10 +2948,6 @@ struct tevent_req *rpccli_drsuapi_DsReplicaGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3308,10 +3000,6 @@ static void rpccli_drsuapi_DsReplicaGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -3355,10 +3043,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaGetInfo(struct rpc_pipe_client *cli, 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, @@ -3369,10 +3053,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3421,10 +3101,6 @@ struct tevent_req *rpccli_DRSUAPI_ADD_SID_HISTORY_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3469,10 +3145,6 @@ static void rpccli_DRSUAPI_ADD_SID_HISTORY_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_ADD_SID_HISTORY, &state->orig); - } - tevent_req_done(req); } @@ -3508,10 +3180,6 @@ NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(DRSUAPI_ADD_SID_HISTORY, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_drsuapi, @@ -3522,10 +3190,6 @@ NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_ADD_SID_HISTORY, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3582,10 +3246,6 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3638,10 +3298,6 @@ static void rpccli_drsuapi_DsGetMemberships2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetMemberships2, &state->orig); - } - tevent_req_done(req); } @@ -3685,10 +3341,6 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli, 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, @@ -3699,10 +3351,6 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_DsGetMemberships2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3751,10 +3399,6 @@ struct tevent_req *rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS_send(TALLOC_CTX *mem_ct /* 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; @@ -3799,10 +3443,6 @@ static void rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_REPLICA_VERIFY_OBJECTS, &state->orig); - } - tevent_req_done(req); } @@ -3838,10 +3478,6 @@ NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(DRSUAPI_REPLICA_VERIFY_OBJECTS, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_drsuapi, @@ -3852,10 +3488,6 @@ NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_REPLICA_VERIFY_OBJECTS, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3902,10 +3534,6 @@ struct tevent_req *rpccli_DRSUAPI_GET_OBJECT_EXISTENCE_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3950,10 +3578,6 @@ static void rpccli_DRSUAPI_GET_OBJECT_EXISTENCE_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_GET_OBJECT_EXISTENCE, &state->orig); - } - tevent_req_done(req); } @@ -3989,10 +3613,6 @@ NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(DRSUAPI_GET_OBJECT_EXISTENCE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_drsuapi, @@ -4003,10 +3623,6 @@ NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(DRSUAPI_GET_OBJECT_EXISTENCE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4063,10 +3679,6 @@ struct tevent_req *rpccli_drsuapi_QuerySitesByCost_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4119,10 +3731,6 @@ static void rpccli_drsuapi_QuerySitesByCost_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_QuerySitesByCost, &state->orig); - } - tevent_req_done(req); } @@ -4166,10 +3774,6 @@ NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli, 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, @@ -4180,10 +3784,6 @@ NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(drsuapi_QuerySitesByCost, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_dssetup.c b/librpc/gen_ndr/cli_dssetup.c index f0a75c9102..22b39cb3ee 100644 --- a/librpc/gen_ndr/cli_dssetup.c +++ b/librpc/gen_ndr/cli_dssetup.c @@ -42,10 +42,6 @@ struct tevent_req *rpccli_dssetup_DsRoleGetPrimaryDomainInformation_send(TALLOC_ /* 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)) { @@ -99,10 +95,6 @@ static void rpccli_dssetup_DsRoleGetPrimaryDomainInformation_done(struct tevent_ /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, &state->orig); - } - tevent_req_done(req); } @@ -141,10 +133,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client /* 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, @@ -155,10 +143,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -208,10 +192,6 @@ struct tevent_req *rpccli_dssetup_DsRoleDnsNameToFlatName_send(TALLOC_CTX *mem_c /* 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; @@ -256,10 +236,6 @@ static void rpccli_dssetup_DsRoleDnsNameToFlatName_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDnsNameToFlatName, &state->orig); - } - tevent_req_done(req); } @@ -295,10 +271,6 @@ NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleDnsNameToFlatName, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -309,10 +281,6 @@ NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDnsNameToFlatName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -359,10 +327,6 @@ struct tevent_req *rpccli_dssetup_DsRoleDcAsDc_send(TALLOC_CTX *mem_ctx, /* 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; @@ -407,10 +371,6 @@ static void rpccli_dssetup_DsRoleDcAsDc_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsDc, &state->orig); - } - tevent_req_done(req); } @@ -446,10 +406,6 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsDc, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -460,10 +416,6 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsDc, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -510,10 +462,6 @@ struct tevent_req *rpccli_dssetup_DsRoleDcAsReplica_send(TALLOC_CTX *mem_ctx, /* 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; @@ -558,10 +506,6 @@ static void rpccli_dssetup_DsRoleDcAsReplica_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsReplica, &state->orig); - } - tevent_req_done(req); } @@ -597,10 +541,6 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsReplica, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -611,10 +551,6 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsReplica, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -661,10 +597,6 @@ struct tevent_req *rpccli_dssetup_DsRoleDemoteDc_send(TALLOC_CTX *mem_ctx, /* 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; @@ -709,10 +641,6 @@ static void rpccli_dssetup_DsRoleDemoteDc_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDemoteDc, &state->orig); - } - tevent_req_done(req); } @@ -748,10 +676,6 @@ NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleDemoteDc, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -762,10 +686,6 @@ NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDemoteDc, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -812,10 +732,6 @@ struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationProgress_send(TALLOC_CTX * /* 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; @@ -860,10 +776,6 @@ static void rpccli_dssetup_DsRoleGetDcOperationProgress_done(struct tevent_req * /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationProgress, &state->orig); - } - tevent_req_done(req); } @@ -899,10 +811,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationProgress, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -913,10 +821,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationProgress, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -963,10 +867,6 @@ struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationResults_send(TALLOC_CTX *m /* 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; @@ -1011,10 +911,6 @@ static void rpccli_dssetup_DsRoleGetDcOperationResults_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationResults, &state->orig); - } - tevent_req_done(req); } @@ -1050,10 +946,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationResults, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -1064,10 +956,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationResults, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1114,10 +1002,6 @@ struct tevent_req *rpccli_dssetup_DsRoleCancel_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1162,10 +1046,6 @@ static void rpccli_dssetup_DsRoleCancel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleCancel, &state->orig); - } - tevent_req_done(req); } @@ -1201,10 +1081,6 @@ NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleCancel, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -1215,10 +1091,6 @@ NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleCancel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1265,10 +1137,6 @@ struct tevent_req *rpccli_dssetup_DsRoleServerSaveStateForUpgrade_send(TALLOC_CT /* 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; @@ -1313,10 +1181,6 @@ static void rpccli_dssetup_DsRoleServerSaveStateForUpgrade_done(struct tevent_re /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &state->orig); - } - tevent_req_done(req); } @@ -1352,10 +1216,6 @@ NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client * /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -1366,10 +1226,6 @@ NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client * return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1416,10 +1272,6 @@ struct tevent_req *rpccli_dssetup_DsRoleUpgradeDownlevelServer_send(TALLOC_CTX * /* 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; @@ -1464,10 +1316,6 @@ static void rpccli_dssetup_DsRoleUpgradeDownlevelServer_done(struct tevent_req * /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &state->orig); - } - tevent_req_done(req); } @@ -1503,10 +1351,6 @@ NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -1517,10 +1361,6 @@ NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1567,10 +1407,6 @@ struct tevent_req *rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_send(TALLOC_ /* 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; @@ -1615,10 +1451,6 @@ static void rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_done(struct tevent_ /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &state->orig); - } - tevent_req_done(req); } @@ -1654,10 +1486,6 @@ NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_dssetup, @@ -1668,10 +1496,6 @@ NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_echo.c b/librpc/gen_ndr/cli_echo.c index fd18666e40..52aa8c50bb 100644 --- a/librpc/gen_ndr/cli_echo.c +++ b/librpc/gen_ndr/cli_echo.c @@ -39,10 +39,6 @@ struct tevent_req *rpccli_echo_AddOne_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -91,10 +87,6 @@ static void rpccli_echo_AddOne_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_AddOne, &state->orig); - } - tevent_req_done(req); } @@ -128,10 +120,6 @@ NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli, /* 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, @@ -142,10 +130,6 @@ NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_AddOne, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -192,10 +176,6 @@ struct tevent_req *rpccli_echo_EchoData_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -244,10 +224,6 @@ static void rpccli_echo_EchoData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_EchoData, &state->orig); - } - tevent_req_done(req); } @@ -283,10 +259,6 @@ NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, 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, @@ -297,10 +269,6 @@ NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_EchoData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -345,10 +313,6 @@ struct tevent_req *rpccli_echo_SinkData_send(TALLOC_CTX *mem_ctx, /* 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; @@ -390,10 +354,6 @@ static void rpccli_echo_SinkData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_SinkData, &state->orig); - } - tevent_req_done(req); } @@ -428,10 +388,6 @@ NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, 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, @@ -442,10 +398,6 @@ NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_SinkData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -489,10 +441,6 @@ struct tevent_req *rpccli_echo_SourceData_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -541,10 +489,6 @@ static void rpccli_echo_SourceData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_SourceData, &state->orig); - } - tevent_req_done(req); } @@ -578,10 +522,6 @@ NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, /* 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, @@ -592,10 +532,6 @@ NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_SourceData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -640,10 +576,6 @@ struct tevent_req *rpccli_echo_TestCall_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -692,10 +624,6 @@ static void rpccli_echo_TestCall_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestCall, &state->orig); - } - tevent_req_done(req); } @@ -729,10 +657,6 @@ NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, /* 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, @@ -743,10 +667,6 @@ NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestCall, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -794,10 +714,6 @@ struct tevent_req *rpccli_echo_TestCall2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -849,10 +765,6 @@ static void rpccli_echo_TestCall2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestCall2, &state->orig); - } - tevent_req_done(req); } @@ -890,10 +802,6 @@ NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, /* 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, @@ -904,10 +812,6 @@ NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestCall2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -953,10 +857,6 @@ struct tevent_req *rpccli_echo_TestSleep_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1001,10 +901,6 @@ static void rpccli_echo_TestSleep_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestSleep, &state->orig); - } - tevent_req_done(req); } @@ -1041,10 +937,6 @@ NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, /* 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, @@ -1055,10 +947,6 @@ NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestSleep, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1107,10 +995,6 @@ struct tevent_req *rpccli_echo_TestEnum_send(TALLOC_CTX *mem_ctx, 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)) { @@ -1161,10 +1045,6 @@ static void rpccli_echo_TestEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestEnum, &state->orig); - } - tevent_req_done(req); } @@ -1201,10 +1081,6 @@ NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli, 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, @@ -1215,10 +1091,6 @@ NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1264,10 +1136,6 @@ struct tevent_req *rpccli_echo_TestSurrounding_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1316,10 +1184,6 @@ static void rpccli_echo_TestSurrounding_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestSurrounding, &state->orig); - } - tevent_req_done(req); } @@ -1352,10 +1216,6 @@ NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, /* 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, @@ -1366,10 +1226,6 @@ NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestSurrounding, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1415,10 +1271,6 @@ struct tevent_req *rpccli_echo_TestDoublePointer_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1463,10 +1315,6 @@ static void rpccli_echo_TestDoublePointer_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestDoublePointer, &state->orig); - } - tevent_req_done(req); } @@ -1503,10 +1351,6 @@ NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, /* 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, @@ -1517,10 +1361,6 @@ NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(echo_TestDoublePointer, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_epmapper.c b/librpc/gen_ndr/cli_epmapper.c index a271516fb0..4e5d160883 100644 --- a/librpc/gen_ndr/cli_epmapper.c +++ b/librpc/gen_ndr/cli_epmapper.c @@ -44,10 +44,6 @@ struct tevent_req *rpccli_epm_Insert_send(TALLOC_CTX *mem_ctx, /* 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; @@ -92,10 +88,6 @@ static void rpccli_epm_Insert_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Insert, &state->orig); - } - tevent_req_done(req); } @@ -136,10 +128,6 @@ NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli, 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, @@ -150,10 +138,6 @@ NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Insert, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -200,10 +184,6 @@ struct tevent_req *rpccli_epm_Delete_send(TALLOC_CTX *mem_ctx, /* 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; @@ -248,10 +228,6 @@ static void rpccli_epm_Delete_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Delete, &state->orig); - } - tevent_req_done(req); } @@ -290,10 +266,6 @@ NTSTATUS rpccli_epm_Delete(struct rpc_pipe_client *cli, 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, @@ -304,10 +276,6 @@ NTSTATUS rpccli_epm_Delete(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Delete, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -367,10 +335,6 @@ struct tevent_req *rpccli_epm_Lookup_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -424,10 +388,6 @@ static void rpccli_epm_Lookup_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Lookup, &state->orig); - } - tevent_req_done(req); } @@ -476,10 +436,6 @@ NTSTATUS rpccli_epm_Lookup(struct rpc_pipe_client *cli, 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, @@ -490,10 +446,6 @@ NTSTATUS rpccli_epm_Lookup(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Lookup, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -552,10 +504,6 @@ struct tevent_req *rpccli_epm_Map_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -609,10 +557,6 @@ static void rpccli_epm_Map_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Map, &state->orig); - } - tevent_req_done(req); } @@ -657,10 +601,6 @@ NTSTATUS rpccli_epm_Map(struct rpc_pipe_client *cli, 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, @@ -671,10 +611,6 @@ NTSTATUS rpccli_epm_Map(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_Map, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -723,10 +659,6 @@ struct tevent_req *rpccli_epm_LookupHandleFree_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -778,10 +710,6 @@ static void rpccli_epm_LookupHandleFree_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_LookupHandleFree, &state->orig); - } - tevent_req_done(req); } @@ -818,10 +746,6 @@ NTSTATUS rpccli_epm_LookupHandleFree(struct rpc_pipe_client *cli, /* 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, @@ -832,10 +756,6 @@ NTSTATUS rpccli_epm_LookupHandleFree(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_LookupHandleFree, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -881,10 +801,6 @@ struct tevent_req *rpccli_epm_InqObject_send(TALLOC_CTX *mem_ctx, /* 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; @@ -929,10 +845,6 @@ static void rpccli_epm_InqObject_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_InqObject, &state->orig); - } - tevent_req_done(req); } @@ -969,10 +881,6 @@ NTSTATUS rpccli_epm_InqObject(struct rpc_pipe_client *cli, /* 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, @@ -983,10 +891,6 @@ NTSTATUS rpccli_epm_InqObject(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_InqObject, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1035,10 +939,6 @@ struct tevent_req *rpccli_epm_MgmtDelete_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1083,10 +983,6 @@ static void rpccli_epm_MgmtDelete_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_MgmtDelete, &state->orig); - } - tevent_req_done(req); } @@ -1127,10 +1023,6 @@ NTSTATUS rpccli_epm_MgmtDelete(struct rpc_pipe_client *cli, 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, @@ -1141,10 +1033,6 @@ NTSTATUS rpccli_epm_MgmtDelete(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_MgmtDelete, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1187,10 +1075,6 @@ struct tevent_req *rpccli_epm_MapAuth_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1235,10 +1119,6 @@ static void rpccli_epm_MapAuth_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_MapAuth, &state->orig); - } - tevent_req_done(req); } @@ -1273,10 +1153,6 @@ NTSTATUS rpccli_epm_MapAuth(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(epm_MapAuth, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_epmapper, @@ -1287,10 +1163,6 @@ NTSTATUS rpccli_epm_MapAuth(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(epm_MapAuth, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_eventlog.c b/librpc/gen_ndr/cli_eventlog.c index a53ca13eb4..9e2c6bea66 100644 --- a/librpc/gen_ndr/cli_eventlog.c +++ b/librpc/gen_ndr/cli_eventlog.c @@ -42,10 +42,6 @@ struct tevent_req *rpccli_eventlog_ClearEventLogW_send(TALLOC_CTX *mem_ctx, /* 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; @@ -90,10 +86,6 @@ static void rpccli_eventlog_ClearEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -132,10 +124,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli, 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, @@ -146,10 +134,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -196,10 +180,6 @@ struct tevent_req *rpccli_eventlog_BackupEventLogW_send(TALLOC_CTX *mem_ctx, /* 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; @@ -244,10 +224,6 @@ static void rpccli_eventlog_BackupEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -286,10 +262,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli, 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, @@ -300,10 +272,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -349,10 +317,6 @@ struct tevent_req *rpccli_eventlog_CloseEventLog_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -404,10 +368,6 @@ static void rpccli_eventlog_CloseEventLog_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_CloseEventLog, &state->orig); - } - tevent_req_done(req); } @@ -444,10 +404,6 @@ NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli, /* 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, @@ -458,10 +414,6 @@ NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_CloseEventLog, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -508,10 +460,6 @@ struct tevent_req *rpccli_eventlog_DeregisterEventSource_send(TALLOC_CTX *mem_ct /* 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)) { @@ -563,10 +511,6 @@ static void rpccli_eventlog_DeregisterEventSource_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterEventSource, &state->orig); - } - tevent_req_done(req); } @@ -603,10 +547,6 @@ NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli, /* 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, @@ -617,10 +557,6 @@ NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterEventSource, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -668,10 +604,6 @@ struct tevent_req *rpccli_eventlog_GetNumRecords_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -723,10 +655,6 @@ static void rpccli_eventlog_GetNumRecords_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetNumRecords, &state->orig); - } - tevent_req_done(req); } @@ -764,10 +692,6 @@ NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli, /* 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, @@ -778,10 +702,6 @@ NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetNumRecords, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -829,10 +749,6 @@ struct tevent_req *rpccli_eventlog_GetOldestRecord_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -884,10 +800,6 @@ static void rpccli_eventlog_GetOldestRecord_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetOldestRecord, &state->orig); - } - tevent_req_done(req); } @@ -925,10 +837,6 @@ NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli, /* 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, @@ -939,10 +847,6 @@ NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetOldestRecord, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -986,10 +890,6 @@ struct tevent_req *rpccli_eventlog_ChangeNotify_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1034,10 +934,6 @@ static void rpccli_eventlog_ChangeNotify_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ChangeNotify, &state->orig); - } - tevent_req_done(req); } @@ -1072,10 +968,6 @@ NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ChangeNotify, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -1086,10 +978,6 @@ NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ChangeNotify, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1144,10 +1032,6 @@ struct tevent_req *rpccli_eventlog_OpenEventLogW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1199,10 +1083,6 @@ static void rpccli_eventlog_OpenEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -1248,10 +1128,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli, 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, @@ -1262,10 +1138,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1321,10 +1193,6 @@ struct tevent_req *rpccli_eventlog_RegisterEventSourceW_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -1376,10 +1244,6 @@ static void rpccli_eventlog_RegisterEventSourceW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceW, &state->orig); - } - tevent_req_done(req); } @@ -1425,10 +1289,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli, 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, @@ -1439,10 +1299,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1496,10 +1352,6 @@ struct tevent_req *rpccli_eventlog_OpenBackupEventLogW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1551,10 +1403,6 @@ static void rpccli_eventlog_OpenBackupEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -1598,10 +1446,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli, 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, @@ -1612,10 +1456,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1673,10 +1513,6 @@ struct tevent_req *rpccli_eventlog_ReadEventLogW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1730,10 +1566,6 @@ static void rpccli_eventlog_ReadEventLogW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogW, &state->orig); - } - tevent_req_done(req); } @@ -1779,10 +1611,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli, 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, @@ -1793,10 +1621,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1872,10 +1696,6 @@ struct tevent_req *rpccli_eventlog_ReportEventW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1932,10 +1752,6 @@ static void rpccli_eventlog_ReportEventW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventW, &state->orig); - } - tevent_req_done(req); } @@ -1998,10 +1814,6 @@ NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli, 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, @@ -2012,10 +1824,6 @@ NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2064,10 +1872,6 @@ struct tevent_req *rpccli_eventlog_ClearEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2112,10 +1916,6 @@ static void rpccli_eventlog_ClearEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2150,10 +1950,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2164,10 +1960,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ClearEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2210,10 +2002,6 @@ struct tevent_req *rpccli_eventlog_BackupEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2258,10 +2046,6 @@ static void rpccli_eventlog_BackupEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2296,10 +2080,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2310,10 +2090,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_BackupEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2356,10 +2132,6 @@ struct tevent_req *rpccli_eventlog_OpenEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2404,10 +2176,6 @@ static void rpccli_eventlog_OpenEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2442,10 +2210,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2456,10 +2220,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2502,10 +2262,6 @@ struct tevent_req *rpccli_eventlog_RegisterEventSourceA_send(TALLOC_CTX *mem_ctx /* 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; @@ -2550,10 +2306,6 @@ static void rpccli_eventlog_RegisterEventSourceA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceA, &state->orig); - } - tevent_req_done(req); } @@ -2588,10 +2340,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2602,10 +2350,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterEventSourceA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2648,10 +2392,6 @@ struct tevent_req *rpccli_eventlog_OpenBackupEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2696,10 +2436,6 @@ static void rpccli_eventlog_OpenBackupEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2734,10 +2470,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2748,10 +2480,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_OpenBackupEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2794,10 +2522,6 @@ struct tevent_req *rpccli_eventlog_ReadEventLogA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2842,10 +2566,6 @@ static void rpccli_eventlog_ReadEventLogA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogA, &state->orig); - } - tevent_req_done(req); } @@ -2880,10 +2600,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -2894,10 +2610,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReadEventLogA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2940,10 +2652,6 @@ struct tevent_req *rpccli_eventlog_ReportEventA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2988,10 +2696,6 @@ static void rpccli_eventlog_ReportEventA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventA, &state->orig); - } - tevent_req_done(req); } @@ -3026,10 +2730,6 @@ NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_ReportEventA, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3040,10 +2740,6 @@ NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3086,10 +2782,6 @@ struct tevent_req *rpccli_eventlog_RegisterClusterSvc_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3134,10 +2826,6 @@ static void rpccli_eventlog_RegisterClusterSvc_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterClusterSvc, &state->orig); - } - tevent_req_done(req); } @@ -3172,10 +2860,6 @@ NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_RegisterClusterSvc, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3186,10 +2870,6 @@ NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_RegisterClusterSvc, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3232,10 +2912,6 @@ struct tevent_req *rpccli_eventlog_DeregisterClusterSvc_send(TALLOC_CTX *mem_ctx /* 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; @@ -3280,10 +2956,6 @@ static void rpccli_eventlog_DeregisterClusterSvc_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterClusterSvc, &state->orig); - } - tevent_req_done(req); } @@ -3318,10 +2990,6 @@ NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_DeregisterClusterSvc, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3332,10 +3000,6 @@ NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_DeregisterClusterSvc, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3378,10 +3042,6 @@ struct tevent_req *rpccli_eventlog_WriteClusterEvents_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3426,10 +3086,6 @@ static void rpccli_eventlog_WriteClusterEvents_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_WriteClusterEvents, &state->orig); - } - tevent_req_done(req); } @@ -3464,10 +3120,6 @@ NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(eventlog_WriteClusterEvents, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_eventlog, @@ -3478,10 +3130,6 @@ NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_WriteClusterEvents, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3534,10 +3182,6 @@ struct tevent_req *rpccli_eventlog_GetLogInformation_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3590,10 +3234,6 @@ static void rpccli_eventlog_GetLogInformation_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, &state->orig); - } - tevent_req_done(req); } @@ -3636,10 +3276,6 @@ NTSTATUS rpccli_eventlog_GetLogInformation(struct rpc_pipe_client *cli, 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, @@ -3650,10 +3286,6 @@ NTSTATUS rpccli_eventlog_GetLogInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_GetLogInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3700,10 +3332,6 @@ struct tevent_req *rpccli_eventlog_FlushEventLog_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3748,10 +3376,6 @@ static void rpccli_eventlog_FlushEventLog_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_FlushEventLog, &state->orig); - } - tevent_req_done(req); } @@ -3788,10 +3412,6 @@ NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli, /* 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, @@ -3802,10 +3422,6 @@ NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_FlushEventLog, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3880,10 +3496,6 @@ struct tevent_req *rpccli_eventlog_ReportEventAndSourceW_send(TALLOC_CTX *mem_ct /* 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)) { @@ -3940,10 +3552,6 @@ static void rpccli_eventlog_ReportEventAndSourceW_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventAndSourceW, &state->orig); - } - tevent_req_done(req); } @@ -4008,10 +3616,6 @@ NTSTATUS rpccli_eventlog_ReportEventAndSourceW(struct rpc_pipe_client *cli, 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, @@ -4022,10 +3626,6 @@ NTSTATUS rpccli_eventlog_ReportEventAndSourceW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(eventlog_ReportEventAndSourceW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_initshutdown.c b/librpc/gen_ndr/cli_initshutdown.c index b3ed6bb1f3..ebc0af5d2c 100644 --- a/librpc/gen_ndr/cli_initshutdown.c +++ b/librpc/gen_ndr/cli_initshutdown.c @@ -48,10 +48,6 @@ struct tevent_req *rpccli_initshutdown_Init_send(TALLOC_CTX *mem_ctx, /* 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; @@ -96,10 +92,6 @@ static void rpccli_initshutdown_Init_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(initshutdown_Init, &state->orig); - } - tevent_req_done(req); } @@ -145,10 +137,6 @@ NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli, 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, @@ -159,10 +147,6 @@ NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(initshutdown_Init, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -211,10 +195,6 @@ struct tevent_req *rpccli_initshutdown_Abort_send(TALLOC_CTX *mem_ctx, /* 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; @@ -259,10 +239,6 @@ static void rpccli_initshutdown_Abort_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(initshutdown_Abort, &state->orig); - } - tevent_req_done(req); } @@ -300,10 +276,6 @@ NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli, /* 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, @@ -314,10 +286,6 @@ NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(initshutdown_Abort, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -376,10 +344,6 @@ struct tevent_req *rpccli_initshutdown_InitEx_send(TALLOC_CTX *mem_ctx, /* 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; @@ -424,10 +388,6 @@ static void rpccli_initshutdown_InitEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(initshutdown_InitEx, &state->orig); - } - tevent_req_done(req); } @@ -475,10 +435,6 @@ NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli, 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, @@ -489,10 +445,6 @@ NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(initshutdown_InitEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_lsa.c b/librpc/gen_ndr/cli_lsa.c index 0679912cb8..aa329b14e5 100644 --- a/librpc/gen_ndr/cli_lsa.c +++ b/librpc/gen_ndr/cli_lsa.c @@ -41,10 +41,6 @@ struct tevent_req *rpccli_lsa_Close_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -96,10 +92,6 @@ static void rpccli_lsa_Close_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_Close, &state->orig); - } - tevent_req_done(req); } @@ -136,10 +128,6 @@ NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli, /* 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, @@ -150,10 +138,6 @@ NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_Close, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -199,10 +183,6 @@ struct tevent_req *rpccli_lsa_Delete_send(TALLOC_CTX *mem_ctx, /* 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; @@ -247,10 +227,6 @@ static void rpccli_lsa_Delete_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_Delete, &state->orig); - } - tevent_req_done(req); } @@ -287,10 +263,6 @@ NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli, /* 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, @@ -301,10 +273,6 @@ NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_Delete, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -356,10 +324,6 @@ struct tevent_req *rpccli_lsa_EnumPrivs_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -412,10 +376,6 @@ static void rpccli_lsa_EnumPrivs_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumPrivs, &state->orig); - } - tevent_req_done(req); } @@ -457,10 +417,6 @@ NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli, 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, @@ -471,10 +427,6 @@ NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumPrivs, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -525,10 +477,6 @@ struct tevent_req *rpccli_lsa_QuerySecurity_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -580,10 +528,6 @@ static void rpccli_lsa_QuerySecurity_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QuerySecurity, &state->orig); - } - tevent_req_done(req); } @@ -623,10 +567,6 @@ NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli, 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, @@ -637,10 +577,6 @@ NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QuerySecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -690,10 +626,6 @@ struct tevent_req *rpccli_lsa_SetSecObj_send(TALLOC_CTX *mem_ctx, /* 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; @@ -738,10 +670,6 @@ static void rpccli_lsa_SetSecObj_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetSecObj, &state->orig); - } - tevent_req_done(req); } @@ -782,10 +710,6 @@ NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli, 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, @@ -796,10 +720,6 @@ NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetSecObj, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -842,10 +762,6 @@ struct tevent_req *rpccli_lsa_ChangePassword_send(TALLOC_CTX *mem_ctx, /* 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; @@ -890,10 +806,6 @@ static void rpccli_lsa_ChangePassword_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_ChangePassword, &state->orig); - } - tevent_req_done(req); } @@ -928,10 +840,6 @@ NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_ChangePassword, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -942,10 +850,6 @@ NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_ChangePassword, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -996,10 +900,6 @@ struct tevent_req *rpccli_lsa_OpenPolicy_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1051,10 +951,6 @@ static void rpccli_lsa_OpenPolicy_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy, &state->orig); - } - tevent_req_done(req); } @@ -1096,10 +992,6 @@ NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli, 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, @@ -1110,10 +1002,6 @@ NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1163,10 +1051,6 @@ struct tevent_req *rpccli_lsa_QueryInfoPolicy_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1218,10 +1102,6 @@ static void rpccli_lsa_QueryInfoPolicy_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy, &state->orig); - } - tevent_req_done(req); } @@ -1261,10 +1141,6 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli, 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, @@ -1275,10 +1151,6 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1328,10 +1200,6 @@ struct tevent_req *rpccli_lsa_SetInfoPolicy_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1376,10 +1244,6 @@ static void rpccli_lsa_SetInfoPolicy_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy, &state->orig); - } - tevent_req_done(req); } @@ -1420,10 +1284,6 @@ NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli, 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, @@ -1434,10 +1294,6 @@ NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1480,10 +1336,6 @@ struct tevent_req *rpccli_lsa_ClearAuditLog_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1528,10 +1380,6 @@ static void rpccli_lsa_ClearAuditLog_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_ClearAuditLog, &state->orig); - } - tevent_req_done(req); } @@ -1566,10 +1414,6 @@ NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_ClearAuditLog, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -1580,10 +1424,6 @@ NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_ClearAuditLog, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1634,10 +1474,6 @@ struct tevent_req *rpccli_lsa_CreateAccount_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1689,10 +1525,6 @@ static void rpccli_lsa_CreateAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateAccount, &state->orig); - } - tevent_req_done(req); } @@ -1734,10 +1566,6 @@ NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli, 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, @@ -1748,10 +1576,6 @@ NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1804,10 +1628,6 @@ struct tevent_req *rpccli_lsa_EnumAccounts_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1860,10 +1680,6 @@ static void rpccli_lsa_EnumAccounts_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumAccounts, &state->orig); - } - tevent_req_done(req); } @@ -1905,10 +1721,6 @@ NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli, 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, @@ -1919,10 +1731,6 @@ NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumAccounts, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1975,10 +1783,6 @@ struct tevent_req *rpccli_lsa_CreateTrustedDomain_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2030,10 +1834,6 @@ static void rpccli_lsa_CreateTrustedDomain_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomain, &state->orig); - } - tevent_req_done(req); } @@ -2075,10 +1875,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli, 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, @@ -2089,10 +1885,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2145,10 +1937,6 @@ struct tevent_req *rpccli_lsa_EnumTrustDom_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2201,10 +1989,6 @@ static void rpccli_lsa_EnumTrustDom_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumTrustDom, &state->orig); - } - tevent_req_done(req); } @@ -2246,10 +2030,6 @@ NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli, 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, @@ -2260,10 +2040,6 @@ NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumTrustDom, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2324,10 +2100,6 @@ struct tevent_req *rpccli_lsa_LookupNames_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2381,10 +2153,6 @@ static void rpccli_lsa_LookupNames_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames, &state->orig); - } - tevent_req_done(req); } @@ -2432,10 +2200,6 @@ NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli, 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, @@ -2446,10 +2210,6 @@ NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2509,10 +2269,6 @@ struct tevent_req *rpccli_lsa_LookupSids_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2566,10 +2322,6 @@ static void rpccli_lsa_LookupSids_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupSids, &state->orig); - } - tevent_req_done(req); } @@ -2615,10 +2367,6 @@ NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli, 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, @@ -2629,10 +2377,6 @@ NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupSids, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2686,10 +2430,6 @@ struct tevent_req *rpccli_lsa_CreateSecret_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2741,10 +2481,6 @@ static void rpccli_lsa_CreateSecret_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateSecret, &state->orig); - } - tevent_req_done(req); } @@ -2786,10 +2522,6 @@ NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli, 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, @@ -2800,10 +2532,6 @@ NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateSecret, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2855,10 +2583,6 @@ struct tevent_req *rpccli_lsa_OpenAccount_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2910,10 +2634,6 @@ static void rpccli_lsa_OpenAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenAccount, &state->orig); - } - tevent_req_done(req); } @@ -2955,10 +2675,6 @@ NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli, 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, @@ -2969,10 +2685,6 @@ NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3020,10 +2732,6 @@ struct tevent_req *rpccli_lsa_EnumPrivsAccount_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3075,10 +2783,6 @@ static void rpccli_lsa_EnumPrivsAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumPrivsAccount, &state->orig); - } - tevent_req_done(req); } @@ -3116,10 +2820,6 @@ NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli, /* 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, @@ -3130,10 +2830,6 @@ NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumPrivsAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3181,10 +2877,6 @@ struct tevent_req *rpccli_lsa_AddPrivilegesToAccount_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3229,10 +2921,6 @@ static void rpccli_lsa_AddPrivilegesToAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_AddPrivilegesToAccount, &state->orig); - } - tevent_req_done(req); } @@ -3271,10 +2959,6 @@ NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli, 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, @@ -3285,10 +2969,6 @@ NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_AddPrivilegesToAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3337,10 +3017,6 @@ struct tevent_req *rpccli_lsa_RemovePrivilegesFromAccount_send(TALLOC_CTX *mem_c /* 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; @@ -3385,10 +3061,6 @@ static void rpccli_lsa_RemovePrivilegesFromAccount_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_RemovePrivilegesFromAccount, &state->orig); - } - tevent_req_done(req); } @@ -3429,10 +3101,6 @@ NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli, 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, @@ -3443,10 +3111,6 @@ NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_RemovePrivilegesFromAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3489,10 +3153,6 @@ struct tevent_req *rpccli_lsa_GetQuotasForAccount_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3537,10 +3197,6 @@ static void rpccli_lsa_GetQuotasForAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_GetQuotasForAccount, &state->orig); - } - tevent_req_done(req); } @@ -3575,10 +3231,6 @@ NTSTATUS rpccli_lsa_GetQuotasForAccount(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_GetQuotasForAccount, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -3589,10 +3241,6 @@ NTSTATUS rpccli_lsa_GetQuotasForAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_GetQuotasForAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3635,10 +3283,6 @@ struct tevent_req *rpccli_lsa_SetQuotasForAccount_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3683,10 +3327,6 @@ static void rpccli_lsa_SetQuotasForAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetQuotasForAccount, &state->orig); - } - tevent_req_done(req); } @@ -3721,10 +3361,6 @@ NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_SetQuotasForAccount, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -3735,10 +3371,6 @@ NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetQuotasForAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3785,10 +3417,6 @@ struct tevent_req *rpccli_lsa_GetSystemAccessAccount_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3840,10 +3468,6 @@ static void rpccli_lsa_GetSystemAccessAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_GetSystemAccessAccount, &state->orig); - } - tevent_req_done(req); } @@ -3881,10 +3505,6 @@ NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli, /* 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, @@ -3895,10 +3515,6 @@ NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_GetSystemAccessAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3946,10 +3562,6 @@ struct tevent_req *rpccli_lsa_SetSystemAccessAccount_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3994,10 +3606,6 @@ static void rpccli_lsa_SetSystemAccessAccount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetSystemAccessAccount, &state->orig); - } - tevent_req_done(req); } @@ -4036,10 +3644,6 @@ NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli, 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, @@ -4050,10 +3654,6 @@ NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetSystemAccessAccount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4104,10 +3704,6 @@ struct tevent_req *rpccli_lsa_OpenTrustedDomain_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4159,10 +3755,6 @@ static void rpccli_lsa_OpenTrustedDomain_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomain, &state->orig); - } - tevent_req_done(req); } @@ -4204,10 +3796,6 @@ NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli, 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, @@ -4218,10 +3806,6 @@ NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4271,10 +3855,6 @@ struct tevent_req *rpccli_lsa_QueryTrustedDomainInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4326,10 +3906,6 @@ static void rpccli_lsa_QueryTrustedDomainInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfo, &state->orig); - } - tevent_req_done(req); } @@ -4369,10 +3945,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli, 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, @@ -4383,10 +3955,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4436,10 +4004,6 @@ struct tevent_req *rpccli_lsa_SetInformationTrustedDomain_send(TALLOC_CTX *mem_c /* 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; @@ -4484,10 +4048,6 @@ static void rpccli_lsa_SetInformationTrustedDomain_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetInformationTrustedDomain, &state->orig); - } - tevent_req_done(req); } @@ -4528,10 +4088,6 @@ NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli, 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, @@ -4542,10 +4098,6 @@ NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetInformationTrustedDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4596,10 +4148,6 @@ struct tevent_req *rpccli_lsa_OpenSecret_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4651,10 +4199,6 @@ static void rpccli_lsa_OpenSecret_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenSecret, &state->orig); - } - tevent_req_done(req); } @@ -4696,10 +4240,6 @@ NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli, 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, @@ -4710,10 +4250,6 @@ NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenSecret, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4763,10 +4299,6 @@ struct tevent_req *rpccli_lsa_SetSecret_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4811,10 +4343,6 @@ static void rpccli_lsa_SetSecret_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetSecret, &state->orig); - } - tevent_req_done(req); } @@ -4855,10 +4383,6 @@ NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli, 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, @@ -4869,10 +4393,6 @@ NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetSecret, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4929,10 +4449,6 @@ struct tevent_req *rpccli_lsa_QuerySecret_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4995,10 +4511,6 @@ static void rpccli_lsa_QuerySecret_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QuerySecret, &state->orig); - } - tevent_req_done(req); } @@ -5043,10 +4555,6 @@ NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli, 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, @@ -5057,10 +4565,6 @@ NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QuerySecret, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5121,10 +4625,6 @@ struct tevent_req *rpccli_lsa_LookupPrivValue_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5176,10 +4676,6 @@ static void rpccli_lsa_LookupPrivValue_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupPrivValue, &state->orig); - } - tevent_req_done(req); } @@ -5219,10 +4715,6 @@ NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli, 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, @@ -5233,10 +4725,6 @@ NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupPrivValue, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5286,10 +4774,6 @@ struct tevent_req *rpccli_lsa_LookupPrivName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5341,10 +4825,6 @@ static void rpccli_lsa_LookupPrivName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupPrivName, &state->orig); - } - tevent_req_done(req); } @@ -5384,10 +4864,6 @@ NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli, 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, @@ -5398,10 +4874,6 @@ NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupPrivName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5457,10 +4929,6 @@ struct tevent_req *rpccli_lsa_LookupPrivDisplayName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5513,10 +4981,6 @@ static void rpccli_lsa_LookupPrivDisplayName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupPrivDisplayName, &state->orig); - } - tevent_req_done(req); } @@ -5561,10 +5025,6 @@ NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli, 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, @@ -5575,10 +5035,6 @@ NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupPrivDisplayName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5626,10 +5082,6 @@ struct tevent_req *rpccli_lsa_DeleteObject_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5681,10 +5133,6 @@ static void rpccli_lsa_DeleteObject_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_DeleteObject, &state->orig); - } - tevent_req_done(req); } @@ -5721,10 +5169,6 @@ NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli, /* 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, @@ -5735,10 +5179,6 @@ NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_DeleteObject, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5788,10 +5228,6 @@ struct tevent_req *rpccli_lsa_EnumAccountsWithUserRight_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -5843,10 +5279,6 @@ static void rpccli_lsa_EnumAccountsWithUserRight_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumAccountsWithUserRight, &state->orig); - } - tevent_req_done(req); } @@ -5886,10 +5318,6 @@ NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli, 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, @@ -5900,10 +5328,6 @@ NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumAccountsWithUserRight, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5953,10 +5377,6 @@ struct tevent_req *rpccli_lsa_EnumAccountRights_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6008,10 +5428,6 @@ static void rpccli_lsa_EnumAccountRights_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumAccountRights, &state->orig); - } - tevent_req_done(req); } @@ -6051,10 +5467,6 @@ NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli, 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, @@ -6065,10 +5477,6 @@ NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumAccountRights, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6118,10 +5526,6 @@ struct tevent_req *rpccli_lsa_AddAccountRights_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6166,10 +5570,6 @@ static void rpccli_lsa_AddAccountRights_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_AddAccountRights, &state->orig); - } - tevent_req_done(req); } @@ -6210,10 +5610,6 @@ NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli, 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, @@ -6224,10 +5620,6 @@ NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_AddAccountRights, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6278,10 +5670,6 @@ struct tevent_req *rpccli_lsa_RemoveAccountRights_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6326,10 +5714,6 @@ static void rpccli_lsa_RemoveAccountRights_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_RemoveAccountRights, &state->orig); - } - tevent_req_done(req); } @@ -6372,10 +5756,6 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli, 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, @@ -6386,10 +5766,6 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_RemoveAccountRights, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6440,10 +5816,6 @@ struct tevent_req *rpccli_lsa_QueryTrustedDomainInfoBySid_send(TALLOC_CTX *mem_c /* 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)) { @@ -6495,10 +5867,6 @@ static void rpccli_lsa_QueryTrustedDomainInfoBySid_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoBySid, &state->orig); - } - tevent_req_done(req); } @@ -6540,10 +5908,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli, 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, @@ -6554,10 +5918,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoBySid, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6609,10 +5969,6 @@ struct tevent_req *rpccli_lsa_SetTrustedDomainInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6657,10 +6013,6 @@ static void rpccli_lsa_SetTrustedDomainInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfo, &state->orig); - } - tevent_req_done(req); } @@ -6703,10 +6055,6 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli, 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, @@ -6717,10 +6065,6 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6767,10 +6111,6 @@ struct tevent_req *rpccli_lsa_DeleteTrustedDomain_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6815,10 +6155,6 @@ static void rpccli_lsa_DeleteTrustedDomain_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_DeleteTrustedDomain, &state->orig); - } - tevent_req_done(req); } @@ -6857,10 +6193,6 @@ NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli, 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, @@ -6871,10 +6203,6 @@ NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_DeleteTrustedDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6923,10 +6251,6 @@ struct tevent_req *rpccli_lsa_StorePrivateData_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6971,10 +6295,6 @@ static void rpccli_lsa_StorePrivateData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_StorePrivateData, &state->orig); - } - tevent_req_done(req); } @@ -7015,10 +6335,6 @@ NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli, 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, @@ -7029,10 +6345,6 @@ NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_StorePrivateData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7082,10 +6394,6 @@ struct tevent_req *rpccli_lsa_RetrievePrivateData_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7137,10 +6445,6 @@ static void rpccli_lsa_RetrievePrivateData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_RetrievePrivateData, &state->orig); - } - tevent_req_done(req); } @@ -7181,10 +6485,6 @@ NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli, 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, @@ -7195,10 +6495,6 @@ NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_RetrievePrivateData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7250,10 +6546,6 @@ struct tevent_req *rpccli_lsa_OpenPolicy2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7305,10 +6597,6 @@ static void rpccli_lsa_OpenPolicy2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy2, &state->orig); - } - tevent_req_done(req); } @@ -7350,10 +6638,6 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli, 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, @@ -7364,10 +6648,6 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7419,10 +6699,6 @@ struct tevent_req *rpccli_lsa_GetUserName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7477,10 +6753,6 @@ static void rpccli_lsa_GetUserName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_GetUserName, &state->orig); - } - tevent_req_done(req); } @@ -7521,10 +6793,6 @@ NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli, 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, @@ -7535,10 +6803,6 @@ NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_GetUserName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7591,10 +6855,6 @@ struct tevent_req *rpccli_lsa_QueryInfoPolicy2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7646,10 +6906,6 @@ static void rpccli_lsa_QueryInfoPolicy2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy2, &state->orig); - } - tevent_req_done(req); } @@ -7689,10 +6945,6 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli, 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, @@ -7703,10 +6955,6 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7756,10 +7004,6 @@ struct tevent_req *rpccli_lsa_SetInfoPolicy2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7804,10 +7048,6 @@ static void rpccli_lsa_SetInfoPolicy2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy2, &state->orig); - } - tevent_req_done(req); } @@ -7848,10 +7088,6 @@ NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli, 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, @@ -7862,10 +7098,6 @@ NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7916,10 +7148,6 @@ struct tevent_req *rpccli_lsa_QueryTrustedDomainInfoByName_send(TALLOC_CTX *mem_ /* 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)) { @@ -7971,10 +7199,6 @@ static void rpccli_lsa_QueryTrustedDomainInfoByName_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoByName, &state->orig); - } - tevent_req_done(req); } @@ -8016,10 +7240,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli, 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, @@ -8030,10 +7250,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoByName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8085,10 +7301,6 @@ struct tevent_req *rpccli_lsa_SetTrustedDomainInfoByName_send(TALLOC_CTX *mem_ct /* 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; @@ -8133,10 +7345,6 @@ static void rpccli_lsa_SetTrustedDomainInfoByName_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfoByName, &state->orig); - } - tevent_req_done(req); } @@ -8179,10 +7387,6 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli, 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, @@ -8193,10 +7397,6 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfoByName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8248,10 +7448,6 @@ struct tevent_req *rpccli_lsa_EnumTrustedDomainsEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8304,10 +7500,6 @@ static void rpccli_lsa_EnumTrustedDomainsEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumTrustedDomainsEx, &state->orig); - } - tevent_req_done(req); } @@ -8349,10 +7541,6 @@ NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli, 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, @@ -8363,10 +7551,6 @@ NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_EnumTrustedDomainsEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8421,10 +7605,6 @@ struct tevent_req *rpccli_lsa_CreateTrustedDomainEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8476,10 +7656,6 @@ static void rpccli_lsa_CreateTrustedDomainEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx, &state->orig); - } - tevent_req_done(req); } @@ -8523,10 +7699,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli, 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, @@ -8537,10 +7709,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8587,10 +7755,6 @@ struct tevent_req *rpccli_lsa_CloseTrustedDomainEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8642,10 +7806,6 @@ static void rpccli_lsa_CloseTrustedDomainEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CloseTrustedDomainEx, &state->orig); - } - tevent_req_done(req); } @@ -8682,10 +7842,6 @@ NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli, /* 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, @@ -8696,10 +7852,6 @@ NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CloseTrustedDomainEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8749,10 +7901,6 @@ struct tevent_req *rpccli_lsa_QueryDomainInformationPolicy_send(TALLOC_CTX *mem_ /* 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)) { @@ -8804,10 +7952,6 @@ static void rpccli_lsa_QueryDomainInformationPolicy_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryDomainInformationPolicy, &state->orig); - } - tevent_req_done(req); } @@ -8847,10 +7991,6 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli, 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, @@ -8861,10 +8001,6 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_QueryDomainInformationPolicy, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8914,10 +8050,6 @@ struct tevent_req *rpccli_lsa_SetDomainInformationPolicy_send(TALLOC_CTX *mem_ct /* 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; @@ -8962,10 +8094,6 @@ static void rpccli_lsa_SetDomainInformationPolicy_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetDomainInformationPolicy, &state->orig); - } - tevent_req_done(req); } @@ -9006,10 +8134,6 @@ NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli, 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, @@ -9020,10 +8144,6 @@ NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_SetDomainInformationPolicy, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9074,10 +8194,6 @@ struct tevent_req *rpccli_lsa_OpenTrustedDomainByName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9129,10 +8245,6 @@ static void rpccli_lsa_OpenTrustedDomainByName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomainByName, &state->orig); - } - tevent_req_done(req); } @@ -9174,10 +8286,6 @@ NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli, 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, @@ -9188,10 +8296,6 @@ NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomainByName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9235,10 +8339,6 @@ struct tevent_req *rpccli_lsa_TestCall_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9283,10 +8383,6 @@ static void rpccli_lsa_TestCall_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_TestCall, &state->orig); - } - tevent_req_done(req); } @@ -9321,10 +8417,6 @@ NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_TestCall, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -9335,10 +8427,6 @@ NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_TestCall, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9399,10 +8487,6 @@ struct tevent_req *rpccli_lsa_LookupSids2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9456,10 +8540,6 @@ static void rpccli_lsa_LookupSids2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupSids2, &state->orig); - } - tevent_req_done(req); } @@ -9509,10 +8589,6 @@ NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli, 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, @@ -9523,10 +8599,6 @@ NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupSids2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9592,10 +8664,6 @@ struct tevent_req *rpccli_lsa_LookupNames2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9649,10 +8717,6 @@ static void rpccli_lsa_LookupNames2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames2, &state->orig); - } - tevent_req_done(req); } @@ -9704,10 +8768,6 @@ NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli, 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, @@ -9718,10 +8778,6 @@ NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9777,10 +8833,6 @@ struct tevent_req *rpccli_lsa_CreateTrustedDomainEx2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9832,10 +8884,6 @@ static void rpccli_lsa_CreateTrustedDomainEx2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx2, &state->orig); - } - tevent_req_done(req); } @@ -9879,10 +8927,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx2(struct rpc_pipe_client *cli, 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, @@ -9893,10 +8937,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9940,10 +8980,6 @@ struct tevent_req *rpccli_lsa_CREDRWRITE_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9988,10 +9024,6 @@ static void rpccli_lsa_CREDRWRITE_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITE, &state->orig); - } - tevent_req_done(req); } @@ -10026,10 +9058,6 @@ NTSTATUS rpccli_lsa_CREDRWRITE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRWRITE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -10040,10 +9068,6 @@ NTSTATUS rpccli_lsa_CREDRWRITE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10086,10 +9110,6 @@ struct tevent_req *rpccli_lsa_CREDRREAD_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10134,10 +9154,6 @@ static void rpccli_lsa_CREDRREAD_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRREAD, &state->orig); - } - tevent_req_done(req); } @@ -10172,10 +9188,6 @@ NTSTATUS rpccli_lsa_CREDRREAD(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRREAD, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -10186,10 +9198,6 @@ NTSTATUS rpccli_lsa_CREDRREAD(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRREAD, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10232,10 +9240,6 @@ struct tevent_req *rpccli_lsa_CREDRENUMERATE_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10280,10 +9284,6 @@ static void rpccli_lsa_CREDRENUMERATE_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRENUMERATE, &state->orig); - } - tevent_req_done(req); } @@ -10318,10 +9318,6 @@ NTSTATUS rpccli_lsa_CREDRENUMERATE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRENUMERATE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -10332,10 +9328,6 @@ NTSTATUS rpccli_lsa_CREDRENUMERATE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRENUMERATE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10378,10 +9370,6 @@ struct tevent_req *rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS_send(TALLOC_CTX *mem_c /* 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; @@ -10426,10 +9414,6 @@ static void rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &state->orig); - } - tevent_req_done(req); } @@ -10464,10 +9448,6 @@ NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -10478,10 +9458,6 @@ NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10524,10 +9500,6 @@ struct tevent_req *rpccli_lsa_CREDRREADDOMAINCREDENTIALS_send(TALLOC_CTX *mem_ct /* 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; @@ -10572,10 +9544,6 @@ static void rpccli_lsa_CREDRREADDOMAINCREDENTIALS_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &state->orig); - } - tevent_req_done(req); } @@ -10610,10 +9578,6 @@ NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -10624,10 +9588,6 @@ NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10670,10 +9630,6 @@ struct tevent_req *rpccli_lsa_CREDRDELETE_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10718,10 +9674,6 @@ static void rpccli_lsa_CREDRDELETE_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRDELETE, &state->orig); - } - tevent_req_done(req); } @@ -10756,10 +9708,6 @@ NTSTATUS rpccli_lsa_CREDRDELETE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRDELETE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -10770,10 +9718,6 @@ NTSTATUS rpccli_lsa_CREDRDELETE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRDELETE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10816,10 +9760,6 @@ struct tevent_req *rpccli_lsa_CREDRGETTARGETINFO_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10864,10 +9804,6 @@ static void rpccli_lsa_CREDRGETTARGETINFO_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRGETTARGETINFO, &state->orig); - } - tevent_req_done(req); } @@ -10902,10 +9838,6 @@ NTSTATUS rpccli_lsa_CREDRGETTARGETINFO(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRGETTARGETINFO, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -10916,10 +9848,6 @@ NTSTATUS rpccli_lsa_CREDRGETTARGETINFO(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRGETTARGETINFO, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10962,10 +9890,6 @@ struct tevent_req *rpccli_lsa_CREDRPROFILELOADED_send(TALLOC_CTX *mem_ctx, /* 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; @@ -11010,10 +9934,6 @@ static void rpccli_lsa_CREDRPROFILELOADED_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRPROFILELOADED, &state->orig); - } - tevent_req_done(req); } @@ -11048,10 +9968,6 @@ NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRPROFILELOADED, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -11062,10 +9978,6 @@ NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRPROFILELOADED, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11128,10 +10040,6 @@ struct tevent_req *rpccli_lsa_LookupNames3_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -11185,10 +10093,6 @@ static void rpccli_lsa_LookupNames3_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames3, &state->orig); - } - tevent_req_done(req); } @@ -11240,10 +10144,6 @@ NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli, 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, @@ -11254,10 +10154,6 @@ NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames3, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11303,10 +10199,6 @@ struct tevent_req *rpccli_lsa_CREDRGETSESSIONTYPES_send(TALLOC_CTX *mem_ctx, /* 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; @@ -11351,10 +10243,6 @@ static void rpccli_lsa_CREDRGETSESSIONTYPES_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRGETSESSIONTYPES, &state->orig); - } - tevent_req_done(req); } @@ -11389,10 +10277,6 @@ NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRGETSESSIONTYPES, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -11403,10 +10287,6 @@ NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRGETSESSIONTYPES, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11449,10 +10329,6 @@ struct tevent_req *rpccli_lsa_LSARREGISTERAUDITEVENT_send(TALLOC_CTX *mem_ctx, /* 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; @@ -11497,10 +10373,6 @@ static void rpccli_lsa_LSARREGISTERAUDITEVENT_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARREGISTERAUDITEVENT, &state->orig); - } - tevent_req_done(req); } @@ -11535,10 +10407,6 @@ NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSARREGISTERAUDITEVENT, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -11549,10 +10417,6 @@ NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARREGISTERAUDITEVENT, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11595,10 +10459,6 @@ struct tevent_req *rpccli_lsa_LSARGENAUDITEVENT_send(TALLOC_CTX *mem_ctx, /* 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; @@ -11643,10 +10503,6 @@ static void rpccli_lsa_LSARGENAUDITEVENT_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARGENAUDITEVENT, &state->orig); - } - tevent_req_done(req); } @@ -11681,10 +10537,6 @@ NTSTATUS rpccli_lsa_LSARGENAUDITEVENT(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSARGENAUDITEVENT, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -11695,10 +10547,6 @@ NTSTATUS rpccli_lsa_LSARGENAUDITEVENT(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARGENAUDITEVENT, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11741,10 +10589,6 @@ struct tevent_req *rpccli_lsa_LSARUNREGISTERAUDITEVENT_send(TALLOC_CTX *mem_ctx, /* 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; @@ -11789,10 +10633,6 @@ static void rpccli_lsa_LSARUNREGISTERAUDITEVENT_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &state->orig); - } - tevent_req_done(req); } @@ -11827,10 +10667,6 @@ NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -11841,10 +10677,6 @@ NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11895,10 +10727,6 @@ struct tevent_req *rpccli_lsa_lsaRQueryForestTrustInformation_send(TALLOC_CTX *m /* 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)) { @@ -11950,10 +10778,6 @@ static void rpccli_lsa_lsaRQueryForestTrustInformation_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_lsaRQueryForestTrustInformation, &state->orig); - } - tevent_req_done(req); } @@ -11995,10 +10819,6 @@ NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation(struct rpc_pipe_client *cli, 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, @@ -12009,10 +10829,6 @@ NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_lsaRQueryForestTrustInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12056,10 +10872,6 @@ struct tevent_req *rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_send(TALLOC_CTX *mem /* 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; @@ -12104,10 +10916,6 @@ static void rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &state->orig); - } - tevent_req_done(req); } @@ -12142,10 +10950,6 @@ NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -12156,10 +10960,6 @@ NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12202,10 +11002,6 @@ struct tevent_req *rpccli_lsa_CREDRRENAME_send(TALLOC_CTX *mem_ctx, /* 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; @@ -12250,10 +11046,6 @@ static void rpccli_lsa_CREDRRENAME_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRRENAME, &state->orig); - } - tevent_req_done(req); } @@ -12288,10 +11080,6 @@ NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_CREDRRENAME, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -12302,10 +11090,6 @@ NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_CREDRRENAME, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12364,10 +11148,6 @@ struct tevent_req *rpccli_lsa_LookupSids3_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -12421,10 +11201,6 @@ static void rpccli_lsa_LookupSids3_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupSids3, &state->orig); - } - tevent_req_done(req); } @@ -12472,10 +11248,6 @@ NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli, 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, @@ -12486,10 +11258,6 @@ NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupSids3, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12553,10 +11321,6 @@ struct tevent_req *rpccli_lsa_LookupNames4_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -12610,10 +11374,6 @@ static void rpccli_lsa_LookupNames4_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames4, &state->orig); - } - tevent_req_done(req); } @@ -12663,10 +11423,6 @@ NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli, 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, @@ -12677,10 +11433,6 @@ NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LookupNames4, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12726,10 +11478,6 @@ struct tevent_req *rpccli_lsa_LSAROPENPOLICYSCE_send(TALLOC_CTX *mem_ctx, /* 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; @@ -12774,10 +11522,6 @@ static void rpccli_lsa_LSAROPENPOLICYSCE_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSAROPENPOLICYSCE, &state->orig); - } - tevent_req_done(req); } @@ -12812,10 +11556,6 @@ NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSAROPENPOLICYSCE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -12826,10 +11566,6 @@ NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSAROPENPOLICYSCE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12872,10 +11608,6 @@ struct tevent_req *rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE_send(TALLOC_CTX /* 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; @@ -12920,10 +11652,6 @@ static void rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE_done(struct tevent_req /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &state->orig); - } - tevent_req_done(req); } @@ -12958,10 +11686,6 @@ NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *c /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -12972,10 +11696,6 @@ NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *c return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -13018,10 +11738,6 @@ struct tevent_req *rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE_send(TALLOC_C /* 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; @@ -13066,10 +11782,6 @@ static void rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE_done(struct tevent_r /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &state->orig); - } - tevent_req_done(req); } @@ -13104,10 +11816,6 @@ NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -13118,10 +11826,6 @@ NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -13164,10 +11868,6 @@ struct tevent_req *rpccli_lsa_LSARADTREPORTSECURITYEVENT_send(TALLOC_CTX *mem_ct /* 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; @@ -13212,10 +11912,6 @@ static void rpccli_lsa_LSARADTREPORTSECURITYEVENT_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &state->orig); - } - tevent_req_done(req); } @@ -13250,10 +11946,6 @@ NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_lsarpc, @@ -13264,10 +11956,6 @@ NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_netlogon.c b/librpc/gen_ndr/cli_netlogon.c index b173804c62..53f29b925f 100644 --- a/librpc/gen_ndr/cli_netlogon.c +++ b/librpc/gen_ndr/cli_netlogon.c @@ -46,10 +46,6 @@ struct tevent_req *rpccli_netr_LogonUasLogon_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -101,10 +97,6 @@ static void rpccli_netr_LogonUasLogon_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonUasLogon, &state->orig); - } - tevent_req_done(req); } @@ -147,10 +139,6 @@ NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli, 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, @@ -161,10 +149,6 @@ NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonUasLogon, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -220,10 +204,6 @@ struct tevent_req *rpccli_netr_LogonUasLogoff_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -275,10 +255,6 @@ static void rpccli_netr_LogonUasLogoff_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonUasLogoff, &state->orig); - } - tevent_req_done(req); } @@ -321,10 +297,6 @@ NTSTATUS rpccli_netr_LogonUasLogoff(struct rpc_pipe_client *cli, 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, @@ -335,10 +307,6 @@ NTSTATUS rpccli_netr_LogonUasLogoff(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonUasLogoff, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -405,10 +373,6 @@ struct tevent_req *rpccli_netr_LogonSamLogon_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -464,10 +428,6 @@ static void rpccli_netr_LogonSamLogon_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogon, &state->orig); - } - tevent_req_done(req); } @@ -518,10 +478,6 @@ NTSTATUS rpccli_netr_LogonSamLogon(struct rpc_pipe_client *cli, 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, @@ -532,10 +488,6 @@ NTSTATUS rpccli_netr_LogonSamLogon(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogon, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -596,10 +548,6 @@ struct tevent_req *rpccli_netr_LogonSamLogoff_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -653,10 +601,6 @@ static void rpccli_netr_LogonSamLogoff_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogoff, &state->orig); - } - tevent_req_done(req); } @@ -703,10 +647,6 @@ NTSTATUS rpccli_netr_LogonSamLogoff(struct rpc_pipe_client *cli, 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, @@ -717,10 +657,6 @@ NTSTATUS rpccli_netr_LogonSamLogoff(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogoff, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -774,10 +710,6 @@ struct tevent_req *rpccli_netr_ServerReqChallenge_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -829,10 +761,6 @@ static void rpccli_netr_ServerReqChallenge_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerReqChallenge, &state->orig); - } - tevent_req_done(req); } @@ -874,10 +802,6 @@ NTSTATUS rpccli_netr_ServerReqChallenge(struct rpc_pipe_client *cli, 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, @@ -888,10 +812,6 @@ NTSTATUS rpccli_netr_ServerReqChallenge(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerReqChallenge, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -947,10 +867,6 @@ struct tevent_req *rpccli_netr_ServerAuthenticate_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1002,10 +918,6 @@ static void rpccli_netr_ServerAuthenticate_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate, &state->orig); - } - tevent_req_done(req); } @@ -1051,10 +963,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate(struct rpc_pipe_client *cli, 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, @@ -1065,10 +973,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1126,10 +1030,6 @@ struct tevent_req *rpccli_netr_ServerPasswordSet_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1181,10 +1081,6 @@ static void rpccli_netr_ServerPasswordSet_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerPasswordSet, &state->orig); - } - tevent_req_done(req); } @@ -1232,10 +1128,6 @@ NTSTATUS rpccli_netr_ServerPasswordSet(struct rpc_pipe_client *cli, 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, @@ -1246,10 +1138,6 @@ NTSTATUS rpccli_netr_ServerPasswordSet(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerPasswordSet, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1311,10 +1199,6 @@ struct tevent_req *rpccli_netr_DatabaseDeltas_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1368,10 +1252,6 @@ static void rpccli_netr_DatabaseDeltas_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseDeltas, &state->orig); - } - tevent_req_done(req); } @@ -1421,10 +1301,6 @@ NTSTATUS rpccli_netr_DatabaseDeltas(struct rpc_pipe_client *cli, 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, @@ -1435,10 +1311,6 @@ NTSTATUS rpccli_netr_DatabaseDeltas(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseDeltas, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1502,10 +1374,6 @@ struct tevent_req *rpccli_netr_DatabaseSync_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1559,10 +1427,6 @@ static void rpccli_netr_DatabaseSync_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseSync, &state->orig); - } - tevent_req_done(req); } @@ -1612,10 +1476,6 @@ NTSTATUS rpccli_netr_DatabaseSync(struct rpc_pipe_client *cli, 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, @@ -1626,10 +1486,6 @@ NTSTATUS rpccli_netr_DatabaseSync(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseSync, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1700,10 +1556,6 @@ struct tevent_req *rpccli_netr_AccountDeltas_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1759,10 +1611,6 @@ static void rpccli_netr_AccountDeltas_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_AccountDeltas, &state->orig); - } - tevent_req_done(req); } @@ -1817,10 +1665,6 @@ NTSTATUS rpccli_netr_AccountDeltas(struct rpc_pipe_client *cli, 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, @@ -1831,10 +1675,6 @@ NTSTATUS rpccli_netr_AccountDeltas(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_AccountDeltas, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1908,10 +1748,6 @@ struct tevent_req *rpccli_netr_AccountSync_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1968,10 +1804,6 @@ static void rpccli_netr_AccountSync_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_AccountSync, &state->orig); - } - tevent_req_done(req); } @@ -2026,10 +1858,6 @@ NTSTATUS rpccli_netr_AccountSync(struct rpc_pipe_client *cli, 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, @@ -2040,10 +1868,6 @@ NTSTATUS rpccli_netr_AccountSync(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_AccountSync, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2098,10 +1922,6 @@ struct tevent_req *rpccli_netr_GetDcName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2153,10 +1973,6 @@ static void rpccli_netr_GetDcName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_GetDcName, &state->orig); - } - tevent_req_done(req); } @@ -2197,10 +2013,6 @@ NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli, 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, @@ -2211,10 +2023,6 @@ NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_GetDcName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2270,10 +2078,6 @@ struct tevent_req *rpccli_netr_LogonControl_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2325,10 +2129,6 @@ static void rpccli_netr_LogonControl_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonControl, &state->orig); - } - tevent_req_done(req); } @@ -2371,10 +2171,6 @@ NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli, 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, @@ -2385,10 +2181,6 @@ NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonControl, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2442,10 +2234,6 @@ struct tevent_req *rpccli_netr_GetAnyDCName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2497,10 +2285,6 @@ static void rpccli_netr_GetAnyDCName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_GetAnyDCName, &state->orig); - } - tevent_req_done(req); } @@ -2541,10 +2325,6 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli, 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, @@ -2555,10 +2335,6 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_GetAnyDCName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2616,10 +2392,6 @@ struct tevent_req *rpccli_netr_LogonControl2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2671,10 +2443,6 @@ static void rpccli_netr_LogonControl2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonControl2, &state->orig); - } - tevent_req_done(req); } @@ -2719,10 +2487,6 @@ NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli, 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, @@ -2733,10 +2497,6 @@ NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonControl2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2799,10 +2559,6 @@ struct tevent_req *rpccli_netr_ServerAuthenticate2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2855,10 +2611,6 @@ static void rpccli_netr_ServerAuthenticate2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate2, &state->orig); - } - tevent_req_done(req); } @@ -2906,10 +2658,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate2(struct rpc_pipe_client *cli, 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, @@ -2920,10 +2668,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2988,10 +2732,6 @@ struct tevent_req *rpccli_netr_DatabaseSync2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3045,10 +2785,6 @@ static void rpccli_netr_DatabaseSync2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseSync2, &state->orig); - } - tevent_req_done(req); } @@ -3100,10 +2836,6 @@ NTSTATUS rpccli_netr_DatabaseSync2(struct rpc_pipe_client *cli, 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, @@ -3114,10 +2846,6 @@ NTSTATUS rpccli_netr_DatabaseSync2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseSync2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3178,10 +2906,6 @@ struct tevent_req *rpccli_netr_DatabaseRedo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3234,10 +2958,6 @@ static void rpccli_netr_DatabaseRedo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseRedo, &state->orig); - } - tevent_req_done(req); } @@ -3285,10 +3005,6 @@ NTSTATUS rpccli_netr_DatabaseRedo(struct rpc_pipe_client *cli, 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, @@ -3299,10 +3015,6 @@ NTSTATUS rpccli_netr_DatabaseRedo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DatabaseRedo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3357,10 +3069,6 @@ struct tevent_req *rpccli_netr_LogonControl2Ex_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3412,10 +3120,6 @@ static void rpccli_netr_LogonControl2Ex_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonControl2Ex, &state->orig); - } - tevent_req_done(req); } @@ -3460,10 +3164,6 @@ NTSTATUS rpccli_netr_LogonControl2Ex(struct rpc_pipe_client *cli, 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, @@ -3474,10 +3174,6 @@ NTSTATUS rpccli_netr_LogonControl2Ex(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonControl2Ex, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3529,10 +3225,6 @@ struct tevent_req *rpccli_netr_NetrEnumerateTrustedDomains_send(TALLOC_CTX *mem_ /* 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)) { @@ -3584,10 +3276,6 @@ static void rpccli_netr_NetrEnumerateTrustedDomains_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NetrEnumerateTrustedDomains, &state->orig); - } - tevent_req_done(req); } @@ -3626,10 +3314,6 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomains(struct rpc_pipe_client *cli, /* 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, @@ -3640,10 +3324,6 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomains(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NetrEnumerateTrustedDomains, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3703,10 +3383,6 @@ struct tevent_req *rpccli_netr_DsRGetDCName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3758,10 +3434,6 @@ static void rpccli_netr_DsRGetDCName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetDCName, &state->orig); - } - tevent_req_done(req); } @@ -3808,10 +3480,6 @@ NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli, 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, @@ -3822,10 +3490,6 @@ NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetDCName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3886,10 +3550,6 @@ struct tevent_req *rpccli_netr_LogonGetCapabilities_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3942,10 +3602,6 @@ static void rpccli_netr_LogonGetCapabilities_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonGetCapabilities, &state->orig); - } - tevent_req_done(req); } @@ -3991,10 +3647,6 @@ NTSTATUS rpccli_netr_LogonGetCapabilities(struct rpc_pipe_client *cli, 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, @@ -4005,10 +3657,6 @@ NTSTATUS rpccli_netr_LogonGetCapabilities(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonGetCapabilities, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4053,10 +3701,6 @@ struct tevent_req *rpccli_netr_NETRLOGONSETSERVICEBITS_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4101,10 +3745,6 @@ static void rpccli_netr_NETRLOGONSETSERVICEBITS_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONSETSERVICEBITS, &state->orig); - } - tevent_req_done(req); } @@ -4140,10 +3780,6 @@ NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(netr_NETRLOGONSETSERVICEBITS, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netlogon, @@ -4154,10 +3790,6 @@ NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONSETSERVICEBITS, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4210,10 +3842,6 @@ struct tevent_req *rpccli_netr_LogonGetTrustRid_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4265,10 +3893,6 @@ static void rpccli_netr_LogonGetTrustRid_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonGetTrustRid, &state->orig); - } - tevent_req_done(req); } @@ -4309,10 +3933,6 @@ NTSTATUS rpccli_netr_LogonGetTrustRid(struct rpc_pipe_client *cli, 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, @@ -4323,10 +3943,6 @@ NTSTATUS rpccli_netr_LogonGetTrustRid(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonGetTrustRid, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4374,10 +3990,6 @@ struct tevent_req *rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST_send(TALLOC_CTX *mem /* 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; @@ -4422,10 +4034,6 @@ static void rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONCOMPUTESERVERDIGEST, &state->orig); - } - tevent_req_done(req); } @@ -4461,10 +4069,6 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTESERVERDIGEST, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netlogon, @@ -4475,10 +4079,6 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONCOMPUTESERVERDIGEST, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4525,10 +4125,6 @@ struct tevent_req *rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST_send(TALLOC_CTX *mem /* 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; @@ -4573,10 +4169,6 @@ static void rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONCOMPUTECLIENTDIGEST, &state->orig); - } - tevent_req_done(req); } @@ -4612,10 +4204,6 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTECLIENTDIGEST, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netlogon, @@ -4626,10 +4214,6 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONCOMPUTECLIENTDIGEST, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4693,10 +4277,6 @@ struct tevent_req *rpccli_netr_ServerAuthenticate3_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4750,10 +4330,6 @@ static void rpccli_netr_ServerAuthenticate3_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate3, &state->orig); - } - tevent_req_done(req); } @@ -4802,10 +4378,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate3(struct rpc_pipe_client *cli, 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, @@ -4816,10 +4388,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate3(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerAuthenticate3, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4877,10 +4445,6 @@ struct tevent_req *rpccli_netr_DsRGetDCNameEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4932,10 +4496,6 @@ static void rpccli_netr_DsRGetDCNameEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetDCNameEx, &state->orig); - } - tevent_req_done(req); } @@ -4982,10 +4542,6 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx(struct rpc_pipe_client *cli, 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, @@ -4996,10 +4552,6 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetDCNameEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5051,10 +4603,6 @@ struct tevent_req *rpccli_netr_DsRGetSiteName_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5106,10 +4654,6 @@ static void rpccli_netr_DsRGetSiteName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetSiteName, &state->orig); - } - tevent_req_done(req); } @@ -5148,10 +4692,6 @@ NTSTATUS rpccli_netr_DsRGetSiteName(struct rpc_pipe_client *cli, /* 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, @@ -5162,10 +4702,6 @@ NTSTATUS rpccli_netr_DsRGetSiteName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetSiteName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5228,10 +4764,6 @@ struct tevent_req *rpccli_netr_LogonGetDomainInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5284,10 +4816,6 @@ static void rpccli_netr_LogonGetDomainInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonGetDomainInfo, &state->orig); - } - tevent_req_done(req); } @@ -5335,10 +4863,6 @@ NTSTATUS rpccli_netr_LogonGetDomainInfo(struct rpc_pipe_client *cli, 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, @@ -5349,10 +4873,6 @@ NTSTATUS rpccli_netr_LogonGetDomainInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonGetDomainInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5411,10 +4931,6 @@ struct tevent_req *rpccli_netr_ServerPasswordSet2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5466,10 +4982,6 @@ static void rpccli_netr_ServerPasswordSet2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerPasswordSet2, &state->orig); - } - tevent_req_done(req); } @@ -5517,10 +5029,6 @@ NTSTATUS rpccli_netr_ServerPasswordSet2(struct rpc_pipe_client *cli, 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, @@ -5531,10 +5039,6 @@ NTSTATUS rpccli_netr_ServerPasswordSet2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerPasswordSet2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5592,10 +5096,6 @@ struct tevent_req *rpccli_netr_ServerPasswordGet_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5648,10 +5148,6 @@ static void rpccli_netr_ServerPasswordGet_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerPasswordGet, &state->orig); - } - tevent_req_done(req); } @@ -5699,10 +5195,6 @@ NTSTATUS rpccli_netr_ServerPasswordGet(struct rpc_pipe_client *cli, 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, @@ -5713,10 +5205,6 @@ NTSTATUS rpccli_netr_ServerPasswordGet(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerPasswordGet, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5765,10 +5253,6 @@ struct tevent_req *rpccli_netr_NETRLOGONSENDTOSAM_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5813,10 +5297,6 @@ static void rpccli_netr_NETRLOGONSENDTOSAM_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONSENDTOSAM, &state->orig); - } - tevent_req_done(req); } @@ -5852,10 +5332,6 @@ NTSTATUS rpccli_netr_NETRLOGONSENDTOSAM(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(netr_NETRLOGONSENDTOSAM, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netlogon, @@ -5866,10 +5342,6 @@ NTSTATUS rpccli_netr_NETRLOGONSENDTOSAM(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONSENDTOSAM, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5924,10 +5396,6 @@ struct tevent_req *rpccli_netr_DsRAddressToSitenamesW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5979,10 +5447,6 @@ static void rpccli_netr_DsRAddressToSitenamesW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRAddressToSitenamesW, &state->orig); - } - tevent_req_done(req); } @@ -6025,10 +5489,6 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesW(struct rpc_pipe_client *cli, 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, @@ -6039,10 +5499,6 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRAddressToSitenamesW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6106,10 +5562,6 @@ struct tevent_req *rpccli_netr_DsRGetDCNameEx2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6161,10 +5613,6 @@ static void rpccli_netr_DsRGetDCNameEx2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetDCNameEx2, &state->orig); - } - tevent_req_done(req); } @@ -6215,10 +5663,6 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx2(struct rpc_pipe_client *cli, 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, @@ -6229,10 +5673,6 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetDCNameEx2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6280,10 +5720,6 @@ struct tevent_req *rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN_send(TALLOC_C /* 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; @@ -6328,10 +5764,6 @@ static void rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN_done(struct tevent_r /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &state->orig); - } - tevent_req_done(req); } @@ -6367,10 +5799,6 @@ NTSTATUS rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct rpc_pipe_client /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_netlogon, @@ -6381,10 +5809,6 @@ NTSTATUS rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct rpc_pipe_client return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6435,10 +5859,6 @@ struct tevent_req *rpccli_netr_NetrEnumerateTrustedDomainsEx_send(TALLOC_CTX *me /* 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)) { @@ -6490,10 +5910,6 @@ static void rpccli_netr_NetrEnumerateTrustedDomainsEx_done(struct tevent_req *su /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NetrEnumerateTrustedDomainsEx, &state->orig); - } - tevent_req_done(req); } @@ -6532,10 +5948,6 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomainsEx(struct rpc_pipe_client *cli, /* 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, @@ -6546,10 +5958,6 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomainsEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_NetrEnumerateTrustedDomainsEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6605,10 +6013,6 @@ struct tevent_req *rpccli_netr_DsRAddressToSitenamesExW_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -6660,10 +6064,6 @@ static void rpccli_netr_DsRAddressToSitenamesExW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRAddressToSitenamesExW, &state->orig); - } - tevent_req_done(req); } @@ -6706,10 +6106,6 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesExW(struct rpc_pipe_client *cli, 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, @@ -6720,10 +6116,6 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesExW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRAddressToSitenamesExW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6775,10 +6167,6 @@ struct tevent_req *rpccli_netr_DsrGetDcSiteCoverageW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6830,10 +6218,6 @@ static void rpccli_netr_DsrGetDcSiteCoverageW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsrGetDcSiteCoverageW, &state->orig); - } - tevent_req_done(req); } @@ -6872,10 +6256,6 @@ NTSTATUS rpccli_netr_DsrGetDcSiteCoverageW(struct rpc_pipe_client *cli, /* 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, @@ -6886,10 +6266,6 @@ NTSTATUS rpccli_netr_DsrGetDcSiteCoverageW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsrGetDcSiteCoverageW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6954,10 +6330,6 @@ struct tevent_req *rpccli_netr_LogonSamLogonEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7011,10 +6383,6 @@ static void rpccli_netr_LogonSamLogonEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogonEx, &state->orig); - } - tevent_req_done(req); } @@ -7063,10 +6431,6 @@ NTSTATUS rpccli_netr_LogonSamLogonEx(struct rpc_pipe_client *cli, 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, @@ -7077,10 +6441,6 @@ NTSTATUS rpccli_netr_LogonSamLogonEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogonEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7132,10 +6492,6 @@ struct tevent_req *rpccli_netr_DsrEnumerateDomainTrusts_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -7187,10 +6543,6 @@ static void rpccli_netr_DsrEnumerateDomainTrusts_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsrEnumerateDomainTrusts, &state->orig); - } - tevent_req_done(req); } @@ -7231,10 +6583,6 @@ NTSTATUS rpccli_netr_DsrEnumerateDomainTrusts(struct rpc_pipe_client *cli, 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, @@ -7245,10 +6593,6 @@ NTSTATUS rpccli_netr_DsrEnumerateDomainTrusts(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsrEnumerateDomainTrusts, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7306,10 +6650,6 @@ struct tevent_req *rpccli_netr_DsrDeregisterDNSHostRecords_send(TALLOC_CTX *mem_ /* 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; @@ -7354,10 +6694,6 @@ static void rpccli_netr_DsrDeregisterDNSHostRecords_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsrDeregisterDNSHostRecords, &state->orig); - } - tevent_req_done(req); } @@ -7403,10 +6739,6 @@ NTSTATUS rpccli_netr_DsrDeregisterDNSHostRecords(struct rpc_pipe_client *cli, 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, @@ -7417,10 +6749,6 @@ NTSTATUS rpccli_netr_DsrDeregisterDNSHostRecords(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsrDeregisterDNSHostRecords, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7483,10 +6811,6 @@ struct tevent_req *rpccli_netr_ServerTrustPasswordsGet_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7540,10 +6864,6 @@ static void rpccli_netr_ServerTrustPasswordsGet_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerTrustPasswordsGet, &state->orig); - } - tevent_req_done(req); } @@ -7591,10 +6911,6 @@ NTSTATUS rpccli_netr_ServerTrustPasswordsGet(struct rpc_pipe_client *cli, 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, @@ -7605,10 +6921,6 @@ NTSTATUS rpccli_netr_ServerTrustPasswordsGet(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerTrustPasswordsGet, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7662,10 +6974,6 @@ struct tevent_req *rpccli_netr_DsRGetForestTrustInformation_send(TALLOC_CTX *mem /* 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)) { @@ -7717,10 +7025,6 @@ static void rpccli_netr_DsRGetForestTrustInformation_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetForestTrustInformation, &state->orig); - } - tevent_req_done(req); } @@ -7763,10 +7067,6 @@ NTSTATUS rpccli_netr_DsRGetForestTrustInformation(struct rpc_pipe_client *cli, 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, @@ -7777,10 +7077,6 @@ NTSTATUS rpccli_netr_DsRGetForestTrustInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_DsRGetForestTrustInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7840,10 +7136,6 @@ struct tevent_req *rpccli_netr_GetForestTrustInformation_send(TALLOC_CTX *mem_ct /* 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)) { @@ -7896,10 +7188,6 @@ static void rpccli_netr_GetForestTrustInformation_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_GetForestTrustInformation, &state->orig); - } - tevent_req_done(req); } @@ -7945,10 +7233,6 @@ NTSTATUS rpccli_netr_GetForestTrustInformation(struct rpc_pipe_client *cli, 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, @@ -7959,10 +7243,6 @@ NTSTATUS rpccli_netr_GetForestTrustInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_GetForestTrustInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8033,10 +7313,6 @@ struct tevent_req *rpccli_netr_LogonSamLogonWithFlags_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8093,10 +7369,6 @@ static void rpccli_netr_LogonSamLogonWithFlags_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogonWithFlags, &state->orig); - } - tevent_req_done(req); } @@ -8149,10 +7421,6 @@ NTSTATUS rpccli_netr_LogonSamLogonWithFlags(struct rpc_pipe_client *cli, 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, @@ -8163,10 +7431,6 @@ NTSTATUS rpccli_netr_LogonSamLogonWithFlags(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_LogonSamLogonWithFlags, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8233,10 +7497,6 @@ struct tevent_req *rpccli_netr_ServerGetTrustInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8291,10 +7551,6 @@ static void rpccli_netr_ServerGetTrustInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerGetTrustInfo, &state->orig); - } - tevent_req_done(req); } @@ -8343,10 +7599,6 @@ NTSTATUS rpccli_netr_ServerGetTrustInfo(struct rpc_pipe_client *cli, 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, @@ -8357,10 +7609,6 @@ NTSTATUS rpccli_netr_ServerGetTrustInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(netr_ServerGetTrustInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_ntsvcs.c b/librpc/gen_ndr/cli_ntsvcs.c index 5096be9559..8f32944ee0 100644 --- a/librpc/gen_ndr/cli_ntsvcs.c +++ b/librpc/gen_ndr/cli_ntsvcs.c @@ -38,10 +38,6 @@ struct tevent_req *rpccli_PNP_Disconnect_send(TALLOC_CTX *mem_ctx, /* 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; @@ -86,10 +82,6 @@ static void rpccli_PNP_Disconnect_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_Disconnect, &state->orig); - } - tevent_req_done(req); } @@ -125,10 +117,6 @@ NTSTATUS rpccli_PNP_Disconnect(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_Disconnect, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -139,10 +127,6 @@ NTSTATUS rpccli_PNP_Disconnect(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_Disconnect, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -189,10 +173,6 @@ struct tevent_req *rpccli_PNP_Connect_send(TALLOC_CTX *mem_ctx, /* 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; @@ -237,10 +217,6 @@ static void rpccli_PNP_Connect_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_Connect, &state->orig); - } - tevent_req_done(req); } @@ -276,10 +252,6 @@ NTSTATUS rpccli_PNP_Connect(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_Connect, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -290,10 +262,6 @@ NTSTATUS rpccli_PNP_Connect(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_Connect, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -342,10 +310,6 @@ struct tevent_req *rpccli_PNP_GetVersion_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -397,10 +361,6 @@ static void rpccli_PNP_GetVersion_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetVersion, &state->orig); - } - tevent_req_done(req); } @@ -437,10 +397,6 @@ NTSTATUS rpccli_PNP_GetVersion(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetVersion, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -451,10 +407,6 @@ NTSTATUS rpccli_PNP_GetVersion(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetVersion, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -502,10 +454,6 @@ struct tevent_req *rpccli_PNP_GetGlobalState_send(TALLOC_CTX *mem_ctx, /* 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; @@ -550,10 +498,6 @@ static void rpccli_PNP_GetGlobalState_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetGlobalState, &state->orig); - } - tevent_req_done(req); } @@ -589,10 +533,6 @@ NTSTATUS rpccli_PNP_GetGlobalState(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetGlobalState, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -603,10 +543,6 @@ NTSTATUS rpccli_PNP_GetGlobalState(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetGlobalState, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -653,10 +589,6 @@ struct tevent_req *rpccli_PNP_InitDetection_send(TALLOC_CTX *mem_ctx, /* 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; @@ -701,10 +633,6 @@ static void rpccli_PNP_InitDetection_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_InitDetection, &state->orig); - } - tevent_req_done(req); } @@ -740,10 +668,6 @@ NTSTATUS rpccli_PNP_InitDetection(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_InitDetection, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -754,10 +678,6 @@ NTSTATUS rpccli_PNP_InitDetection(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_InitDetection, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -804,10 +724,6 @@ struct tevent_req *rpccli_PNP_ReportLogOn_send(TALLOC_CTX *mem_ctx, /* 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; @@ -852,10 +768,6 @@ static void rpccli_PNP_ReportLogOn_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_ReportLogOn, &state->orig); - } - tevent_req_done(req); } @@ -891,10 +803,6 @@ NTSTATUS rpccli_PNP_ReportLogOn(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_ReportLogOn, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -905,10 +813,6 @@ NTSTATUS rpccli_PNP_ReportLogOn(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_ReportLogOn, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -959,10 +863,6 @@ struct tevent_req *rpccli_PNP_ValidateDeviceInstance_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1007,10 +907,6 @@ static void rpccli_PNP_ValidateDeviceInstance_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_ValidateDeviceInstance, &state->orig); - } - tevent_req_done(req); } @@ -1050,10 +946,6 @@ NTSTATUS rpccli_PNP_ValidateDeviceInstance(struct rpc_pipe_client *cli, 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, @@ -1064,10 +956,6 @@ NTSTATUS rpccli_PNP_ValidateDeviceInstance(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_ValidateDeviceInstance, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1114,10 +1002,6 @@ struct tevent_req *rpccli_PNP_GetRootDeviceInstance_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1162,10 +1046,6 @@ static void rpccli_PNP_GetRootDeviceInstance_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetRootDeviceInstance, &state->orig); - } - tevent_req_done(req); } @@ -1201,10 +1081,6 @@ NTSTATUS rpccli_PNP_GetRootDeviceInstance(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetRootDeviceInstance, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -1215,10 +1091,6 @@ NTSTATUS rpccli_PNP_GetRootDeviceInstance(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetRootDeviceInstance, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1265,10 +1137,6 @@ struct tevent_req *rpccli_PNP_GetRelatedDeviceInstance_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1313,10 +1181,6 @@ static void rpccli_PNP_GetRelatedDeviceInstance_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetRelatedDeviceInstance, &state->orig); - } - tevent_req_done(req); } @@ -1352,10 +1216,6 @@ NTSTATUS rpccli_PNP_GetRelatedDeviceInstance(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetRelatedDeviceInstance, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -1366,10 +1226,6 @@ NTSTATUS rpccli_PNP_GetRelatedDeviceInstance(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetRelatedDeviceInstance, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1416,10 +1272,6 @@ struct tevent_req *rpccli_PNP_EnumerateSubKeys_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1464,10 +1316,6 @@ static void rpccli_PNP_EnumerateSubKeys_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_EnumerateSubKeys, &state->orig); - } - tevent_req_done(req); } @@ -1503,10 +1351,6 @@ NTSTATUS rpccli_PNP_EnumerateSubKeys(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_EnumerateSubKeys, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -1517,10 +1361,6 @@ NTSTATUS rpccli_PNP_EnumerateSubKeys(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_EnumerateSubKeys, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1576,10 +1416,6 @@ struct tevent_req *rpccli_PNP_GetDeviceList_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1632,10 +1468,6 @@ static void rpccli_PNP_GetDeviceList_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceList, &state->orig); - } - tevent_req_done(req); } @@ -1678,10 +1510,6 @@ NTSTATUS rpccli_PNP_GetDeviceList(struct rpc_pipe_client *cli, 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, @@ -1692,10 +1520,6 @@ NTSTATUS rpccli_PNP_GetDeviceList(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceList, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1750,10 +1574,6 @@ struct tevent_req *rpccli_PNP_GetDeviceListSize_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1805,10 +1625,6 @@ static void rpccli_PNP_GetDeviceListSize_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceListSize, &state->orig); - } - tevent_req_done(req); } @@ -1849,10 +1665,6 @@ NTSTATUS rpccli_PNP_GetDeviceListSize(struct rpc_pipe_client *cli, 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, @@ -1863,10 +1675,6 @@ NTSTATUS rpccli_PNP_GetDeviceListSize(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceListSize, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1914,10 +1722,6 @@ struct tevent_req *rpccli_PNP_GetDepth_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1962,10 +1766,6 @@ static void rpccli_PNP_GetDepth_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDepth, &state->orig); - } - tevent_req_done(req); } @@ -2001,10 +1801,6 @@ NTSTATUS rpccli_PNP_GetDepth(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetDepth, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -2015,10 +1811,6 @@ NTSTATUS rpccli_PNP_GetDepth(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDepth, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2082,10 +1874,6 @@ struct tevent_req *rpccli_PNP_GetDeviceRegProp_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2140,10 +1928,6 @@ static void rpccli_PNP_GetDeviceRegProp_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceRegProp, &state->orig); - } - tevent_req_done(req); } @@ -2192,10 +1976,6 @@ NTSTATUS rpccli_PNP_GetDeviceRegProp(struct rpc_pipe_client *cli, 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, @@ -2206,10 +1986,6 @@ NTSTATUS rpccli_PNP_GetDeviceRegProp(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceRegProp, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2260,10 +2036,6 @@ struct tevent_req *rpccli_PNP_SetDeviceRegProp_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2308,10 +2080,6 @@ static void rpccli_PNP_SetDeviceRegProp_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetDeviceRegProp, &state->orig); - } - tevent_req_done(req); } @@ -2347,10 +2115,6 @@ NTSTATUS rpccli_PNP_SetDeviceRegProp(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_SetDeviceRegProp, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -2361,10 +2125,6 @@ NTSTATUS rpccli_PNP_SetDeviceRegProp(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetDeviceRegProp, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2411,10 +2171,6 @@ struct tevent_req *rpccli_PNP_GetClassInstance_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2459,10 +2215,6 @@ static void rpccli_PNP_GetClassInstance_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassInstance, &state->orig); - } - tevent_req_done(req); } @@ -2498,10 +2250,6 @@ NTSTATUS rpccli_PNP_GetClassInstance(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetClassInstance, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -2512,10 +2260,6 @@ NTSTATUS rpccli_PNP_GetClassInstance(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassInstance, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2562,10 +2306,6 @@ struct tevent_req *rpccli_PNP_CreateKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2610,10 +2350,6 @@ static void rpccli_PNP_CreateKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_CreateKey, &state->orig); - } - tevent_req_done(req); } @@ -2649,10 +2385,6 @@ NTSTATUS rpccli_PNP_CreateKey(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_CreateKey, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -2663,10 +2395,6 @@ NTSTATUS rpccli_PNP_CreateKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_CreateKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2713,10 +2441,6 @@ struct tevent_req *rpccli_PNP_DeleteRegistryKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2761,10 +2485,6 @@ static void rpccli_PNP_DeleteRegistryKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DeleteRegistryKey, &state->orig); - } - tevent_req_done(req); } @@ -2800,10 +2520,6 @@ NTSTATUS rpccli_PNP_DeleteRegistryKey(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_DeleteRegistryKey, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -2814,10 +2530,6 @@ NTSTATUS rpccli_PNP_DeleteRegistryKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DeleteRegistryKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2864,10 +2576,6 @@ struct tevent_req *rpccli_PNP_GetClassCount_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2912,10 +2620,6 @@ static void rpccli_PNP_GetClassCount_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassCount, &state->orig); - } - tevent_req_done(req); } @@ -2951,10 +2655,6 @@ NTSTATUS rpccli_PNP_GetClassCount(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetClassCount, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -2965,10 +2665,6 @@ NTSTATUS rpccli_PNP_GetClassCount(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassCount, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3015,10 +2711,6 @@ struct tevent_req *rpccli_PNP_GetClassName_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3063,10 +2755,6 @@ static void rpccli_PNP_GetClassName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassName, &state->orig); - } - tevent_req_done(req); } @@ -3102,10 +2790,6 @@ NTSTATUS rpccli_PNP_GetClassName(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetClassName, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -3116,10 +2800,6 @@ NTSTATUS rpccli_PNP_GetClassName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3166,10 +2846,6 @@ struct tevent_req *rpccli_PNP_DeleteClassKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3214,10 +2890,6 @@ static void rpccli_PNP_DeleteClassKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DeleteClassKey, &state->orig); - } - tevent_req_done(req); } @@ -3253,10 +2925,6 @@ NTSTATUS rpccli_PNP_DeleteClassKey(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_DeleteClassKey, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -3267,10 +2935,6 @@ NTSTATUS rpccli_PNP_DeleteClassKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DeleteClassKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3317,10 +2981,6 @@ struct tevent_req *rpccli_PNP_GetInterfaceDeviceAlias_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3365,10 +3025,6 @@ static void rpccli_PNP_GetInterfaceDeviceAlias_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceAlias, &state->orig); - } - tevent_req_done(req); } @@ -3404,10 +3060,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceAlias(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceAlias, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -3418,10 +3070,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceAlias(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceAlias, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3468,10 +3116,6 @@ struct tevent_req *rpccli_PNP_GetInterfaceDeviceList_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3516,10 +3160,6 @@ static void rpccli_PNP_GetInterfaceDeviceList_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceList, &state->orig); - } - tevent_req_done(req); } @@ -3555,10 +3195,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceList(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceList, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -3569,10 +3205,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceList(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceList, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3619,10 +3251,6 @@ struct tevent_req *rpccli_PNP_GetInterfaceDeviceListSize_send(TALLOC_CTX *mem_ct /* 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; @@ -3667,10 +3295,6 @@ static void rpccli_PNP_GetInterfaceDeviceListSize_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceListSize, &state->orig); - } - tevent_req_done(req); } @@ -3706,10 +3330,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceListSize(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceListSize, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -3720,10 +3340,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceListSize(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceListSize, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3770,10 +3386,6 @@ struct tevent_req *rpccli_PNP_RegisterDeviceClassAssociation_send(TALLOC_CTX *me /* 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; @@ -3818,10 +3430,6 @@ static void rpccli_PNP_RegisterDeviceClassAssociation_done(struct tevent_req *su /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RegisterDeviceClassAssociation, &state->orig); - } - tevent_req_done(req); } @@ -3857,10 +3465,6 @@ NTSTATUS rpccli_PNP_RegisterDeviceClassAssociation(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_RegisterDeviceClassAssociation, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -3871,10 +3475,6 @@ NTSTATUS rpccli_PNP_RegisterDeviceClassAssociation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RegisterDeviceClassAssociation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3921,10 +3521,6 @@ struct tevent_req *rpccli_PNP_UnregisterDeviceClassAssociation_send(TALLOC_CTX * /* 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; @@ -3969,10 +3565,6 @@ static void rpccli_PNP_UnregisterDeviceClassAssociation_done(struct tevent_req * /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_UnregisterDeviceClassAssociation, &state->orig); - } - tevent_req_done(req); } @@ -4008,10 +3600,6 @@ NTSTATUS rpccli_PNP_UnregisterDeviceClassAssociation(struct rpc_pipe_client *cli /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_UnregisterDeviceClassAssociation, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -4022,10 +3610,6 @@ NTSTATUS rpccli_PNP_UnregisterDeviceClassAssociation(struct rpc_pipe_client *cli return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_UnregisterDeviceClassAssociation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4072,10 +3656,6 @@ struct tevent_req *rpccli_PNP_GetClassRegProp_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4120,10 +3700,6 @@ static void rpccli_PNP_GetClassRegProp_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassRegProp, &state->orig); - } - tevent_req_done(req); } @@ -4159,10 +3735,6 @@ NTSTATUS rpccli_PNP_GetClassRegProp(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetClassRegProp, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -4173,10 +3745,6 @@ NTSTATUS rpccli_PNP_GetClassRegProp(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetClassRegProp, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4223,10 +3791,6 @@ struct tevent_req *rpccli_PNP_SetClassRegProp_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4271,10 +3835,6 @@ static void rpccli_PNP_SetClassRegProp_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetClassRegProp, &state->orig); - } - tevent_req_done(req); } @@ -4310,10 +3870,6 @@ NTSTATUS rpccli_PNP_SetClassRegProp(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_SetClassRegProp, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -4324,10 +3880,6 @@ NTSTATUS rpccli_PNP_SetClassRegProp(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetClassRegProp, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4374,10 +3926,6 @@ struct tevent_req *rpccli_PNP_CreateDevInst_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4422,10 +3970,6 @@ static void rpccli_PNP_CreateDevInst_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_CreateDevInst, &state->orig); - } - tevent_req_done(req); } @@ -4461,10 +4005,6 @@ NTSTATUS rpccli_PNP_CreateDevInst(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_CreateDevInst, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -4475,10 +4015,6 @@ NTSTATUS rpccli_PNP_CreateDevInst(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_CreateDevInst, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4525,10 +4061,6 @@ struct tevent_req *rpccli_PNP_DeviceInstanceAction_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4573,10 +4105,6 @@ static void rpccli_PNP_DeviceInstanceAction_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DeviceInstanceAction, &state->orig); - } - tevent_req_done(req); } @@ -4612,10 +4140,6 @@ NTSTATUS rpccli_PNP_DeviceInstanceAction(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_DeviceInstanceAction, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -4626,10 +4150,6 @@ NTSTATUS rpccli_PNP_DeviceInstanceAction(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DeviceInstanceAction, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4676,10 +4196,6 @@ struct tevent_req *rpccli_PNP_GetDeviceStatus_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4724,10 +4240,6 @@ static void rpccli_PNP_GetDeviceStatus_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceStatus, &state->orig); - } - tevent_req_done(req); } @@ -4763,10 +4275,6 @@ NTSTATUS rpccli_PNP_GetDeviceStatus(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetDeviceStatus, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -4777,10 +4285,6 @@ NTSTATUS rpccli_PNP_GetDeviceStatus(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetDeviceStatus, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4827,10 +4331,6 @@ struct tevent_req *rpccli_PNP_SetDeviceProblem_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4875,10 +4375,6 @@ static void rpccli_PNP_SetDeviceProblem_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetDeviceProblem, &state->orig); - } - tevent_req_done(req); } @@ -4914,10 +4410,6 @@ NTSTATUS rpccli_PNP_SetDeviceProblem(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_SetDeviceProblem, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -4928,10 +4420,6 @@ NTSTATUS rpccli_PNP_SetDeviceProblem(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetDeviceProblem, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4978,10 +4466,6 @@ struct tevent_req *rpccli_PNP_DisableDevInst_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5026,10 +4510,6 @@ static void rpccli_PNP_DisableDevInst_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DisableDevInst, &state->orig); - } - tevent_req_done(req); } @@ -5065,10 +4545,6 @@ NTSTATUS rpccli_PNP_DisableDevInst(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_DisableDevInst, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -5079,10 +4555,6 @@ NTSTATUS rpccli_PNP_DisableDevInst(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DisableDevInst, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5129,10 +4601,6 @@ struct tevent_req *rpccli_PNP_UninstallDevInst_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5177,10 +4645,6 @@ static void rpccli_PNP_UninstallDevInst_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_UninstallDevInst, &state->orig); - } - tevent_req_done(req); } @@ -5216,10 +4680,6 @@ NTSTATUS rpccli_PNP_UninstallDevInst(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_UninstallDevInst, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -5230,10 +4690,6 @@ NTSTATUS rpccli_PNP_UninstallDevInst(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_UninstallDevInst, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5280,10 +4736,6 @@ struct tevent_req *rpccli_PNP_AddID_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5328,10 +4780,6 @@ static void rpccli_PNP_AddID_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_AddID, &state->orig); - } - tevent_req_done(req); } @@ -5367,10 +4815,6 @@ NTSTATUS rpccli_PNP_AddID(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_AddID, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -5381,10 +4825,6 @@ NTSTATUS rpccli_PNP_AddID(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_AddID, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5431,10 +4871,6 @@ struct tevent_req *rpccli_PNP_RegisterDriver_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5479,10 +4915,6 @@ static void rpccli_PNP_RegisterDriver_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RegisterDriver, &state->orig); - } - tevent_req_done(req); } @@ -5518,10 +4950,6 @@ NTSTATUS rpccli_PNP_RegisterDriver(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_RegisterDriver, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -5532,10 +4960,6 @@ NTSTATUS rpccli_PNP_RegisterDriver(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RegisterDriver, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5582,10 +5006,6 @@ struct tevent_req *rpccli_PNP_QueryRemove_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5630,10 +5050,6 @@ static void rpccli_PNP_QueryRemove_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryRemove, &state->orig); - } - tevent_req_done(req); } @@ -5669,10 +5085,6 @@ NTSTATUS rpccli_PNP_QueryRemove(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_QueryRemove, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -5683,10 +5095,6 @@ NTSTATUS rpccli_PNP_QueryRemove(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryRemove, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5733,10 +5141,6 @@ struct tevent_req *rpccli_PNP_RequestDeviceEject_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5781,10 +5185,6 @@ static void rpccli_PNP_RequestDeviceEject_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RequestDeviceEject, &state->orig); - } - tevent_req_done(req); } @@ -5820,10 +5220,6 @@ NTSTATUS rpccli_PNP_RequestDeviceEject(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_RequestDeviceEject, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -5834,10 +5230,6 @@ NTSTATUS rpccli_PNP_RequestDeviceEject(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RequestDeviceEject, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5884,10 +5276,6 @@ struct tevent_req *rpccli_PNP_IsDockStationPresent_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5932,10 +5320,6 @@ static void rpccli_PNP_IsDockStationPresent_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_IsDockStationPresent, &state->orig); - } - tevent_req_done(req); } @@ -5971,10 +5355,6 @@ NTSTATUS rpccli_PNP_IsDockStationPresent(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_IsDockStationPresent, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -5985,10 +5365,6 @@ NTSTATUS rpccli_PNP_IsDockStationPresent(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_IsDockStationPresent, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6035,10 +5411,6 @@ struct tevent_req *rpccli_PNP_RequestEjectPC_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6083,10 +5455,6 @@ static void rpccli_PNP_RequestEjectPC_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RequestEjectPC, &state->orig); - } - tevent_req_done(req); } @@ -6122,10 +5490,6 @@ NTSTATUS rpccli_PNP_RequestEjectPC(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_RequestEjectPC, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -6136,10 +5500,6 @@ NTSTATUS rpccli_PNP_RequestEjectPC(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RequestEjectPC, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6206,10 +5566,6 @@ struct tevent_req *rpccli_PNP_HwProfFlags_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6267,10 +5623,6 @@ static void rpccli_PNP_HwProfFlags_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_HwProfFlags, &state->orig); - } - tevent_req_done(req); } @@ -6323,10 +5675,6 @@ NTSTATUS rpccli_PNP_HwProfFlags(struct rpc_pipe_client *cli, 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, @@ -6337,10 +5685,6 @@ NTSTATUS rpccli_PNP_HwProfFlags(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_HwProfFlags, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6403,10 +5747,6 @@ struct tevent_req *rpccli_PNP_GetHwProfInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6458,10 +5798,6 @@ static void rpccli_PNP_GetHwProfInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetHwProfInfo, &state->orig); - } - tevent_req_done(req); } @@ -6505,10 +5841,6 @@ NTSTATUS rpccli_PNP_GetHwProfInfo(struct rpc_pipe_client *cli, 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, @@ -6519,10 +5851,6 @@ NTSTATUS rpccli_PNP_GetHwProfInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetHwProfInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6570,10 +5898,6 @@ struct tevent_req *rpccli_PNP_AddEmptyLogConf_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6618,10 +5942,6 @@ static void rpccli_PNP_AddEmptyLogConf_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_AddEmptyLogConf, &state->orig); - } - tevent_req_done(req); } @@ -6657,10 +5977,6 @@ NTSTATUS rpccli_PNP_AddEmptyLogConf(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_AddEmptyLogConf, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -6671,10 +5987,6 @@ NTSTATUS rpccli_PNP_AddEmptyLogConf(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_AddEmptyLogConf, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6721,10 +6033,6 @@ struct tevent_req *rpccli_PNP_FreeLogConf_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6769,10 +6077,6 @@ static void rpccli_PNP_FreeLogConf_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_FreeLogConf, &state->orig); - } - tevent_req_done(req); } @@ -6808,10 +6112,6 @@ NTSTATUS rpccli_PNP_FreeLogConf(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_FreeLogConf, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -6822,10 +6122,6 @@ NTSTATUS rpccli_PNP_FreeLogConf(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_FreeLogConf, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6872,10 +6168,6 @@ struct tevent_req *rpccli_PNP_GetFirstLogConf_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6920,10 +6212,6 @@ static void rpccli_PNP_GetFirstLogConf_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetFirstLogConf, &state->orig); - } - tevent_req_done(req); } @@ -6959,10 +6247,6 @@ NTSTATUS rpccli_PNP_GetFirstLogConf(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetFirstLogConf, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -6973,10 +6257,6 @@ NTSTATUS rpccli_PNP_GetFirstLogConf(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetFirstLogConf, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7023,10 +6303,6 @@ struct tevent_req *rpccli_PNP_GetNextLogConf_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7071,10 +6347,6 @@ static void rpccli_PNP_GetNextLogConf_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetNextLogConf, &state->orig); - } - tevent_req_done(req); } @@ -7110,10 +6382,6 @@ NTSTATUS rpccli_PNP_GetNextLogConf(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetNextLogConf, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -7124,10 +6392,6 @@ NTSTATUS rpccli_PNP_GetNextLogConf(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetNextLogConf, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7174,10 +6438,6 @@ struct tevent_req *rpccli_PNP_GetLogConfPriority_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7222,10 +6482,6 @@ static void rpccli_PNP_GetLogConfPriority_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetLogConfPriority, &state->orig); - } - tevent_req_done(req); } @@ -7261,10 +6517,6 @@ NTSTATUS rpccli_PNP_GetLogConfPriority(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetLogConfPriority, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -7275,10 +6527,6 @@ NTSTATUS rpccli_PNP_GetLogConfPriority(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetLogConfPriority, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7325,10 +6573,6 @@ struct tevent_req *rpccli_PNP_AddResDes_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7373,10 +6617,6 @@ static void rpccli_PNP_AddResDes_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_AddResDes, &state->orig); - } - tevent_req_done(req); } @@ -7412,10 +6652,6 @@ NTSTATUS rpccli_PNP_AddResDes(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_AddResDes, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -7426,10 +6662,6 @@ NTSTATUS rpccli_PNP_AddResDes(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_AddResDes, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7476,10 +6708,6 @@ struct tevent_req *rpccli_PNP_FreeResDes_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7524,10 +6752,6 @@ static void rpccli_PNP_FreeResDes_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_FreeResDes, &state->orig); - } - tevent_req_done(req); } @@ -7563,10 +6787,6 @@ NTSTATUS rpccli_PNP_FreeResDes(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_FreeResDes, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -7577,10 +6797,6 @@ NTSTATUS rpccli_PNP_FreeResDes(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_FreeResDes, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7627,10 +6843,6 @@ struct tevent_req *rpccli_PNP_GetNextResDes_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7675,10 +6887,6 @@ static void rpccli_PNP_GetNextResDes_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetNextResDes, &state->orig); - } - tevent_req_done(req); } @@ -7714,10 +6922,6 @@ NTSTATUS rpccli_PNP_GetNextResDes(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetNextResDes, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -7728,10 +6932,6 @@ NTSTATUS rpccli_PNP_GetNextResDes(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetNextResDes, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7778,10 +6978,6 @@ struct tevent_req *rpccli_PNP_GetResDesData_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7826,10 +7022,6 @@ static void rpccli_PNP_GetResDesData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetResDesData, &state->orig); - } - tevent_req_done(req); } @@ -7865,10 +7057,6 @@ NTSTATUS rpccli_PNP_GetResDesData(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetResDesData, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -7879,10 +7067,6 @@ NTSTATUS rpccli_PNP_GetResDesData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetResDesData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7929,10 +7113,6 @@ struct tevent_req *rpccli_PNP_GetResDesDataSize_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7977,10 +7157,6 @@ static void rpccli_PNP_GetResDesDataSize_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetResDesDataSize, &state->orig); - } - tevent_req_done(req); } @@ -8016,10 +7192,6 @@ NTSTATUS rpccli_PNP_GetResDesDataSize(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetResDesDataSize, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -8030,10 +7202,6 @@ NTSTATUS rpccli_PNP_GetResDesDataSize(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetResDesDataSize, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8080,10 +7248,6 @@ struct tevent_req *rpccli_PNP_ModifyResDes_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8128,10 +7292,6 @@ static void rpccli_PNP_ModifyResDes_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_ModifyResDes, &state->orig); - } - tevent_req_done(req); } @@ -8167,10 +7327,6 @@ NTSTATUS rpccli_PNP_ModifyResDes(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_ModifyResDes, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -8181,10 +7337,6 @@ NTSTATUS rpccli_PNP_ModifyResDes(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_ModifyResDes, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8231,10 +7383,6 @@ struct tevent_req *rpccli_PNP_DetectResourceLimit_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8279,10 +7427,6 @@ static void rpccli_PNP_DetectResourceLimit_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DetectResourceLimit, &state->orig); - } - tevent_req_done(req); } @@ -8318,10 +7462,6 @@ NTSTATUS rpccli_PNP_DetectResourceLimit(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_DetectResourceLimit, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -8332,10 +7472,6 @@ NTSTATUS rpccli_PNP_DetectResourceLimit(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_DetectResourceLimit, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8382,10 +7518,6 @@ struct tevent_req *rpccli_PNP_QueryResConfList_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8430,10 +7562,6 @@ static void rpccli_PNP_QueryResConfList_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryResConfList, &state->orig); - } - tevent_req_done(req); } @@ -8469,10 +7597,6 @@ NTSTATUS rpccli_PNP_QueryResConfList(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_QueryResConfList, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -8483,10 +7607,6 @@ NTSTATUS rpccli_PNP_QueryResConfList(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryResConfList, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8533,10 +7653,6 @@ struct tevent_req *rpccli_PNP_SetHwProf_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8581,10 +7697,6 @@ static void rpccli_PNP_SetHwProf_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetHwProf, &state->orig); - } - tevent_req_done(req); } @@ -8620,10 +7732,6 @@ NTSTATUS rpccli_PNP_SetHwProf(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_SetHwProf, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -8634,10 +7742,6 @@ NTSTATUS rpccli_PNP_SetHwProf(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_SetHwProf, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8684,10 +7788,6 @@ struct tevent_req *rpccli_PNP_QueryArbitratorFreeData_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8732,10 +7832,6 @@ static void rpccli_PNP_QueryArbitratorFreeData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeData, &state->orig); - } - tevent_req_done(req); } @@ -8771,10 +7867,6 @@ NTSTATUS rpccli_PNP_QueryArbitratorFreeData(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeData, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -8785,10 +7877,6 @@ NTSTATUS rpccli_PNP_QueryArbitratorFreeData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8835,10 +7923,6 @@ struct tevent_req *rpccli_PNP_QueryArbitratorFreeSize_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8883,10 +7967,6 @@ static void rpccli_PNP_QueryArbitratorFreeSize_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeSize, &state->orig); - } - tevent_req_done(req); } @@ -8922,10 +8002,6 @@ NTSTATUS rpccli_PNP_QueryArbitratorFreeSize(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeSize, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -8936,10 +8012,6 @@ NTSTATUS rpccli_PNP_QueryArbitratorFreeSize(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeSize, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8986,10 +8058,6 @@ struct tevent_req *rpccli_PNP_RunDetection_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9034,10 +8102,6 @@ static void rpccli_PNP_RunDetection_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RunDetection, &state->orig); - } - tevent_req_done(req); } @@ -9073,10 +8137,6 @@ NTSTATUS rpccli_PNP_RunDetection(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_RunDetection, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -9087,10 +8147,6 @@ NTSTATUS rpccli_PNP_RunDetection(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RunDetection, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9137,10 +8193,6 @@ struct tevent_req *rpccli_PNP_RegisterNotification_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9185,10 +8237,6 @@ static void rpccli_PNP_RegisterNotification_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RegisterNotification, &state->orig); - } - tevent_req_done(req); } @@ -9224,10 +8272,6 @@ NTSTATUS rpccli_PNP_RegisterNotification(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_RegisterNotification, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -9238,10 +8282,6 @@ NTSTATUS rpccli_PNP_RegisterNotification(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_RegisterNotification, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9288,10 +8328,6 @@ struct tevent_req *rpccli_PNP_UnregisterNotification_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9336,10 +8372,6 @@ static void rpccli_PNP_UnregisterNotification_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_UnregisterNotification, &state->orig); - } - tevent_req_done(req); } @@ -9375,10 +8407,6 @@ NTSTATUS rpccli_PNP_UnregisterNotification(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_UnregisterNotification, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -9389,10 +8417,6 @@ NTSTATUS rpccli_PNP_UnregisterNotification(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_UnregisterNotification, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9439,10 +8463,6 @@ struct tevent_req *rpccli_PNP_GetCustomDevProp_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9487,10 +8507,6 @@ static void rpccli_PNP_GetCustomDevProp_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetCustomDevProp, &state->orig); - } - tevent_req_done(req); } @@ -9526,10 +8542,6 @@ NTSTATUS rpccli_PNP_GetCustomDevProp(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetCustomDevProp, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -9540,10 +8552,6 @@ NTSTATUS rpccli_PNP_GetCustomDevProp(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetCustomDevProp, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9590,10 +8598,6 @@ struct tevent_req *rpccli_PNP_GetVersionInternal_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9638,10 +8642,6 @@ static void rpccli_PNP_GetVersionInternal_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetVersionInternal, &state->orig); - } - tevent_req_done(req); } @@ -9677,10 +8677,6 @@ NTSTATUS rpccli_PNP_GetVersionInternal(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetVersionInternal, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -9691,10 +8687,6 @@ NTSTATUS rpccli_PNP_GetVersionInternal(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetVersionInternal, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9741,10 +8733,6 @@ struct tevent_req *rpccli_PNP_GetBlockedDriverInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9789,10 +8777,6 @@ static void rpccli_PNP_GetBlockedDriverInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetBlockedDriverInfo, &state->orig); - } - tevent_req_done(req); } @@ -9828,10 +8812,6 @@ NTSTATUS rpccli_PNP_GetBlockedDriverInfo(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetBlockedDriverInfo, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -9842,10 +8822,6 @@ NTSTATUS rpccli_PNP_GetBlockedDriverInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetBlockedDriverInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9892,10 +8868,6 @@ struct tevent_req *rpccli_PNP_GetServerSideDeviceInstallFlags_send(TALLOC_CTX *m /* 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; @@ -9940,10 +8912,6 @@ static void rpccli_PNP_GetServerSideDeviceInstallFlags_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetServerSideDeviceInstallFlags, &state->orig); - } - tevent_req_done(req); } @@ -9979,10 +8947,6 @@ NTSTATUS rpccli_PNP_GetServerSideDeviceInstallFlags(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(PNP_GetServerSideDeviceInstallFlags, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_ntsvcs, @@ -9993,10 +8957,6 @@ NTSTATUS rpccli_PNP_GetServerSideDeviceInstallFlags(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(PNP_GetServerSideDeviceInstallFlags, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_samr.c b/librpc/gen_ndr/cli_samr.c index 72f5f74864..df266e8508 100644 --- a/librpc/gen_ndr/cli_samr.c +++ b/librpc/gen_ndr/cli_samr.c @@ -44,10 +44,6 @@ struct tevent_req *rpccli_samr_Connect_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -99,10 +95,6 @@ static void rpccli_samr_Connect_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect, &state->orig); - } - tevent_req_done(req); } @@ -142,10 +134,6 @@ NTSTATUS rpccli_samr_Connect(struct rpc_pipe_client *cli, 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, @@ -156,10 +144,6 @@ NTSTATUS rpccli_samr_Connect(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -206,10 +190,6 @@ struct tevent_req *rpccli_samr_Close_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -261,10 +241,6 @@ static void rpccli_samr_Close_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Close, &state->orig); - } - tevent_req_done(req); } @@ -301,10 +277,6 @@ NTSTATUS rpccli_samr_Close(struct rpc_pipe_client *cli, /* 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, @@ -315,10 +287,6 @@ NTSTATUS rpccli_samr_Close(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Close, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -368,10 +336,6 @@ struct tevent_req *rpccli_samr_SetSecurity_send(TALLOC_CTX *mem_ctx, /* 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; @@ -416,10 +380,6 @@ static void rpccli_samr_SetSecurity_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetSecurity, &state->orig); - } - tevent_req_done(req); } @@ -460,10 +420,6 @@ NTSTATUS rpccli_samr_SetSecurity(struct rpc_pipe_client *cli, 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, @@ -474,10 +430,6 @@ NTSTATUS rpccli_samr_SetSecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetSecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -526,10 +478,6 @@ struct tevent_req *rpccli_samr_QuerySecurity_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -581,10 +529,6 @@ static void rpccli_samr_QuerySecurity_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QuerySecurity, &state->orig); - } - tevent_req_done(req); } @@ -624,10 +568,6 @@ NTSTATUS rpccli_samr_QuerySecurity(struct rpc_pipe_client *cli, 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, @@ -638,10 +578,6 @@ NTSTATUS rpccli_samr_QuerySecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QuerySecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -687,10 +623,6 @@ struct tevent_req *rpccli_samr_Shutdown_send(TALLOC_CTX *mem_ctx, /* 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; @@ -735,10 +667,6 @@ static void rpccli_samr_Shutdown_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Shutdown, &state->orig); - } - tevent_req_done(req); } @@ -775,10 +703,6 @@ NTSTATUS rpccli_samr_Shutdown(struct rpc_pipe_client *cli, /* 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, @@ -789,10 +713,6 @@ NTSTATUS rpccli_samr_Shutdown(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Shutdown, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -841,10 +761,6 @@ struct tevent_req *rpccli_samr_LookupDomain_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -896,10 +812,6 @@ static void rpccli_samr_LookupDomain_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_LookupDomain, &state->orig); - } - tevent_req_done(req); } @@ -939,10 +851,6 @@ NTSTATUS rpccli_samr_LookupDomain(struct rpc_pipe_client *cli, 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, @@ -953,10 +861,6 @@ NTSTATUS rpccli_samr_LookupDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_LookupDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1011,10 +915,6 @@ struct tevent_req *rpccli_samr_EnumDomains_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1068,10 +968,6 @@ static void rpccli_samr_EnumDomains_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomains, &state->orig); - } - tevent_req_done(req); } @@ -1114,10 +1010,6 @@ NTSTATUS rpccli_samr_EnumDomains(struct rpc_pipe_client *cli, 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, @@ -1128,10 +1020,6 @@ NTSTATUS rpccli_samr_EnumDomains(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomains, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1185,10 +1073,6 @@ struct tevent_req *rpccli_samr_OpenDomain_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1240,10 +1124,6 @@ static void rpccli_samr_OpenDomain_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenDomain, &state->orig); - } - tevent_req_done(req); } @@ -1285,10 +1165,6 @@ NTSTATUS rpccli_samr_OpenDomain(struct rpc_pipe_client *cli, 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, @@ -1299,10 +1175,6 @@ NTSTATUS rpccli_samr_OpenDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1352,10 +1224,6 @@ struct tevent_req *rpccli_samr_QueryDomainInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1407,10 +1275,6 @@ static void rpccli_samr_QueryDomainInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDomainInfo, &state->orig); - } - tevent_req_done(req); } @@ -1450,10 +1314,6 @@ NTSTATUS rpccli_samr_QueryDomainInfo(struct rpc_pipe_client *cli, 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, @@ -1464,10 +1324,6 @@ NTSTATUS rpccli_samr_QueryDomainInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDomainInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1517,10 +1373,6 @@ struct tevent_req *rpccli_samr_SetDomainInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1565,10 +1417,6 @@ static void rpccli_samr_SetDomainInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetDomainInfo, &state->orig); - } - tevent_req_done(req); } @@ -1609,10 +1457,6 @@ NTSTATUS rpccli_samr_SetDomainInfo(struct rpc_pipe_client *cli, 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, @@ -1623,10 +1467,6 @@ NTSTATUS rpccli_samr_SetDomainInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetDomainInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1679,10 +1519,6 @@ struct tevent_req *rpccli_samr_CreateDomainGroup_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1735,10 +1571,6 @@ static void rpccli_samr_CreateDomainGroup_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateDomainGroup, &state->orig); - } - tevent_req_done(req); } @@ -1781,10 +1613,6 @@ NTSTATUS rpccli_samr_CreateDomainGroup(struct rpc_pipe_client *cli, 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, @@ -1795,10 +1623,6 @@ NTSTATUS rpccli_samr_CreateDomainGroup(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateDomainGroup, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1854,10 +1678,6 @@ struct tevent_req *rpccli_samr_EnumDomainGroups_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1911,10 +1731,6 @@ static void rpccli_samr_EnumDomainGroups_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomainGroups, &state->orig); - } - tevent_req_done(req); } @@ -1957,10 +1773,6 @@ NTSTATUS rpccli_samr_EnumDomainGroups(struct rpc_pipe_client *cli, 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, @@ -1971,10 +1783,6 @@ NTSTATUS rpccli_samr_EnumDomainGroups(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomainGroups, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2030,10 +1838,6 @@ struct tevent_req *rpccli_samr_CreateUser_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2086,10 +1890,6 @@ static void rpccli_samr_CreateUser_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateUser, &state->orig); - } - tevent_req_done(req); } @@ -2132,10 +1932,6 @@ NTSTATUS rpccli_samr_CreateUser(struct rpc_pipe_client *cli, 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, @@ -2146,10 +1942,6 @@ NTSTATUS rpccli_samr_CreateUser(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateUser, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2207,10 +1999,6 @@ struct tevent_req *rpccli_samr_EnumDomainUsers_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2264,10 +2052,6 @@ static void rpccli_samr_EnumDomainUsers_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomainUsers, &state->orig); - } - tevent_req_done(req); } @@ -2312,10 +2096,6 @@ NTSTATUS rpccli_samr_EnumDomainUsers(struct rpc_pipe_client *cli, 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, @@ -2326,10 +2106,6 @@ NTSTATUS rpccli_samr_EnumDomainUsers(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomainUsers, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2385,10 +2161,6 @@ struct tevent_req *rpccli_samr_CreateDomAlias_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2441,10 +2213,6 @@ static void rpccli_samr_CreateDomAlias_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateDomAlias, &state->orig); - } - tevent_req_done(req); } @@ -2487,10 +2255,6 @@ NTSTATUS rpccli_samr_CreateDomAlias(struct rpc_pipe_client *cli, 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, @@ -2501,10 +2265,6 @@ NTSTATUS rpccli_samr_CreateDomAlias(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateDomAlias, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2560,10 +2320,6 @@ struct tevent_req *rpccli_samr_EnumDomainAliases_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2617,10 +2373,6 @@ static void rpccli_samr_EnumDomainAliases_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomainAliases, &state->orig); - } - tevent_req_done(req); } @@ -2663,10 +2415,6 @@ NTSTATUS rpccli_samr_EnumDomainAliases(struct rpc_pipe_client *cli, 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, @@ -2677,10 +2425,6 @@ NTSTATUS rpccli_samr_EnumDomainAliases(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_EnumDomainAliases, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2732,10 +2476,6 @@ struct tevent_req *rpccli_samr_GetAliasMembership_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2787,10 +2527,6 @@ static void rpccli_samr_GetAliasMembership_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetAliasMembership, &state->orig); - } - tevent_req_done(req); } @@ -2830,10 +2566,6 @@ NTSTATUS rpccli_samr_GetAliasMembership(struct rpc_pipe_client *cli, 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, @@ -2844,10 +2576,6 @@ NTSTATUS rpccli_samr_GetAliasMembership(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetAliasMembership, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2901,10 +2629,6 @@ struct tevent_req *rpccli_samr_LookupNames_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2957,10 +2681,6 @@ static void rpccli_samr_LookupNames_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_LookupNames, &state->orig); - } - tevent_req_done(req); } @@ -3003,10 +2723,6 @@ NTSTATUS rpccli_samr_LookupNames(struct rpc_pipe_client *cli, 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, @@ -3017,10 +2733,6 @@ NTSTATUS rpccli_samr_LookupNames(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_LookupNames, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3075,10 +2787,6 @@ struct tevent_req *rpccli_samr_LookupRids_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3131,10 +2839,6 @@ static void rpccli_samr_LookupRids_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_LookupRids, &state->orig); - } - tevent_req_done(req); } @@ -3177,10 +2881,6 @@ NTSTATUS rpccli_samr_LookupRids(struct rpc_pipe_client *cli, 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, @@ -3191,10 +2891,6 @@ NTSTATUS rpccli_samr_LookupRids(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_LookupRids, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3247,10 +2943,6 @@ struct tevent_req *rpccli_samr_OpenGroup_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3302,10 +2994,6 @@ static void rpccli_samr_OpenGroup_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenGroup, &state->orig); - } - tevent_req_done(req); } @@ -3347,10 +3035,6 @@ NTSTATUS rpccli_samr_OpenGroup(struct rpc_pipe_client *cli, 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, @@ -3361,10 +3045,6 @@ NTSTATUS rpccli_samr_OpenGroup(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenGroup, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3414,10 +3094,6 @@ struct tevent_req *rpccli_samr_QueryGroupInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3469,10 +3145,6 @@ static void rpccli_samr_QueryGroupInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryGroupInfo, &state->orig); - } - tevent_req_done(req); } @@ -3512,10 +3184,6 @@ NTSTATUS rpccli_samr_QueryGroupInfo(struct rpc_pipe_client *cli, 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, @@ -3526,10 +3194,6 @@ NTSTATUS rpccli_samr_QueryGroupInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryGroupInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3579,10 +3243,6 @@ struct tevent_req *rpccli_samr_SetGroupInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3627,10 +3287,6 @@ static void rpccli_samr_SetGroupInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetGroupInfo, &state->orig); - } - tevent_req_done(req); } @@ -3671,10 +3327,6 @@ NTSTATUS rpccli_samr_SetGroupInfo(struct rpc_pipe_client *cli, 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, @@ -3685,10 +3337,6 @@ NTSTATUS rpccli_samr_SetGroupInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetGroupInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3737,10 +3385,6 @@ struct tevent_req *rpccli_samr_AddGroupMember_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3785,10 +3429,6 @@ static void rpccli_samr_AddGroupMember_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_AddGroupMember, &state->orig); - } - tevent_req_done(req); } @@ -3829,10 +3469,6 @@ NTSTATUS rpccli_samr_AddGroupMember(struct rpc_pipe_client *cli, 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, @@ -3843,10 +3479,6 @@ NTSTATUS rpccli_samr_AddGroupMember(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_AddGroupMember, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3892,10 +3524,6 @@ struct tevent_req *rpccli_samr_DeleteDomainGroup_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3947,10 +3575,6 @@ static void rpccli_samr_DeleteDomainGroup_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteDomainGroup, &state->orig); - } - tevent_req_done(req); } @@ -3987,10 +3611,6 @@ NTSTATUS rpccli_samr_DeleteDomainGroup(struct rpc_pipe_client *cli, /* 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, @@ -4001,10 +3621,6 @@ NTSTATUS rpccli_samr_DeleteDomainGroup(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteDomainGroup, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4052,10 +3668,6 @@ struct tevent_req *rpccli_samr_DeleteGroupMember_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4100,10 +3712,6 @@ static void rpccli_samr_DeleteGroupMember_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteGroupMember, &state->orig); - } - tevent_req_done(req); } @@ -4142,10 +3750,6 @@ NTSTATUS rpccli_samr_DeleteGroupMember(struct rpc_pipe_client *cli, 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, @@ -4156,10 +3760,6 @@ NTSTATUS rpccli_samr_DeleteGroupMember(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteGroupMember, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4206,10 +3806,6 @@ struct tevent_req *rpccli_samr_QueryGroupMember_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4261,10 +3857,6 @@ static void rpccli_samr_QueryGroupMember_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryGroupMember, &state->orig); - } - tevent_req_done(req); } @@ -4302,10 +3894,6 @@ NTSTATUS rpccli_samr_QueryGroupMember(struct rpc_pipe_client *cli, /* 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, @@ -4316,10 +3904,6 @@ NTSTATUS rpccli_samr_QueryGroupMember(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryGroupMember, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4369,10 +3953,6 @@ struct tevent_req *rpccli_samr_SetMemberAttributesOfGroup_send(TALLOC_CTX *mem_c /* 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; @@ -4417,10 +3997,6 @@ static void rpccli_samr_SetMemberAttributesOfGroup_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetMemberAttributesOfGroup, &state->orig); - } - tevent_req_done(req); } @@ -4461,10 +4037,6 @@ NTSTATUS rpccli_samr_SetMemberAttributesOfGroup(struct rpc_pipe_client *cli, 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, @@ -4475,10 +4047,6 @@ NTSTATUS rpccli_samr_SetMemberAttributesOfGroup(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetMemberAttributesOfGroup, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4529,10 +4097,6 @@ struct tevent_req *rpccli_samr_OpenAlias_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4584,10 +4148,6 @@ static void rpccli_samr_OpenAlias_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenAlias, &state->orig); - } - tevent_req_done(req); } @@ -4629,10 +4189,6 @@ NTSTATUS rpccli_samr_OpenAlias(struct rpc_pipe_client *cli, 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, @@ -4643,10 +4199,6 @@ NTSTATUS rpccli_samr_OpenAlias(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenAlias, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4696,10 +4248,6 @@ struct tevent_req *rpccli_samr_QueryAliasInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4751,10 +4299,6 @@ static void rpccli_samr_QueryAliasInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryAliasInfo, &state->orig); - } - tevent_req_done(req); } @@ -4794,10 +4338,6 @@ NTSTATUS rpccli_samr_QueryAliasInfo(struct rpc_pipe_client *cli, 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, @@ -4808,10 +4348,6 @@ NTSTATUS rpccli_samr_QueryAliasInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryAliasInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4861,10 +4397,6 @@ struct tevent_req *rpccli_samr_SetAliasInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4909,10 +4441,6 @@ static void rpccli_samr_SetAliasInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetAliasInfo, &state->orig); - } - tevent_req_done(req); } @@ -4953,10 +4481,6 @@ NTSTATUS rpccli_samr_SetAliasInfo(struct rpc_pipe_client *cli, 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, @@ -4967,10 +4491,6 @@ NTSTATUS rpccli_samr_SetAliasInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetAliasInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5016,10 +4536,6 @@ struct tevent_req *rpccli_samr_DeleteDomAlias_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5071,10 +4587,6 @@ static void rpccli_samr_DeleteDomAlias_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteDomAlias, &state->orig); - } - tevent_req_done(req); } @@ -5111,10 +4623,6 @@ NTSTATUS rpccli_samr_DeleteDomAlias(struct rpc_pipe_client *cli, /* 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, @@ -5125,10 +4633,6 @@ NTSTATUS rpccli_samr_DeleteDomAlias(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteDomAlias, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5176,10 +4680,6 @@ struct tevent_req *rpccli_samr_AddAliasMember_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5224,10 +4724,6 @@ static void rpccli_samr_AddAliasMember_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_AddAliasMember, &state->orig); - } - tevent_req_done(req); } @@ -5266,10 +4762,6 @@ NTSTATUS rpccli_samr_AddAliasMember(struct rpc_pipe_client *cli, 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, @@ -5280,10 +4772,6 @@ NTSTATUS rpccli_samr_AddAliasMember(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_AddAliasMember, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5330,10 +4818,6 @@ struct tevent_req *rpccli_samr_DeleteAliasMember_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5378,10 +4862,6 @@ static void rpccli_samr_DeleteAliasMember_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteAliasMember, &state->orig); - } - tevent_req_done(req); } @@ -5420,10 +4900,6 @@ NTSTATUS rpccli_samr_DeleteAliasMember(struct rpc_pipe_client *cli, 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, @@ -5434,10 +4910,6 @@ NTSTATUS rpccli_samr_DeleteAliasMember(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteAliasMember, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5484,10 +4956,6 @@ struct tevent_req *rpccli_samr_GetMembersInAlias_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5539,10 +5007,6 @@ static void rpccli_samr_GetMembersInAlias_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetMembersInAlias, &state->orig); - } - tevent_req_done(req); } @@ -5580,10 +5044,6 @@ NTSTATUS rpccli_samr_GetMembersInAlias(struct rpc_pipe_client *cli, /* 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, @@ -5594,10 +5054,6 @@ NTSTATUS rpccli_samr_GetMembersInAlias(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetMembersInAlias, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5649,10 +5105,6 @@ struct tevent_req *rpccli_samr_OpenUser_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5704,10 +5156,6 @@ static void rpccli_samr_OpenUser_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenUser, &state->orig); - } - tevent_req_done(req); } @@ -5749,10 +5197,6 @@ NTSTATUS rpccli_samr_OpenUser(struct rpc_pipe_client *cli, 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, @@ -5763,10 +5207,6 @@ NTSTATUS rpccli_samr_OpenUser(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OpenUser, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5813,10 +5253,6 @@ struct tevent_req *rpccli_samr_DeleteUser_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5868,10 +5304,6 @@ static void rpccli_samr_DeleteUser_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteUser, &state->orig); - } - tevent_req_done(req); } @@ -5908,10 +5340,6 @@ NTSTATUS rpccli_samr_DeleteUser(struct rpc_pipe_client *cli, /* 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, @@ -5922,10 +5350,6 @@ NTSTATUS rpccli_samr_DeleteUser(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_DeleteUser, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5975,10 +5399,6 @@ struct tevent_req *rpccli_samr_QueryUserInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6030,10 +5450,6 @@ static void rpccli_samr_QueryUserInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryUserInfo, &state->orig); - } - tevent_req_done(req); } @@ -6073,10 +5489,6 @@ NTSTATUS rpccli_samr_QueryUserInfo(struct rpc_pipe_client *cli, 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, @@ -6087,10 +5499,6 @@ NTSTATUS rpccli_samr_QueryUserInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryUserInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6140,10 +5548,6 @@ struct tevent_req *rpccli_samr_SetUserInfo_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6188,10 +5592,6 @@ static void rpccli_samr_SetUserInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetUserInfo, &state->orig); - } - tevent_req_done(req); } @@ -6232,10 +5632,6 @@ NTSTATUS rpccli_samr_SetUserInfo(struct rpc_pipe_client *cli, 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, @@ -6246,10 +5642,6 @@ NTSTATUS rpccli_samr_SetUserInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetUserInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6314,10 +5706,6 @@ struct tevent_req *rpccli_samr_ChangePasswordUser_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6362,10 +5750,6 @@ static void rpccli_samr_ChangePasswordUser_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser, &state->orig); - } - tevent_req_done(req); } @@ -6422,10 +5806,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser(struct rpc_pipe_client *cli, 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, @@ -6436,10 +5816,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6486,10 +5862,6 @@ struct tevent_req *rpccli_samr_GetGroupsForUser_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6541,10 +5913,6 @@ static void rpccli_samr_GetGroupsForUser_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetGroupsForUser, &state->orig); - } - tevent_req_done(req); } @@ -6582,10 +5950,6 @@ NTSTATUS rpccli_samr_GetGroupsForUser(struct rpc_pipe_client *cli, /* 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, @@ -6596,10 +5960,6 @@ NTSTATUS rpccli_samr_GetGroupsForUser(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetGroupsForUser, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6659,10 +6019,6 @@ struct tevent_req *rpccli_samr_QueryDisplayInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6716,10 +6072,6 @@ static void rpccli_samr_QueryDisplayInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo, &state->orig); - } - tevent_req_done(req); } @@ -6767,10 +6119,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo(struct rpc_pipe_client *cli, 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, @@ -6781,10 +6129,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6838,10 +6182,6 @@ struct tevent_req *rpccli_samr_GetDisplayEnumerationIndex_send(TALLOC_CTX *mem_c /* 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)) { @@ -6893,10 +6233,6 @@ static void rpccli_samr_GetDisplayEnumerationIndex_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetDisplayEnumerationIndex, &state->orig); - } - tevent_req_done(req); } @@ -6938,10 +6274,6 @@ NTSTATUS rpccli_samr_GetDisplayEnumerationIndex(struct rpc_pipe_client *cli, 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, @@ -6952,10 +6284,6 @@ NTSTATUS rpccli_samr_GetDisplayEnumerationIndex(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetDisplayEnumerationIndex, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7001,10 +6329,6 @@ struct tevent_req *rpccli_samr_TestPrivateFunctionsDomain_send(TALLOC_CTX *mem_c /* 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; @@ -7049,10 +6373,6 @@ static void rpccli_samr_TestPrivateFunctionsDomain_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_TestPrivateFunctionsDomain, &state->orig); - } - tevent_req_done(req); } @@ -7089,10 +6409,6 @@ NTSTATUS rpccli_samr_TestPrivateFunctionsDomain(struct rpc_pipe_client *cli, /* 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, @@ -7103,10 +6419,6 @@ NTSTATUS rpccli_samr_TestPrivateFunctionsDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_TestPrivateFunctionsDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7151,10 +6463,6 @@ struct tevent_req *rpccli_samr_TestPrivateFunctionsUser_send(TALLOC_CTX *mem_ctx /* 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; @@ -7199,10 +6507,6 @@ static void rpccli_samr_TestPrivateFunctionsUser_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_TestPrivateFunctionsUser, &state->orig); - } - tevent_req_done(req); } @@ -7239,10 +6543,6 @@ NTSTATUS rpccli_samr_TestPrivateFunctionsUser(struct rpc_pipe_client *cli, /* 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, @@ -7253,10 +6553,6 @@ NTSTATUS rpccli_samr_TestPrivateFunctionsUser(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_TestPrivateFunctionsUser, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7303,10 +6599,6 @@ struct tevent_req *rpccli_samr_GetUserPwInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7358,10 +6650,6 @@ static void rpccli_samr_GetUserPwInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetUserPwInfo, &state->orig); - } - tevent_req_done(req); } @@ -7399,10 +6687,6 @@ NTSTATUS rpccli_samr_GetUserPwInfo(struct rpc_pipe_client *cli, /* 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, @@ -7413,10 +6697,6 @@ NTSTATUS rpccli_samr_GetUserPwInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetUserPwInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7464,10 +6744,6 @@ struct tevent_req *rpccli_samr_RemoveMemberFromForeignDomain_send(TALLOC_CTX *me /* 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; @@ -7512,10 +6788,6 @@ static void rpccli_samr_RemoveMemberFromForeignDomain_done(struct tevent_req *su /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_RemoveMemberFromForeignDomain, &state->orig); - } - tevent_req_done(req); } @@ -7554,10 +6826,6 @@ NTSTATUS rpccli_samr_RemoveMemberFromForeignDomain(struct rpc_pipe_client *cli, 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, @@ -7568,10 +6836,6 @@ NTSTATUS rpccli_samr_RemoveMemberFromForeignDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_RemoveMemberFromForeignDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7620,10 +6884,6 @@ struct tevent_req *rpccli_samr_QueryDomainInfo2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7675,10 +6935,6 @@ static void rpccli_samr_QueryDomainInfo2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDomainInfo2, &state->orig); - } - tevent_req_done(req); } @@ -7718,10 +6974,6 @@ NTSTATUS rpccli_samr_QueryDomainInfo2(struct rpc_pipe_client *cli, 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, @@ -7732,10 +6984,6 @@ NTSTATUS rpccli_samr_QueryDomainInfo2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDomainInfo2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7785,10 +7033,6 @@ struct tevent_req *rpccli_samr_QueryUserInfo2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7840,10 +7084,6 @@ static void rpccli_samr_QueryUserInfo2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryUserInfo2, &state->orig); - } - tevent_req_done(req); } @@ -7883,10 +7123,6 @@ NTSTATUS rpccli_samr_QueryUserInfo2(struct rpc_pipe_client *cli, 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, @@ -7897,10 +7133,6 @@ NTSTATUS rpccli_samr_QueryUserInfo2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryUserInfo2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7960,10 +7192,6 @@ struct tevent_req *rpccli_samr_QueryDisplayInfo2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8017,10 +7245,6 @@ static void rpccli_samr_QueryDisplayInfo2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo2, &state->orig); - } - tevent_req_done(req); } @@ -8068,10 +7292,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo2(struct rpc_pipe_client *cli, 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, @@ -8082,10 +7302,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8139,10 +7355,6 @@ struct tevent_req *rpccli_samr_GetDisplayEnumerationIndex2_send(TALLOC_CTX *mem_ /* 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)) { @@ -8194,10 +7406,6 @@ static void rpccli_samr_GetDisplayEnumerationIndex2_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetDisplayEnumerationIndex2, &state->orig); - } - tevent_req_done(req); } @@ -8239,10 +7447,6 @@ NTSTATUS rpccli_samr_GetDisplayEnumerationIndex2(struct rpc_pipe_client *cli, 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, @@ -8253,10 +7457,6 @@ NTSTATUS rpccli_samr_GetDisplayEnumerationIndex2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetDisplayEnumerationIndex2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8314,10 +7514,6 @@ struct tevent_req *rpccli_samr_CreateUser2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8371,10 +7567,6 @@ static void rpccli_samr_CreateUser2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateUser2, &state->orig); - } - tevent_req_done(req); } @@ -8420,10 +7612,6 @@ NTSTATUS rpccli_samr_CreateUser2(struct rpc_pipe_client *cli, 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, @@ -8434,10 +7622,6 @@ NTSTATUS rpccli_samr_CreateUser2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_CreateUser2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8499,10 +7683,6 @@ struct tevent_req *rpccli_samr_QueryDisplayInfo3_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -8556,10 +7736,6 @@ static void rpccli_samr_QueryDisplayInfo3_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo3, &state->orig); - } - tevent_req_done(req); } @@ -8607,10 +7783,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo3(struct rpc_pipe_client *cli, 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, @@ -8621,10 +7793,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo3(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_QueryDisplayInfo3, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8674,10 +7842,6 @@ struct tevent_req *rpccli_samr_AddMultipleMembersToAlias_send(TALLOC_CTX *mem_ct /* 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; @@ -8722,10 +7886,6 @@ static void rpccli_samr_AddMultipleMembersToAlias_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_AddMultipleMembersToAlias, &state->orig); - } - tevent_req_done(req); } @@ -8764,10 +7924,6 @@ NTSTATUS rpccli_samr_AddMultipleMembersToAlias(struct rpc_pipe_client *cli, 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, @@ -8778,10 +7934,6 @@ NTSTATUS rpccli_samr_AddMultipleMembersToAlias(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_AddMultipleMembersToAlias, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8828,10 +7980,6 @@ struct tevent_req *rpccli_samr_RemoveMultipleMembersFromAlias_send(TALLOC_CTX *m /* 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; @@ -8876,10 +8024,6 @@ static void rpccli_samr_RemoveMultipleMembersFromAlias_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_RemoveMultipleMembersFromAlias, &state->orig); - } - tevent_req_done(req); } @@ -8918,10 +8062,6 @@ NTSTATUS rpccli_samr_RemoveMultipleMembersFromAlias(struct rpc_pipe_client *cli, 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, @@ -8932,10 +8072,6 @@ NTSTATUS rpccli_samr_RemoveMultipleMembersFromAlias(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_RemoveMultipleMembersFromAlias, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8986,10 +8122,6 @@ struct tevent_req *rpccli_samr_OemChangePasswordUser2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9034,10 +8166,6 @@ static void rpccli_samr_OemChangePasswordUser2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OemChangePasswordUser2, &state->orig); - } - tevent_req_done(req); } @@ -9080,10 +8208,6 @@ NTSTATUS rpccli_samr_OemChangePasswordUser2(struct rpc_pipe_client *cli, 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, @@ -9094,10 +8218,6 @@ NTSTATUS rpccli_samr_OemChangePasswordUser2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_OemChangePasswordUser2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9154,10 +8274,6 @@ struct tevent_req *rpccli_samr_ChangePasswordUser2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9202,10 +8318,6 @@ static void rpccli_samr_ChangePasswordUser2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser2, &state->orig); - } - tevent_req_done(req); } @@ -9254,10 +8366,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser2(struct rpc_pipe_client *cli, 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, @@ -9268,10 +8376,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9318,10 +8422,6 @@ struct tevent_req *rpccli_samr_GetDomPwInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9373,10 +8473,6 @@ static void rpccli_samr_GetDomPwInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetDomPwInfo, &state->orig); - } - tevent_req_done(req); } @@ -9414,10 +8510,6 @@ NTSTATUS rpccli_samr_GetDomPwInfo(struct rpc_pipe_client *cli, /* 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, @@ -9428,10 +8520,6 @@ NTSTATUS rpccli_samr_GetDomPwInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetDomPwInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9481,10 +8569,6 @@ struct tevent_req *rpccli_samr_Connect2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9536,10 +8620,6 @@ static void rpccli_samr_Connect2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect2, &state->orig); - } - tevent_req_done(req); } @@ -9579,10 +8659,6 @@ NTSTATUS rpccli_samr_Connect2(struct rpc_pipe_client *cli, 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, @@ -9593,10 +8669,6 @@ NTSTATUS rpccli_samr_Connect2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9646,10 +8718,6 @@ struct tevent_req *rpccli_samr_SetUserInfo2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9694,10 +8762,6 @@ static void rpccli_samr_SetUserInfo2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetUserInfo2, &state->orig); - } - tevent_req_done(req); } @@ -9738,10 +8802,6 @@ NTSTATUS rpccli_samr_SetUserInfo2(struct rpc_pipe_client *cli, 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, @@ -9752,10 +8812,6 @@ NTSTATUS rpccli_samr_SetUserInfo2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetUserInfo2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9806,10 +8862,6 @@ struct tevent_req *rpccli_samr_SetBootKeyInformation_send(TALLOC_CTX *mem_ctx, /* 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; @@ -9854,10 +8906,6 @@ static void rpccli_samr_SetBootKeyInformation_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetBootKeyInformation, &state->orig); - } - tevent_req_done(req); } @@ -9900,10 +8948,6 @@ NTSTATUS rpccli_samr_SetBootKeyInformation(struct rpc_pipe_client *cli, 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, @@ -9914,10 +8958,6 @@ NTSTATUS rpccli_samr_SetBootKeyInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetBootKeyInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9964,10 +9004,6 @@ struct tevent_req *rpccli_samr_GetBootKeyInformation_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -10019,10 +9055,6 @@ static void rpccli_samr_GetBootKeyInformation_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetBootKeyInformation, &state->orig); - } - tevent_req_done(req); } @@ -10060,10 +9092,6 @@ NTSTATUS rpccli_samr_GetBootKeyInformation(struct rpc_pipe_client *cli, /* 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, @@ -10074,10 +9102,6 @@ NTSTATUS rpccli_samr_GetBootKeyInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_GetBootKeyInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10129,10 +9153,6 @@ struct tevent_req *rpccli_samr_Connect3_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -10184,10 +9204,6 @@ static void rpccli_samr_Connect3_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect3, &state->orig); - } - tevent_req_done(req); } @@ -10229,10 +9245,6 @@ NTSTATUS rpccli_samr_Connect3(struct rpc_pipe_client *cli, 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, @@ -10243,10 +9255,6 @@ NTSTATUS rpccli_samr_Connect3(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect3, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10298,10 +9306,6 @@ struct tevent_req *rpccli_samr_Connect4_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -10353,10 +9357,6 @@ static void rpccli_samr_Connect4_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect4, &state->orig); - } - tevent_req_done(req); } @@ -10398,10 +9398,6 @@ NTSTATUS rpccli_samr_Connect4(struct rpc_pipe_client *cli, 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, @@ -10412,10 +9408,6 @@ NTSTATUS rpccli_samr_Connect4(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect4, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10479,10 +9471,6 @@ struct tevent_req *rpccli_samr_ChangePasswordUser3_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -10535,10 +9523,6 @@ static void rpccli_samr_ChangePasswordUser3_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser3, &state->orig); - } - tevent_req_done(req); } @@ -10591,10 +9575,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser3(struct rpc_pipe_client *cli, 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, @@ -10605,10 +9585,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser3(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ChangePasswordUser3, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10667,10 +9643,6 @@ struct tevent_req *rpccli_samr_Connect5_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -10724,10 +9696,6 @@ static void rpccli_samr_Connect5_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect5, &state->orig); - } - tevent_req_done(req); } @@ -10773,10 +9741,6 @@ NTSTATUS rpccli_samr_Connect5(struct rpc_pipe_client *cli, 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, @@ -10787,10 +9751,6 @@ NTSTATUS rpccli_samr_Connect5(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_Connect5, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10842,10 +9802,6 @@ struct tevent_req *rpccli_samr_RidToSid_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -10897,10 +9853,6 @@ static void rpccli_samr_RidToSid_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_RidToSid, &state->orig); - } - tevent_req_done(req); } @@ -10940,10 +9892,6 @@ NTSTATUS rpccli_samr_RidToSid(struct rpc_pipe_client *cli, 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, @@ -10954,10 +9902,6 @@ NTSTATUS rpccli_samr_RidToSid(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_RidToSid, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11007,10 +9951,6 @@ struct tevent_req *rpccli_samr_SetDsrmPassword_send(TALLOC_CTX *mem_ctx, /* 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; @@ -11055,10 +9995,6 @@ static void rpccli_samr_SetDsrmPassword_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetDsrmPassword, &state->orig); - } - tevent_req_done(req); } @@ -11099,10 +10035,6 @@ NTSTATUS rpccli_samr_SetDsrmPassword(struct rpc_pipe_client *cli, 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, @@ -11113,10 +10045,6 @@ NTSTATUS rpccli_samr_SetDsrmPassword(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_SetDsrmPassword, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11165,10 +10093,6 @@ struct tevent_req *rpccli_samr_ValidatePassword_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -11220,10 +10144,6 @@ static void rpccli_samr_ValidatePassword_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ValidatePassword, &state->orig); - } - tevent_req_done(req); } @@ -11263,10 +10183,6 @@ NTSTATUS rpccli_samr_ValidatePassword(struct rpc_pipe_client *cli, 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, @@ -11277,10 +10193,6 @@ NTSTATUS rpccli_samr_ValidatePassword(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(samr_ValidatePassword, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_spoolss.c b/librpc/gen_ndr/cli_spoolss.c index 710af774a4..fc2b8f0861 100644 --- a/librpc/gen_ndr/cli_spoolss.c +++ b/librpc/gen_ndr/cli_spoolss.c @@ -54,10 +54,6 @@ struct tevent_req *rpccli_spoolss_EnumPrinters_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -111,10 +107,6 @@ static void rpccli_spoolss_EnumPrinters_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinters, &state->orig); - } - tevent_req_done(req); } @@ -163,10 +155,6 @@ NTSTATUS rpccli_spoolss_EnumPrinters(struct rpc_pipe_client *cli, 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, @@ -177,10 +165,6 @@ NTSTATUS rpccli_spoolss_EnumPrinters(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinters, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -240,10 +224,6 @@ struct tevent_req *rpccli_spoolss_OpenPrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -295,10 +275,6 @@ static void rpccli_spoolss_OpenPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinter, &state->orig); - } - tevent_req_done(req); } @@ -343,10 +319,6 @@ NTSTATUS rpccli_spoolss_OpenPrinter(struct rpc_pipe_client *cli, 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, @@ -357,10 +329,6 @@ NTSTATUS rpccli_spoolss_OpenPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -416,10 +384,6 @@ struct tevent_req *rpccli_spoolss_SetJob_send(TALLOC_CTX *mem_ctx, /* 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; @@ -464,10 +428,6 @@ static void rpccli_spoolss_SetJob_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetJob, &state->orig); - } - tevent_req_done(req); } @@ -511,10 +471,6 @@ NTSTATUS rpccli_spoolss_SetJob(struct rpc_pipe_client *cli, 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, @@ -525,10 +481,6 @@ NTSTATUS rpccli_spoolss_SetJob(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetJob, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -589,10 +541,6 @@ struct tevent_req *rpccli_spoolss_GetJob_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -647,10 +595,6 @@ static void rpccli_spoolss_GetJob_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetJob, &state->orig); - } - tevent_req_done(req); } @@ -698,10 +642,6 @@ NTSTATUS rpccli_spoolss_GetJob(struct rpc_pipe_client *cli, 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, @@ -712,10 +652,6 @@ NTSTATUS rpccli_spoolss_GetJob(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetJob, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -784,10 +720,6 @@ struct tevent_req *rpccli_spoolss_EnumJobs_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -841,10 +773,6 @@ static void rpccli_spoolss_EnumJobs_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumJobs, &state->orig); - } - tevent_req_done(req); } @@ -895,10 +823,6 @@ NTSTATUS rpccli_spoolss_EnumJobs(struct rpc_pipe_client *cli, 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, @@ -909,10 +833,6 @@ NTSTATUS rpccli_spoolss_EnumJobs(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumJobs, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -972,10 +892,6 @@ struct tevent_req *rpccli_spoolss_AddPrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1027,10 +943,6 @@ static void rpccli_spoolss_AddPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinter, &state->orig); - } - tevent_req_done(req); } @@ -1075,10 +987,6 @@ NTSTATUS rpccli_spoolss_AddPrinter(struct rpc_pipe_client *cli, 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, @@ -1089,10 +997,6 @@ NTSTATUS rpccli_spoolss_AddPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1142,10 +1046,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1190,10 +1090,6 @@ static void rpccli_spoolss_DeletePrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinter, &state->orig); - } - tevent_req_done(req); } @@ -1231,10 +1127,6 @@ NTSTATUS rpccli_spoolss_DeletePrinter(struct rpc_pipe_client *cli, /* 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, @@ -1245,10 +1137,6 @@ NTSTATUS rpccli_spoolss_DeletePrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1305,10 +1193,6 @@ struct tevent_req *rpccli_spoolss_SetPrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1353,10 +1237,6 @@ static void rpccli_spoolss_SetPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetPrinter, &state->orig); - } - tevent_req_done(req); } @@ -1402,10 +1282,6 @@ NTSTATUS rpccli_spoolss_SetPrinter(struct rpc_pipe_client *cli, 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, @@ -1416,10 +1292,6 @@ NTSTATUS rpccli_spoolss_SetPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1478,10 +1350,6 @@ struct tevent_req *rpccli_spoolss_GetPrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1536,10 +1404,6 @@ static void rpccli_spoolss_GetPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinter, &state->orig); - } - tevent_req_done(req); } @@ -1585,10 +1449,6 @@ NTSTATUS rpccli_spoolss_GetPrinter(struct rpc_pipe_client *cli, 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, @@ -1599,10 +1459,6 @@ NTSTATUS rpccli_spoolss_GetPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1657,10 +1513,6 @@ struct tevent_req *rpccli_spoolss_AddPrinterDriver_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1705,10 +1557,6 @@ static void rpccli_spoolss_AddPrinterDriver_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterDriver, &state->orig); - } - tevent_req_done(req); } @@ -1748,10 +1596,6 @@ NTSTATUS rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client *cli, 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, @@ -1762,10 +1606,6 @@ NTSTATUS rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterDriver, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1828,10 +1668,6 @@ struct tevent_req *rpccli_spoolss_EnumPrinterDrivers_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1885,10 +1721,6 @@ static void rpccli_spoolss_EnumPrinterDrivers_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterDrivers, &state->orig); - } - tevent_req_done(req); } @@ -1937,10 +1769,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client *cli, 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, @@ -1951,10 +1779,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterDrivers, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2018,10 +1842,6 @@ struct tevent_req *rpccli_spoolss_GetPrinterDriver_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2076,10 +1896,6 @@ static void rpccli_spoolss_GetPrinterDriver_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriver, &state->orig); - } - tevent_req_done(req); } @@ -2127,10 +1943,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client *cli, 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, @@ -2141,10 +1953,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriver, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2209,10 +2017,6 @@ struct tevent_req *rpccli_spoolss_GetPrinterDriverDirectory_send(TALLOC_CTX *mem /* 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)) { @@ -2267,10 +2071,6 @@ static void rpccli_spoolss_GetPrinterDriverDirectory_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriverDirectory, &state->orig); - } - tevent_req_done(req); } @@ -2318,10 +2118,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriverDirectory(struct rpc_pipe_client *cli, 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, @@ -2332,10 +2128,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriverDirectory(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriverDirectory, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2392,10 +2184,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinterDriver_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2440,10 +2228,6 @@ static void rpccli_spoolss_DeletePrinterDriver_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDriver, &state->orig); - } - tevent_req_done(req); } @@ -2485,10 +2269,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterDriver(struct rpc_pipe_client *cli, 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, @@ -2499,10 +2279,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterDriver(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDriver, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2557,10 +2333,6 @@ struct tevent_req *rpccli_spoolss_AddPrintProcessor_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2605,10 +2377,6 @@ static void rpccli_spoolss_AddPrintProcessor_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrintProcessor, &state->orig); - } - tevent_req_done(req); } @@ -2652,10 +2420,6 @@ NTSTATUS rpccli_spoolss_AddPrintProcessor(struct rpc_pipe_client *cli, 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, @@ -2666,10 +2430,6 @@ NTSTATUS rpccli_spoolss_AddPrintProcessor(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrintProcessor, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2732,10 +2492,6 @@ struct tevent_req *rpccli_spoolss_EnumPrintProcessors_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2789,10 +2545,6 @@ static void rpccli_spoolss_EnumPrintProcessors_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrintProcessors, &state->orig); - } - tevent_req_done(req); } @@ -2841,10 +2593,6 @@ NTSTATUS rpccli_spoolss_EnumPrintProcessors(struct rpc_pipe_client *cli, 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, @@ -2855,10 +2603,6 @@ NTSTATUS rpccli_spoolss_EnumPrintProcessors(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrintProcessors, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2922,10 +2666,6 @@ struct tevent_req *rpccli_spoolss_GetPrintProcessorDirectory_send(TALLOC_CTX *me /* 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)) { @@ -2980,10 +2720,6 @@ static void rpccli_spoolss_GetPrintProcessorDirectory_done(struct tevent_req *su /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrintProcessorDirectory, &state->orig); - } - tevent_req_done(req); } @@ -3031,10 +2767,6 @@ NTSTATUS rpccli_spoolss_GetPrintProcessorDirectory(struct rpc_pipe_client *cli, 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, @@ -3045,10 +2777,6 @@ NTSTATUS rpccli_spoolss_GetPrintProcessorDirectory(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrintProcessorDirectory, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3107,10 +2835,6 @@ struct tevent_req *rpccli_spoolss_StartDocPrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3162,10 +2886,6 @@ static void rpccli_spoolss_StartDocPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_StartDocPrinter, &state->orig); - } - tevent_req_done(req); } @@ -3208,10 +2928,6 @@ NTSTATUS rpccli_spoolss_StartDocPrinter(struct rpc_pipe_client *cli, 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, @@ -3222,10 +2938,6 @@ NTSTATUS rpccli_spoolss_StartDocPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_StartDocPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3275,10 +2987,6 @@ struct tevent_req *rpccli_spoolss_StartPagePrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3323,10 +3031,6 @@ static void rpccli_spoolss_StartPagePrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_StartPagePrinter, &state->orig); - } - tevent_req_done(req); } @@ -3364,10 +3068,6 @@ NTSTATUS rpccli_spoolss_StartPagePrinter(struct rpc_pipe_client *cli, /* 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, @@ -3378,10 +3078,6 @@ NTSTATUS rpccli_spoolss_StartPagePrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_StartPagePrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3436,10 +3132,6 @@ struct tevent_req *rpccli_spoolss_WritePrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3491,10 +3183,6 @@ static void rpccli_spoolss_WritePrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_WritePrinter, &state->orig); - } - tevent_req_done(req); } @@ -3537,10 +3225,6 @@ NTSTATUS rpccli_spoolss_WritePrinter(struct rpc_pipe_client *cli, 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, @@ -3551,10 +3235,6 @@ NTSTATUS rpccli_spoolss_WritePrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_WritePrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3604,10 +3284,6 @@ struct tevent_req *rpccli_spoolss_EndPagePrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3652,10 +3328,6 @@ static void rpccli_spoolss_EndPagePrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EndPagePrinter, &state->orig); - } - tevent_req_done(req); } @@ -3693,10 +3365,6 @@ NTSTATUS rpccli_spoolss_EndPagePrinter(struct rpc_pipe_client *cli, /* 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, @@ -3707,10 +3375,6 @@ NTSTATUS rpccli_spoolss_EndPagePrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EndPagePrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3759,10 +3423,6 @@ struct tevent_req *rpccli_spoolss_AbortPrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3807,10 +3467,6 @@ static void rpccli_spoolss_AbortPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AbortPrinter, &state->orig); - } - tevent_req_done(req); } @@ -3848,10 +3504,6 @@ NTSTATUS rpccli_spoolss_AbortPrinter(struct rpc_pipe_client *cli, /* 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, @@ -3862,10 +3514,6 @@ NTSTATUS rpccli_spoolss_AbortPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AbortPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3920,10 +3568,6 @@ struct tevent_req *rpccli_spoolss_ReadPrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3976,10 +3620,6 @@ static void rpccli_spoolss_ReadPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ReadPrinter, &state->orig); - } - tevent_req_done(req); } @@ -4021,10 +3661,6 @@ NTSTATUS rpccli_spoolss_ReadPrinter(struct rpc_pipe_client *cli, 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, @@ -4035,10 +3671,6 @@ NTSTATUS rpccli_spoolss_ReadPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ReadPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4089,10 +3721,6 @@ struct tevent_req *rpccli_spoolss_EndDocPrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4137,10 +3765,6 @@ static void rpccli_spoolss_EndDocPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EndDocPrinter, &state->orig); - } - tevent_req_done(req); } @@ -4178,10 +3802,6 @@ NTSTATUS rpccli_spoolss_EndDocPrinter(struct rpc_pipe_client *cli, /* 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, @@ -4192,10 +3812,6 @@ NTSTATUS rpccli_spoolss_EndDocPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EndDocPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4253,10 +3869,6 @@ struct tevent_req *rpccli_spoolss_AddJob_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4311,10 +3923,6 @@ static void rpccli_spoolss_AddJob_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddJob, &state->orig); - } - tevent_req_done(req); } @@ -4359,10 +3967,6 @@ NTSTATUS rpccli_spoolss_AddJob(struct rpc_pipe_client *cli, 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, @@ -4373,10 +3977,6 @@ NTSTATUS rpccli_spoolss_AddJob(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddJob, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4431,10 +4031,6 @@ struct tevent_req *rpccli_spoolss_ScheduleJob_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4479,10 +4075,6 @@ static void rpccli_spoolss_ScheduleJob_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ScheduleJob, &state->orig); - } - tevent_req_done(req); } @@ -4522,10 +4114,6 @@ NTSTATUS rpccli_spoolss_ScheduleJob(struct rpc_pipe_client *cli, 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, @@ -4536,10 +4124,6 @@ NTSTATUS rpccli_spoolss_ScheduleJob(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ScheduleJob, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4598,10 +4182,6 @@ struct tevent_req *rpccli_spoolss_GetPrinterData_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4655,10 +4235,6 @@ static void rpccli_spoolss_GetPrinterData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterData, &state->orig); - } - tevent_req_done(req); } @@ -4703,10 +4279,6 @@ NTSTATUS rpccli_spoolss_GetPrinterData(struct rpc_pipe_client *cli, 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, @@ -4717,10 +4289,6 @@ NTSTATUS rpccli_spoolss_GetPrinterData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4780,10 +4348,6 @@ struct tevent_req *rpccli_spoolss_SetPrinterData_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4828,10 +4392,6 @@ static void rpccli_spoolss_SetPrinterData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetPrinterData, &state->orig); - } - tevent_req_done(req); } @@ -4877,10 +4437,6 @@ NTSTATUS rpccli_spoolss_SetPrinterData(struct rpc_pipe_client *cli, 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, @@ -4891,10 +4447,6 @@ NTSTATUS rpccli_spoolss_SetPrinterData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetPrinterData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4941,10 +4493,6 @@ struct tevent_req *rpccli_spoolss_WaitForPrinterChange_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4989,10 +4537,6 @@ static void rpccli_spoolss_WaitForPrinterChange_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_WaitForPrinterChange, &state->orig); - } - tevent_req_done(req); } @@ -5028,10 +4572,6 @@ NTSTATUS rpccli_spoolss_WaitForPrinterChange(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_WaitForPrinterChange, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -5042,10 +4582,6 @@ NTSTATUS rpccli_spoolss_WaitForPrinterChange(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_WaitForPrinterChange, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5095,10 +4631,6 @@ struct tevent_req *rpccli_spoolss_ClosePrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5150,10 +4682,6 @@ static void rpccli_spoolss_ClosePrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ClosePrinter, &state->orig); - } - tevent_req_done(req); } @@ -5191,10 +4719,6 @@ NTSTATUS rpccli_spoolss_ClosePrinter(struct rpc_pipe_client *cli, /* 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, @@ -5205,10 +4729,6 @@ NTSTATUS rpccli_spoolss_ClosePrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ClosePrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5262,10 +4782,6 @@ struct tevent_req *rpccli_spoolss_AddForm_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5310,10 +4826,6 @@ static void rpccli_spoolss_AddForm_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddForm, &state->orig); - } - tevent_req_done(req); } @@ -5355,10 +4867,6 @@ NTSTATUS rpccli_spoolss_AddForm(struct rpc_pipe_client *cli, 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, @@ -5369,10 +4877,6 @@ NTSTATUS rpccli_spoolss_AddForm(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddForm, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5423,10 +4927,6 @@ struct tevent_req *rpccli_spoolss_DeleteForm_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5471,10 +4971,6 @@ static void rpccli_spoolss_DeleteForm_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeleteForm, &state->orig); - } - tevent_req_done(req); } @@ -5514,10 +5010,6 @@ NTSTATUS rpccli_spoolss_DeleteForm(struct rpc_pipe_client *cli, 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, @@ -5528,10 +5020,6 @@ NTSTATUS rpccli_spoolss_DeleteForm(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeleteForm, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5592,10 +5080,6 @@ struct tevent_req *rpccli_spoolss_GetForm_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5650,10 +5134,6 @@ static void rpccli_spoolss_GetForm_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetForm, &state->orig); - } - tevent_req_done(req); } @@ -5701,10 +5181,6 @@ NTSTATUS rpccli_spoolss_GetForm(struct rpc_pipe_client *cli, 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, @@ -5715,10 +5191,6 @@ NTSTATUS rpccli_spoolss_GetForm(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetForm, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5777,10 +5249,6 @@ struct tevent_req *rpccli_spoolss_SetForm_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5825,10 +5293,6 @@ static void rpccli_spoolss_SetForm_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetForm, &state->orig); - } - tevent_req_done(req); } @@ -5872,10 +5336,6 @@ NTSTATUS rpccli_spoolss_SetForm(struct rpc_pipe_client *cli, 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, @@ -5886,10 +5346,6 @@ NTSTATUS rpccli_spoolss_SetForm(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetForm, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5950,10 +5406,6 @@ struct tevent_req *rpccli_spoolss_EnumForms_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6007,10 +5459,6 @@ static void rpccli_spoolss_EnumForms_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumForms, &state->orig); - } - tevent_req_done(req); } @@ -6057,10 +5505,6 @@ NTSTATUS rpccli_spoolss_EnumForms(struct rpc_pipe_client *cli, 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, @@ -6071,10 +5515,6 @@ NTSTATUS rpccli_spoolss_EnumForms(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumForms, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6138,10 +5578,6 @@ struct tevent_req *rpccli_spoolss_EnumPorts_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6195,10 +5631,6 @@ static void rpccli_spoolss_EnumPorts_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPorts, &state->orig); - } - tevent_req_done(req); } @@ -6245,10 +5677,6 @@ NTSTATUS rpccli_spoolss_EnumPorts(struct rpc_pipe_client *cli, 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, @@ -6259,10 +5687,6 @@ NTSTATUS rpccli_spoolss_EnumPorts(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPorts, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6326,10 +5750,6 @@ struct tevent_req *rpccli_spoolss_EnumMonitors_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6383,10 +5803,6 @@ static void rpccli_spoolss_EnumMonitors_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumMonitors, &state->orig); - } - tevent_req_done(req); } @@ -6433,10 +5849,6 @@ NTSTATUS rpccli_spoolss_EnumMonitors(struct rpc_pipe_client *cli, 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, @@ -6447,10 +5859,6 @@ NTSTATUS rpccli_spoolss_EnumMonitors(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumMonitors, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6506,10 +5914,6 @@ struct tevent_req *rpccli_spoolss_AddPort_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6554,10 +5958,6 @@ static void rpccli_spoolss_AddPort_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPort, &state->orig); - } - tevent_req_done(req); } @@ -6599,10 +5999,6 @@ NTSTATUS rpccli_spoolss_AddPort(struct rpc_pipe_client *cli, 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, @@ -6613,10 +6009,6 @@ NTSTATUS rpccli_spoolss_AddPort(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPort, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6663,10 +6055,6 @@ struct tevent_req *rpccli_spoolss_ConfigurePort_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6711,10 +6099,6 @@ static void rpccli_spoolss_ConfigurePort_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ConfigurePort, &state->orig); - } - tevent_req_done(req); } @@ -6750,10 +6134,6 @@ NTSTATUS rpccli_spoolss_ConfigurePort(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_ConfigurePort, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -6764,10 +6144,6 @@ NTSTATUS rpccli_spoolss_ConfigurePort(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ConfigurePort, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6814,10 +6190,6 @@ struct tevent_req *rpccli_spoolss_DeletePort_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6862,10 +6234,6 @@ static void rpccli_spoolss_DeletePort_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePort, &state->orig); - } - tevent_req_done(req); } @@ -6901,10 +6269,6 @@ NTSTATUS rpccli_spoolss_DeletePort(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_DeletePort, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -6915,10 +6279,6 @@ NTSTATUS rpccli_spoolss_DeletePort(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePort, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6971,10 +6331,6 @@ struct tevent_req *rpccli_spoolss_CreatePrinterIC_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7026,10 +6382,6 @@ static void rpccli_spoolss_CreatePrinterIC_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_CreatePrinterIC, &state->orig); - } - tevent_req_done(req); } @@ -7070,10 +6422,6 @@ NTSTATUS rpccli_spoolss_CreatePrinterIC(struct rpc_pipe_client *cli, 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, @@ -7084,10 +6432,6 @@ NTSTATUS rpccli_spoolss_CreatePrinterIC(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_CreatePrinterIC, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7135,10 +6479,6 @@ struct tevent_req *rpccli_spoolss_PlayGDIScriptOnPrinterIC_send(TALLOC_CTX *mem_ /* 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; @@ -7183,10 +6523,6 @@ static void rpccli_spoolss_PlayGDIScriptOnPrinterIC_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_PlayGDIScriptOnPrinterIC, &state->orig); - } - tevent_req_done(req); } @@ -7222,10 +6558,6 @@ NTSTATUS rpccli_spoolss_PlayGDIScriptOnPrinterIC(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_PlayGDIScriptOnPrinterIC, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -7236,10 +6568,6 @@ NTSTATUS rpccli_spoolss_PlayGDIScriptOnPrinterIC(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_PlayGDIScriptOnPrinterIC, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7289,10 +6617,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinterIC_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7344,10 +6668,6 @@ static void rpccli_spoolss_DeletePrinterIC_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterIC, &state->orig); - } - tevent_req_done(req); } @@ -7385,10 +6705,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterIC(struct rpc_pipe_client *cli, /* 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, @@ -7399,10 +6715,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterIC(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterIC, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7450,10 +6762,6 @@ struct tevent_req *rpccli_spoolss_AddPrinterConnection_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7498,10 +6806,6 @@ static void rpccli_spoolss_AddPrinterConnection_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterConnection, &state->orig); - } - tevent_req_done(req); } @@ -7537,10 +6841,6 @@ NTSTATUS rpccli_spoolss_AddPrinterConnection(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_AddPrinterConnection, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -7551,10 +6851,6 @@ NTSTATUS rpccli_spoolss_AddPrinterConnection(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterConnection, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7601,10 +6897,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinterConnection_send(TALLOC_CTX *mem_c /* 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; @@ -7649,10 +6941,6 @@ static void rpccli_spoolss_DeletePrinterConnection_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterConnection, &state->orig); - } - tevent_req_done(req); } @@ -7688,10 +6976,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterConnection(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_DeletePrinterConnection, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -7702,10 +6986,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterConnection(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterConnection, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7752,10 +7032,6 @@ struct tevent_req *rpccli_spoolss_PrinterMessageBox_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7800,10 +7076,6 @@ static void rpccli_spoolss_PrinterMessageBox_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_PrinterMessageBox, &state->orig); - } - tevent_req_done(req); } @@ -7839,10 +7111,6 @@ NTSTATUS rpccli_spoolss_PrinterMessageBox(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_PrinterMessageBox, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -7853,10 +7121,6 @@ NTSTATUS rpccli_spoolss_PrinterMessageBox(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_PrinterMessageBox, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7903,10 +7167,6 @@ struct tevent_req *rpccli_spoolss_AddMonitor_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7951,10 +7211,6 @@ static void rpccli_spoolss_AddMonitor_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddMonitor, &state->orig); - } - tevent_req_done(req); } @@ -7990,10 +7246,6 @@ NTSTATUS rpccli_spoolss_AddMonitor(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_AddMonitor, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -8004,10 +7256,6 @@ NTSTATUS rpccli_spoolss_AddMonitor(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddMonitor, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8054,10 +7302,6 @@ struct tevent_req *rpccli_spoolss_DeleteMonitor_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8102,10 +7346,6 @@ static void rpccli_spoolss_DeleteMonitor_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeleteMonitor, &state->orig); - } - tevent_req_done(req); } @@ -8141,10 +7381,6 @@ NTSTATUS rpccli_spoolss_DeleteMonitor(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_DeleteMonitor, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -8155,10 +7391,6 @@ NTSTATUS rpccli_spoolss_DeleteMonitor(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeleteMonitor, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8205,10 +7437,6 @@ struct tevent_req *rpccli_spoolss_DeletePrintProcessor_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8253,10 +7481,6 @@ static void rpccli_spoolss_DeletePrintProcessor_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrintProcessor, &state->orig); - } - tevent_req_done(req); } @@ -8292,10 +7516,6 @@ NTSTATUS rpccli_spoolss_DeletePrintProcessor(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_DeletePrintProcessor, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -8306,10 +7526,6 @@ NTSTATUS rpccli_spoolss_DeletePrintProcessor(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrintProcessor, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8356,10 +7572,6 @@ struct tevent_req *rpccli_spoolss_AddPrintProvidor_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8404,10 +7616,6 @@ static void rpccli_spoolss_AddPrintProvidor_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrintProvidor, &state->orig); - } - tevent_req_done(req); } @@ -8443,10 +7651,6 @@ NTSTATUS rpccli_spoolss_AddPrintProvidor(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_AddPrintProvidor, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -8457,10 +7661,6 @@ NTSTATUS rpccli_spoolss_AddPrintProvidor(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrintProvidor, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8507,10 +7707,6 @@ struct tevent_req *rpccli_spoolss_DeletePrintProvidor_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8555,10 +7751,6 @@ static void rpccli_spoolss_DeletePrintProvidor_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrintProvidor, &state->orig); - } - tevent_req_done(req); } @@ -8594,10 +7786,6 @@ NTSTATUS rpccli_spoolss_DeletePrintProvidor(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_DeletePrintProvidor, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -8608,10 +7796,6 @@ NTSTATUS rpccli_spoolss_DeletePrintProvidor(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrintProvidor, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8674,10 +7858,6 @@ struct tevent_req *rpccli_spoolss_EnumPrintProcDataTypes_send(TALLOC_CTX *mem_ct /* 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)) { @@ -8731,10 +7911,6 @@ static void rpccli_spoolss_EnumPrintProcDataTypes_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrintProcDataTypes, &state->orig); - } - tevent_req_done(req); } @@ -8783,10 +7959,6 @@ NTSTATUS rpccli_spoolss_EnumPrintProcDataTypes(struct rpc_pipe_client *cli, 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, @@ -8797,10 +7969,6 @@ NTSTATUS rpccli_spoolss_EnumPrintProcDataTypes(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrintProcDataTypes, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8856,10 +8024,6 @@ struct tevent_req *rpccli_spoolss_ResetPrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8904,10 +8068,6 @@ static void rpccli_spoolss_ResetPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ResetPrinter, &state->orig); - } - tevent_req_done(req); } @@ -8949,10 +8109,6 @@ NTSTATUS rpccli_spoolss_ResetPrinter(struct rpc_pipe_client *cli, 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, @@ -8963,10 +8119,6 @@ NTSTATUS rpccli_spoolss_ResetPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ResetPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9035,10 +8187,6 @@ struct tevent_req *rpccli_spoolss_GetPrinterDriver2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9095,10 +8243,6 @@ static void rpccli_spoolss_GetPrinterDriver2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriver2, &state->orig); - } - tevent_req_done(req); } @@ -9152,10 +8296,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client *cli, 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, @@ -9166,10 +8306,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriver2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9222,10 +8358,6 @@ struct tevent_req *rpccli_spoolss_FindFirstPrinterChangeNotification_send(TALLOC /* 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; @@ -9270,10 +8402,6 @@ static void rpccli_spoolss_FindFirstPrinterChangeNotification_done(struct tevent /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_FindFirstPrinterChangeNotification, &state->orig); - } - tevent_req_done(req); } @@ -9309,10 +8437,6 @@ NTSTATUS rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_clien /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_FindFirstPrinterChangeNotification, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -9323,10 +8447,6 @@ NTSTATUS rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_clien return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_FindFirstPrinterChangeNotification, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9373,10 +8493,6 @@ struct tevent_req *rpccli_spoolss_FindNextPrinterChangeNotification_send(TALLOC_ /* 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; @@ -9421,10 +8537,6 @@ static void rpccli_spoolss_FindNextPrinterChangeNotification_done(struct tevent_ /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_FindNextPrinterChangeNotification, &state->orig); - } - tevent_req_done(req); } @@ -9460,10 +8572,6 @@ NTSTATUS rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_FindNextPrinterChangeNotification, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -9474,10 +8582,6 @@ NTSTATUS rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_FindNextPrinterChangeNotification, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9526,10 +8630,6 @@ struct tevent_req *rpccli_spoolss_FindClosePrinterNotify_send(TALLOC_CTX *mem_ct /* 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; @@ -9574,10 +8674,6 @@ static void rpccli_spoolss_FindClosePrinterNotify_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_FindClosePrinterNotify, &state->orig); - } - tevent_req_done(req); } @@ -9615,10 +8711,6 @@ NTSTATUS rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client *cli, /* 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, @@ -9629,10 +8721,6 @@ NTSTATUS rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_FindClosePrinterNotify, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9679,10 +8767,6 @@ struct tevent_req *rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld_se /* 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; @@ -9727,10 +8811,6 @@ static void rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld_done(stru /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterFindFirstPrinterChangeNotificationOld, &state->orig); - } - tevent_req_done(req); } @@ -9766,10 +8846,6 @@ NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_p /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_RouterFindFirstPrinterChangeNotificationOld, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -9780,10 +8856,6 @@ NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_p return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterFindFirstPrinterChangeNotificationOld, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9842,10 +8914,6 @@ struct tevent_req *rpccli_spoolss_ReplyOpenPrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -9897,10 +8965,6 @@ static void rpccli_spoolss_ReplyOpenPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ReplyOpenPrinter, &state->orig); - } - tevent_req_done(req); } @@ -9947,10 +9011,6 @@ NTSTATUS rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client *cli, 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, @@ -9961,10 +9021,6 @@ NTSTATUS rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ReplyOpenPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10020,10 +9076,6 @@ struct tevent_req *rpccli_spoolss_RouterReplyPrinter_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10068,10 +9120,6 @@ static void rpccli_spoolss_RouterReplyPrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterReplyPrinter, &state->orig); - } - tevent_req_done(req); } @@ -10115,10 +9163,6 @@ NTSTATUS rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client *cli, 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, @@ -10129,10 +9173,6 @@ NTSTATUS rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterReplyPrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10182,10 +9222,6 @@ struct tevent_req *rpccli_spoolss_ReplyClosePrinter_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -10237,10 +9273,6 @@ static void rpccli_spoolss_ReplyClosePrinter_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ReplyClosePrinter, &state->orig); - } - tevent_req_done(req); } @@ -10278,10 +9310,6 @@ NTSTATUS rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client *cli, /* 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, @@ -10292,10 +9320,6 @@ NTSTATUS rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ReplyClosePrinter, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10343,10 +9367,6 @@ struct tevent_req *rpccli_spoolss_AddPortEx_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10391,10 +9411,6 @@ static void rpccli_spoolss_AddPortEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPortEx, &state->orig); - } - tevent_req_done(req); } @@ -10430,10 +9446,6 @@ NTSTATUS rpccli_spoolss_AddPortEx(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_AddPortEx, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -10444,10 +9456,6 @@ NTSTATUS rpccli_spoolss_AddPortEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPortEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10494,10 +9502,6 @@ struct tevent_req *rpccli_spoolss_RouterFindFirstPrinterChangeNotification_send( /* 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; @@ -10542,10 +9546,6 @@ static void rpccli_spoolss_RouterFindFirstPrinterChangeNotification_done(struct /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterFindFirstPrinterChangeNotification, &state->orig); - } - tevent_req_done(req); } @@ -10581,10 +9581,6 @@ NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_RouterFindFirstPrinterChangeNotification, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -10595,10 +9591,6 @@ NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterFindFirstPrinterChangeNotification, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10645,10 +9637,6 @@ struct tevent_req *rpccli_spoolss_SpoolerInit_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10693,10 +9681,6 @@ static void rpccli_spoolss_SpoolerInit_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SpoolerInit, &state->orig); - } - tevent_req_done(req); } @@ -10732,10 +9716,6 @@ NTSTATUS rpccli_spoolss_SpoolerInit(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_SpoolerInit, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -10746,10 +9726,6 @@ NTSTATUS rpccli_spoolss_SpoolerInit(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SpoolerInit, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10796,10 +9772,6 @@ struct tevent_req *rpccli_spoolss_ResetPrinterEx_send(TALLOC_CTX *mem_ctx, /* 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; @@ -10844,10 +9816,6 @@ static void rpccli_spoolss_ResetPrinterEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ResetPrinterEx, &state->orig); - } - tevent_req_done(req); } @@ -10883,10 +9851,6 @@ NTSTATUS rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_ResetPrinterEx, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -10897,10 +9861,6 @@ NTSTATUS rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_ResetPrinterEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -10959,10 +9919,6 @@ struct tevent_req *rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx_send(TALL /* 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; @@ -11007,10 +9963,6 @@ static void rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx_done(struct teve /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RemoteFindFirstPrinterChangeNotifyEx, &state->orig); - } - tevent_req_done(req); } @@ -11058,10 +10010,6 @@ NTSTATUS rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_cli 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, @@ -11072,10 +10020,6 @@ NTSTATUS rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_cli return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RemoteFindFirstPrinterChangeNotifyEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11134,10 +10078,6 @@ struct tevent_req *rpccli_spoolss_RouterReplyPrinterEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -11189,10 +10129,6 @@ static void rpccli_spoolss_RouterReplyPrinterEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterReplyPrinterEx, &state->orig); - } - tevent_req_done(req); } @@ -11239,10 +10175,6 @@ NTSTATUS rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client *cli, 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, @@ -11253,10 +10185,6 @@ NTSTATUS rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterReplyPrinterEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11312,10 +10240,6 @@ struct tevent_req *rpccli_spoolss_RouterRefreshPrinterChangeNotify_send(TALLOC_C /* 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)) { @@ -11367,10 +10291,6 @@ static void rpccli_spoolss_RouterRefreshPrinterChangeNotify_done(struct tevent_r /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterRefreshPrinterChangeNotify, &state->orig); - } - tevent_req_done(req); } @@ -11413,10 +10333,6 @@ NTSTATUS rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client 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, @@ -11427,10 +10343,6 @@ NTSTATUS rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_RouterRefreshPrinterChangeNotify, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11478,10 +10390,6 @@ struct tevent_req *rpccli_spoolss_44_send(TALLOC_CTX *mem_ctx, /* 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; @@ -11526,10 +10434,6 @@ static void rpccli_spoolss_44_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_44, &state->orig); - } - tevent_req_done(req); } @@ -11565,10 +10469,6 @@ NTSTATUS rpccli_spoolss_44(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_44, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -11579,10 +10479,6 @@ NTSTATUS rpccli_spoolss_44(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_44, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11643,10 +10539,6 @@ struct tevent_req *rpccli_spoolss_OpenPrinterEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -11698,10 +10590,6 @@ static void rpccli_spoolss_OpenPrinterEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinterEx, &state->orig); - } - tevent_req_done(req); } @@ -11750,10 +10638,6 @@ NTSTATUS rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client *cli, 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, @@ -11764,10 +10648,6 @@ NTSTATUS rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinterEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11827,10 +10707,6 @@ struct tevent_req *rpccli_spoolss_AddPrinterEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -11882,10 +10758,6 @@ static void rpccli_spoolss_AddPrinterEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterEx, &state->orig); - } - tevent_req_done(req); } @@ -11932,10 +10804,6 @@ NTSTATUS rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client *cli, 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, @@ -11946,10 +10814,6 @@ NTSTATUS rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -11997,10 +10861,6 @@ struct tevent_req *rpccli_spoolss_47_send(TALLOC_CTX *mem_ctx, /* 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; @@ -12045,10 +10905,6 @@ static void rpccli_spoolss_47_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_47, &state->orig); - } - tevent_req_done(req); } @@ -12084,10 +10940,6 @@ NTSTATUS rpccli_spoolss_47(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_47, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -12098,10 +10950,6 @@ NTSTATUS rpccli_spoolss_47(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_47, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12166,10 +11014,6 @@ struct tevent_req *rpccli_spoolss_EnumPrinterData_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -12225,10 +11069,6 @@ static void rpccli_spoolss_EnumPrinterData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterData, &state->orig); - } - tevent_req_done(req); } @@ -12277,10 +11117,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client *cli, 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, @@ -12291,10 +11127,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12350,10 +11182,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinterData_send(TALLOC_CTX *mem_ctx, /* 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; @@ -12398,10 +11226,6 @@ static void rpccli_spoolss_DeletePrinterData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterData, &state->orig); - } - tevent_req_done(req); } @@ -12441,10 +11265,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client *cli, 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, @@ -12455,10 +11275,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12505,10 +11321,6 @@ struct tevent_req *rpccli_spoolss_4a_send(TALLOC_CTX *mem_ctx, /* 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; @@ -12553,10 +11365,6 @@ static void rpccli_spoolss_4a_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_4a, &state->orig); - } - tevent_req_done(req); } @@ -12592,10 +11400,6 @@ NTSTATUS rpccli_spoolss_4a(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_4a, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -12606,10 +11410,6 @@ NTSTATUS rpccli_spoolss_4a(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_4a, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12656,10 +11456,6 @@ struct tevent_req *rpccli_spoolss_4b_send(TALLOC_CTX *mem_ctx, /* 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; @@ -12704,10 +11500,6 @@ static void rpccli_spoolss_4b_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_4b, &state->orig); - } - tevent_req_done(req); } @@ -12743,10 +11535,6 @@ NTSTATUS rpccli_spoolss_4b(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_4b, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -12757,10 +11545,6 @@ NTSTATUS rpccli_spoolss_4b(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_4b, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12807,10 +11591,6 @@ struct tevent_req *rpccli_spoolss_4c_send(TALLOC_CTX *mem_ctx, /* 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; @@ -12855,10 +11635,6 @@ static void rpccli_spoolss_4c_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_4c, &state->orig); - } - tevent_req_done(req); } @@ -12894,10 +11670,6 @@ NTSTATUS rpccli_spoolss_4c(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_4c, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -12908,10 +11680,6 @@ NTSTATUS rpccli_spoolss_4c(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_4c, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -12970,10 +11738,6 @@ struct tevent_req *rpccli_spoolss_SetPrinterDataEx_send(TALLOC_CTX *mem_ctx, /* 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; @@ -13018,10 +11782,6 @@ static void rpccli_spoolss_SetPrinterDataEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetPrinterDataEx, &state->orig); - } - tevent_req_done(req); } @@ -13069,10 +11829,6 @@ NTSTATUS rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client *cli, 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, @@ -13083,10 +11839,6 @@ NTSTATUS rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_SetPrinterDataEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -13147,10 +11899,6 @@ struct tevent_req *rpccli_spoolss_GetPrinterDataEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -13204,10 +11952,6 @@ static void rpccli_spoolss_GetPrinterDataEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDataEx, &state->orig); - } - tevent_req_done(req); } @@ -13254,10 +11998,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client *cli, 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, @@ -13268,10 +12008,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDataEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -13333,10 +12069,6 @@ struct tevent_req *rpccli_spoolss_EnumPrinterDataEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -13390,10 +12122,6 @@ static void rpccli_spoolss_EnumPrinterDataEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterDataEx, &state->orig); - } - tevent_req_done(req); } @@ -13438,10 +12166,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli, 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, @@ -13452,10 +12176,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterDataEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -13515,10 +12235,6 @@ struct tevent_req *rpccli_spoolss_EnumPrinterKey_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -13571,10 +12287,6 @@ static void rpccli_spoolss_EnumPrinterKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterKey, &state->orig); - } - tevent_req_done(req); } @@ -13618,10 +12330,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client *cli, 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, @@ -13632,10 +12340,6 @@ NTSTATUS rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -13690,10 +12394,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinterDataEx_send(TALLOC_CTX *mem_ctx, /* 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; @@ -13738,10 +12438,6 @@ static void rpccli_spoolss_DeletePrinterDataEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDataEx, &state->orig); - } - tevent_req_done(req); } @@ -13783,10 +12479,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client *cli, 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, @@ -13797,10 +12489,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDataEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -13851,10 +12539,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinterKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -13899,10 +12583,6 @@ static void rpccli_spoolss_DeletePrinterKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterKey, &state->orig); - } - tevent_req_done(req); } @@ -13942,10 +12622,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client *cli, 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, @@ -13956,10 +12632,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -14006,10 +12678,6 @@ struct tevent_req *rpccli_spoolss_53_send(TALLOC_CTX *mem_ctx, /* 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; @@ -14054,10 +12722,6 @@ static void rpccli_spoolss_53_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_53, &state->orig); - } - tevent_req_done(req); } @@ -14093,10 +12757,6 @@ NTSTATUS rpccli_spoolss_53(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_53, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -14107,10 +12767,6 @@ NTSTATUS rpccli_spoolss_53(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_53, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -14167,10 +12823,6 @@ struct tevent_req *rpccli_spoolss_DeletePrinterDriverEx_send(TALLOC_CTX *mem_ctx /* 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; @@ -14215,10 +12867,6 @@ static void rpccli_spoolss_DeletePrinterDriverEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDriverEx, &state->orig); - } - tevent_req_done(req); } @@ -14264,10 +12912,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client *cli, 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, @@ -14278,10 +12922,6 @@ NTSTATUS rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_DeletePrinterDriverEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -14328,10 +12968,6 @@ struct tevent_req *rpccli_spoolss_55_send(TALLOC_CTX *mem_ctx, /* 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; @@ -14376,10 +13012,6 @@ static void rpccli_spoolss_55_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_55, &state->orig); - } - tevent_req_done(req); } @@ -14415,10 +13047,6 @@ NTSTATUS rpccli_spoolss_55(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_55, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -14429,10 +13057,6 @@ NTSTATUS rpccli_spoolss_55(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_55, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -14479,10 +13103,6 @@ struct tevent_req *rpccli_spoolss_56_send(TALLOC_CTX *mem_ctx, /* 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; @@ -14527,10 +13147,6 @@ static void rpccli_spoolss_56_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_56, &state->orig); - } - tevent_req_done(req); } @@ -14566,10 +13182,6 @@ NTSTATUS rpccli_spoolss_56(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_56, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -14580,10 +13192,6 @@ NTSTATUS rpccli_spoolss_56(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_56, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -14630,10 +13238,6 @@ struct tevent_req *rpccli_spoolss_57_send(TALLOC_CTX *mem_ctx, /* 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; @@ -14678,10 +13282,6 @@ static void rpccli_spoolss_57_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_57, &state->orig); - } - tevent_req_done(req); } @@ -14717,10 +13317,6 @@ NTSTATUS rpccli_spoolss_57(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_57, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -14731,10 +13327,6 @@ NTSTATUS rpccli_spoolss_57(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_57, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -14798,10 +13390,6 @@ struct tevent_req *rpccli_spoolss_XcvData_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -14855,10 +13443,6 @@ static void rpccli_spoolss_XcvData_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_XcvData, &state->orig); - } - tevent_req_done(req); } @@ -14908,10 +13492,6 @@ NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli, 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, @@ -14922,10 +13502,6 @@ NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_XcvData, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -14981,10 +13557,6 @@ struct tevent_req *rpccli_spoolss_AddPrinterDriverEx_send(TALLOC_CTX *mem_ctx, /* 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; @@ -15029,10 +13601,6 @@ static void rpccli_spoolss_AddPrinterDriverEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterDriverEx, &state->orig); - } - tevent_req_done(req); } @@ -15074,10 +13642,6 @@ NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli, 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, @@ -15088,10 +13652,6 @@ NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_AddPrinterDriverEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -15138,10 +13698,6 @@ struct tevent_req *rpccli_spoolss_5a_send(TALLOC_CTX *mem_ctx, /* 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; @@ -15186,10 +13742,6 @@ static void rpccli_spoolss_5a_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5a, &state->orig); - } - tevent_req_done(req); } @@ -15225,10 +13777,6 @@ NTSTATUS rpccli_spoolss_5a(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_5a, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -15239,10 +13787,6 @@ NTSTATUS rpccli_spoolss_5a(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5a, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -15289,10 +13833,6 @@ struct tevent_req *rpccli_spoolss_5b_send(TALLOC_CTX *mem_ctx, /* 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; @@ -15337,10 +13877,6 @@ static void rpccli_spoolss_5b_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5b, &state->orig); - } - tevent_req_done(req); } @@ -15376,10 +13912,6 @@ NTSTATUS rpccli_spoolss_5b(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_5b, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -15390,10 +13922,6 @@ NTSTATUS rpccli_spoolss_5b(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5b, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -15440,10 +13968,6 @@ struct tevent_req *rpccli_spoolss_5c_send(TALLOC_CTX *mem_ctx, /* 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; @@ -15488,10 +14012,6 @@ static void rpccli_spoolss_5c_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5c, &state->orig); - } - tevent_req_done(req); } @@ -15527,10 +14047,6 @@ NTSTATUS rpccli_spoolss_5c(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_5c, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -15541,10 +14057,6 @@ NTSTATUS rpccli_spoolss_5c(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5c, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -15591,10 +14103,6 @@ struct tevent_req *rpccli_spoolss_5d_send(TALLOC_CTX *mem_ctx, /* 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; @@ -15639,10 +14147,6 @@ static void rpccli_spoolss_5d_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5d, &state->orig); - } - tevent_req_done(req); } @@ -15678,10 +14182,6 @@ NTSTATUS rpccli_spoolss_5d(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_5d, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -15692,10 +14192,6 @@ NTSTATUS rpccli_spoolss_5d(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5d, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -15742,10 +14238,6 @@ struct tevent_req *rpccli_spoolss_5e_send(TALLOC_CTX *mem_ctx, /* 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; @@ -15790,10 +14282,6 @@ static void rpccli_spoolss_5e_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5e, &state->orig); - } - tevent_req_done(req); } @@ -15829,10 +14317,6 @@ NTSTATUS rpccli_spoolss_5e(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_5e, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -15843,10 +14327,6 @@ NTSTATUS rpccli_spoolss_5e(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5e, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -15893,10 +14373,6 @@ struct tevent_req *rpccli_spoolss_5f_send(TALLOC_CTX *mem_ctx, /* 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; @@ -15941,10 +14417,6 @@ static void rpccli_spoolss_5f_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5f, &state->orig); - } - tevent_req_done(req); } @@ -15980,10 +14452,6 @@ NTSTATUS rpccli_spoolss_5f(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_5f, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -15994,10 +14462,6 @@ NTSTATUS rpccli_spoolss_5f(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_5f, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -16044,10 +14508,6 @@ struct tevent_req *rpccli_spoolss_60_send(TALLOC_CTX *mem_ctx, /* 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; @@ -16092,10 +14552,6 @@ static void rpccli_spoolss_60_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_60, &state->orig); - } - tevent_req_done(req); } @@ -16131,10 +14587,6 @@ NTSTATUS rpccli_spoolss_60(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_60, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -16145,10 +14597,6 @@ NTSTATUS rpccli_spoolss_60(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_60, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -16195,10 +14643,6 @@ struct tevent_req *rpccli_spoolss_61_send(TALLOC_CTX *mem_ctx, /* 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; @@ -16243,10 +14687,6 @@ static void rpccli_spoolss_61_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_61, &state->orig); - } - tevent_req_done(req); } @@ -16282,10 +14722,6 @@ NTSTATUS rpccli_spoolss_61(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_61, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -16296,10 +14732,6 @@ NTSTATUS rpccli_spoolss_61(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_61, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -16346,10 +14778,6 @@ struct tevent_req *rpccli_spoolss_62_send(TALLOC_CTX *mem_ctx, /* 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; @@ -16394,10 +14822,6 @@ static void rpccli_spoolss_62_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_62, &state->orig); - } - tevent_req_done(req); } @@ -16433,10 +14857,6 @@ NTSTATUS rpccli_spoolss_62(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_62, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -16447,10 +14867,6 @@ NTSTATUS rpccli_spoolss_62(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_62, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -16497,10 +14913,6 @@ struct tevent_req *rpccli_spoolss_63_send(TALLOC_CTX *mem_ctx, /* 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; @@ -16545,10 +14957,6 @@ static void rpccli_spoolss_63_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_63, &state->orig); - } - tevent_req_done(req); } @@ -16584,10 +14992,6 @@ NTSTATUS rpccli_spoolss_63(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_63, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -16598,10 +15002,6 @@ NTSTATUS rpccli_spoolss_63(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_63, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -16648,10 +15048,6 @@ struct tevent_req *rpccli_spoolss_64_send(TALLOC_CTX *mem_ctx, /* 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; @@ -16696,10 +15092,6 @@ static void rpccli_spoolss_64_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_64, &state->orig); - } - tevent_req_done(req); } @@ -16735,10 +15127,6 @@ NTSTATUS rpccli_spoolss_64(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_64, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -16749,10 +15137,6 @@ NTSTATUS rpccli_spoolss_64(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_64, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -16799,10 +15183,6 @@ struct tevent_req *rpccli_spoolss_65_send(TALLOC_CTX *mem_ctx, /* 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; @@ -16847,10 +15227,6 @@ static void rpccli_spoolss_65_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_65, &state->orig); - } - tevent_req_done(req); } @@ -16886,10 +15262,6 @@ NTSTATUS rpccli_spoolss_65(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_65, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -16900,10 +15272,6 @@ NTSTATUS rpccli_spoolss_65(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_65, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -16962,10 +15330,6 @@ struct tevent_req *rpccli_spoolss_GetCorePrinterDrivers_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -17017,10 +15381,6 @@ static void rpccli_spoolss_GetCorePrinterDrivers_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetCorePrinterDrivers, &state->orig); - } - tevent_req_done(req); } @@ -17067,10 +15427,6 @@ NTSTATUS rpccli_spoolss_GetCorePrinterDrivers(struct rpc_pipe_client *cli, 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, @@ -17081,10 +15437,6 @@ NTSTATUS rpccli_spoolss_GetCorePrinterDrivers(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetCorePrinterDrivers, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -17132,10 +15484,6 @@ struct tevent_req *rpccli_spoolss_67_send(TALLOC_CTX *mem_ctx, /* 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; @@ -17180,10 +15528,6 @@ static void rpccli_spoolss_67_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_67, &state->orig); - } - tevent_req_done(req); } @@ -17219,10 +15563,6 @@ NTSTATUS rpccli_spoolss_67(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_67, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -17233,10 +15573,6 @@ NTSTATUS rpccli_spoolss_67(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_67, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -17298,10 +15634,6 @@ struct tevent_req *rpccli_spoolss_GetPrinterDriverPackagePath_send(TALLOC_CTX *m /* 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)) { @@ -17356,10 +15688,6 @@ static void rpccli_spoolss_GetPrinterDriverPackagePath_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriverPackagePath, &state->orig); - } - tevent_req_done(req); } @@ -17408,10 +15736,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriverPackagePath(struct rpc_pipe_client *cli, 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, @@ -17422,10 +15746,6 @@ NTSTATUS rpccli_spoolss_GetPrinterDriverPackagePath(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_GetPrinterDriverPackagePath, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -17476,10 +15796,6 @@ struct tevent_req *rpccli_spoolss_69_send(TALLOC_CTX *mem_ctx, /* 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; @@ -17524,10 +15840,6 @@ static void rpccli_spoolss_69_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_69, &state->orig); - } - tevent_req_done(req); } @@ -17563,10 +15875,6 @@ NTSTATUS rpccli_spoolss_69(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_69, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -17577,10 +15885,6 @@ NTSTATUS rpccli_spoolss_69(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_69, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -17627,10 +15931,6 @@ struct tevent_req *rpccli_spoolss_6a_send(TALLOC_CTX *mem_ctx, /* 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; @@ -17675,10 +15975,6 @@ static void rpccli_spoolss_6a_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6a, &state->orig); - } - tevent_req_done(req); } @@ -17714,10 +16010,6 @@ NTSTATUS rpccli_spoolss_6a(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_6a, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -17728,10 +16020,6 @@ NTSTATUS rpccli_spoolss_6a(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6a, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -17778,10 +16066,6 @@ struct tevent_req *rpccli_spoolss_6b_send(TALLOC_CTX *mem_ctx, /* 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; @@ -17826,10 +16110,6 @@ static void rpccli_spoolss_6b_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6b, &state->orig); - } - tevent_req_done(req); } @@ -17865,10 +16145,6 @@ NTSTATUS rpccli_spoolss_6b(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_6b, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -17879,10 +16155,6 @@ NTSTATUS rpccli_spoolss_6b(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6b, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -17929,10 +16201,6 @@ struct tevent_req *rpccli_spoolss_6c_send(TALLOC_CTX *mem_ctx, /* 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; @@ -17977,10 +16245,6 @@ static void rpccli_spoolss_6c_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6c, &state->orig); - } - tevent_req_done(req); } @@ -18016,10 +16280,6 @@ NTSTATUS rpccli_spoolss_6c(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_6c, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -18030,10 +16290,6 @@ NTSTATUS rpccli_spoolss_6c(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6c, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -18080,10 +16336,6 @@ struct tevent_req *rpccli_spoolss_6d_send(TALLOC_CTX *mem_ctx, /* 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; @@ -18128,10 +16380,6 @@ static void rpccli_spoolss_6d_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6d, &state->orig); - } - tevent_req_done(req); } @@ -18167,10 +16415,6 @@ NTSTATUS rpccli_spoolss_6d(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(spoolss_6d, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_spoolss, @@ -18181,10 +16425,6 @@ NTSTATUS rpccli_spoolss_6d(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(spoolss_6d, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_srvsvc.c b/librpc/gen_ndr/cli_srvsvc.c index 652fd9e0ec..9b2a507c95 100644 --- a/librpc/gen_ndr/cli_srvsvc.c +++ b/librpc/gen_ndr/cli_srvsvc.c @@ -50,10 +50,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -109,10 +105,6 @@ static void rpccli_srvsvc_NetCharDevEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevEnum, &state->orig); - } - tevent_req_done(req); } @@ -157,10 +149,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli, 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, @@ -171,10 +159,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -234,10 +218,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -289,10 +269,6 @@ static void rpccli_srvsvc_NetCharDevGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -335,10 +311,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevGetInfo(struct rpc_pipe_client *cli, 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, @@ -349,10 +321,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -406,10 +374,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevControl_send(TALLOC_CTX *mem_ctx, /* 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; @@ -454,10 +418,6 @@ static void rpccli_srvsvc_NetCharDevControl_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevControl, &state->orig); - } - tevent_req_done(req); } @@ -499,10 +459,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevControl(struct rpc_pipe_client *cli, 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, @@ -513,10 +469,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevControl(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevControl, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -577,10 +529,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevQEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -636,10 +584,6 @@ static void rpccli_srvsvc_NetCharDevQEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQEnum, &state->orig); - } - tevent_req_done(req); } @@ -686,10 +630,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQEnum(struct rpc_pipe_client *cli, 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, @@ -700,10 +640,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -765,10 +701,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevQGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -820,10 +752,6 @@ static void rpccli_srvsvc_NetCharDevQGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -868,10 +796,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQGetInfo(struct rpc_pipe_client *cli, 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, @@ -882,10 +806,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -944,10 +864,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevQSetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1001,10 +917,6 @@ static void rpccli_srvsvc_NetCharDevQSetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQSetInfo, &state->orig); - } - tevent_req_done(req); } @@ -1050,10 +962,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQSetInfo(struct rpc_pipe_client *cli, 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, @@ -1064,10 +972,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQSetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQSetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1121,10 +1025,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevQPurge_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1169,10 +1069,6 @@ static void rpccli_srvsvc_NetCharDevQPurge_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQPurge, &state->orig); - } - tevent_req_done(req); } @@ -1212,10 +1108,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurge(struct rpc_pipe_client *cli, 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, @@ -1226,10 +1118,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurge(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQPurge, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1282,10 +1170,6 @@ struct tevent_req *rpccli_srvsvc_NetCharDevQPurgeSelf_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1330,10 +1214,6 @@ static void rpccli_srvsvc_NetCharDevQPurgeSelf_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQPurgeSelf, &state->orig); - } - tevent_req_done(req); } @@ -1375,10 +1255,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurgeSelf(struct rpc_pipe_client *cli, 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, @@ -1389,10 +1265,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurgeSelf(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetCharDevQPurgeSelf, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1453,10 +1325,6 @@ struct tevent_req *rpccli_srvsvc_NetConnEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1512,10 +1380,6 @@ static void rpccli_srvsvc_NetConnEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetConnEnum, &state->orig); - } - tevent_req_done(req); } @@ -1562,10 +1426,6 @@ NTSTATUS rpccli_srvsvc_NetConnEnum(struct rpc_pipe_client *cli, 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, @@ -1576,10 +1436,6 @@ NTSTATUS rpccli_srvsvc_NetConnEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetConnEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1647,10 +1503,6 @@ struct tevent_req *rpccli_srvsvc_NetFileEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1706,10 +1558,6 @@ static void rpccli_srvsvc_NetFileEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetFileEnum, &state->orig); - } - tevent_req_done(req); } @@ -1758,10 +1606,6 @@ NTSTATUS rpccli_srvsvc_NetFileEnum(struct rpc_pipe_client *cli, 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, @@ -1772,10 +1616,6 @@ NTSTATUS rpccli_srvsvc_NetFileEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetFileEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1835,10 +1675,6 @@ struct tevent_req *rpccli_srvsvc_NetFileGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1890,10 +1726,6 @@ static void rpccli_srvsvc_NetFileGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetFileGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -1936,10 +1768,6 @@ NTSTATUS rpccli_srvsvc_NetFileGetInfo(struct rpc_pipe_client *cli, 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, @@ -1950,10 +1778,6 @@ NTSTATUS rpccli_srvsvc_NetFileGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetFileGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2005,10 +1829,6 @@ struct tevent_req *rpccli_srvsvc_NetFileClose_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2053,10 +1873,6 @@ static void rpccli_srvsvc_NetFileClose_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetFileClose, &state->orig); - } - tevent_req_done(req); } @@ -2096,10 +1912,6 @@ NTSTATUS rpccli_srvsvc_NetFileClose(struct rpc_pipe_client *cli, 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, @@ -2110,10 +1922,6 @@ NTSTATUS rpccli_srvsvc_NetFileClose(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetFileClose, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2176,10 +1984,6 @@ struct tevent_req *rpccli_srvsvc_NetSessEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2235,10 +2039,6 @@ static void rpccli_srvsvc_NetSessEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSessEnum, &state->orig); - } - tevent_req_done(req); } @@ -2287,10 +2087,6 @@ NTSTATUS rpccli_srvsvc_NetSessEnum(struct rpc_pipe_client *cli, 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, @@ -2301,10 +2097,6 @@ NTSTATUS rpccli_srvsvc_NetSessEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSessEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2362,10 +2154,6 @@ struct tevent_req *rpccli_srvsvc_NetSessDel_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2410,10 +2198,6 @@ static void rpccli_srvsvc_NetSessDel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSessDel, &state->orig); - } - tevent_req_done(req); } @@ -2455,10 +2239,6 @@ NTSTATUS rpccli_srvsvc_NetSessDel(struct rpc_pipe_client *cli, 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, @@ -2469,10 +2249,6 @@ NTSTATUS rpccli_srvsvc_NetSessDel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSessDel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2528,10 +2304,6 @@ struct tevent_req *rpccli_srvsvc_NetShareAdd_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2585,10 +2357,6 @@ static void rpccli_srvsvc_NetShareAdd_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareAdd, &state->orig); - } - tevent_req_done(req); } @@ -2632,10 +2400,6 @@ NTSTATUS rpccli_srvsvc_NetShareAdd(struct rpc_pipe_client *cli, 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, @@ -2646,10 +2410,6 @@ NTSTATUS rpccli_srvsvc_NetShareAdd(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareAdd, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2711,10 +2471,6 @@ struct tevent_req *rpccli_srvsvc_NetShareEnumAll_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2770,10 +2526,6 @@ static void rpccli_srvsvc_NetShareEnumAll_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnumAll, &state->orig); - } - tevent_req_done(req); } @@ -2818,10 +2570,6 @@ NTSTATUS rpccli_srvsvc_NetShareEnumAll(struct rpc_pipe_client *cli, 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, @@ -2832,10 +2580,6 @@ NTSTATUS rpccli_srvsvc_NetShareEnumAll(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnumAll, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2895,10 +2639,6 @@ struct tevent_req *rpccli_srvsvc_NetShareGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2950,10 +2690,6 @@ static void rpccli_srvsvc_NetShareGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -2996,10 +2732,6 @@ NTSTATUS rpccli_srvsvc_NetShareGetInfo(struct rpc_pipe_client *cli, 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, @@ -3010,10 +2742,6 @@ NTSTATUS rpccli_srvsvc_NetShareGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3072,10 +2800,6 @@ struct tevent_req *rpccli_srvsvc_NetShareSetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3129,10 +2853,6 @@ static void rpccli_srvsvc_NetShareSetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareSetInfo, &state->orig); - } - tevent_req_done(req); } @@ -3178,10 +2898,6 @@ NTSTATUS rpccli_srvsvc_NetShareSetInfo(struct rpc_pipe_client *cli, 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, @@ -3192,10 +2908,6 @@ NTSTATUS rpccli_srvsvc_NetShareSetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareSetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3251,10 +2963,6 @@ struct tevent_req *rpccli_srvsvc_NetShareDel_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3299,10 +3007,6 @@ static void rpccli_srvsvc_NetShareDel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDel, &state->orig); - } - tevent_req_done(req); } @@ -3344,10 +3048,6 @@ NTSTATUS rpccli_srvsvc_NetShareDel(struct rpc_pipe_client *cli, 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, @@ -3358,10 +3058,6 @@ NTSTATUS rpccli_srvsvc_NetShareDel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3414,10 +3110,6 @@ struct tevent_req *rpccli_srvsvc_NetShareDelSticky_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3462,10 +3154,6 @@ static void rpccli_srvsvc_NetShareDelSticky_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelSticky, &state->orig); - } - tevent_req_done(req); } @@ -3507,10 +3195,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelSticky(struct rpc_pipe_client *cli, 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, @@ -3521,10 +3205,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelSticky(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelSticky, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3577,10 +3257,6 @@ struct tevent_req *rpccli_srvsvc_NetShareCheck_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3632,10 +3308,6 @@ static void rpccli_srvsvc_NetShareCheck_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareCheck, &state->orig); - } - tevent_req_done(req); } @@ -3676,10 +3348,6 @@ NTSTATUS rpccli_srvsvc_NetShareCheck(struct rpc_pipe_client *cli, 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, @@ -3690,10 +3358,6 @@ NTSTATUS rpccli_srvsvc_NetShareCheck(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareCheck, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3747,10 +3411,6 @@ struct tevent_req *rpccli_srvsvc_NetSrvGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3802,10 +3462,6 @@ static void rpccli_srvsvc_NetSrvGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSrvGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -3846,10 +3502,6 @@ NTSTATUS rpccli_srvsvc_NetSrvGetInfo(struct rpc_pipe_client *cli, 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, @@ -3860,10 +3512,6 @@ NTSTATUS rpccli_srvsvc_NetSrvGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSrvGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3920,10 +3568,6 @@ struct tevent_req *rpccli_srvsvc_NetSrvSetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3977,10 +3621,6 @@ static void rpccli_srvsvc_NetSrvSetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSrvSetInfo, &state->orig); - } - tevent_req_done(req); } @@ -4024,10 +3664,6 @@ NTSTATUS rpccli_srvsvc_NetSrvSetInfo(struct rpc_pipe_client *cli, 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, @@ -4038,10 +3674,6 @@ NTSTATUS rpccli_srvsvc_NetSrvSetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSrvSetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4105,10 +3737,6 @@ struct tevent_req *rpccli_srvsvc_NetDiskEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4164,10 +3792,6 @@ static void rpccli_srvsvc_NetDiskEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetDiskEnum, &state->orig); - } - tevent_req_done(req); } @@ -4214,10 +3838,6 @@ NTSTATUS rpccli_srvsvc_NetDiskEnum(struct rpc_pipe_client *cli, 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, @@ -4228,10 +3848,6 @@ NTSTATUS rpccli_srvsvc_NetDiskEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetDiskEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4293,10 +3909,6 @@ struct tevent_req *rpccli_srvsvc_NetServerStatisticsGet_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -4348,10 +3960,6 @@ static void rpccli_srvsvc_NetServerStatisticsGet_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetServerStatisticsGet, &state->orig); - } - tevent_req_done(req); } @@ -4396,10 +4004,6 @@ NTSTATUS rpccli_srvsvc_NetServerStatisticsGet(struct rpc_pipe_client *cli, 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, @@ -4410,10 +4014,6 @@ NTSTATUS rpccli_srvsvc_NetServerStatisticsGet(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetServerStatisticsGet, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4467,10 +4067,6 @@ struct tevent_req *rpccli_srvsvc_NetTransportAdd_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4515,10 +4111,6 @@ static void rpccli_srvsvc_NetTransportAdd_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportAdd, &state->orig); - } - tevent_req_done(req); } @@ -4560,10 +4152,6 @@ NTSTATUS rpccli_srvsvc_NetTransportAdd(struct rpc_pipe_client *cli, 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, @@ -4574,10 +4162,6 @@ NTSTATUS rpccli_srvsvc_NetTransportAdd(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportAdd, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4636,10 +4220,6 @@ struct tevent_req *rpccli_srvsvc_NetTransportEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4695,10 +4275,6 @@ static void rpccli_srvsvc_NetTransportEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportEnum, &state->orig); - } - tevent_req_done(req); } @@ -4743,10 +4319,6 @@ NTSTATUS rpccli_srvsvc_NetTransportEnum(struct rpc_pipe_client *cli, 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, @@ -4757,10 +4329,6 @@ NTSTATUS rpccli_srvsvc_NetTransportEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4818,10 +4386,6 @@ struct tevent_req *rpccli_srvsvc_NetTransportDel_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4866,10 +4430,6 @@ static void rpccli_srvsvc_NetTransportDel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportDel, &state->orig); - } - tevent_req_done(req); } @@ -4911,10 +4471,6 @@ NTSTATUS rpccli_srvsvc_NetTransportDel(struct rpc_pipe_client *cli, 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, @@ -4925,10 +4481,6 @@ NTSTATUS rpccli_srvsvc_NetTransportDel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportDel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4979,10 +4531,6 @@ struct tevent_req *rpccli_srvsvc_NetRemoteTOD_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5034,10 +4582,6 @@ static void rpccli_srvsvc_NetRemoteTOD_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetRemoteTOD, &state->orig); - } - tevent_req_done(req); } @@ -5076,10 +4620,6 @@ NTSTATUS rpccli_srvsvc_NetRemoteTOD(struct rpc_pipe_client *cli, /* 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, @@ -5090,10 +4630,6 @@ NTSTATUS rpccli_srvsvc_NetRemoteTOD(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetRemoteTOD, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5149,10 +4685,6 @@ struct tevent_req *rpccli_srvsvc_NetSetServiceBits_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5197,10 +4729,6 @@ static void rpccli_srvsvc_NetSetServiceBits_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSetServiceBits, &state->orig); - } - tevent_req_done(req); } @@ -5244,10 +4772,6 @@ NTSTATUS rpccli_srvsvc_NetSetServiceBits(struct rpc_pipe_client *cli, 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, @@ -5258,10 +4782,6 @@ NTSTATUS rpccli_srvsvc_NetSetServiceBits(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSetServiceBits, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5316,10 +4836,6 @@ struct tevent_req *rpccli_srvsvc_NetPathType_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5371,10 +4887,6 @@ static void rpccli_srvsvc_NetPathType_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPathType, &state->orig); - } - tevent_req_done(req); } @@ -5417,10 +4929,6 @@ NTSTATUS rpccli_srvsvc_NetPathType(struct rpc_pipe_client *cli, 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, @@ -5431,10 +4939,6 @@ NTSTATUS rpccli_srvsvc_NetPathType(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPathType, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5497,10 +5001,6 @@ struct tevent_req *rpccli_srvsvc_NetPathCanonicalize_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5553,10 +5053,6 @@ static void rpccli_srvsvc_NetPathCanonicalize_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPathCanonicalize, &state->orig); - } - tevent_req_done(req); } @@ -5605,10 +5101,6 @@ NTSTATUS rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client *cli, 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, @@ -5619,10 +5111,6 @@ NTSTATUS rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPathCanonicalize, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5681,10 +5169,6 @@ struct tevent_req *rpccli_srvsvc_NetPathCompare_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5729,10 +5213,6 @@ static void rpccli_srvsvc_NetPathCompare_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPathCompare, &state->orig); - } - tevent_req_done(req); } @@ -5778,10 +5258,6 @@ NTSTATUS rpccli_srvsvc_NetPathCompare(struct rpc_pipe_client *cli, 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, @@ -5792,10 +5268,6 @@ NTSTATUS rpccli_srvsvc_NetPathCompare(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPathCompare, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5850,10 +5322,6 @@ struct tevent_req *rpccli_srvsvc_NetNameValidate_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5898,10 +5366,6 @@ static void rpccli_srvsvc_NetNameValidate_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetNameValidate, &state->orig); - } - tevent_req_done(req); } @@ -5945,10 +5409,6 @@ NTSTATUS rpccli_srvsvc_NetNameValidate(struct rpc_pipe_client *cli, 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, @@ -5959,10 +5419,6 @@ NTSTATUS rpccli_srvsvc_NetNameValidate(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetNameValidate, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6009,10 +5465,6 @@ struct tevent_req *rpccli_srvsvc_NETRPRNAMECANONICALIZE_send(TALLOC_CTX *mem_ctx /* 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; @@ -6057,10 +5509,6 @@ static void rpccli_srvsvc_NETRPRNAMECANONICALIZE_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRPRNAMECANONICALIZE, &state->orig); - } - tevent_req_done(req); } @@ -6096,10 +5544,6 @@ NTSTATUS rpccli_srvsvc_NETRPRNAMECANONICALIZE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRPRNAMECANONICALIZE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -6110,10 +5554,6 @@ NTSTATUS rpccli_srvsvc_NETRPRNAMECANONICALIZE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRPRNAMECANONICALIZE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6170,10 +5610,6 @@ struct tevent_req *rpccli_srvsvc_NetPRNameCompare_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6218,10 +5654,6 @@ static void rpccli_srvsvc_NetPRNameCompare_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPRNameCompare, &state->orig); - } - tevent_req_done(req); } @@ -6267,10 +5699,6 @@ NTSTATUS rpccli_srvsvc_NetPRNameCompare(struct rpc_pipe_client *cli, 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, @@ -6281,10 +5709,6 @@ NTSTATUS rpccli_srvsvc_NetPRNameCompare(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetPRNameCompare, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6343,10 +5767,6 @@ struct tevent_req *rpccli_srvsvc_NetShareEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6402,10 +5822,6 @@ static void rpccli_srvsvc_NetShareEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnum, &state->orig); - } - tevent_req_done(req); } @@ -6450,10 +5866,6 @@ NTSTATUS rpccli_srvsvc_NetShareEnum(struct rpc_pipe_client *cli, 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, @@ -6464,10 +5876,6 @@ NTSTATUS rpccli_srvsvc_NetShareEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6527,10 +5935,6 @@ struct tevent_req *rpccli_srvsvc_NetShareDelStart_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6584,10 +5988,6 @@ static void rpccli_srvsvc_NetShareDelStart_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelStart, &state->orig); - } - tevent_req_done(req); } @@ -6630,10 +6030,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelStart(struct rpc_pipe_client *cli, 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, @@ -6644,10 +6040,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelStart(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelStart, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6700,10 +6092,6 @@ struct tevent_req *rpccli_srvsvc_NetShareDelCommit_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6757,10 +6145,6 @@ static void rpccli_srvsvc_NetShareDelCommit_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelCommit, &state->orig); - } - tevent_req_done(req); } @@ -6798,10 +6182,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelCommit(struct rpc_pipe_client *cli, /* 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, @@ -6812,10 +6192,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelCommit(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetShareDelCommit, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6875,10 +6251,6 @@ struct tevent_req *rpccli_srvsvc_NetGetFileSecurity_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6930,10 +6302,6 @@ static void rpccli_srvsvc_NetGetFileSecurity_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetGetFileSecurity, &state->orig); - } - tevent_req_done(req); } @@ -6978,10 +6346,6 @@ NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli, 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, @@ -6992,10 +6356,6 @@ NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetGetFileSecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7053,10 +6413,6 @@ struct tevent_req *rpccli_srvsvc_NetSetFileSecurity_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7101,10 +6457,6 @@ static void rpccli_srvsvc_NetSetFileSecurity_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSetFileSecurity, &state->orig); - } - tevent_req_done(req); } @@ -7150,10 +6502,6 @@ NTSTATUS rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client *cli, 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, @@ -7164,10 +6512,6 @@ NTSTATUS rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetSetFileSecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7220,10 +6564,6 @@ struct tevent_req *rpccli_srvsvc_NetServerTransportAddEx_send(TALLOC_CTX *mem_ct /* 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; @@ -7268,10 +6608,6 @@ static void rpccli_srvsvc_NetServerTransportAddEx_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetServerTransportAddEx, &state->orig); - } - tevent_req_done(req); } @@ -7313,10 +6649,6 @@ NTSTATUS rpccli_srvsvc_NetServerTransportAddEx(struct rpc_pipe_client *cli, 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, @@ -7327,10 +6659,6 @@ NTSTATUS rpccli_srvsvc_NetServerTransportAddEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetServerTransportAddEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7389,10 +6717,6 @@ struct tevent_req *rpccli_srvsvc_NetServerSetServiceBitsEx_send(TALLOC_CTX *mem_ /* 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; @@ -7437,10 +6761,6 @@ static void rpccli_srvsvc_NetServerSetServiceBitsEx_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetServerSetServiceBitsEx, &state->orig); - } - tevent_req_done(req); } @@ -7488,10 +6808,6 @@ NTSTATUS rpccli_srvsvc_NetServerSetServiceBitsEx(struct rpc_pipe_client *cli, 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, @@ -7502,10 +6818,6 @@ NTSTATUS rpccli_srvsvc_NetServerSetServiceBitsEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NetServerSetServiceBitsEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7552,10 +6864,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSGETVERSION_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7600,10 +6908,6 @@ static void rpccli_srvsvc_NETRDFSGETVERSION_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSGETVERSION, &state->orig); - } - tevent_req_done(req); } @@ -7639,10 +6943,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSGETVERSION(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSGETVERSION, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -7653,10 +6953,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSGETVERSION(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSGETVERSION, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7703,10 +6999,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSCREATELOCALPARTITION_send(TALLOC_CTX *me /* 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; @@ -7751,10 +7043,6 @@ static void rpccli_srvsvc_NETRDFSCREATELOCALPARTITION_done(struct tevent_req *su /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSCREATELOCALPARTITION, &state->orig); - } - tevent_req_done(req); } @@ -7790,10 +7078,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATELOCALPARTITION(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATELOCALPARTITION, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -7804,10 +7088,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATELOCALPARTITION(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSCREATELOCALPARTITION, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7854,10 +7134,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSDELETELOCALPARTITION_send(TALLOC_CTX *me /* 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; @@ -7902,10 +7178,6 @@ static void rpccli_srvsvc_NETRDFSDELETELOCALPARTITION_done(struct tevent_req *su /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSDELETELOCALPARTITION, &state->orig); - } - tevent_req_done(req); } @@ -7941,10 +7213,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETELOCALPARTITION(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETELOCALPARTITION, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -7955,10 +7223,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETELOCALPARTITION(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSDELETELOCALPARTITION, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8005,10 +7269,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE_send(TALLOC_CTX *mem /* 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; @@ -8053,10 +7313,6 @@ static void rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &state->orig); - } - tevent_req_done(req); } @@ -8092,10 +7348,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -8106,10 +7358,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8156,10 +7404,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSSETSERVERINFO_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8204,10 +7448,6 @@ static void rpccli_srvsvc_NETRDFSSETSERVERINFO_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSSETSERVERINFO, &state->orig); - } - tevent_req_done(req); } @@ -8243,10 +7483,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETSERVERINFO(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETSERVERINFO, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -8257,10 +7493,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETSERVERINFO(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSSETSERVERINFO, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8307,10 +7539,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSCREATEEXITPOINT_send(TALLOC_CTX *mem_ctx /* 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; @@ -8355,10 +7583,6 @@ static void rpccli_srvsvc_NETRDFSCREATEEXITPOINT_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSCREATEEXITPOINT, &state->orig); - } - tevent_req_done(req); } @@ -8394,10 +7618,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATEEXITPOINT(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATEEXITPOINT, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -8408,10 +7628,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATEEXITPOINT(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSCREATEEXITPOINT, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8458,10 +7674,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSDELETEEXITPOINT_send(TALLOC_CTX *mem_ctx /* 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; @@ -8506,10 +7718,6 @@ static void rpccli_srvsvc_NETRDFSDELETEEXITPOINT_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSDELETEEXITPOINT, &state->orig); - } - tevent_req_done(req); } @@ -8545,10 +7753,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETEEXITPOINT(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETEEXITPOINT, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -8559,10 +7763,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETEEXITPOINT(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSDELETEEXITPOINT, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8609,10 +7809,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSMODIFYPREFIX_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8657,10 +7853,6 @@ static void rpccli_srvsvc_NETRDFSMODIFYPREFIX_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSMODIFYPREFIX, &state->orig); - } - tevent_req_done(req); } @@ -8696,10 +7888,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSMODIFYPREFIX(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMODIFYPREFIX, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -8710,10 +7898,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSMODIFYPREFIX(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSMODIFYPREFIX, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8760,10 +7944,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSFIXLOCALVOLUME_send(TALLOC_CTX *mem_ctx, /* 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; @@ -8808,10 +7988,6 @@ static void rpccli_srvsvc_NETRDFSFIXLOCALVOLUME_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSFIXLOCALVOLUME, &state->orig); - } - tevent_req_done(req); } @@ -8847,10 +8023,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSFIXLOCALVOLUME(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSFIXLOCALVOLUME, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -8861,10 +8033,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSFIXLOCALVOLUME(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSFIXLOCALVOLUME, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -8911,10 +8079,6 @@ struct tevent_req *rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO_send(TALLOC_CTX *m /* 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; @@ -8959,10 +8123,6 @@ static void rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &state->orig); - } - tevent_req_done(req); } @@ -8998,10 +8158,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -9012,10 +8168,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -9062,10 +8214,6 @@ struct tevent_req *rpccli_srvsvc_NETRSERVERTRANSPORTDELEX_send(TALLOC_CTX *mem_c /* 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; @@ -9110,10 +8258,6 @@ static void rpccli_srvsvc_NETRSERVERTRANSPORTDELEX_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRSERVERTRANSPORTDELEX, &state->orig); - } - tevent_req_done(req); } @@ -9149,10 +8293,6 @@ NTSTATUS rpccli_srvsvc_NETRSERVERTRANSPORTDELEX(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(srvsvc_NETRSERVERTRANSPORTDELEX, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_srvsvc, @@ -9163,10 +8303,6 @@ NTSTATUS rpccli_srvsvc_NETRSERVERTRANSPORTDELEX(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(srvsvc_NETRSERVERTRANSPORTDELEX, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_svcctl.c b/librpc/gen_ndr/cli_svcctl.c index 1f814736d9..59fabac4b3 100644 --- a/librpc/gen_ndr/cli_svcctl.c +++ b/librpc/gen_ndr/cli_svcctl.c @@ -41,10 +41,6 @@ struct tevent_req *rpccli_svcctl_CloseServiceHandle_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -96,10 +92,6 @@ static void rpccli_svcctl_CloseServiceHandle_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_CloseServiceHandle, &state->orig); - } - tevent_req_done(req); } @@ -137,10 +129,6 @@ NTSTATUS rpccli_svcctl_CloseServiceHandle(struct rpc_pipe_client *cli, /* 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, @@ -151,10 +139,6 @@ NTSTATUS rpccli_svcctl_CloseServiceHandle(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_CloseServiceHandle, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -208,10 +192,6 @@ struct tevent_req *rpccli_svcctl_ControlService_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -263,10 +243,6 @@ static void rpccli_svcctl_ControlService_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ControlService, &state->orig); - } - tevent_req_done(req); } @@ -307,10 +283,6 @@ NTSTATUS rpccli_svcctl_ControlService(struct rpc_pipe_client *cli, 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, @@ -321,10 +293,6 @@ NTSTATUS rpccli_svcctl_ControlService(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ControlService, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -374,10 +342,6 @@ struct tevent_req *rpccli_svcctl_DeleteService_send(TALLOC_CTX *mem_ctx, /* 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; @@ -422,10 +386,6 @@ static void rpccli_svcctl_DeleteService_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_DeleteService, &state->orig); - } - tevent_req_done(req); } @@ -463,10 +423,6 @@ NTSTATUS rpccli_svcctl_DeleteService(struct rpc_pipe_client *cli, /* 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, @@ -477,10 +433,6 @@ NTSTATUS rpccli_svcctl_DeleteService(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_DeleteService, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -531,10 +483,6 @@ struct tevent_req *rpccli_svcctl_LockServiceDatabase_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -586,10 +534,6 @@ static void rpccli_svcctl_LockServiceDatabase_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_LockServiceDatabase, &state->orig); - } - tevent_req_done(req); } @@ -628,10 +572,6 @@ NTSTATUS rpccli_svcctl_LockServiceDatabase(struct rpc_pipe_client *cli, /* 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, @@ -642,10 +582,6 @@ NTSTATUS rpccli_svcctl_LockServiceDatabase(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_LockServiceDatabase, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -703,10 +639,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceObjectSecurity_send(TALLOC_CTX *mem /* 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)) { @@ -759,10 +691,6 @@ static void rpccli_svcctl_QueryServiceObjectSecurity_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceObjectSecurity, &state->orig); - } - tevent_req_done(req); } @@ -806,10 +734,6 @@ NTSTATUS rpccli_svcctl_QueryServiceObjectSecurity(struct rpc_pipe_client *cli, 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, @@ -820,10 +744,6 @@ NTSTATUS rpccli_svcctl_QueryServiceObjectSecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceObjectSecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -880,10 +800,6 @@ struct tevent_req *rpccli_svcctl_SetServiceObjectSecurity_send(TALLOC_CTX *mem_c /* 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; @@ -928,10 +844,6 @@ static void rpccli_svcctl_SetServiceObjectSecurity_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SetServiceObjectSecurity, &state->orig); - } - tevent_req_done(req); } @@ -975,10 +887,6 @@ NTSTATUS rpccli_svcctl_SetServiceObjectSecurity(struct rpc_pipe_client *cli, 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, @@ -989,10 +897,6 @@ NTSTATUS rpccli_svcctl_SetServiceObjectSecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SetServiceObjectSecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1043,10 +947,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceStatus_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1098,10 +998,6 @@ static void rpccli_svcctl_QueryServiceStatus_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatus, &state->orig); - } - tevent_req_done(req); } @@ -1140,10 +1036,6 @@ NTSTATUS rpccli_svcctl_QueryServiceStatus(struct rpc_pipe_client *cli, /* 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, @@ -1154,10 +1046,6 @@ NTSTATUS rpccli_svcctl_QueryServiceStatus(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatus, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1205,10 +1093,6 @@ struct tevent_req *rpccli_svcctl_SetServiceStatus_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1253,10 +1137,6 @@ static void rpccli_svcctl_SetServiceStatus_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SetServiceStatus, &state->orig); - } - tevent_req_done(req); } @@ -1292,10 +1172,6 @@ NTSTATUS rpccli_svcctl_SetServiceStatus(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(svcctl_SetServiceStatus, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_svcctl, @@ -1306,10 +1182,6 @@ NTSTATUS rpccli_svcctl_SetServiceStatus(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SetServiceStatus, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1359,10 +1231,6 @@ struct tevent_req *rpccli_svcctl_UnlockServiceDatabase_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1414,10 +1282,6 @@ static void rpccli_svcctl_UnlockServiceDatabase_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_UnlockServiceDatabase, &state->orig); - } - tevent_req_done(req); } @@ -1455,10 +1319,6 @@ NTSTATUS rpccli_svcctl_UnlockServiceDatabase(struct rpc_pipe_client *cli, /* 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, @@ -1469,10 +1329,6 @@ NTSTATUS rpccli_svcctl_UnlockServiceDatabase(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_UnlockServiceDatabase, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1520,10 +1376,6 @@ struct tevent_req *rpccli_svcctl_NotifyBootConfigStatus_send(TALLOC_CTX *mem_ctx /* 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; @@ -1568,10 +1420,6 @@ static void rpccli_svcctl_NotifyBootConfigStatus_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_NotifyBootConfigStatus, &state->orig); - } - tevent_req_done(req); } @@ -1607,10 +1455,6 @@ NTSTATUS rpccli_svcctl_NotifyBootConfigStatus(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(svcctl_NotifyBootConfigStatus, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_svcctl, @@ -1621,10 +1465,6 @@ NTSTATUS rpccli_svcctl_NotifyBootConfigStatus(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_NotifyBootConfigStatus, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1679,10 +1519,6 @@ struct tevent_req *rpccli_svcctl_SCSetServiceBitsW_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1727,10 +1563,6 @@ static void rpccli_svcctl_SCSetServiceBitsW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsW, &state->orig); - } - tevent_req_done(req); } @@ -1774,10 +1606,6 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsW(struct rpc_pipe_client *cli, 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, @@ -1788,10 +1616,6 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1860,10 +1684,6 @@ struct tevent_req *rpccli_svcctl_ChangeServiceConfigW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1915,10 +1735,6 @@ static void rpccli_svcctl_ChangeServiceConfigW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigW, &state->orig); - } - tevent_req_done(req); } @@ -1975,10 +1791,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigW(struct rpc_pipe_client *cli, 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, @@ -1989,10 +1801,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2073,10 +1881,6 @@ struct tevent_req *rpccli_svcctl_CreateServiceW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2131,10 +1935,6 @@ static void rpccli_svcctl_CreateServiceW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceW, &state->orig); - } - tevent_req_done(req); } @@ -2201,10 +2001,6 @@ NTSTATUS rpccli_svcctl_CreateServiceW(struct rpc_pipe_client *cli, 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, @@ -2215,10 +2011,6 @@ NTSTATUS rpccli_svcctl_CreateServiceW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2281,10 +2073,6 @@ struct tevent_req *rpccli_svcctl_EnumDependentServicesW_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -2338,10 +2126,6 @@ static void rpccli_svcctl_EnumDependentServicesW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesW, &state->orig); - } - tevent_req_done(req); } @@ -2386,10 +2170,6 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli, 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, @@ -2400,10 +2180,6 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2470,10 +2246,6 @@ struct tevent_req *rpccli_svcctl_EnumServicesStatusW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2530,10 +2302,6 @@ static void rpccli_svcctl_EnumServicesStatusW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusW, &state->orig); - } - tevent_req_done(req); } @@ -2582,10 +2350,6 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusW(struct rpc_pipe_client *cli, 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, @@ -2596,10 +2360,6 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2660,10 +2420,6 @@ struct tevent_req *rpccli_svcctl_OpenSCManagerW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2715,10 +2471,6 @@ static void rpccli_svcctl_OpenSCManagerW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerW, &state->orig); - } - tevent_req_done(req); } @@ -2761,10 +2513,6 @@ NTSTATUS rpccli_svcctl_OpenSCManagerW(struct rpc_pipe_client *cli, 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, @@ -2775,10 +2523,6 @@ NTSTATUS rpccli_svcctl_OpenSCManagerW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2834,10 +2578,6 @@ struct tevent_req *rpccli_svcctl_OpenServiceW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2889,10 +2629,6 @@ static void rpccli_svcctl_OpenServiceW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceW, &state->orig); - } - tevent_req_done(req); } @@ -2935,10 +2671,6 @@ NTSTATUS rpccli_svcctl_OpenServiceW(struct rpc_pipe_client *cli, 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, @@ -2949,10 +2681,6 @@ NTSTATUS rpccli_svcctl_OpenServiceW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3008,10 +2736,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceConfigW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3064,10 +2788,6 @@ static void rpccli_svcctl_QueryServiceConfigW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigW, &state->orig); - } - tevent_req_done(req); } @@ -3109,10 +2829,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigW(struct rpc_pipe_client *cli, 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, @@ -3123,10 +2839,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3183,10 +2895,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceLockStatusW_send(TALLOC_CTX *mem_ct /* 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)) { @@ -3239,10 +2947,6 @@ static void rpccli_svcctl_QueryServiceLockStatusW_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusW, &state->orig); - } - tevent_req_done(req); } @@ -3284,10 +2988,6 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusW(struct rpc_pipe_client *cli, 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, @@ -3298,10 +2998,6 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3356,10 +3052,6 @@ struct tevent_req *rpccli_svcctl_StartServiceW_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3404,10 +3096,6 @@ static void rpccli_svcctl_StartServiceW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_StartServiceW, &state->orig); - } - tevent_req_done(req); } @@ -3449,10 +3137,6 @@ NTSTATUS rpccli_svcctl_StartServiceW(struct rpc_pipe_client *cli, 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, @@ -3463,10 +3147,6 @@ NTSTATUS rpccli_svcctl_StartServiceW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_StartServiceW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3522,10 +3202,6 @@ struct tevent_req *rpccli_svcctl_GetServiceDisplayNameW_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -3580,10 +3256,6 @@ static void rpccli_svcctl_GetServiceDisplayNameW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameW, &state->orig); - } - tevent_req_done(req); } @@ -3626,10 +3298,6 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameW(struct rpc_pipe_client *cli, 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, @@ -3640,10 +3308,6 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3703,10 +3367,6 @@ struct tevent_req *rpccli_svcctl_GetServiceKeyNameW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3761,10 +3421,6 @@ static void rpccli_svcctl_GetServiceKeyNameW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameW, &state->orig); - } - tevent_req_done(req); } @@ -3807,10 +3463,6 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameW(struct rpc_pipe_client *cli, 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, @@ -3821,10 +3473,6 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3883,10 +3531,6 @@ struct tevent_req *rpccli_svcctl_SCSetServiceBitsA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3931,10 +3575,6 @@ static void rpccli_svcctl_SCSetServiceBitsA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsA, &state->orig); - } - tevent_req_done(req); } @@ -3978,10 +3618,6 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsA(struct rpc_pipe_client *cli, 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, @@ -3992,10 +3628,6 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4064,10 +3696,6 @@ struct tevent_req *rpccli_svcctl_ChangeServiceConfigA_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4119,10 +3747,6 @@ static void rpccli_svcctl_ChangeServiceConfigA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigA, &state->orig); - } - tevent_req_done(req); } @@ -4179,10 +3803,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigA(struct rpc_pipe_client *cli, 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, @@ -4193,10 +3813,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4270,10 +3886,6 @@ struct tevent_req *rpccli_svcctl_CreateServiceA_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4327,10 +3939,6 @@ static void rpccli_svcctl_CreateServiceA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceA, &state->orig); - } - tevent_req_done(req); } @@ -4391,10 +3999,6 @@ NTSTATUS rpccli_svcctl_CreateServiceA(struct rpc_pipe_client *cli, 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, @@ -4405,10 +4009,6 @@ NTSTATUS rpccli_svcctl_CreateServiceA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4470,10 +4070,6 @@ struct tevent_req *rpccli_svcctl_EnumDependentServicesA_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -4529,10 +4125,6 @@ static void rpccli_svcctl_EnumDependentServicesA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesA, &state->orig); - } - tevent_req_done(req); } @@ -4577,10 +4169,6 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli, 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, @@ -4591,10 +4179,6 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4663,10 +4247,6 @@ struct tevent_req *rpccli_svcctl_EnumServicesStatusA_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4723,10 +4303,6 @@ static void rpccli_svcctl_EnumServicesStatusA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusA, &state->orig); - } - tevent_req_done(req); } @@ -4775,10 +4351,6 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusA(struct rpc_pipe_client *cli, 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, @@ -4789,10 +4361,6 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4853,10 +4421,6 @@ struct tevent_req *rpccli_svcctl_OpenSCManagerA_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4908,10 +4472,6 @@ static void rpccli_svcctl_OpenSCManagerA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerA, &state->orig); - } - tevent_req_done(req); } @@ -4954,10 +4514,6 @@ NTSTATUS rpccli_svcctl_OpenSCManagerA(struct rpc_pipe_client *cli, 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, @@ -4968,10 +4524,6 @@ NTSTATUS rpccli_svcctl_OpenSCManagerA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5025,10 +4577,6 @@ struct tevent_req *rpccli_svcctl_OpenServiceA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5073,10 +4621,6 @@ static void rpccli_svcctl_OpenServiceA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceA, &state->orig); - } - tevent_req_done(req); } @@ -5118,10 +4662,6 @@ NTSTATUS rpccli_svcctl_OpenServiceA(struct rpc_pipe_client *cli, 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, @@ -5132,10 +4672,6 @@ NTSTATUS rpccli_svcctl_OpenServiceA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5190,10 +4726,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceConfigA_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5246,10 +4778,6 @@ static void rpccli_svcctl_QueryServiceConfigA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigA, &state->orig); - } - tevent_req_done(req); } @@ -5291,10 +4819,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigA(struct rpc_pipe_client *cli, 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, @@ -5305,10 +4829,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5365,10 +4885,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceLockStatusA_send(TALLOC_CTX *mem_ct /* 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)) { @@ -5421,10 +4937,6 @@ static void rpccli_svcctl_QueryServiceLockStatusA_done(struct tevent_req *subreq /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusA, &state->orig); - } - tevent_req_done(req); } @@ -5466,10 +4978,6 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusA(struct rpc_pipe_client *cli, 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, @@ -5480,10 +4988,6 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5538,10 +5042,6 @@ struct tevent_req *rpccli_svcctl_StartServiceA_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5586,10 +5086,6 @@ static void rpccli_svcctl_StartServiceA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_StartServiceA, &state->orig); - } - tevent_req_done(req); } @@ -5631,10 +5127,6 @@ NTSTATUS rpccli_svcctl_StartServiceA(struct rpc_pipe_client *cli, 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, @@ -5645,10 +5137,6 @@ NTSTATUS rpccli_svcctl_StartServiceA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_StartServiceA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5704,10 +5192,6 @@ struct tevent_req *rpccli_svcctl_GetServiceDisplayNameA_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -5762,10 +5246,6 @@ static void rpccli_svcctl_GetServiceDisplayNameA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameA, &state->orig); - } - tevent_req_done(req); } @@ -5808,10 +5288,6 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameA(struct rpc_pipe_client *cli, 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, @@ -5822,10 +5298,6 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5885,10 +5357,6 @@ struct tevent_req *rpccli_svcctl_GetServiceKeyNameA_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5943,10 +5411,6 @@ static void rpccli_svcctl_GetServiceKeyNameA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameA, &state->orig); - } - tevent_req_done(req); } @@ -5989,10 +5453,6 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameA(struct rpc_pipe_client *cli, 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, @@ -6003,10 +5463,6 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6057,10 +5513,6 @@ struct tevent_req *rpccli_svcctl_GetCurrentGroupeStateW_send(TALLOC_CTX *mem_ctx /* 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; @@ -6105,10 +5557,6 @@ static void rpccli_svcctl_GetCurrentGroupeStateW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetCurrentGroupeStateW, &state->orig); - } - tevent_req_done(req); } @@ -6144,10 +5592,6 @@ NTSTATUS rpccli_svcctl_GetCurrentGroupeStateW(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(svcctl_GetCurrentGroupeStateW, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_svcctl, @@ -6158,10 +5602,6 @@ NTSTATUS rpccli_svcctl_GetCurrentGroupeStateW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_GetCurrentGroupeStateW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6208,10 +5648,6 @@ struct tevent_req *rpccli_svcctl_EnumServiceGroupW_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6256,10 +5692,6 @@ static void rpccli_svcctl_EnumServiceGroupW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumServiceGroupW, &state->orig); - } - tevent_req_done(req); } @@ -6295,10 +5727,6 @@ NTSTATUS rpccli_svcctl_EnumServiceGroupW(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(svcctl_EnumServiceGroupW, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_svcctl, @@ -6309,10 +5737,6 @@ NTSTATUS rpccli_svcctl_EnumServiceGroupW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_EnumServiceGroupW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6365,10 +5789,6 @@ struct tevent_req *rpccli_svcctl_ChangeServiceConfig2A_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6413,10 +5833,6 @@ static void rpccli_svcctl_ChangeServiceConfig2A_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2A, &state->orig); - } - tevent_req_done(req); } @@ -6458,10 +5874,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2A(struct rpc_pipe_client *cli, 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, @@ -6472,10 +5884,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2A(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2A, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6528,10 +5936,6 @@ struct tevent_req *rpccli_svcctl_ChangeServiceConfig2W_send(TALLOC_CTX *mem_ctx, /* 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; @@ -6576,10 +5980,6 @@ static void rpccli_svcctl_ChangeServiceConfig2W_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2W, &state->orig); - } - tevent_req_done(req); } @@ -6621,10 +6021,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2W(struct rpc_pipe_client *cli, 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, @@ -6635,10 +6031,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2W(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2W, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6695,10 +6087,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceConfig2A_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6751,10 +6139,6 @@ static void rpccli_svcctl_QueryServiceConfig2A_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2A, &state->orig); - } - tevent_req_done(req); } @@ -6798,10 +6182,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2A(struct rpc_pipe_client *cli, 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, @@ -6812,10 +6192,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2A(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2A, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -6874,10 +6250,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceConfig2W_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -6930,10 +6302,6 @@ static void rpccli_svcctl_QueryServiceConfig2W_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2W, &state->orig); - } - tevent_req_done(req); } @@ -6977,10 +6345,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2W(struct rpc_pipe_client *cli, 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, @@ -6991,10 +6355,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2W(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2W, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7053,10 +6413,6 @@ struct tevent_req *rpccli_svcctl_QueryServiceStatusEx_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7109,10 +6465,6 @@ static void rpccli_svcctl_QueryServiceStatusEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatusEx, &state->orig); - } - tevent_req_done(req); } @@ -7156,10 +6508,6 @@ NTSTATUS rpccli_svcctl_QueryServiceStatusEx(struct rpc_pipe_client *cli, 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, @@ -7170,10 +6518,6 @@ NTSTATUS rpccli_svcctl_QueryServiceStatusEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatusEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7243,10 +6587,6 @@ struct tevent_req *rpccli_EnumServicesStatusExA_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7304,10 +6644,6 @@ static void rpccli_EnumServicesStatusExA_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(EnumServicesStatusExA, &state->orig); - } - tevent_req_done(req); } @@ -7359,10 +6695,6 @@ NTSTATUS rpccli_EnumServicesStatusExA(struct rpc_pipe_client *cli, 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, @@ -7373,10 +6705,6 @@ NTSTATUS rpccli_EnumServicesStatusExA(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(EnumServicesStatusExA, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7451,10 +6779,6 @@ struct tevent_req *rpccli_EnumServicesStatusExW_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -7511,10 +6835,6 @@ static void rpccli_EnumServicesStatusExW_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(EnumServicesStatusExW, &state->orig); - } - tevent_req_done(req); } @@ -7567,10 +6887,6 @@ NTSTATUS rpccli_EnumServicesStatusExW(struct rpc_pipe_client *cli, 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, @@ -7581,10 +6897,6 @@ NTSTATUS rpccli_EnumServicesStatusExW(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(EnumServicesStatusExW, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -7637,10 +6949,6 @@ struct tevent_req *rpccli_svcctl_SCSendTSMessage_send(TALLOC_CTX *mem_ctx, /* 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; @@ -7685,10 +6993,6 @@ static void rpccli_svcctl_SCSendTSMessage_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SCSendTSMessage, &state->orig); - } - tevent_req_done(req); } @@ -7724,10 +7028,6 @@ NTSTATUS rpccli_svcctl_SCSendTSMessage(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(svcctl_SCSendTSMessage, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_svcctl, @@ -7738,10 +7038,6 @@ NTSTATUS rpccli_svcctl_SCSendTSMessage(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(svcctl_SCSendTSMessage, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_winreg.c b/librpc/gen_ndr/cli_winreg.c index d0936028a4..a476a127eb 100644 --- a/librpc/gen_ndr/cli_winreg.c +++ b/librpc/gen_ndr/cli_winreg.c @@ -44,10 +44,6 @@ struct tevent_req *rpccli_winreg_OpenHKCR_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -99,10 +95,6 @@ static void rpccli_winreg_OpenHKCR_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKCR, &state->orig); - } - tevent_req_done(req); } @@ -143,10 +135,6 @@ NTSTATUS rpccli_winreg_OpenHKCR(struct rpc_pipe_client *cli, 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, @@ -157,10 +145,6 @@ NTSTATUS rpccli_winreg_OpenHKCR(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKCR, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -214,10 +198,6 @@ struct tevent_req *rpccli_winreg_OpenHKCU_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -269,10 +249,6 @@ static void rpccli_winreg_OpenHKCU_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKCU, &state->orig); - } - tevent_req_done(req); } @@ -313,10 +289,6 @@ NTSTATUS rpccli_winreg_OpenHKCU(struct rpc_pipe_client *cli, 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, @@ -327,10 +299,6 @@ NTSTATUS rpccli_winreg_OpenHKCU(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKCU, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -384,10 +352,6 @@ struct tevent_req *rpccli_winreg_OpenHKLM_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -439,10 +403,6 @@ static void rpccli_winreg_OpenHKLM_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKLM, &state->orig); - } - tevent_req_done(req); } @@ -483,10 +443,6 @@ NTSTATUS rpccli_winreg_OpenHKLM(struct rpc_pipe_client *cli, 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, @@ -497,10 +453,6 @@ NTSTATUS rpccli_winreg_OpenHKLM(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKLM, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -554,10 +506,6 @@ struct tevent_req *rpccli_winreg_OpenHKPD_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -609,10 +557,6 @@ static void rpccli_winreg_OpenHKPD_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKPD, &state->orig); - } - tevent_req_done(req); } @@ -653,10 +597,6 @@ NTSTATUS rpccli_winreg_OpenHKPD(struct rpc_pipe_client *cli, 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, @@ -667,10 +607,6 @@ NTSTATUS rpccli_winreg_OpenHKPD(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKPD, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -724,10 +660,6 @@ struct tevent_req *rpccli_winreg_OpenHKU_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -779,10 +711,6 @@ static void rpccli_winreg_OpenHKU_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKU, &state->orig); - } - tevent_req_done(req); } @@ -823,10 +751,6 @@ NTSTATUS rpccli_winreg_OpenHKU(struct rpc_pipe_client *cli, 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, @@ -837,10 +761,6 @@ NTSTATUS rpccli_winreg_OpenHKU(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKU, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -891,10 +811,6 @@ struct tevent_req *rpccli_winreg_CloseKey_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -946,10 +862,6 @@ static void rpccli_winreg_CloseKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_CloseKey, &state->orig); - } - tevent_req_done(req); } @@ -987,10 +899,6 @@ NTSTATUS rpccli_winreg_CloseKey(struct rpc_pipe_client *cli, /* 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, @@ -1001,10 +909,6 @@ NTSTATUS rpccli_winreg_CloseKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_CloseKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1069,10 +973,6 @@ struct tevent_req *rpccli_winreg_CreateKey_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1127,10 +1027,6 @@ static void rpccli_winreg_CreateKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_CreateKey, &state->orig); - } - tevent_req_done(req); } @@ -1181,10 +1077,6 @@ NTSTATUS rpccli_winreg_CreateKey(struct rpc_pipe_client *cli, 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, @@ -1195,10 +1087,6 @@ NTSTATUS rpccli_winreg_CreateKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_CreateKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1253,10 +1141,6 @@ struct tevent_req *rpccli_winreg_DeleteKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1301,10 +1185,6 @@ static void rpccli_winreg_DeleteKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_DeleteKey, &state->orig); - } - tevent_req_done(req); } @@ -1344,10 +1224,6 @@ NTSTATUS rpccli_winreg_DeleteKey(struct rpc_pipe_client *cli, 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, @@ -1358,10 +1234,6 @@ NTSTATUS rpccli_winreg_DeleteKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_DeleteKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1412,10 +1284,6 @@ struct tevent_req *rpccli_winreg_DeleteValue_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1460,10 +1328,6 @@ static void rpccli_winreg_DeleteValue_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_DeleteValue, &state->orig); - } - tevent_req_done(req); } @@ -1503,10 +1367,6 @@ NTSTATUS rpccli_winreg_DeleteValue(struct rpc_pipe_client *cli, 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, @@ -1517,10 +1377,6 @@ NTSTATUS rpccli_winreg_DeleteValue(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_DeleteValue, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1580,10 +1436,6 @@ struct tevent_req *rpccli_winreg_EnumKey_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1641,10 +1493,6 @@ static void rpccli_winreg_EnumKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_EnumKey, &state->orig); - } - tevent_req_done(req); } @@ -1690,10 +1538,6 @@ NTSTATUS rpccli_winreg_EnumKey(struct rpc_pipe_client *cli, 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, @@ -1704,10 +1548,6 @@ NTSTATUS rpccli_winreg_EnumKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_EnumKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1780,10 +1620,6 @@ struct tevent_req *rpccli_winreg_EnumValue_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1847,10 +1683,6 @@ static void rpccli_winreg_EnumValue_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_EnumValue, &state->orig); - } - tevent_req_done(req); } @@ -1900,10 +1732,6 @@ NTSTATUS rpccli_winreg_EnumValue(struct rpc_pipe_client *cli, 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, @@ -1914,10 +1742,6 @@ NTSTATUS rpccli_winreg_EnumValue(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_EnumValue, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1979,10 +1803,6 @@ struct tevent_req *rpccli_winreg_FlushKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2027,10 +1847,6 @@ static void rpccli_winreg_FlushKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_FlushKey, &state->orig); - } - tevent_req_done(req); } @@ -2068,10 +1884,6 @@ NTSTATUS rpccli_winreg_FlushKey(struct rpc_pipe_client *cli, /* 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, @@ -2082,10 +1894,6 @@ NTSTATUS rpccli_winreg_FlushKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_FlushKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2139,10 +1947,6 @@ struct tevent_req *rpccli_winreg_GetKeySecurity_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2194,10 +1998,6 @@ static void rpccli_winreg_GetKeySecurity_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_GetKeySecurity, &state->orig); - } - tevent_req_done(req); } @@ -2239,10 +2039,6 @@ NTSTATUS rpccli_winreg_GetKeySecurity(struct rpc_pipe_client *cli, 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, @@ -2253,10 +2049,6 @@ NTSTATUS rpccli_winreg_GetKeySecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_GetKeySecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2310,10 +2102,6 @@ struct tevent_req *rpccli_winreg_LoadKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2358,10 +2146,6 @@ static void rpccli_winreg_LoadKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_LoadKey, &state->orig); - } - tevent_req_done(req); } @@ -2403,10 +2187,6 @@ NTSTATUS rpccli_winreg_LoadKey(struct rpc_pipe_client *cli, 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, @@ -2417,10 +2197,6 @@ NTSTATUS rpccli_winreg_LoadKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_LoadKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2481,10 +2257,6 @@ struct tevent_req *rpccli_winreg_NotifyChangeKeyValue_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2529,10 +2301,6 @@ static void rpccli_winreg_NotifyChangeKeyValue_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_NotifyChangeKeyValue, &state->orig); - } - tevent_req_done(req); } @@ -2582,10 +2350,6 @@ NTSTATUS rpccli_winreg_NotifyChangeKeyValue(struct rpc_pipe_client *cli, 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, @@ -2596,10 +2360,6 @@ NTSTATUS rpccli_winreg_NotifyChangeKeyValue(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_NotifyChangeKeyValue, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2656,10 +2416,6 @@ struct tevent_req *rpccli_winreg_OpenKey_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2711,10 +2467,6 @@ static void rpccli_winreg_OpenKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenKey, &state->orig); - } - tevent_req_done(req); } @@ -2759,10 +2511,6 @@ NTSTATUS rpccli_winreg_OpenKey(struct rpc_pipe_client *cli, 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, @@ -2773,10 +2521,6 @@ NTSTATUS rpccli_winreg_OpenKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2845,10 +2589,6 @@ struct tevent_req *rpccli_winreg_QueryInfoKey_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2908,10 +2648,6 @@ static void rpccli_winreg_QueryInfoKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryInfoKey, &state->orig); - } - tevent_req_done(req); } @@ -2959,10 +2695,6 @@ NTSTATUS rpccli_winreg_QueryInfoKey(struct rpc_pipe_client *cli, 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, @@ -2973,10 +2705,6 @@ NTSTATUS rpccli_winreg_QueryInfoKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryInfoKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3048,10 +2776,6 @@ struct tevent_req *rpccli_winreg_QueryValue_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3114,10 +2838,6 @@ static void rpccli_winreg_QueryValue_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryValue, &state->orig); - } - tevent_req_done(req); } @@ -3165,10 +2885,6 @@ NTSTATUS rpccli_winreg_QueryValue(struct rpc_pipe_client *cli, 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, @@ -3179,10 +2895,6 @@ NTSTATUS rpccli_winreg_QueryValue(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryValue, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3241,10 +2953,6 @@ struct tevent_req *rpccli_winreg_ReplaceKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3289,10 +2997,6 @@ static void rpccli_winreg_ReplaceKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_ReplaceKey, &state->orig); - } - tevent_req_done(req); } @@ -3328,10 +3032,6 @@ NTSTATUS rpccli_winreg_ReplaceKey(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(winreg_ReplaceKey, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_winreg, @@ -3342,10 +3042,6 @@ NTSTATUS rpccli_winreg_ReplaceKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_ReplaceKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3398,10 +3094,6 @@ struct tevent_req *rpccli_winreg_RestoreKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3446,10 +3138,6 @@ static void rpccli_winreg_RestoreKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_RestoreKey, &state->orig); - } - tevent_req_done(req); } @@ -3491,10 +3179,6 @@ NTSTATUS rpccli_winreg_RestoreKey(struct rpc_pipe_client *cli, 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, @@ -3505,10 +3189,6 @@ NTSTATUS rpccli_winreg_RestoreKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_RestoreKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3561,10 +3241,6 @@ struct tevent_req *rpccli_winreg_SaveKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3609,10 +3285,6 @@ static void rpccli_winreg_SaveKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SaveKey, &state->orig); - } - tevent_req_done(req); } @@ -3654,10 +3326,6 @@ NTSTATUS rpccli_winreg_SaveKey(struct rpc_pipe_client *cli, 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, @@ -3668,10 +3336,6 @@ NTSTATUS rpccli_winreg_SaveKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SaveKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3724,10 +3388,6 @@ struct tevent_req *rpccli_winreg_SetKeySecurity_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3772,10 +3432,6 @@ static void rpccli_winreg_SetKeySecurity_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SetKeySecurity, &state->orig); - } - tevent_req_done(req); } @@ -3817,10 +3473,6 @@ NTSTATUS rpccli_winreg_SetKeySecurity(struct rpc_pipe_client *cli, 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, @@ -3831,10 +3483,6 @@ NTSTATUS rpccli_winreg_SetKeySecurity(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SetKeySecurity, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3891,10 +3539,6 @@ struct tevent_req *rpccli_winreg_SetValue_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3939,10 +3583,6 @@ static void rpccli_winreg_SetValue_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SetValue, &state->orig); - } - tevent_req_done(req); } @@ -3988,10 +3628,6 @@ NTSTATUS rpccli_winreg_SetValue(struct rpc_pipe_client *cli, 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, @@ -4002,10 +3638,6 @@ NTSTATUS rpccli_winreg_SetValue(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SetValue, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4052,10 +3684,6 @@ struct tevent_req *rpccli_winreg_UnLoadKey_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4100,10 +3728,6 @@ static void rpccli_winreg_UnLoadKey_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_UnLoadKey, &state->orig); - } - tevent_req_done(req); } @@ -4139,10 +3763,6 @@ NTSTATUS rpccli_winreg_UnLoadKey(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(winreg_UnLoadKey, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_winreg, @@ -4153,10 +3773,6 @@ NTSTATUS rpccli_winreg_UnLoadKey(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_UnLoadKey, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4213,10 +3829,6 @@ struct tevent_req *rpccli_winreg_InitiateSystemShutdown_send(TALLOC_CTX *mem_ctx /* 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; @@ -4261,10 +3873,6 @@ static void rpccli_winreg_InitiateSystemShutdown_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_InitiateSystemShutdown, &state->orig); - } - tevent_req_done(req); } @@ -4310,10 +3918,6 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli, 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, @@ -4324,10 +3928,6 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_InitiateSystemShutdown, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4376,10 +3976,6 @@ struct tevent_req *rpccli_winreg_AbortSystemShutdown_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4424,10 +4020,6 @@ static void rpccli_winreg_AbortSystemShutdown_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_AbortSystemShutdown, &state->orig); - } - tevent_req_done(req); } @@ -4465,10 +4057,6 @@ NTSTATUS rpccli_winreg_AbortSystemShutdown(struct rpc_pipe_client *cli, /* 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, @@ -4479,10 +4067,6 @@ NTSTATUS rpccli_winreg_AbortSystemShutdown(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_AbortSystemShutdown, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4533,10 +4117,6 @@ struct tevent_req *rpccli_winreg_GetVersion_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4588,10 +4168,6 @@ static void rpccli_winreg_GetVersion_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_GetVersion, &state->orig); - } - tevent_req_done(req); } @@ -4630,10 +4206,6 @@ NTSTATUS rpccli_winreg_GetVersion(struct rpc_pipe_client *cli, /* 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, @@ -4644,10 +4216,6 @@ NTSTATUS rpccli_winreg_GetVersion(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_GetVersion, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4701,10 +4269,6 @@ struct tevent_req *rpccli_winreg_OpenHKCC_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4756,10 +4320,6 @@ static void rpccli_winreg_OpenHKCC_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKCC, &state->orig); - } - tevent_req_done(req); } @@ -4800,10 +4360,6 @@ NTSTATUS rpccli_winreg_OpenHKCC(struct rpc_pipe_client *cli, 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, @@ -4814,10 +4370,6 @@ NTSTATUS rpccli_winreg_OpenHKCC(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKCC, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4871,10 +4423,6 @@ struct tevent_req *rpccli_winreg_OpenHKDD_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4926,10 +4474,6 @@ static void rpccli_winreg_OpenHKDD_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKDD, &state->orig); - } - tevent_req_done(req); } @@ -4970,10 +4514,6 @@ NTSTATUS rpccli_winreg_OpenHKDD(struct rpc_pipe_client *cli, 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, @@ -4984,10 +4524,6 @@ NTSTATUS rpccli_winreg_OpenHKDD(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKDD, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5048,10 +4584,6 @@ struct tevent_req *rpccli_winreg_QueryMultipleValues_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5107,10 +4639,6 @@ static void rpccli_winreg_QueryMultipleValues_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryMultipleValues, &state->orig); - } - tevent_req_done(req); } @@ -5156,10 +4684,6 @@ NTSTATUS rpccli_winreg_QueryMultipleValues(struct rpc_pipe_client *cli, 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, @@ -5170,10 +4694,6 @@ NTSTATUS rpccli_winreg_QueryMultipleValues(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryMultipleValues, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5237,10 +4757,6 @@ struct tevent_req *rpccli_winreg_InitiateSystemShutdownEx_send(TALLOC_CTX *mem_c /* 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; @@ -5285,10 +4801,6 @@ static void rpccli_winreg_InitiateSystemShutdownEx_done(struct tevent_req *subre /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_InitiateSystemShutdownEx, &state->orig); - } - tevent_req_done(req); } @@ -5336,10 +4848,6 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli, 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, @@ -5350,10 +4858,6 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_InitiateSystemShutdownEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5400,10 +4904,6 @@ struct tevent_req *rpccli_winreg_SaveKeyEx_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5448,10 +4948,6 @@ static void rpccli_winreg_SaveKeyEx_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SaveKeyEx, &state->orig); - } - tevent_req_done(req); } @@ -5487,10 +4983,6 @@ NTSTATUS rpccli_winreg_SaveKeyEx(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(winreg_SaveKeyEx, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_winreg, @@ -5501,10 +4993,6 @@ NTSTATUS rpccli_winreg_SaveKeyEx(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_SaveKeyEx, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5557,10 +5045,6 @@ struct tevent_req *rpccli_winreg_OpenHKPT_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5612,10 +5096,6 @@ static void rpccli_winreg_OpenHKPT_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKPT, &state->orig); - } - tevent_req_done(req); } @@ -5656,10 +5136,6 @@ NTSTATUS rpccli_winreg_OpenHKPT(struct rpc_pipe_client *cli, 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, @@ -5670,10 +5146,6 @@ NTSTATUS rpccli_winreg_OpenHKPT(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKPT, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5727,10 +5199,6 @@ struct tevent_req *rpccli_winreg_OpenHKPN_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -5782,10 +5250,6 @@ static void rpccli_winreg_OpenHKPN_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKPN, &state->orig); - } - tevent_req_done(req); } @@ -5826,10 +5290,6 @@ NTSTATUS rpccli_winreg_OpenHKPN(struct rpc_pipe_client *cli, 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, @@ -5840,10 +5300,6 @@ NTSTATUS rpccli_winreg_OpenHKPN(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_OpenHKPN, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5891,10 +5347,6 @@ struct tevent_req *rpccli_winreg_QueryMultipleValues2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -5939,10 +5391,6 @@ static void rpccli_winreg_QueryMultipleValues2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryMultipleValues2, &state->orig); - } - tevent_req_done(req); } @@ -5978,10 +5426,6 @@ NTSTATUS rpccli_winreg_QueryMultipleValues2(struct rpc_pipe_client *cli, /* In parameters */ - if (DEBUGLEVEL >= 10) { - NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues2, &r); - } - status = cli->dispatch(cli, mem_ctx, &ndr_table_winreg, @@ -5992,10 +5436,6 @@ NTSTATUS rpccli_winreg_QueryMultipleValues2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(winreg_QueryMultipleValues2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } diff --git a/librpc/gen_ndr/cli_wkssvc.c b/librpc/gen_ndr/cli_wkssvc.c index f40238af54..b8465d9bef 100644 --- a/librpc/gen_ndr/cli_wkssvc.c +++ b/librpc/gen_ndr/cli_wkssvc.c @@ -44,10 +44,6 @@ struct tevent_req *rpccli_wkssvc_NetWkstaGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -99,10 +95,6 @@ static void rpccli_wkssvc_NetWkstaGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -143,10 +135,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli, 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, @@ -157,10 +145,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -217,10 +201,6 @@ struct tevent_req *rpccli_wkssvc_NetWkstaSetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -272,10 +252,6 @@ static void rpccli_wkssvc_NetWkstaSetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaSetInfo, &state->orig); - } - tevent_req_done(req); } @@ -319,10 +295,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaSetInfo(struct rpc_pipe_client *cli, 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, @@ -333,10 +305,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaSetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaSetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -396,10 +364,6 @@ struct tevent_req *rpccli_wkssvc_NetWkstaEnumUsers_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -455,10 +419,6 @@ static void rpccli_wkssvc_NetWkstaEnumUsers_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaEnumUsers, &state->orig); - } - tevent_req_done(req); } @@ -503,10 +463,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaEnumUsers(struct rpc_pipe_client *cli, 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, @@ -517,10 +473,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaEnumUsers(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaEnumUsers, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -578,10 +530,6 @@ struct tevent_req *rpccli_wkssvc_NetrWkstaUserGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -633,10 +581,6 @@ static void rpccli_wkssvc_NetrWkstaUserGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaUserGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -677,10 +621,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaUserGetInfo(struct rpc_pipe_client *cli, 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, @@ -691,10 +631,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaUserGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaUserGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -751,10 +687,6 @@ struct tevent_req *rpccli_wkssvc_NetrWkstaUserSetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -808,10 +740,6 @@ static void rpccli_wkssvc_NetrWkstaUserSetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaUserSetInfo, &state->orig); - } - tevent_req_done(req); } @@ -855,10 +783,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaUserSetInfo(struct rpc_pipe_client *cli, 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, @@ -869,10 +793,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaUserSetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaUserSetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -934,10 +854,6 @@ struct tevent_req *rpccli_wkssvc_NetWkstaTransportEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -993,10 +909,6 @@ static void rpccli_wkssvc_NetWkstaTransportEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaTransportEnum, &state->orig); - } - tevent_req_done(req); } @@ -1041,10 +953,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaTransportEnum(struct rpc_pipe_client *cli, 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, @@ -1055,10 +963,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaTransportEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaTransportEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1119,10 +1023,6 @@ struct tevent_req *rpccli_wkssvc_NetrWkstaTransportAdd_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1176,10 +1076,6 @@ static void rpccli_wkssvc_NetrWkstaTransportAdd_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaTransportAdd, &state->orig); - } - tevent_req_done(req); } @@ -1223,10 +1119,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaTransportAdd(struct rpc_pipe_client *cli, 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, @@ -1237,10 +1129,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaTransportAdd(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaTransportAdd, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1296,10 +1184,6 @@ struct tevent_req *rpccli_wkssvc_NetrWkstaTransportDel_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1344,10 +1228,6 @@ static void rpccli_wkssvc_NetrWkstaTransportDel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaTransportDel, &state->orig); - } - tevent_req_done(req); } @@ -1389,10 +1269,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaTransportDel(struct rpc_pipe_client *cli, 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, @@ -1403,10 +1279,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaTransportDel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWkstaTransportDel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1462,10 +1334,6 @@ struct tevent_req *rpccli_wkssvc_NetrUseAdd_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1519,10 +1387,6 @@ static void rpccli_wkssvc_NetrUseAdd_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseAdd, &state->orig); - } - tevent_req_done(req); } @@ -1566,10 +1430,6 @@ NTSTATUS rpccli_wkssvc_NetrUseAdd(struct rpc_pipe_client *cli, 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, @@ -1580,10 +1440,6 @@ NTSTATUS rpccli_wkssvc_NetrUseAdd(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseAdd, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1641,10 +1497,6 @@ struct tevent_req *rpccli_wkssvc_NetrUseGetInfo_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -1696,10 +1548,6 @@ static void rpccli_wkssvc_NetrUseGetInfo_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseGetInfo, &state->orig); - } - tevent_req_done(req); } @@ -1742,10 +1590,6 @@ NTSTATUS rpccli_wkssvc_NetrUseGetInfo(struct rpc_pipe_client *cli, 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, @@ -1756,10 +1600,6 @@ NTSTATUS rpccli_wkssvc_NetrUseGetInfo(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseGetInfo, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1813,10 +1653,6 @@ struct tevent_req *rpccli_wkssvc_NetrUseDel_send(TALLOC_CTX *mem_ctx, /* 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; @@ -1861,10 +1697,6 @@ static void rpccli_wkssvc_NetrUseDel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseDel, &state->orig); - } - tevent_req_done(req); } @@ -1906,10 +1738,6 @@ NTSTATUS rpccli_wkssvc_NetrUseDel(struct rpc_pipe_client *cli, 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, @@ -1920,10 +1748,6 @@ NTSTATUS rpccli_wkssvc_NetrUseDel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseDel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -1982,10 +1806,6 @@ struct tevent_req *rpccli_wkssvc_NetrUseEnum_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -2041,10 +1861,6 @@ static void rpccli_wkssvc_NetrUseEnum_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseEnum, &state->orig); - } - tevent_req_done(req); } @@ -2089,10 +1905,6 @@ NTSTATUS rpccli_wkssvc_NetrUseEnum(struct rpc_pipe_client *cli, 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, @@ -2103,10 +1915,6 @@ NTSTATUS rpccli_wkssvc_NetrUseEnum(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUseEnum, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2168,10 +1976,6 @@ struct tevent_req *rpccli_wkssvc_NetrMessageBufferSend_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2216,10 +2020,6 @@ static void rpccli_wkssvc_NetrMessageBufferSend_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrMessageBufferSend, &state->orig); - } - tevent_req_done(req); } @@ -2265,10 +2065,6 @@ NTSTATUS rpccli_wkssvc_NetrMessageBufferSend(struct rpc_pipe_client *cli, 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, @@ -2279,10 +2075,6 @@ NTSTATUS rpccli_wkssvc_NetrMessageBufferSend(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrMessageBufferSend, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2339,10 +2131,6 @@ struct tevent_req *rpccli_wkssvc_NetrWorkstationStatisticsGet_send(TALLOC_CTX *m /* 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)) { @@ -2394,10 +2182,6 @@ static void rpccli_wkssvc_NetrWorkstationStatisticsGet_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWorkstationStatisticsGet, &state->orig); - } - tevent_req_done(req); } @@ -2442,10 +2226,6 @@ NTSTATUS rpccli_wkssvc_NetrWorkstationStatisticsGet(struct rpc_pipe_client *cli, 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, @@ -2456,10 +2236,6 @@ NTSTATUS rpccli_wkssvc_NetrWorkstationStatisticsGet(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrWorkstationStatisticsGet, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2509,10 +2285,6 @@ struct tevent_req *rpccli_wkssvc_NetrLogonDomainNameAdd_send(TALLOC_CTX *mem_ctx /* 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; @@ -2557,10 +2329,6 @@ static void rpccli_wkssvc_NetrLogonDomainNameAdd_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrLogonDomainNameAdd, &state->orig); - } - tevent_req_done(req); } @@ -2598,10 +2366,6 @@ NTSTATUS rpccli_wkssvc_NetrLogonDomainNameAdd(struct rpc_pipe_client *cli, /* 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, @@ -2612,10 +2376,6 @@ NTSTATUS rpccli_wkssvc_NetrLogonDomainNameAdd(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrLogonDomainNameAdd, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2664,10 +2424,6 @@ struct tevent_req *rpccli_wkssvc_NetrLogonDomainNameDel_send(TALLOC_CTX *mem_ctx /* 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; @@ -2712,10 +2468,6 @@ static void rpccli_wkssvc_NetrLogonDomainNameDel_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrLogonDomainNameDel, &state->orig); - } - tevent_req_done(req); } @@ -2753,10 +2505,6 @@ NTSTATUS rpccli_wkssvc_NetrLogonDomainNameDel(struct rpc_pipe_client *cli, /* 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, @@ -2767,10 +2515,6 @@ NTSTATUS rpccli_wkssvc_NetrLogonDomainNameDel(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrLogonDomainNameDel, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -2829,10 +2573,6 @@ struct tevent_req *rpccli_wkssvc_NetrJoinDomain_send(TALLOC_CTX *mem_ctx, /* 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; @@ -2877,10 +2617,6 @@ static void rpccli_wkssvc_NetrJoinDomain_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrJoinDomain, &state->orig); - } - tevent_req_done(req); } @@ -2928,10 +2664,6 @@ NTSTATUS rpccli_wkssvc_NetrJoinDomain(struct rpc_pipe_client *cli, 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, @@ -2942,10 +2674,6 @@ NTSTATUS rpccli_wkssvc_NetrJoinDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrJoinDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3000,10 +2728,6 @@ struct tevent_req *rpccli_wkssvc_NetrUnjoinDomain_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3048,10 +2772,6 @@ static void rpccli_wkssvc_NetrUnjoinDomain_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUnjoinDomain, &state->orig); - } - tevent_req_done(req); } @@ -3095,10 +2815,6 @@ NTSTATUS rpccli_wkssvc_NetrUnjoinDomain(struct rpc_pipe_client *cli, 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, @@ -3109,10 +2825,6 @@ NTSTATUS rpccli_wkssvc_NetrUnjoinDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUnjoinDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3169,10 +2881,6 @@ struct tevent_req *rpccli_wkssvc_NetrRenameMachineInDomain_send(TALLOC_CTX *mem_ /* 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; @@ -3217,10 +2925,6 @@ static void rpccli_wkssvc_NetrRenameMachineInDomain_done(struct tevent_req *subr /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrRenameMachineInDomain, &state->orig); - } - tevent_req_done(req); } @@ -3266,10 +2970,6 @@ NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain(struct rpc_pipe_client *cli, 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, @@ -3280,10 +2980,6 @@ NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrRenameMachineInDomain, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3340,10 +3036,6 @@ struct tevent_req *rpccli_wkssvc_NetrValidateName_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3388,10 +3080,6 @@ static void rpccli_wkssvc_NetrValidateName_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrValidateName, &state->orig); - } - tevent_req_done(req); } @@ -3437,10 +3125,6 @@ NTSTATUS rpccli_wkssvc_NetrValidateName(struct rpc_pipe_client *cli, 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, @@ -3451,10 +3135,6 @@ NTSTATUS rpccli_wkssvc_NetrValidateName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrValidateName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3508,10 +3188,6 @@ struct tevent_req *rpccli_wkssvc_NetrGetJoinInformation_send(TALLOC_CTX *mem_ctx /* 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)) { @@ -3564,10 +3240,6 @@ static void rpccli_wkssvc_NetrGetJoinInformation_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinInformation, &state->orig); - } - tevent_req_done(req); } @@ -3608,10 +3280,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinInformation(struct rpc_pipe_client *cli, 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, @@ -3622,10 +3290,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinInformation(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinInformation, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3687,10 +3351,6 @@ struct tevent_req *rpccli_wkssvc_NetrGetJoinableOus_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -3743,10 +3403,6 @@ static void rpccli_wkssvc_NetrGetJoinableOus_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinableOus, &state->orig); - } - tevent_req_done(req); } @@ -3793,10 +3449,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinableOus(struct rpc_pipe_client *cli, 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, @@ -3807,10 +3459,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinableOus(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinableOus, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -3871,10 +3519,6 @@ struct tevent_req *rpccli_wkssvc_NetrJoinDomain2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -3919,10 +3563,6 @@ static void rpccli_wkssvc_NetrJoinDomain2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrJoinDomain2, &state->orig); - } - tevent_req_done(req); } @@ -3970,10 +3610,6 @@ NTSTATUS rpccli_wkssvc_NetrJoinDomain2(struct rpc_pipe_client *cli, 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, @@ -3984,10 +3620,6 @@ NTSTATUS rpccli_wkssvc_NetrJoinDomain2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrJoinDomain2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4042,10 +3674,6 @@ struct tevent_req *rpccli_wkssvc_NetrUnjoinDomain2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4090,10 +3718,6 @@ static void rpccli_wkssvc_NetrUnjoinDomain2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUnjoinDomain2, &state->orig); - } - tevent_req_done(req); } @@ -4137,10 +3761,6 @@ NTSTATUS rpccli_wkssvc_NetrUnjoinDomain2(struct rpc_pipe_client *cli, 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, @@ -4151,10 +3771,6 @@ NTSTATUS rpccli_wkssvc_NetrUnjoinDomain2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrUnjoinDomain2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4211,10 +3827,6 @@ struct tevent_req *rpccli_wkssvc_NetrRenameMachineInDomain2_send(TALLOC_CTX *mem /* 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; @@ -4259,10 +3871,6 @@ static void rpccli_wkssvc_NetrRenameMachineInDomain2_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrRenameMachineInDomain2, &state->orig); - } - tevent_req_done(req); } @@ -4308,10 +3916,6 @@ NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain2(struct rpc_pipe_client *cli, 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, @@ -4322,10 +3926,6 @@ NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrRenameMachineInDomain2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4382,10 +3982,6 @@ struct tevent_req *rpccli_wkssvc_NetrValidateName2_send(TALLOC_CTX *mem_ctx, /* 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; @@ -4430,10 +4026,6 @@ static void rpccli_wkssvc_NetrValidateName2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrValidateName2, &state->orig); - } - tevent_req_done(req); } @@ -4479,10 +4071,6 @@ NTSTATUS rpccli_wkssvc_NetrValidateName2(struct rpc_pipe_client *cli, 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, @@ -4493,10 +4081,6 @@ NTSTATUS rpccli_wkssvc_NetrValidateName2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrValidateName2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4556,10 +4140,6 @@ struct tevent_req *rpccli_wkssvc_NetrGetJoinableOus2_send(TALLOC_CTX *mem_ctx, /* 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)) { @@ -4612,10 +4192,6 @@ static void rpccli_wkssvc_NetrGetJoinableOus2_done(struct tevent_req *subreq) /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinableOus2, &state->orig); - } - tevent_req_done(req); } @@ -4662,10 +4238,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinableOus2(struct rpc_pipe_client *cli, 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, @@ -4676,10 +4248,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinableOus2(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrGetJoinableOus2, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4738,10 +4306,6 @@ struct tevent_req *rpccli_wkssvc_NetrAddAlternateComputerName_send(TALLOC_CTX *m /* 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; @@ -4786,10 +4350,6 @@ static void rpccli_wkssvc_NetrAddAlternateComputerName_done(struct tevent_req *s /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrAddAlternateComputerName, &state->orig); - } - tevent_req_done(req); } @@ -4835,10 +4395,6 @@ NTSTATUS rpccli_wkssvc_NetrAddAlternateComputerName(struct rpc_pipe_client *cli, 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, @@ -4849,10 +4405,6 @@ NTSTATUS rpccli_wkssvc_NetrAddAlternateComputerName(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrAddAlternateComputerName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -4909,10 +4461,6 @@ struct tevent_req *rpccli_wkssvc_NetrRemoveAlternateComputerName_send(TALLOC_CTX /* 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; @@ -4957,10 +4505,6 @@ static void rpccli_wkssvc_NetrRemoveAlternateComputerName_done(struct tevent_req /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &state->orig); - } - tevent_req_done(req); } @@ -5006,10 +4550,6 @@ NTSTATUS rpccli_wkssvc_NetrRemoveAlternateComputerName(struct rpc_pipe_client *c 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, @@ -5020,10 +4560,6 @@ NTSTATUS rpccli_wkssvc_NetrRemoveAlternateComputerName(struct rpc_pipe_client *c return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5080,10 +4616,6 @@ struct tevent_req *rpccli_wkssvc_NetrSetPrimaryComputername_send(TALLOC_CTX *mem /* 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; @@ -5128,10 +4660,6 @@ static void rpccli_wkssvc_NetrSetPrimaryComputername_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrSetPrimaryComputername, &state->orig); - } - tevent_req_done(req); } @@ -5177,10 +4705,6 @@ NTSTATUS rpccli_wkssvc_NetrSetPrimaryComputername(struct rpc_pipe_client *cli, 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, @@ -5191,10 +4715,6 @@ NTSTATUS rpccli_wkssvc_NetrSetPrimaryComputername(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrSetPrimaryComputername, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } @@ -5249,10 +4769,6 @@ struct tevent_req *rpccli_wkssvc_NetrEnumerateComputerNames_send(TALLOC_CTX *mem /* 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)) { @@ -5304,10 +4820,6 @@ static void rpccli_wkssvc_NetrEnumerateComputerNames_done(struct tevent_req *sub /* Reset temporary structure */ ZERO_STRUCT(state->tmp); - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrEnumerateComputerNames, &state->orig); - } - tevent_req_done(req); } @@ -5350,10 +4862,6 @@ NTSTATUS rpccli_wkssvc_NetrEnumerateComputerNames(struct rpc_pipe_client *cli, 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, @@ -5364,10 +4872,6 @@ NTSTATUS rpccli_wkssvc_NetrEnumerateComputerNames(struct rpc_pipe_client *cli, return status; } - if (DEBUGLEVEL >= 10) { - NDR_PRINT_OUT_DEBUG(wkssvc_NetrEnumerateComputerNames, &r); - } - if (NT_STATUS_IS_ERR(status)) { return status; } -- cgit