summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-22 13:40:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:18 -0500
commit9d6fd22e27a96f66a00103d23574939106684f9f (patch)
treea9e3ba5254bffcaae49a545ea60f7f7c74573c49 /source3/lib
parentb5100b1f256599ae7bc6635762546c74986f68a9 (diff)
downloadsamba-9d6fd22e27a96f66a00103d23574939106684f9f.tar.gz
samba-9d6fd22e27a96f66a00103d23574939106684f9f.tar.bz2
samba-9d6fd22e27a96f66a00103d23574939106684f9f.zip
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)
Diffstat (limited to 'source3/lib')
0 files changed, 0 insertions, 0 deletions