From: "Knops, Manfred" <Manfred.KNOPS@3ds.com>
To: autofs@linux.kernel.org
Subject: master_notify: syntax error in map near [ bogus option ]
Date: Thu, 03 Jan 2008 13:40:24 +0100 [thread overview]
Message-ID: <477CD7B8.1070002@3ds.com> (raw)
Hello,
please can you help me.
I configured autofs in version 5.0.1 on a Fedora release 7 (Moonshine)
system to use ldap for the automount information.
The configuration is:
[userB@hostB ~]# egrep -v "^$|^#" /etc/sysconfig/autofs
MASTER_MAP_NAME="auto.master"
TIMEOUT=300
BROWSE_MODE="yes"
APPEND_OPTIONS="yes"
LOGGING="debug"
MAP_OBJECT_CLASS="automountMap"
ENTRY_OBJECT_CLASS="automount"
MAP_ATTRIBUTE="automountMapName"
ENTRY_ATTRIBUTE="automountKey"
VALUE_ATTRIBUTE="automountInformation"
AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"
[userB@hostB ~]# tail -n 8 /etc/autofs_ldap_auth.conf
<autofs_ldap_sasl_conf
usetls="no"
tlsrequired="no"
authrequired="yes"
authtype="DIGEST-MD5"
user="ldap"
secret="ldap"
/>
[userB@hostB ~]# egrep -v "^$|^#" /etc/auto.master
+auto.master
The automount info's are:
[userB@hostB ~]# ldapsearch "(objectClass=automountMap)"
...
...
# auto.master, automount, abaqus.de
dn: automountMapName=auto.master,ou=automount,dc=abaqus,dc=de
objectClass: top
objectClass: automountMap
automountMapName: auto.master
description: This chapter is analog to the file /etc/auto.master
# auto.home, automount, abaqus.de
dn: automountMapName=auto.home,ou=automount,dc=abaqus,dc=de
objectClass: top
objectClass: automountMap
automountMapName: auto.home
description: This chapter is analog to /etc/auto.home
[userB@hostB ~]# ldapsearch
"(&(objectClass=automount)(|(automountKey=/home)(automountKey=/net)))"
...
...
# /net, auto.master, automount, abaqus.de
dn:
automountKey=/net,automountMapName=auto.master,ou=automount,dc=abaqus,dc=de
objectClass: top
objectClass: automount
automountKey: /net
automountInformation: /etc/auto.net --timeout=60
# /home, auto.master, automount, abaqus.de
dn:
automountKey=/home,automountMapName=auto.master,ou=automount,dc=abaqus,dc=de
objectClass: top
objectClass: automount
automountKey: /home
automountInformation: ldap
192.168.1.2:automountMapName=auto.home,ou=automount,dc=abaqus,dc=de
--timeout=60
[userB@hostB ~]# ldapsearch "(&(objectClass=automount)(automountKey=userA))"
...
...
# userA, auto.home, automount, abaqus.de
dn:
automountKey=userA,automountMapName=auto.home,ou=automount,dc=abaqus,dc=de
objectClass: top
objectClass: automount
automountKey: userA
automountInformation: -fstype=nfs,hard,intr,nodev,nosuid hostA:/home/userA
description: ldap entry for /etc/auto.home
When I start I got this information in /var/log/message:
Jan 3 13:37:52 kerberos automount[12728]: Starting automounter version
5.0.1-31, master map auto.master
Jan 3 13:37:52 kerberos automount[12728]: using kernel protocol version
5.00
Jan 3 13:37:52 kerberos automount[12728]: master_error: syntax error
while parsing map.
Jan 3 13:37:52 kerberos automount[12728]: master_notify: syntax error
in map near [ bogus option ]
Jan 3 13:37:52 kerberos automount[12728]: master_error: syntax error
while parsing map.
Jan 3 13:37:52 kerberos automount[12728]: master_read_master: no mounts
in table
On Opensuse 10.3 this configuration works.
Please can anyone tell me, what does it means syntax error in map near [
bogus option ].
With best regard
Manfred
--
Manfred Knops
Abaqus Deutschland GmbH
Elisabethstrasse 16
D-52062 Aachen
next reply other threads:[~2008-01-03 12:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-03 12:40 Knops, Manfred [this message]
2008-01-03 15:28 ` master_notify: syntax error in map near [ bogus option ] Knops, Manfred
2008-01-04 1:45 ` Ian Kent
2008-01-07 7:06 ` Knops, Manfred
2008-01-07 7:58 ` Ian Kent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=477CD7B8.1070002@3ds.com \
--to=manfred.knops@3ds.com \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.