[PATCH] Use idmap cache for all pdb backends.

Alexander Werth werth at linux.vnet.ibm.com
Wed Apr 30 07:16:45 MDT 2014


Hi,

Currently only the passdb ldapsam backend uses the idmap cache.
And even that only uses the cache when the option ldapsam:trusted is set.
By moving the set cache entry calls up one layer all passdb backends
will use the idmap cache.
Without the idmap cache any id<->sid mapping request from ACLs for
example would result in another set of ldap queries. Up to the point
where the LDAP would be overloaded.

Cheers,
Alexander







-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-Always-cache-idmapping-results-of-pdb-backend.patch
Type: text/x-patch
Size: 3016 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140430/91a10031/attachment.bin>


More information about the samba-technical mailing list