summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.c
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:45:26 +0100
commit76da70d5a5b5b05b926840d7692a31915d3ca8eb (patch)
treecb63941a6d193cbb9241f98114e5cfd30c9fc6ee /src/providers/ldap/ldap_common.c
parent13db46154dc2266b897abcfebd92d05500077023 (diff)
downloadsssd-76da70d5a5b5b05b926840d7692a31915d3ca8eb.tar.gz
sssd-76da70d5a5b5b05b926840d7692a31915d3ca8eb.tar.xz
sssd-76da70d5a5b5b05b926840d7692a31915d3ca8eb.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/ldap_common.c')
0 files changed, 0 insertions, 0 deletions