That will require that LDAP (or some other auth service) provide autofs
services, which is not always true (and is not true in my environment).
Can we make it a separate attribute (autofs_ldap?) this would also need a
matching and empty [autofs] block if one doesn't already exist...


On Tue, Oct 1, 2013 at 12:06 PM, Antek Baranski <notifications@github.com>wrote:

> In templates/default/sssd.conf.erb:
>
> > @@ -7,11 +7,7 @@ reconnection_retries = 3
> >
> >  # If a back end is particularly slow you can raise this timeout here
> >  sbus_timeout = 30
> > -<% if node[:authconfig][:ldap][:sudo][:enable] -%>
> > -services = nss, pam, sudo
> > -<% else -%>
> > -services = nss, pam
> > -<% end -%>
> > +services = nss, pam<% if node[:authconfig][:ldap][:sudo][:enable] -%>, sudo<% end -%><% if node[:authconfig][:use_autofs] -%>, autofs<% end -%>
>
> It makes autofs a dependent service of sssd, scroll down to
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sssd-ldap-autofs.html#11.2.7.2
> .
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jcam/authconfig/pull/13/files#r6691228>
> .
>