summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_unixinfo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-18 10:18:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:16 -0500
commitd6b3fce078869de35334c0805ff141dc8bcf5f65 (patch)
treeb33ec293937c32551f71595c08d25d7037e18278 /source3/librpc/gen_ndr/srv_unixinfo.c
parente9c294b926c0b831fd936194342ec0564f935798 (diff)
downloadsamba-d6b3fce078869de35334c0805ff141dc8bcf5f65.tar.gz
samba-d6b3fce078869de35334c0805ff141dc8bcf5f65.tar.bz2
samba-d6b3fce078869de35334c0805ff141dc8bcf5f65.zip
r20875: Pass DCE/RPC server call arguments as a struct rather than as separate arguments.
This makes it a bit more similar to the Samba4 code. (This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_unixinfo.c')
-rw-r--r--source3/librpc/gen_ndr/srv_unixinfo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/librpc/gen_ndr/srv_unixinfo.c b/source3/librpc/gen_ndr/srv_unixinfo.c
index 8cb6e567ac..3fbe815870 100644
--- a/source3/librpc/gen_ndr/srv_unixinfo.c
+++ b/source3/librpc/gen_ndr/srv_unixinfo.c
@@ -43,7 +43,7 @@ static BOOL api_unixinfo_SidToUid(pipes_struct *p)
return False;
}
- r.out.result = _unixinfo_SidToUid(p, r.in.sid, r.out.uid);
+ r.out.result = _unixinfo_SidToUid(p, &r);
if (p->rng_fault_state) {
talloc_free(mem_ctx);
@@ -114,7 +114,7 @@ static BOOL api_unixinfo_UidToSid(pipes_struct *p)
return False;
}
- r.out.result = _unixinfo_UidToSid(p, r.in.uid, r.out.sid);
+ r.out.result = _unixinfo_UidToSid(p, &r);
if (p->rng_fault_state) {
talloc_free(mem_ctx);
@@ -185,7 +185,7 @@ static BOOL api_unixinfo_SidToGid(pipes_struct *p)
return False;
}
- r.out.result = _unixinfo_SidToGid(p, r.in.sid, r.out.gid);
+ r.out.result = _unixinfo_SidToGid(p, &r);
if (p->rng_fault_state) {
talloc_free(mem_ctx);
@@ -256,7 +256,7 @@ static BOOL api_unixinfo_GidToSid(pipes_struct *p)
return False;
}
- r.out.result = _unixinfo_GidToSid(p, r.in.gid, r.out.sid);
+ r.out.result = _unixinfo_GidToSid(p, &r);
if (p->rng_fault_state) {
talloc_free(mem_ctx);
@@ -328,7 +328,7 @@ static BOOL api_unixinfo_GetPWUid(pipes_struct *p)
return False;
}
- r.out.result = _unixinfo_GetPWUid(p, r.in.count, r.in.uids, r.out.infos);
+ r.out.result = _unixinfo_GetPWUid(p, &r);
if (p->rng_fault_state) {
talloc_free(mem_ctx);