summaryrefslogtreecommitdiff
path: root/source3/rpc_server
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/rpc_server
parentc7f34889591174ae335a37ab62747afab8fc418c (diff)
downloadsamba-da3e2d4c2797a9ea43312ba7bdb5bc9710c94004.tar.gz
samba-da3e2d4c2797a9ea43312ba7bdb5bc9710c94004.tar.bz2
samba-da3e2d4c2797a9ea43312ba7bdb5bc9710c94004.zip
Testing revealed some errors, reverting some of the lsa changes.
Guenther (This used to be commit ac1e4f1eb2c046def4fa30ab0bd98c49add8e8c8)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 247a52df46..6e25a64236 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1647,7 +1647,7 @@ NTSTATUS _lsa_CreateAccount(pipes_struct *p,
info->access = r->in.access_mask;
/* get a (unique) handle. open a policy on it. */
- if (!create_policy_hnd(p, *r->out.acct_handle, free_lsa_info, (void *)info))
+ if (!create_policy_hnd(p, r->out.acct_handle, free_lsa_info, (void *)info))
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
return privilege_create_account( &info->sid );
@@ -1691,7 +1691,7 @@ NTSTATUS _lsa_OpenAccount(pipes_struct *p,
info->access = r->in.access_mask;
/* get a (unique) handle. open a policy on it. */
- if (!create_policy_hnd(p, *r->out.acct_handle, free_lsa_info, (void *)info))
+ if (!create_policy_hnd(p, r->out.acct_handle, free_lsa_info, (void *)info))
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
return NT_STATUS_OK;