[Freeipa-users] SSSD and Autofs

James James jreg2k at gmail.com
Thu Jul 24 08:22:07 UTC 2014


The files are in attachment.

Thanks for you help.


2014-07-24 9:41 GMT+02:00 Jakub Hrozek <jhrozek at redhat.com>:

> On Wed, Jul 23, 2014 at 11:45:28PM +0200, James James wrote:
> > HI guy, I've been struggling for a while tom make sssd  works with
> autofs .
> > I have a freeipa server that serves maps. When a client is enrolled and I
> > make in a terminal
> >
> > root at host ~# ipa-client-automount -U
> >
> > everything is ok
> >
> >  but i've got :
> >
> > root at host ~# automount -fd -vvv
> > Starting automounter version 5.0.5-88.el6, master map auto.master
> > using kernel protocol version 5.02
> > lookup_nss_read_master: reading master sss auto.master
> > parse_init: parse(sun): init gathered global options: (null)
> > master_do_mount: mounting /-
> > automount_path_to_fifo: fifo name /var/run/autofs.fifo--
> > lookup_nss_read_map: reading map sss auto.direct
> > parse_init: parse(sun): init gathered global options: (null)
> > lookup_read_map: lookup(sss): getautomntent_r: No such file or directory
> > lookup_nss_read_map: reading map files auto.direct
> > file map /etc/auto.direct not found
> > st_ready: st_ready(): state = 0 path /
> >
> >
> > Maybye I am missing something ....
> >
> > Any help will be appreciate ..
> >
> > Thanks
>
> Can you attach your config file and check out what's in
> /var/log/sssd/sssd_autofs.log once you add debug_level=6 into the
> [autofs] section?
>
> --
> Manage your subscription for the Freeipa-users mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-users
> Go To http://freeipa.org for more info on the project
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140724/80ed550c/attachment.htm>
-------------- next part --------------
[root at client ~]# cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Valid entries include:
#
#       nisplus                 Use NIS+ (NIS version 3)
#       nis                     Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#       [NOTFOUND=return]       Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:


#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files sss
shadow:     files sss
group:      files sss

#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files sss

netgroup:   files sss

publickey:  nisplus

automount: sss files

aliases:    files nisplus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: etc-sysconfig-autofs
Type: application/octet-stream
Size: 4428 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140724/80ed550c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sssd_conf
Type: application/octet-stream
Size: 527 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140724/80ed550c/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sssd_autofs.log
Type: text/x-log
Size: 4923 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140724/80ed550c/attachment.bin>


More information about the Freeipa-users mailing list