Hello,
I'm running CENTOS 7.4 and I'm struggling to make autofs work with a direct map. I believe I followed correctly the documentation (Linux Domain Identity, Authentication, and Policy Guide) but I can't find why it's not working. Mounting manually is OK. Where should I start to look ?
thanks in advance
Hello,
some more info, if anyone understands what I did wrong.. I'm stucked for 2 weeks already
I have one ipa server (idm1) which also serves NFS, and one ipa client (idm2)
Here are the logs when running automount with --dumpmaps and -df
# automount --dumpmaps
autofs dump map information ===========================
global options: none configured
Mount point: /misc
source(s):
instance type(s): file map: /etc/auto.misc
cd | -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Mount point: /net
source(s):
type: hosts
localhost | (null) idm2.ipa.myidm.com | (null)
Mount point: /-
source(s): 100000000|lookup_read_map: lookup(nisplus): couldn't locate nis+ table auto.direct
instance type(s): nisplus sss map: auto.direct
/share | -fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs
# automount -df .... direct on /share with timeout 300, freq 75 seconds do_mount_autofs_direct: mounted trigger /share st_ready: st_ready(): state = 0 path /- handle_packet: type = 5 handle_packet_missing_direct: token 13, name /share, request pid 20812 attempting to mount entry /share lookup_mount: lookup(nisplus): looking up /share lookup_mount: lookup(nisplus): /share -> -fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs parse_mount: parse(sun): expanded entry: -fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs parse_mount: parse(sun): gathered options: fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs parse_mount: parse(sun): dequote("") -> parse_mount: parse(sun): entry /share is empty! lookup_mount: lookup(sss): looking up /share dev_ioctl_send_fail: token = 13 failed to mount /share ....
Le mer. 16 oct. 2019 à 22:25, danielle lampert danielle55.lampert@gmail.com a écrit :
Hello,
I'm running CENTOS 7.4 and I'm struggling to make autofs work with a direct map. I believe I followed correctly the documentation (Linux Domain Identity, Authentication, and Policy Guide) but I can't find why it's not working. Mounting manually is OK. Where should I start to look ?
thanks in advance
Hi,
Can you share the automount entries you've added on the IPA server side? IIRC if you do these wrong or in the wrong order the client won't pick them up. Best would be to show the resulting entries from LDAP.
Cheers François
On Thu, Oct 17, 2019 at 9:16 PM danielle lampert via FreeIPA-users freeipa-users@lists.fedorahosted.org wrote:
Hello,
some more info, if anyone understands what I did wrong.. I'm stucked for 2 weeks already
I have one ipa server (idm1) which also serves NFS, and one ipa client (idm2)
Here are the logs when running automount with --dumpmaps and -df
# automount --dumpmaps
autofs dump map information
global options: none configured
Mount point: /misc
source(s):
instance type(s): file map: /etc/auto.misc
cd | -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Mount point: /net
source(s):
type: hosts
localhost | (null) idm2.ipa.myidm.com | (null)
Mount point: /-
source(s): 100000000|lookup_read_map: lookup(nisplus): couldn't locate nis+ table auto.direct
instance type(s): nisplus sss map: auto.direct
/share | -fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs
# automount -df .... direct on /share with timeout 300, freq 75 seconds do_mount_autofs_direct: mounted trigger /share st_ready: st_ready(): state = 0 path /- handle_packet: type = 5 handle_packet_missing_direct: token 13, name /share, request pid 20812 attempting to mount entry /share lookup_mount: lookup(nisplus): looking up /share lookup_mount: lookup(nisplus): /share -> -fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs parse_mount: parse(sun): expanded entry: -fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs parse_mount: parse(sun): gathered options: fstype=nfs4,rw,soft,idm1.ipa.myidm.com:/nfs parse_mount: parse(sun): dequote("") -> parse_mount: parse(sun): entry /share is empty! lookup_mount: lookup(sss): looking up /share dev_ioctl_send_fail: token = 13 failed to mount /share ....
Le mer. 16 oct. 2019 à 22:25, danielle lampert danielle55.lampert@gmail.com a écrit :
Hello,
I'm running CENTOS 7.4 and I'm struggling to make autofs work with a direct map. I believe I followed correctly the documentation (Linux Domain Identity, Authentication, and Policy Guide) but I can't find why it's not working. Mounting manually is OK. Where should I start to look ?
thanks in advance
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahoste...
freeipa-users@lists.fedorahosted.org