summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_wkssvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/gen_ndr/srv_wkssvc.c')
-rw-r--r--source3/librpc/gen_ndr/srv_wkssvc.c186
1 files changed, 186 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_wkssvc.c b/source3/librpc/gen_ndr/srv_wkssvc.c
index 874dcb397e..330bfc457b 100644
--- a/source3/librpc/gen_ndr/srv_wkssvc.c
+++ b/source3/librpc/gen_ndr/srv_wkssvc.c
@@ -31,6 +31,9 @@ static BOOL api_wkssvc_NetWkstaGetInfo(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaGetInfo, &r);
+
ZERO_STRUCT(r.out);
r.out.info = talloc_size(mem_ctx, sizeof(*r.out.info));
if (r.out.info == NULL) {
@@ -40,6 +43,9 @@ static BOOL api_wkssvc_NetWkstaGetInfo(pipes_struct *p)
r.out.result = _wkssvc_NetWkstaGetInfo(p, r.in.server_name, r.in.level, r.out.info);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaGetInfo, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -88,10 +94,16 @@ static BOOL api_wkssvc_NetWkstaSetInfo(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaSetInfo, &r);
+
ZERO_STRUCT(r.out);
r.out.parm_error = r.in.parm_error;
r.out.result = _wkssvc_NetWkstaSetInfo(p, r.in.server_name, r.in.level, r.in.info, r.in.parm_error);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaSetInfo, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -140,6 +152,9 @@ static BOOL api_wkssvc_NetWkstaEnumUsers(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaEnumUsers, &r);
+
ZERO_STRUCT(r.out);
r.out.users = r.in.users;
r.out.entriesread = talloc_size(mem_ctx, sizeof(*r.out.entriesread));
@@ -157,6 +172,9 @@ static BOOL api_wkssvc_NetWkstaEnumUsers(pipes_struct *p)
r.out.resumehandle = r.in.resumehandle;
r.out.result = _wkssvc_NetWkstaEnumUsers(p, r.in.server_name, r.in.level, r.in.users, r.in.prefmaxlen, r.out.entriesread, r.out.totalentries, r.in.resumehandle);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaEnumUsers, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -205,8 +223,14 @@ static BOOL api_WKSSVC_NETRWKSTAUSERGETINFO(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTAUSERGETINFO, &r);
+
r.out.result = _WKSSVC_NETRWKSTAUSERGETINFO(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTAUSERGETINFO, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -255,8 +279,14 @@ static BOOL api_WKSSVC_NETRWKSTAUSERSETINFO(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTAUSERSETINFO, &r);
+
r.out.result = _WKSSVC_NETRWKSTAUSERSETINFO(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTAUSERSETINFO, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -305,6 +335,9 @@ static BOOL api_wkssvc_NetWkstaTransportEnum(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaTransportEnum, &r);
+
ZERO_STRUCT(r.out);
r.out.level = r.in.level;
r.out.ctr = r.in.ctr;
@@ -317,6 +350,9 @@ static BOOL api_wkssvc_NetWkstaTransportEnum(pipes_struct *p)
r.out.resume_handle = r.in.resume_handle;
r.out.result = _wkssvc_NetWkstaTransportEnum(p, r.in.server_name, r.in.level, r.in.ctr, r.in.max_buffer, r.out.totalentries, r.in.resume_handle);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetWkstaTransportEnum, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -365,8 +401,14 @@ static BOOL api_WKSSVC_NETRWKSTATRANSPORTADD(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTATRANSPORTADD, &r);
+
r.out.result = _WKSSVC_NETRWKSTATRANSPORTADD(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTATRANSPORTADD, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -415,8 +457,14 @@ static BOOL api_WKSSVC_NETRWKSTATRANSPORTDEL(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTATRANSPORTDEL, &r);
+
r.out.result = _WKSSVC_NETRWKSTATRANSPORTDEL(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTATRANSPORTDEL, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -465,8 +513,14 @@ static BOOL api_WKSSVC_NETRUSEADD(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEADD, &r);
+
r.out.result = _WKSSVC_NETRUSEADD(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEADD, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -515,8 +569,14 @@ static BOOL api_WKSSVC_NETRUSEGETINFO(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEGETINFO, &r);
+
r.out.result = _WKSSVC_NETRUSEGETINFO(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEGETINFO, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -565,8 +625,14 @@ static BOOL api_WKSSVC_NETRUSEDEL(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEDEL, &r);
+
r.out.result = _WKSSVC_NETRUSEDEL(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEDEL, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -615,8 +681,14 @@ static BOOL api_WKSSVC_NETRUSEENUM(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEENUM, &r);
+
r.out.result = _WKSSVC_NETRUSEENUM(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEENUM, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -665,8 +737,14 @@ static BOOL api_WKSSVC_NETRMESSAGEBUFFERSEND(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRMESSAGEBUFFERSEND, &r);
+
r.out.result = _WKSSVC_NETRMESSAGEBUFFERSEND(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRMESSAGEBUFFERSEND, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -715,8 +793,14 @@ static BOOL api_WKSSVC_NETRWORKSTATIONSTATISTICSGET(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRWORKSTATIONSTATISTICSGET, &r);
+
r.out.result = _WKSSVC_NETRWORKSTATIONSTATISTICSGET(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWORKSTATIONSTATISTICSGET, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -765,8 +849,14 @@ static BOOL api_WKSSVC_NETRLOGONDOMAINNAMEADD(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEADD, &r);
+
r.out.result = _WKSSVC_NETRLOGONDOMAINNAMEADD(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEADD, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -815,8 +905,14 @@ static BOOL api_WKSSVC_NETRLOGONDOMAINNAMEDEL(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEDEL, &r);
+
r.out.result = _WKSSVC_NETRLOGONDOMAINNAMEDEL(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEDEL, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -865,8 +961,14 @@ static BOOL api_WKSSVC_NETRJOINDOMAIN(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRJOINDOMAIN, &r);
+
r.out.result = _WKSSVC_NETRJOINDOMAIN(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRJOINDOMAIN, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -915,8 +1017,14 @@ static BOOL api_WKSSVC_NETRUNJOINDOMAIN(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRUNJOINDOMAIN, &r);
+
r.out.result = _WKSSVC_NETRUNJOINDOMAIN(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUNJOINDOMAIN, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -965,8 +1073,14 @@ static BOOL api_WKSSVC_NETRRENAMEMACHINEINDOMAIN(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRRENAMEMACHINEINDOMAIN, &r);
+
r.out.result = _WKSSVC_NETRRENAMEMACHINEINDOMAIN(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRRENAMEMACHINEINDOMAIN, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1015,8 +1129,14 @@ static BOOL api_WKSSVC_NETRVALIDATENAME(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRVALIDATENAME, &r);
+
r.out.result = _WKSSVC_NETRVALIDATENAME(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRVALIDATENAME, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1065,8 +1185,14 @@ static BOOL api_WKSSVC_NETRGETJOININFORMATION(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOININFORMATION, &r);
+
r.out.result = _WKSSVC_NETRGETJOININFORMATION(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRGETJOININFORMATION, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1115,8 +1241,14 @@ static BOOL api_WKSSVC_NETRGETJOINABLEOUS(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOINABLEOUS, &r);
+
r.out.result = _WKSSVC_NETRGETJOINABLEOUS(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRGETJOINABLEOUS, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1165,8 +1297,14 @@ static BOOL api_wkssvc_NetrJoinDomain2(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetrJoinDomain2, &r);
+
r.out.result = _wkssvc_NetrJoinDomain2(p, r.in.server_name, r.in.domain_name, r.in.account_name, r.in.admin_account, r.in.encrypted_password, r.in.join_flags);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetrJoinDomain2, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1215,8 +1353,14 @@ static BOOL api_wkssvc_NetrUnjoinDomain2(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetrUnjoinDomain2, &r);
+
r.out.result = _wkssvc_NetrUnjoinDomain2(p, r.in.server_name, r.in.account, r.in.encrypted_password, r.in.unjoin_flags);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetrUnjoinDomain2, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1265,8 +1409,14 @@ static BOOL api_wkssvc_NetrRenameMachineInDomain2(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetrRenameMachineInDomain2, &r);
+
r.out.result = _wkssvc_NetrRenameMachineInDomain2(p, r.in.server_name, r.in.NewMachineName, r.in.Account, r.in.EncryptedPassword, r.in.RenameOptions);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetrRenameMachineInDomain2, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1315,8 +1465,14 @@ static BOOL api_WKSSVC_NETRVALIDATENAME2(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRVALIDATENAME2, &r);
+
r.out.result = _WKSSVC_NETRVALIDATENAME2(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRVALIDATENAME2, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1365,8 +1521,14 @@ static BOOL api_WKSSVC_NETRGETJOINABLEOUS2(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOINABLEOUS2, &r);
+
r.out.result = _WKSSVC_NETRGETJOINABLEOUS2(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRGETJOINABLEOUS2, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1415,8 +1577,14 @@ static BOOL api_wkssvc_NetrAddAlternateComputerName(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetrAddAlternateComputerName, &r);
+
r.out.result = _wkssvc_NetrAddAlternateComputerName(p, r.in.server_name, r.in.NewAlternateMachineName, r.in.Account, r.in.EncryptedPassword, r.in.Reserved);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetrAddAlternateComputerName, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1465,8 +1633,14 @@ static BOOL api_wkssvc_NetrRemoveAlternateComputerName(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &r);
+
r.out.result = _wkssvc_NetrRemoveAlternateComputerName(p, r.in.server_name, r.in.AlternateMachineNameToRemove, r.in.Account, r.in.EncryptedPassword, r.in.Reserved);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1515,8 +1689,14 @@ static BOOL api_WKSSVC_NETRSETPRIMARYCOMPUTERNAME(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRSETPRIMARYCOMPUTERNAME, &r);
+
r.out.result = _WKSSVC_NETRSETPRIMARYCOMPUTERNAME(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRSETPRIMARYCOMPUTERNAME, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);
@@ -1565,8 +1745,14 @@ static BOOL api_WKSSVC_NETRENUMERATECOMPUTERNAMES(pipes_struct *p)
return False;
}
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_IN_DEBUG(WKSSVC_NETRENUMERATECOMPUTERNAMES, &r);
+
r.out.result = _WKSSVC_NETRENUMERATECOMPUTERNAMES(p);
+ if (DEBUGLEVEL >= 10)
+ NDR_PRINT_OUT_DEBUG(WKSSVC_NETRENUMERATECOMPUTERNAMES, &r);
+
push = ndr_push_init_ctx(mem_ctx);
if (push == NULL) {
talloc_free(mem_ctx);