diff options
author | Tim Potter <tpot@samba.org> | 2001-05-14 03:58:49 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-05-14 03:58:49 +0000 |
commit | 5bcd434e6e1e5c5ab4d567e2a4c2bdaf4806ff1f (patch) | |
tree | abed68c8e4fc26fb2f95f384313f7270e7d573b6 /source3/libsmb | |
parent | c24bf6d8ab293ec449659ea6b128a246f0dcb281 (diff) | |
download | samba-5bcd434e6e1e5c5ab4d567e2a4c2bdaf4806ff1f.tar.gz samba-5bcd434e6e1e5c5ab4d567e2a4c2bdaf4806ff1f.tar.bz2 samba-5bcd434e6e1e5c5ab4d567e2a4c2bdaf4806ff1f.zip |
Compile fixes for dynamic samr_query_userinfo() stuff.
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cli_samr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/libsmb/cli_samr.c b/source3/libsmb/cli_samr.c index 538574f437..a33474d1c1 100644 --- a/source3/libsmb/cli_samr.c +++ b/source3/libsmb/cli_samr.c @@ -320,7 +320,7 @@ uint32 cli_samr_open_group(struct cli_state *cli, TALLOC_CTX *mem_ctx, uint32 cli_samr_query_userinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, POLICY_HND *user_pol, uint16 switch_value, - SAM_USERINFO_CTR *ctr) + SAM_USERINFO_CTR **ctr) { prs_struct qbuf, rbuf; SAMR_Q_QUERY_USERINFO q; @@ -346,8 +346,6 @@ uint32 cli_samr_query_userinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, /* Unmarshall response */ - r.ctr = ctr; - if (!samr_io_r_query_userinfo("", &r, &rbuf, 0)) { goto done; } @@ -355,6 +353,7 @@ uint32 cli_samr_query_userinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, /* Return output parameters */ result = r.status; + *ctr = r.ctr; done: prs_mem_free(&qbuf); |