summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-27 11:42:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:38 -0500
commite9a7512a9f630340004913f1379452eea8a9b6ae (patch)
treefb5433f0fff04b0e1ae71d8e381acf3f32d18ee9 /source/rpc_parse
parent555ae4a19b35b0672033798e00e3d1e153d2a9b3 (diff)
downloadsamba-e9a7512a9f630340004913f1379452eea8a9b6ae.tar.gz
samba-e9a7512a9f630340004913f1379452eea8a9b6ae.tar.xz
samba-e9a7512a9f630340004913f1379452eea8a9b6ae.zip
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther
Diffstat (limited to 'source/rpc_parse')
-rw-r--r--source/rpc_parse/parse_lsa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/rpc_parse/parse_lsa.c b/source/rpc_parse/parse_lsa.c
index 0c07e7fe221..09f0f835ecc 100644
--- a/source/rpc_parse/parse_lsa.c
+++ b/source/rpc_parse/parse_lsa.c
@@ -1567,7 +1567,8 @@ makes a structure.
********************************************************************/
void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l,
- POLICY_HND *hnd, int num_names, const char **names)
+ POLICY_HND *hnd, int num_names, const char **names,
+ int level)
{
unsigned int i;
@@ -1578,7 +1579,7 @@ void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l,
q_l->pol = *hnd;
q_l->num_entries = num_names;
q_l->num_entries2 = num_names;
- q_l->lookup_level = 1;
+ q_l->lookup_level = level;
if (num_names) {
if ((q_l->uni_name = TALLOC_ZERO_ARRAY(mem_ctx, UNISTR2, num_names)) == NULL) {