LDAP entries cached forever [PATCH]
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?
Something like this (though without the hacky environment variable config):
http://www.sixpak.org/vince/autofs-age-ldap-cache.diff
Vince
Ian Kent
maintainerQuoted 3 lines · Vince Busam
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.
Quoted 3 lines
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