Comment # 19 on bug 899369 from
(In reply to Jakub Hrozek from comment #14)
> (In reply to Peter Varkoly from comment #12)
> > (In reply to malcolm moore from comment #8)
> > > Created attachment 609465 [details]
> > > Screenshot of LDAP auto.master
> > 
> > sssd does not support this kind of autfs maps. sssd support ldap only maps. 
> > For sssd the nisMapEntry must contain the name of the map. In your case:
> > 
> 
> Not sure I follow you, can you elaborate?
> 
> Are you saying the attributes are mismatched and the entries use value for
> names and vice versa?
> 
> (Sorry, I don't have a server with the nis* schema around so I can't test
> myself..)
> 
> > nisMapEntry: autoHome
> > 
> > 
> > -----------------
> > You can still use your old configuration. But in this case you must not
> > enable autofs in sssd and you have to configure autofs as usual:
> > Setting "automount:      files ldap" in /etc/nsswitch.conf
> > 
> > Adapt /etc/sysconfig/autofs and adapt /etc/autofs_ldap_auth.conf

I've tested sssd a lot of time by higher debug level. The entries of the
auto.master tables was searched every time by:
(nisMapName=<Value of nisMapEntry>)

This means if you have in auto.master following entries:
nisMapEntry: ldap nisMapName=auto.home,ou=mounts,dc=sample,dc=com

The filter looks like:
(nisMapName=ldap nisMapName=auto.home,ou=mounts,dc=sample,dc=com)
and it fails everytime.

If the nisMapEntry contains the nisMapName of the autofs table it works fine: 
nisMapEntry: auto.home
Filter is:
(nisMapName=auto.home)

The normal autmount can implement both kind of nisMapEntry. 
I'll attach 2 ldif examples for the same autofs tabs.


You are receiving this mail because: