diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-09-09 15:52:03 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-30 22:54:40 +0100 |
commit | 7cf785f9326a32afd0a52117f89d854244b1ce40 (patch) | |
tree | bda9283b17bcea520713338aafb4c15f1c267ae1 /src/providers/ldap | |
parent | 95b7dfd15802091d291d3eb3400b42c2423e9671 (diff) | |
download | sssd-7cf785f9326a32afd0a52117f89d854244b1ce40.tar.gz sssd-7cf785f9326a32afd0a52117f89d854244b1ce40.tar.xz sssd-7cf785f9326a32afd0a52117f89d854244b1ce40.zip |
ad: shortcut if possible during get object by ID or SID
When getByID or getBySID comes from responder, the request doesn't
necessarily have to contain correct domain, since responder iterates
over all domains until it finds a match.
Every domain has its own ID range, so we can simply shortcut if
domain does not match and avoid LDAP round trip. Responder will
continue with next domain until it finds the correct one.
Diffstat (limited to 'src/providers/ldap')
0 files changed, 0 insertions, 0 deletions