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)
commit9d6fd22e27a96f66a00103d23574939106684f9f
treea9e3ba5254bffcaae49a545ea60f7f7c74573c49
parentb5100b1f256599ae7bc6635762546c74986f68a9
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.
(This used to be commit 8e60900c5c5fccbe1718b805b6b1628d32b920d0)
source3/rpc_client/cli_lsarpc.c