diff options
author | Simo Sorce <idra@samba.org> | 2002-12-08 12:03:42 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-12-08 12:03:42 +0000 |
commit | e8c80081b55fecbdf80ac4af1d6988f14ebd6baa (patch) | |
tree | f9d4f3536ee312e783abfef607c4e95aeb72b4d8 /source3/rpc_client | |
parent | ccdfed5587d4da1f2a4154ed151626d79765cc8f (diff) | |
download | samba-e8c80081b55fecbdf80ac4af1d6988f14ebd6baa.tar.gz samba-e8c80081b55fecbdf80ac4af1d6988f14ebd6baa.tar.bz2 samba-e8c80081b55fecbdf80ac4af1d6988f14ebd6baa.zip |
fix rpcclient querygroup command (from 2.2 and head)
(This used to be commit ea2154b2692f76a3f0d597ddc154ecbbef72de60)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index 7863d32419..d101b8fe21 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -358,7 +358,7 @@ NTSTATUS cli_samr_query_userinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, NTSTATUS cli_samr_query_groupinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, POLICY_HND *group_pol, uint32 info_level, - GROUP_INFO_CTR *ctr) + GROUP_INFO_CTR **ctr) { prs_struct qbuf, rbuf; SAMR_Q_QUERY_GROUPINFO q; @@ -383,11 +383,11 @@ NTSTATUS cli_samr_query_groupinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, /* Unmarshall response */ - r.ctr = ctr; - if (!samr_io_r_query_groupinfo("", &r, &rbuf, 0)) goto done; + *ctr = r.ctr; + /* Return output parameters */ result = r.status; |