1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-09 00:23:50 +03:00

make querygroup in rpcclient working, same fix as per 2.2 tree

This commit is contained in:
Simo Sorce
-
parent 92697adcd7
commit 8877ff2482
2 changed files with 5 additions and 7 deletions

View File

@@ -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;