r23073: In the internal rpccli_lsa_lookup_sids_noalloc(), use a temporary
authorMichael Adam <obnox@samba.org>
Tue, 22 May 2007 13:40:01 +0000 (13:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:18 +0000 (12:22 -0500)
commit8e60900c5c5fccbe1718b805b6b1628d32b920d0
tree35ed917ba031f82799e76811191765489a57e279
parent88dac65ab1b951d445f0eedb638e9ace93139872
r23073: In the internal rpccli_lsa_lookup_sids_noalloc(), use a temporary
talloc context for use with the actual rpc query and response.
So the the parent context does not get flooded by the posslibly
large amount of response data (when looking up a lot of sids).

Note: It not possible, to simply use the names and domains arrays
as talloc contexts for the talloc_strdup calls, because from
rpccli_lsa_lookup_sids_all, this is called with names + offset
and domains + offset where names and domains are talloced
arraye for the complete response.
source/rpc_client/cli_lsarpc.c