On Wed, Sep 18, 2013 at 10:02:46AM +0100, Rowland Penny wrote:
> The only change I made was in /etc/default/autofs, I changed:
> 
> MASTER_MAP_NAME="OU=auto.master,OU=automount,DC=home,DC=lan"
> 
> To:
> 

Ah, I know what's going on, sorry for the confusion.

tl;dr - your config is correct.

> MASTER_MAP_NAME="auto.master"
> 
> This resulted in finding in sssd_example.com.log this:
> 
> (Mon Sep 16 15:10:50 2013) [sssd[be[example.com]]]
> [sdap_get_generic_ext_step] (0x0400): calling ldap_search_ext with 
> [(&(automountMapName=OU=auto.master,OU=automount,DC=example,DC=com)(objectclass=automountMap))][OU=automount,DC=example,DC=com].
> 
> had changed to this:
> 
> (Wed Sep 18 08:35:06 2013) [sssd[be[home.lan]]]
> [sdap_get_generic_ext_step] (0x0400): calling ldap_search_ext with 
> [(&(automountMapName=auto.master)(objectclass=automountMap))][OU=automount,DC=home,DC=lan].
> 
> and that the shared dir on the server, mounted on the client.
> 
> So it would seem that you do parse the autofs file.

So the map names are only ever requested by the automounter deamon. SSSD
more or less acts as a proxy or a cache if you will. The only logic in
the SSSD where we special-case the master map is that when the master
map name (currently hardoded to auto.master) is requested, we also
re-download all nested maps from the LDAP server instead of going to the
cache.

The logic behind that is that auto.master is (IIRC) only re-read by
automounter on restarts or on receiving HUP.
_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users

Reply via email to