All of lore.kernel.org
 help / color / mirror / Atom feed
* master_notify: syntax error in map near [ bogus option ]
@ 2008-01-03 12:40 Knops, Manfred
  2008-01-03 15:28 ` Knops, Manfred
  0 siblings, 1 reply; 5+ messages in thread
From: Knops, Manfred @ 2008-01-03 12:40 UTC (permalink / raw)
  To: autofs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-07  7:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03 12:40 master_notify: syntax error in map near [ bogus option ] Knops, Manfred
2008-01-03 15:28 ` Knops, Manfred
2008-01-04  1:45   ` Ian Kent
2008-01-07  7:06     ` Knops, Manfred
2008-01-07  7:58       ` Ian Kent

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.