[SSSD] setautomntenta autofs file not found

Jakub Hrozek jhrozek at redhat.com
Fri Sep 13 08:26:34 UTC 2013


On Fri, Sep 13, 2013 at 01:53:13AM +0200, steve wrote:
> Hi 
> Problems with autofs on a 1.11.1 git:
> 
> The only error I can see is this:
> 2013-09-13T01:47:34.264459+02:00 catral automount[2569]: setautomntent:
> lookup(sss): setautomntent: No such file or directory
> 
> and nothing gets mounted.
> 
> sssd starts fine. Here is the conf:
> [sssd]
> #debug_level = 6
> services = nss, pam, autofs
> config_file_version = 2
> domains = default
> 
> [nss]
> 
> [pam]
> 
> [autofs]
> 
> [domain/default]
> #debug_level=6
> dyndns_update=true
> #dyndns_refresh_interval=16
> ad_hostname = catral.hh3.site
> ad_server = hh16.hh3.site
> ad_domain = hh3.site
> ldap_schema = ad
> id_provider = ad
> access_provider = simple
> enumerate = false
> cache_credentials = true
> #entry_cache_timeout = 60
> auth_provider = krb5
> chpass_provider = krb5
> krb5_realm = HH3.SITE
> krb5_server = hh16.hh3.site
> krb5_kpasswd = hh16.hh3.site
> 
> ldap_id_mapping=false
> ldap_referrals = false
> ldap_uri = ldap://hh16.hh3.site
> ldap_search_base = dc=hh3,dc=site
> #ldap_tls_cacertdir = /usr/local/samba/private/tls
> #ldap_id_use_start_tls = true
> #entry_negative_timeout = 1
> ldap_user_object_class = user
> ldap_user_name = samAccountName
> ldap_user_uid_number = uidNumber
> ldap_user_gid_number = gidNumber
> ldap_user_home_directory = unixHomeDirectory
> ldap_user_shell = loginShell
> ldap_group_object_class = group
> ldap_group_search_base = dc=hh3,dc=site
> ldap_group_name = cn
> ldap_group_member = member
> 
> 
> #ldap_default_bind_dn = cn=steve2,cn=Users,dc=dolores,dc=site
> #ldap_default_authtok_type = password
> #ldap_default_authtok = s2
> 
> ldap_sasl_mech = gssapi
> ldap_sasl_authid = CATRAL$@HH3.SITE
> #krb5_keytab = /etc/krb5.keytab
> ldap_krb5_init_creds = true
> 
> autofs_provider=ldap
> 
> ldap_autofs_search_base = DC=hh3,DC=site
> ldap_autofs_map_object_class = nisMap
> ldap_autofs_entry_object_class = nisObject
> ldap_autofs_map_name = nisMapName
> ldap_autofs_entry_key = cn
> ldap_autofs_entry_value = nisMapEntry

Hi steve,

was this setup working previously?

Can you paste an example of your autofs map and entry in LDAP ?



More information about the sssd-devel mailing list