diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-02-26 22:44:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:12 -0500 |
commit | eccb9b7962a71541651bd63bff1ff85c80e70b77 (patch) | |
tree | 855cc7463868722fd2df5ed82fd8d94f101008d4 /source3/stf | |
parent | bdc612a09861af69eb711fd4704bf5641b3209aa (diff) | |
download | samba-eccb9b7962a71541651bd63bff1ff85c80e70b77.tar.gz samba-eccb9b7962a71541651bd63bff1ff85c80e70b77.tar.bz2 samba-eccb9b7962a71541651bd63bff1ff85c80e70b77.zip |
r21549: Only create DISP_INFO structs for domain handles, the others don't need
them. It just does not make sense to do a querydispinfo on an alias handle...
This fixes a memleak: Every samr_connect*() call leaked a DISP_INFO for the
(NULL) sid.
More cleanup pending: Essentially, we only need the DISP_INFO cache for the
get_global_sam_sid() domain. BUILTIN is fixed and small enough, and there are
no other domains around where enumerations could happen.
This also removes the explicit builtin_domain flags. I don't think this is
worth it. If this makes a significant difference, then we have a *VERY* tuned
RPC layer...
Jeremy, please check this. If it's ok, we might want to merge it across.
Volker
(This used to be commit 0aceda68a825788895759e79de55b080ad3f971d)
Diffstat (limited to 'source3/stf')
0 files changed, 0 insertions, 0 deletions