diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-10-12 09:36:24 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-10-12 06:31:16 -0400 |
commit | e5389ffd5193fcb7edf3b0c5fa887e46cff986fe (patch) | |
tree | c454f42fb77109d6ce21476abc72a554fe3715d2 /setup.py | |
parent | 17f247d6c2aef177c40a690f886b0773a88a6dfa (diff) | |
download | freeipa-e5389ffd5193fcb7edf3b0c5fa887e46cff986fe.tar.gz freeipa-e5389ffd5193fcb7edf3b0c5fa887e46cff986fe.tar.xz freeipa-e5389ffd5193fcb7edf3b0c5fa887e46cff986fe.zip |
Optimize member/memberof searches in LDAP
When investigating if member/memberof attribute is direct/indirect
we do a lot of LDAP SCOPE_SUBTREE searches when we actually search
just for one item. Make sure we search only with SCOPE_BASE to improve
the performance.
One not so efficient iteration was also changed to list comprehension
to speed things up a tiny bit.
https://fedorahosted.org/freeipa/ticket/1885
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions