Run ,automount –m‘ see if it show what it is supposed to show.

Looks like some error after ‚:‘ in your map.

O.

 

From: john lehardos [mailto:johnlehardos@hotmail.com]
Sent: Monday, December 05, 2016 1:12 PM
To: sssd-users@lists.fedorahosted.org
Subject: [SSSD-users] autofs bogus option

 

Hello,

 

I am getting crazy on a parse error on an automount map (syntax error).

Can you please help me to highlight were is the error or what are the best practices on on mounting an NFS path tree ?

 

My logs :

 

Dec 05 13:06:49 inflin01.super.int automount[17148]: using kernel protocol version 5.02

Dec 05 13:06:49 inflin01.super.int automount[17148]: lookup(file): file map /etc/auto.master_animfr missing or not readable

Dec 05 13:06:49 inflin01.super.int automount[17148]: syntax error in map near [ prods -fstype=nfs,rw,bg,hard,intr,tcp,vers=3 animnas: ]

Dec 05 13:06:49 inflin01.super.int automount[17148]: syntax error in map near [ root ]

Dec 05 13:06:49 inflin01.super.int automount[17148]: syntax error in map near [ Prods ]

Dec 05 13:06:49 inflin01.super.int automount[17148]: mounted indirect on /misc with timeout 3600, freq 900 seconds

Dec 05 13:06:49 inflin01.super.int automount[17148]: ghosting enabled

Dec 05 13:06:49 inflin01.super.int automount[17148]: mounted indirect on /net with timeout 3600, freq 900 seconds

Dec 05 13:06:49 inflin01.super.int automount[17148]: ghosting enabled

Dec 05 13:06:49 inflin01.super.int systemd[1]: Started Automounts filesystems on demand.

 

My maps :

 

dn: ou=auto.master_animfr,ou=autofs,dc=superimage,dc=fr

ou: auto.master_animfr

objectClass: automountMap

objectClass: top

 

dn: cn=/homes,ou=auto.master_animfr,ou=autofs,dc=superimage,dc=fr

automountInformation: ldap:ou=auto.home,ou=autofs,dc=superimage,dc=fr --timeout=3600

cn: /homes

objectClass: automount

objectClass: top

 

dn: ou=auto.s,ou=auto.master_animfr,ou=autofs,dc=superimage,dc=fr

ou: auto.s

objectClass: automountMap

objectClass: top

 

dn: cn=apps,ou=auto.s,ou=auto.master_animfr,ou=autofs,dc=superimage,dc=fr

cn: apps

description: auto.s

objectClass: automount

objectClass: top

automountInformation: -fstype=nfs,noatime,hard,intr,nosuid appserv.super.int:/vol/apps

 

dn: cn=prods,ou=auto.s,ou=auto.master_animfr,ou=autofs,dc=superimage,dc=fr

cn: prods

objectClass: automount

objectClass: top

automountInformation: -fstype=nfs,rw,bg,hard,intr,tcp,vers=3 animnas:/root/Prods

 

many thanks,

J

 

-----

The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited (S3 Group). Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18.