summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_lsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/srv_lsa.c')
-rw-r--r--source3/rpc_server/srv_lsa.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c
index b1761219af..9b6a98e9a6 100644
--- a/source3/rpc_server/srv_lsa.c
+++ b/source3/rpc_server/srv_lsa.c
@@ -48,7 +48,7 @@ static void lsa_reply_open_policy2(prs_struct *rdata)
r_o.status = 0x0;
/* get a (unique) handle. open a policy on it. */
- if (!open_lsa_policy_hnd(&r_o.pol))
+ if (!open_policy_hnd(&r_o.pol))
{
r_o.status = 0xC0000000 | NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
@@ -71,7 +71,7 @@ static void lsa_reply_open_policy(prs_struct *rdata)
r_o.status = 0x0;
/* get a (unique) handle. open a policy on it. */
- if (!open_lsa_policy_hnd(&r_o.pol))
+ if (!open_policy_hnd(&r_o.pol))
{
r_o.status = 0xC0000000 | NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
@@ -132,7 +132,7 @@ static void lsa_reply_query_info(LSA_Q_QUERY_INFO *q_q, prs_struct *rdata,
ZERO_STRUCT(r_q);
/* get a (unique) handle. open a policy on it. */
- if (r_q.status == 0x0 && !open_lsa_policy_hnd(&q_q->pol))
+ if (r_q.status == 0x0 && !open_policy_hnd(&q_q->pol))
{
r_q.status = 0xC0000000 | NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
@@ -591,13 +591,13 @@ static void api_lsa_close( pipes_struct *p, prs_struct *data,
r_c.status = 0x0;
/* find the connection policy handle. */
- if (r_c.status == 0x0 && (find_lsa_policy_by_hnd(&(q_c.pol)) == -1))
+ if (r_c.status == 0x0 && (find_policy_by_hnd(&(q_c.pol)) == -1))
{
r_c.status = 0xC0000000 | NT_STATUS_INVALID_HANDLE;
}
if (r_c.status == 0x0)
{
- close_lsa_policy_hnd(&(q_c.pol));
+ close_policy_hnd(&(q_c.pol));
}
/* store the response in the SMB stream */