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 | 7eb828135bd7407851a10c32d57c404ecb030140 (patch) | |
tree | f14aa962258c8927b30ce8a3131adb2c0e98c2cc /source3/rpc_parse | |
parent | d4a2898943a67e5612b0b60ce7eb1ccf28da8efd (diff) | |
download | samba-7eb828135bd7407851a10c32d57c404ecb030140.tar.gz samba-7eb828135bd7407851a10c32d57c404ecb030140.tar.bz2 samba-7eb828135bd7407851a10c32d57c404ecb030140.zip |
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther
(This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_lsa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c index 0c07e7fe22..09f0f835ec 100644 --- a/source3/rpc_parse/parse_lsa.c +++ b/source3/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) { |