summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_unixinfo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-16 14:50:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:00 -0500
commit4003edf0df14b69fca0d1af923badbd682c0008c (patch)
tree2547c3444aadb9413652d7f71aaffeb3f171a83e /source3/librpc/gen_ndr/cli_unixinfo.c
parent299e16112d781ab8c24134c249e0259265a15fd4 (diff)
downloadsamba-4003edf0df14b69fca0d1af923badbd682c0008c.tar.gz
samba-4003edf0df14b69fca0d1af923badbd682c0008c.tar.bz2
samba-4003edf0df14b69fca0d1af923badbd682c0008c.zip
r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.
(This used to be commit b84370513fbf790e599c33f177fb271a2a992b72)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_unixinfo.c')
-rw-r--r--source3/librpc/gen_ndr/cli_unixinfo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/librpc/gen_ndr/cli_unixinfo.c b/source3/librpc/gen_ndr/cli_unixinfo.c
index d9a9b1fe87..687ba7e5c1 100644
--- a/source3/librpc/gen_ndr/cli_unixinfo.c
+++ b/source3/librpc/gen_ndr/cli_unixinfo.c
@@ -19,7 +19,7 @@ NTSTATUS rpccli_unixinfo_SidToUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, DCERPC_UNIXINFO_SIDTOUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToUid);
- if ( !NT_STATUS_IS_OK(status) ) {
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}
@@ -50,7 +50,7 @@ NTSTATUS rpccli_unixinfo_UidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, DCERPC_UNIXINFO_UIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_UidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_UidToSid);
- if ( !NT_STATUS_IS_OK(status) ) {
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}
@@ -81,7 +81,7 @@ NTSTATUS rpccli_unixinfo_SidToGid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, DCERPC_UNIXINFO_SIDTOGID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToGid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToGid);
- if ( !NT_STATUS_IS_OK(status) ) {
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}
@@ -112,7 +112,7 @@ NTSTATUS rpccli_unixinfo_GidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, DCERPC_UNIXINFO_GIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GidToSid);
- if ( !NT_STATUS_IS_OK(status) ) {
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}
@@ -144,7 +144,7 @@ NTSTATUS rpccli_unixinfo_GetPWUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, DCERPC_UNIXINFO_GETPWUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GetPWUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GetPWUid);
- if ( !NT_STATUS_IS_OK(status) ) {
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}
@@ -157,7 +157,7 @@ NTSTATUS rpccli_unixinfo_GetPWUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
/* Return variables */
*count = *r.out.count;
- *infos = *r.out.infos;
+ memcpy(infos, r.out.infos, *r.in.count);
/* Return result */
return r.out.result;