The files are in attachment.

Thanks for you help.


2014-07-24 9:41 GMT+02:00 Jakub Hrozek <jhro...@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@host ~# ipa-client-automount -U
> >
> > everything is ok
> >
> >  but i've got :
> >
> > root@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
>
[root@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

Attachment: etc-sysconfig-autofs
Description: Binary data

Attachment: sssd_conf
Description: Binary data

(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [accept_fd_handler] (0x0400): Client connected!
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_cmd_get_version] (0x0200): Received client version [1].
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_cmd_get_version] (0x0200): Offered version [1].
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_autofs_cmd_setautomntent] (0x0400): Got request for automount map named auto.master
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_parse_name_for_domains] (0x0200): name 'auto.master' matched without domain, user is auto
.master
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_parse_name_for_domains] (0x0200): using default domain [(null)]
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [setautomntent_send] (0x0400): Requesting info for automount map [auto.master] from [<ALL>]
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [lookup_automntmap_step] (0x0400): Requesting info for [auto.mas...@example.com]
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_dp_issue_request] (0x0400): Issuing request for [0x40f9d0:0:auto.master@lix.polytechnique
.fr]
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_dp_get_autofs_msg] (0x0400): Creating autofs request for [example.com][4105][map
name=auto.master]
(Thu Jul 24 08:09:18 2014) [sssd[autofs]] [sss_dp_internal_get_send] (0x0400): Entering request [0x40f9d0:0:auto.master@lix.polytechniqu
e.fr]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [lookup_automntmap_step] (0x0400): Requesting info for [auto.mas...@example.com]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sysdb_autofs_entries_by_map] (0x0400): Getting entries for map auto.master
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [lookup_automntmap_step] (0x0400): setautomntent done for map auto.master
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_setautomntent_done] (0x0400): setautomntent found data
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_dp_req_destructor] (0x0400): Deleting request: [0x40f9d0:0:auto.mas...@example.com]````
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_getautomntent] (0x0400): Requested data of map auto.master cursor 0 max entries 512
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_getautomntent] (0x0400): Requested data of map auto.master cursor 1 max entries 512
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [getautomntent_process] (0x0080): No entries found
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_endautomntent] (0x0400): endautomntent called
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [client_recv] (0x0200): Client disconnected!
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [accept_fd_handler] (0x0400): Client connected!
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_cmd_get_version] (0x0200): Received client version [1].
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_cmd_get_version] (0x0200): Offered version [1].
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_setautomntent] (0x0400): Got request for automount map named auto.direct
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_parse_name_for_domains] (0x0200): name 'auto.direct' matched without domain, user is auto.direct
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_parse_name_for_domains] (0x0200): using default domain [(null)]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [setautomntent_send] (0x0400): Requesting info for automount map [auto.direct] from [<ALL>]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [lookup_automntmap_step] (0x0400): Requesting info for [auto.dir...@example.com]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_dp_issue_request] (0x0400): Issuing request for [0x40f9d0:0:auto.dir...@example.com]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_dp_get_autofs_msg] (0x0400): Creating autofs request for [example.com][4105][mapname=auto.direct]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_dp_internal_get_send] (0x0400): Entering request [0x40f9d0:0:auto.dir...@example.com]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [lookup_automntmap_step] (0x0400): Requesting info for [auto.dir...@example.com]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sysdb_autofs_entries_by_map] (0x0400): Getting entries for map auto.direct
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sysdb_autofs_entries_by_map] (0x0400): No entries for the map
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [lookup_automntmap_step] (0x0400): setautomntent done for map auto.direct
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_setautomntent_done] (0x0400): setautomntent found data
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_dp_req_destructor] (0x0400): Deleting request: [0x40f9d0:0:auto.dir...@example.com]
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_getautomntent] (0x0400): Requested data of map auto.direct cursor 0 max entries 512
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [getautomntent_process] (0x0080): No entries found
(Thu Jul 24 08:09:19 2014) [sssd[autofs]] [sss_autofs_cmd_endautomntent] (0x0400): endautomntent called

-- 
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

Reply via email to