access idmap cache directly from smbd

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Aug 19 03:41:58 GMT 2008


On Mon, Aug 18, 2008 at 04:28:32PM -0700, Jeremy Allison wrote:
> Pseudocode to try and make things clearer...
> 
> smbd_check_winbindd_cache();
> if (!in_cache) {
> 	smbd_check_in_local_memory_cache();
> }
> if (!in_cache) {
> 	ask_winbindd();
> }
> 
> do_legacy_mapping_and_store_in_local_memory_cache();

What about the case where winbind does not run, we have
pdb_ldap as a DC, and we use "hide unreadable"? Every smbd
has to ask ldap itself. This is what killed the LDAP server
for me.

I think it's really better if I keep this as a custom patch,
this causes way too much trouble here.

Sorry for the noise,

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080819/1b098b6b/attachment.bin


More information about the samba-technical mailing list