summaryrefslogtreecommitdiff
path: root/source3/pipentlsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/pipentlsa.c')
-rw-r--r--source3/pipentlsa.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/pipentlsa.c b/source3/pipentlsa.c
index 4fc61f8e5b..cf40ccc7af 100644
--- a/source3/pipentlsa.c
+++ b/source3/pipentlsa.c
@@ -237,8 +237,12 @@ api_lsa_open_policy
static void api_lsa_open_policy( char *param, char *data,
char **rdata, int *rdata_len )
{
- /* we might actually want to decode the query, but it's not necessary */
- /* lsa_io_q_open_policy(...); */
+ LSA_Q_OPEN_POL q_o;
+
+ /* grab the server, object attributes and desired access flag...*/
+ lsa_io_q_open_pol(True, &q_o, data + 0x18, data, 4, 0);
+
+ /* lkclXXXX having decoded it, ignore all fields in the open policy! */
/* return a 20 byte policy handle */
*rdata_len = lsa_reply_open_policy(*rdata + 0x18, *rdata);