summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_util.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-22 12:49:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:18 -0500
commitb5100b1f256599ae7bc6635762546c74986f68a9 (patch)
tree8969dae1b1ad877f1b25180ce78d46c872d7e4b6 /source3/nsswitch/winbindd_util.c
parent87d30dc32d06ce20e091b9d482af126780a9e4b7 (diff)
downloadsamba-b5100b1f256599ae7bc6635762546c74986f68a9.tar.gz
samba-b5100b1f256599ae7bc6635762546c74986f68a9.tar.bz2
samba-b5100b1f256599ae7bc6635762546c74986f68a9.zip
r23072: In winbindd_ads.c:lookup_groupmem, replace the bottleneck
dn_lookup loop by a rpccli_lsa_lookupsids_all (see r23070) call. This replaces one ldap search per member sid by one rpc call per 1000 sids. This greatly speeds up groupmem lookups for groups with lots of users. Since the loop in lookup_groupmem was the only use of dn_lookup, the function is removed. Michael (This used to be commit 88dac65ab1b951d445f0eedb638e9ace93139872)
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
0 files changed, 0 insertions, 0 deletions