summaryrefslogtreecommitdiffstats
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-09 01:33:47 +0100
committerGünther Deschner <gd@samba.org>2008-02-09 02:05:39 +0100
commitda3e2d4c2797a9ea43312ba7bdb5bc9710c94004 (patch)
tree00c5dbdb0ab9cf45028eb5a067716b2a2be4b9e2 /source3/rpcclient
parentc7f34889591174ae335a37ab62747afab8fc418c (diff)
downloadsamba-da3e2d4c2797a9ea43312ba7bdb5bc9710c94004.tar.gz
samba-da3e2d4c2797a9ea43312ba7bdb5bc9710c94004.tar.xz
samba-da3e2d4c2797a9ea43312ba7bdb5bc9710c94004.zip
Testing revealed some errors, reverting some of the lsa changes.
Guenther (This used to be commit ac1e4f1eb2c046def4fa30ab0bd98c49add8e8c8)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index 54791f143c3..e5d131e9c13 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -585,7 +585,7 @@ static NTSTATUS cmd_lsa_create_account(struct rpc_pipe_client *cli,
const char **argv)
{
POLICY_HND dom_pol;
- POLICY_HND *user_pol = NULL;
+ POLICY_HND user_pol;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
uint32 des_access = 0x000f000f;
@@ -632,7 +632,7 @@ static NTSTATUS cmd_lsa_enum_privsaccounts(struct rpc_pipe_client *cli,
const char **argv)
{
POLICY_HND dom_pol;
- POLICY_HND *user_pol = NULL;
+ POLICY_HND user_pol;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
uint32 access_desired = 0x000f000f;
@@ -666,7 +666,7 @@ static NTSTATUS cmd_lsa_enum_privsaccounts(struct rpc_pipe_client *cli,
if (!NT_STATUS_IS_OK(result))
goto done;
- result = rpccli_lsa_enum_privsaccount(cli, mem_ctx, user_pol, &count, &set);
+ result = rpccli_lsa_enum_privsaccount(cli, mem_ctx, &user_pol, &count, &set);
if (!NT_STATUS_IS_OK(result))
goto done;