summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_unixinfo.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-21 12:20:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:08 -0500
commit18a48df488f5fcf9b55abf61b09778bdc15373d7 (patch)
treec91a46e312cb7e9d93ad7d41b2baf1f6a58e9ad4 /source3/librpc/gen_ndr/cli_unixinfo.c
parent644b43d993db7ec709a2bc4e121426e7a27237e8 (diff)
downloadsamba-18a48df488f5fcf9b55abf61b09778bdc15373d7.tar.gz
samba-18a48df488f5fcf9b55abf61b09778bdc15373d7.tar.bz2
samba-18a48df488f5fcf9b55abf61b09778bdc15373d7.zip
r24594: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions metze (This used to be commit 5e3d4df9bca069708d72f548dc5ddfc7708ac122)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_unixinfo.c')
-rw-r--r--source3/librpc/gen_ndr/cli_unixinfo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/librpc/gen_ndr/cli_unixinfo.c b/source3/librpc/gen_ndr/cli_unixinfo.c
index 91cdf55328..4a48ac2c43 100644
--- a/source3/librpc/gen_ndr/cli_unixinfo.c
+++ b/source3/librpc/gen_ndr/cli_unixinfo.c
@@ -17,7 +17,7 @@ NTSTATUS rpccli_unixinfo_SidToUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_SidToUid, &r);
- status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_SIDTOUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToUid);
+ status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_SIDTOUID, &r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -48,7 +48,7 @@ NTSTATUS rpccli_unixinfo_UidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_UidToSid, &r);
- status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_UIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_UidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_UidToSid);
+ status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_UIDTOSID, &r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -79,7 +79,7 @@ NTSTATUS rpccli_unixinfo_SidToGid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_SidToGid, &r);
- status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_SIDTOGID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToGid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToGid);
+ status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_SIDTOGID, &r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -110,7 +110,7 @@ NTSTATUS rpccli_unixinfo_GidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_GidToSid, &r);
- status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_GIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GidToSid);
+ status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_GIDTOSID, &r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -142,7 +142,7 @@ NTSTATUS rpccli_unixinfo_GetPWUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_GetPWUid, &r);
- status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_GETPWUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GetPWUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GetPWUid);
+ status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_GETPWUID, &r);
if (!NT_STATUS_IS_OK(status)) {
return status;