summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-08-29 16:36:21 +0000
committerLuke Leighton <lkcl@samba.org>1999-08-29 16:36:21 +0000
commit42fdd41b1d3e59f9052a9b382d0369315f77e718 (patch)
tree36f659072199e6bfef3f5ea528e5bc1581cb54da /source3/rpc_client
parent53b4095d2ceb91ae45efd04ab30626d6c352f72a (diff)
downloadsamba-42fdd41b1d3e59f9052a9b382d0369315f77e718.tar.gz
samba-42fdd41b1d3e59f9052a9b382d0369315f77e718.tar.bz2
samba-42fdd41b1d3e59f9052a9b382d0369315f77e718.zip
improved "dominfo" rpcclient command
(This used to be commit 65a54b6e16c40ec40727547593154b341d98fc83)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 49db8c8216..5e381ba523 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -490,7 +490,8 @@ BOOL samr_unknown_38(struct cli_state *cli, uint16 fnum, char *srv_name)
do a SAMR unknown 0x8 command
****************************************************************************/
BOOL samr_query_dom_info(struct cli_state *cli, uint16 fnum,
- POLICY_HND *domain_pol, uint16 switch_value)
+ POLICY_HND *domain_pol, uint16 switch_value,
+ SAM_UNK_CTR *ctr)
{
prs_struct data;
prs_struct rdata;
@@ -519,6 +520,7 @@ BOOL samr_query_dom_info(struct cli_state *cli, uint16 fnum,
SAMR_R_QUERY_DOMAIN_INFO r_e;
BOOL p;
+ r_e.ctr = ctr;
samr_io_r_query_dom_info("", &r_e, &rdata, 0);
p = rdata.offset != 0;