diff options
| author | Jason Woods <devel@jasonwoods.me.uk> | 2014-03-07 16:38:24 +0000 |
|---|---|---|
| committer | Petr Viktorin <pviktori@redhat.com> | 2014-03-12 12:19:06 +0100 |
| commit | d6a7923f71eb69bac53d6ff904086a9abd103dbc (patch) | |
| tree | 562350dd2d9926a445552d1a1173baef0d95c148 /ipapython/py_default_encoding/Makefile | |
| parent | d3a34591a807f1420042ddbb53b3d5ac846927aa (diff) | |
ipa-sam: cache gid to sid and uid to sid requests in idmap cache
Add idmap_cache calls to ipa-sam to prevent huge numbers of LDAP calls to the
directory service for gid/uid<->sid resolution.
Additionally, this patch further reduces number of queries by:
- fast fail on uidNumber=0 which doesn't exist in FreeIPA,
- return fallback group correctly when looking up user primary group as is
done during init,
- checking for group objectclass in case insensitive way
Patch by Jason Woods <devel@jasonwoods.me.uk>
Reviewed-by: Alexander Bokovoy <abokovoy@redhat.com>
https://fedorahosted.org/freeipa/ticket/4234
and
https://bugzilla.redhat.com/show_bug.cgi?id=1073829
https://bugzilla.redhat.com/show_bug.cgi?id=1074314
Reviewed-By: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'ipapython/py_default_encoding/Makefile')
0 files changed, 0 insertions, 0 deletions
