[PATCH] passdb: Cache output from pdb_[ug]id_to_sid

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jan 5 12:53:59 MST 2015

On Tue, Jan 06, 2015 at 08:13:55AM +1300, Andrew Bartlett wrote:
> On Mon, 2015-01-05 at 16:55 +0100, Volker Lendecke wrote:
> > Hi!
> > 
> > Review&push appreciated!
> > 
> Volker,
> This looks like exactly the kind of thing that got us into
> https://bugzilla.samba.org/show_bug.cgi?id=10720 
> Please don't push until I get a chance to verify that it isn't possible
> to have an ID that is of type BOTH forced into being a UID here.

Ok, I'll make this a customer only patch then.

How do you recommend we solve this problem then? We really
need to cache the passdb lookups. We could go and implement
the cache at the ldap level, maybe the source4 ldap server
would be able to serve as a caching proxy?



SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list