diff options
author | Günther Deschner <gd@samba.org> | 2007-06-27 11:42:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:38 -0500 |
commit | e9a7512a9f630340004913f1379452eea8a9b6ae (patch) | |
tree | fb5433f0fff04b0e1ae71d8e381acf3f32d18ee9 /source/rpc_parse | |
parent | 555ae4a19b35b0672033798e00e3d1e153d2a9b3 (diff) | |
download | samba-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.c | 5 |
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) { |