diff options
Diffstat (limited to 'source3/librpc/gen_ndr/srv_unixinfo.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_unixinfo.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_unixinfo.c b/source3/librpc/gen_ndr/srv_unixinfo.c index 31578ee1d1..2195e7964f 100644 --- a/source3/librpc/gen_ndr/srv_unixinfo.c +++ b/source3/librpc/gen_ndr/srv_unixinfo.c @@ -31,6 +31,9 @@ static BOOL api_unixinfo_SidToUid(pipes_struct *p) return False; } + if (DEBUGLEVEL >= 10) + NDR_PRINT_IN_DEBUG(unixinfo_SidToUid, &r); + ZERO_STRUCT(r.out); r.out.uid = talloc_size(mem_ctx, sizeof(*r.out.uid)); if (r.out.uid == NULL) { @@ -40,6 +43,9 @@ static BOOL api_unixinfo_SidToUid(pipes_struct *p) r.out.result = _unixinfo_SidToUid(p, r.in.sid, r.out.uid); + if (DEBUGLEVEL >= 10) + NDR_PRINT_OUT_DEBUG(unixinfo_SidToUid, &r); + push = ndr_push_init_ctx(mem_ctx); if (push == NULL) { talloc_free(mem_ctx); @@ -88,6 +94,9 @@ static BOOL api_unixinfo_UidToSid(pipes_struct *p) return False; } + if (DEBUGLEVEL >= 10) + NDR_PRINT_IN_DEBUG(unixinfo_UidToSid, &r); + ZERO_STRUCT(r.out); r.out.sid = talloc_size(mem_ctx, sizeof(*r.out.sid)); if (r.out.sid == NULL) { @@ -97,6 +106,9 @@ static BOOL api_unixinfo_UidToSid(pipes_struct *p) r.out.result = _unixinfo_UidToSid(p, r.in.uid, r.out.sid); + if (DEBUGLEVEL >= 10) + NDR_PRINT_OUT_DEBUG(unixinfo_UidToSid, &r); + push = ndr_push_init_ctx(mem_ctx); if (push == NULL) { talloc_free(mem_ctx); @@ -145,6 +157,9 @@ static BOOL api_unixinfo_SidToGid(pipes_struct *p) return False; } + if (DEBUGLEVEL >= 10) + NDR_PRINT_IN_DEBUG(unixinfo_SidToGid, &r); + ZERO_STRUCT(r.out); r.out.gid = talloc_size(mem_ctx, sizeof(*r.out.gid)); if (r.out.gid == NULL) { @@ -154,6 +169,9 @@ static BOOL api_unixinfo_SidToGid(pipes_struct *p) r.out.result = _unixinfo_SidToGid(p, r.in.sid, r.out.gid); + if (DEBUGLEVEL >= 10) + NDR_PRINT_OUT_DEBUG(unixinfo_SidToGid, &r); + push = ndr_push_init_ctx(mem_ctx); if (push == NULL) { talloc_free(mem_ctx); @@ -202,6 +220,9 @@ static BOOL api_unixinfo_GidToSid(pipes_struct *p) return False; } + if (DEBUGLEVEL >= 10) + NDR_PRINT_IN_DEBUG(unixinfo_GidToSid, &r); + ZERO_STRUCT(r.out); r.out.sid = talloc_size(mem_ctx, sizeof(*r.out.sid)); if (r.out.sid == NULL) { @@ -211,6 +232,9 @@ static BOOL api_unixinfo_GidToSid(pipes_struct *p) r.out.result = _unixinfo_GidToSid(p, r.in.gid, r.out.sid); + if (DEBUGLEVEL >= 10) + NDR_PRINT_OUT_DEBUG(unixinfo_GidToSid, &r); + push = ndr_push_init_ctx(mem_ctx); if (push == NULL) { talloc_free(mem_ctx); @@ -259,6 +283,9 @@ static BOOL api_unixinfo_GetPWUid(pipes_struct *p) return False; } + if (DEBUGLEVEL >= 10) + NDR_PRINT_IN_DEBUG(unixinfo_GetPWUid, &r); + ZERO_STRUCT(r.out); r.out.count = r.in.count; r.out.infos = talloc_array_size(mem_ctx, sizeof(*r.out.infos), *r.in.count); @@ -269,6 +296,9 @@ static BOOL api_unixinfo_GetPWUid(pipes_struct *p) r.out.result = _unixinfo_GetPWUid(p, r.in.count, r.in.uids, r.out.infos); + if (DEBUGLEVEL >= 10) + NDR_PRINT_OUT_DEBUG(unixinfo_GetPWUid, &r); + push = ndr_push_init_ctx(mem_ctx); if (push == NULL) { talloc_free(mem_ctx); |