access idmap cache directly from smbd

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Aug 17 14:35:03 GMT 2008

On Sun, Aug 17, 2008 at 10:28:37AM -0400, simo wrote:
> On Sun, 2008-08-17 at 16:09 +0200, Volker Lendecke wrote:
> > On Sun, Aug 17, 2008 at 10:02:54AM -0400, simo wrote:
> > > Not sure what difference it would make ?
> > > The idmap cache is already a tdb based cache, and you already go through
> > > winbindd in the normal case. I think just removing the operations that
> > > save ids in your patch is close to what is needed.
> > 
> > Well, many people run PDCs without winbind. In a single
> > domain it is perfectly ok to do so.
> I see,
> maybe in this case you can make the write backs conditional to the fact
> samba is not configured as a member server (ie only PDC/BDC or
> standalone) and winbindd is not configured ?

No, won't happen. Too much complexity. I'll write up a new
patch that unconditionally caches idmaps in gencache from
pdb_ldap.c, with a different prefix.

Thanks for the comments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list