I think autofs reads all maps upon a start and then, based on the timeout variable,
updates entries in the indirect maps.
Master map is read only once, upon autofs start - so I guess you might be in trouble if
you are only using direct maps.
From: Jakub Hrozek [mailto:email@example.com]
Sent: Tuesday, July 25, 2017 8:33 AM
Subject: [SSSD-users] Re: Autofs Entries Caching
On Mon, Jul 24, 2017 at 11:31:51AM -0400, Douglas Duckworth wrote:
> We have autofs working great with sssd thanks to support of this listserv.
> Though during testing we noticed that only home directories, for users
> who had previously logged into a given server, were cached by the sssd
> Can sssd cache autofs for all users in our directory even if they
> haven't recently logged into a server?
> Here's our current config for autofs portion:
> autofs_provider = ldap
> ldap_autofs_search_base =
> ldap_autofs_map_master_name = autofs.maps
> = automountMap ldap_autofs_entry_object_class = automount
> ldap_autofs_map_name = ou ldap_autofs_entry_key = cn
> ldap_autofs_entry_value = automountInformation ldap_deref = always
In general, sssd only caches what automounter asks for. IIRC automounter
would ask at least for the master map and the nested maps after startups, but
I don't know how that works with keys, especially with
(presumably?) wildcard keys you might be using for home dirs..
I'm not sure how else to trigger automounter into explicitly querying the keys
other than forcing access to the directories, sorry.
sssd-users mailing list -- sssd-users(a)lists.fedorahosted.org To unsubscribe
send an email to sssd-users-leave(a)lists.fedorahosted.org
The information contained in this e-mail and in any attachments is confidential and is
designated solely for the attention of the intended recipient(s). If you are not an
intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or
any part thereof. If you have received this e-mail in error, please notify the sender by
return e-mail and delete all copies of this e-mail from your computer system(s). Please
direct any additional queries to: communications(a)s3group.com. Thank You. Silicon and
Software Systems Limited (S3 Group). Registered in Ireland no. 378073. Registered Office:
South County Business Park, Leopardstown, Dublin 18.