summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-05-05 02:49:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:25 -0500
commit7671f29d7146c75d57c4269867164a4ae9c8369c (patch)
tree39e62f5c21247d03823c0ab5ac599d8aa9738fc2 /source3
parent9294acabb403d0309c408f84fee5878100481da4 (diff)
downloadsamba-7671f29d7146c75d57c4269867164a4ae9c8369c.tar.gz
samba-7671f29d7146c75d57c4269867164a4ae9c8369c.tar.bz2
samba-7671f29d7146c75d57c4269867164a4ae9c8369c.zip
r485: fix compile
(This used to be commit 2cbcc07b7b1b78b1bed95bfd8b8fc34016553201)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_samr.c4
-rw-r--r--source3/rpcclient/cmd_samr.c5
2 files changed, 3 insertions, 6 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index bcb4cb4105..86f6505689 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -2095,7 +2095,7 @@ NTSTATUS cli_samr_query_sec_obj(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* Get domain password info */
NTSTATUS cli_samr_get_dom_pwinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- uint16 *unk_0, uint16 *unk_1, uint16 *unk_2)
+ uint16 *unk_0, uint16 *unk_1)
{
prs_struct qbuf, rbuf;
SAMR_Q_GET_DOM_PWINFO q;
@@ -2134,8 +2134,6 @@ NTSTATUS cli_samr_get_dom_pwinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx,
*unk_0 = r.unk_0;
if (unk_1)
*unk_1 = r.unk_1;
- if (unk_2)
- *unk_2 = r.unk_2;
}
done:
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index ed06a5a4a0..6ab08e1991 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -1470,19 +1470,18 @@ static NTSTATUS cmd_samr_get_dom_pwinfo(struct cli_state *cli,
int argc, const char **argv)
{
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
- uint16 unk_0, unk_1, unk_2;
+ uint16 unk_0, unk_1;
if (argc != 1) {
printf("Usage: %s\n", argv[0]);
return NT_STATUS_OK;
}
- result = cli_samr_get_dom_pwinfo(cli, mem_ctx, &unk_0, &unk_1, &unk_2);
+ result = cli_samr_get_dom_pwinfo(cli, mem_ctx, &unk_0, &unk_1) ;
if (NT_STATUS_IS_OK(result)) {
printf("unk_0 = 0x%08x\n", unk_0);
printf("unk_1 = 0x%08x\n", unk_1);
- printf("unk_2 = 0x%08x\n", unk_2);
}
return result;