summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-09-09 15:52:03 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-10-30 22:54:40 +0100
commit7cf785f9326a32afd0a52117f89d854244b1ce40 (patch)
treebda9283b17bcea520713338aafb4c15f1c267ae1 /src/providers/ldap
parent95b7dfd15802091d291d3eb3400b42c2423e9671 (diff)
downloadsssd-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