On Fri, 4 Nov 2005, Vince Busam wrote:

> An ldap mountpoint will be cached forever until autofs is restarted or gets a
> SIGHUP. Does it make sense to alter the behavior to automatically age out old
> entries and re-query the ldap server every once in a while?

That's not quite right.
What about the other map types? The behaviour should be the same for all 
the maps where possible.

Changes should be noticed and the map entry updated on every mount 
request.

I decided against timing out entries and reloading the map for several 
reasons I can't remember now but it's always up for reconsideration.

I also have a couple of patches in the queue for the ldap module, one 
largely rewrites the module.

> 
> Something like this (though without the hacky environment variable config):
> http://www.sixpak.org/vince/autofs-age-ldap-cache.diff

I'll have a look.
Thanks for the contribution Vince.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to