access idmap cache directly from smbd

Gerald (Jerry) Carter jerry at samba.org
Mon Aug 18 18:54:35 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:

> But then we need a tdb-based cache in pdb_ldap.c for the
> case I mentioned in my mail. Is that better?

hey Volker,

Seems I'm late to the party but isn't this just making the
in memory sid2uid cache that smbd already has use a tdb?

I agree that a read-only direct to tdb mechanism for smbd
to get idmap information would probably improve performance.
But if it is not optional as Simo suggested, then we've
recoupled smbd and winbindd again.

I think for what is needed here, you're idea of a cache
for pdb_ldap (or probably just the sid/id cache in smbd in
general) might be the best bet.

Hope these comments may help a little.




cheers, jerry
- --
=====================================================================
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIqcVqIR7qMdg1EfYRAkHGAKCH+rVu6wC2okMDmS2+O64lpV8Z/wCfbBYa
E9FZoxmfenWgAJNtyUb/5ek=
=IxSB
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list