Problem with LDAP map syntax in 5.0.3.
Dear List
Our mount maps, which worked fine with a previous release of the Linux distribution (opensuse 11.0), no longer work with the current release (opensuse 11.1) Both releases use autofs version 5.0.3 but opensuse 11.1 has the RPM autofs-5.0.3-82.28.1 which indicates it might be heavily patched. Unfortunately the source RPM is not available. Presumably this is a temporary state of affairs that will be fixed quickly.
In the mean time can anyone suggest why the newer autofs rejects our auto_master from LDAP? Details are as follows:
me@mypc:/> rpm -q autofs
autofs-5.0.3-82.28.1
me@mypc:/> egrep -v "^$|^#" /etc/sysconfig/autofs
AUTOFS_OPTIONS=""
LOCAL_OPTIONS=""
APPEND_OPTIONS="yes"
DEFAULT_MASTER_MAP_NAME="auto.master"
DEFAULT_TIMEOUT=600
DEFAULT_BROWSE_MODE="yes"
DEFAULT_LOGGING="debug"
DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="automountMapName"
DEFAULT_ENTRY_ATTRIBUTE="automountKey"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"
DEFAULT_AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"
me@mypc:/> egrep -v "^$|^#" /etc/auto.master
/net /etc/auto.net
+auto_master
me@mypc:/> ldapsearch -x -H ldap://nnn.nnn.nnn.nnn/ -b automountMapName=auto_master,dc=example,dc=com '(objectclass=automount)'
# extended LDIF # # LDAPv3 # base <automountMapName=auto_master,dc=example,dc=com> with scope subtree # filter: (objectclass=automount) # requesting: ALL #
# /auto/homes, auto_master, cl.cam.ac.uk
dn: automountKey=/auto/homes,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/homes
automountInformation: ldap:automountMapName=autofs_home,dc=example,dc=com
# /auto/groups, auto_master, cl.cam.ac.uk
dn: automountKey=/auto/groups,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/groups
automountInformation: ldap:automountMapName=autofs_group,dc=example,dc=com
# /auto/userfiles, auto_master, cl.cam.ac.uk
dn: automountKey=/auto/userfiles,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/userfiles
automountInformation: ldap:automountMapName=autofs_userfile,dc=example,dc=com
# /auto/anfs, auto_master, cl.cam.ac.uk
dn: automountKey=/auto/anfs,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/anfs
automountInformation: ldap:automountMapName=autofs_anf,dc=example,dc=com
# /Nfs/Mounts, auto_master, cl.cam.ac.uk
dn: automountKey=/Nfs/Mounts,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /Nfs/Mounts
automountInformation: ldap:automountMapName=autofs_Nfs,dc=example,dc=com
# search result search: 2 result: 0 Success
# numResponses: 6
# numEntries: 5
me@mypc:/> ldapsearch -x -H ldap://nnn.nnn.nnn.nnn/ -b automountMapName=autofs_home,dc=example,dc=com \
'(objectclass=automount)' | head -22
# extended LDIF # # LDAPv3 # base <automountMapName=autofs_home,dc=example,dc=com> with scope subtree # filter: (objectclass=automount) # requesting: ALL #
# acn, autofs_home, cl.cam.ac.uk
dn: automountKey=user1,automountMapName=autofs_home,dc=example,dc=com
objectClass: automount
automountKey: user1
automountInformation: -rw,nosuid,noac,bg,vers=3,tcp,timeo=600,rsize=32768,wsiz
e=32768,hard,intr,sec=krb5 netappfiler:/vol/userfiles/user1/unix_home
# am, autofs_home, cl.cam.ac.uk
dn: automountKey=user2,automountMapName=autofs_home,dc=example,dc=com
objectClass: automount
automountKey: user2
automountInformation: -rw,nosuid,noac,bg,vers=3,tcp,timeo=600,rsize=32768,wsiz
e=32768,hard,intr,sec=krb5 netappfiler:/vol/userfiles/user2/unix_home
me@mypc:/> egrep -v "^$|^#" /etc/nsswitch.conf
passwd: files ldap group: files ldap hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files ldap aliases: files
me@mypc:/> egrep -v "^$|^#" /etc/openldap/ldap.confTLS_REQCERT allow
host 128.232.x.x 128.232.y.y 128.232.z.z
base dc=example,dc=com
me@mypc:/> egrep -v "^$|^#" /etc/ldap.conf
host 128.232.x.x 128.232.y.y 128.232.z.z
base dc=example,dc=comldap_version 3
scope one
debug 0idle_timelimit 3600bind_timelimit 5
timelimit 5bind_policy softnss_initgroups_ignoreusers rootnss_base_passwd ou=People,dc=cl,dc=cam,dc=ac,dc=uk?one nss_base_group ou=Groups,dc=cl,dc=cam,dc=ac,dc=uk?one pam_groupdn cn=mypc,ou=HostGroups,dc=cl,dc=cam,dc=ac,dc=uk
me@mypc:/> tail /var/log/messages
Jan 30 11:28:08 mypc automount[9445]: Starting automounter version 5.0.3, master map auto.master Jan 30 11:28:08 mypc automount[9445]: using kernel protocol version 5.00 Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master files auto.master Jan 30 11:28:08 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:08 mypc automount[9445]: lookup_read_master: lookup(file): read entry /net Jan 30 11:28:08 mypc automount[9445]: lookup_read_master: lookup(file): read entry +auto_master Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master files auto_master Jan 30 11:28:08 mypc automount[9445]: lookup(file): file map /etc/auto_master missing or not readable Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master ldap auto_master Jan 30 11:28:08 mypc automount[9445]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "auto_master". Jan 30 11:28:08 mypc automount[9445]: parse_server_string: lookup(ldap): mapname auto_master Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): ldap authentication configured with the following options: Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): use_tls: 0, tls_required: 0, auth_required: 1, sasl_mech: (null) Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): user: (null), secret: unspecified, client principal: (null) credential cache: (null) Jan 30 11:28:08 mypc automount[9445]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null) Jan 30 11:28:08 mypc automount[9445]: do_bind: lookup(ldap): ldap anonymous bind returned 0 Jan 30 11:28:09 mypc automount[9445]: get_query_dn: lookup(ldap): found query dn automountMapName=auto_master,dc=example,dc=com Jan 30 11:28:09 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:09 mypc automount[9445]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null) Jan 30 11:28:09 mypc automount[9445]: do_bind: lookup(ldap): ldap anonymous bind returned 0 Jan 30 11:28:09 mypc automount[9445]: lookup_read_master: lookup(ldap): searching for "(objectclass=automount)" under "automountMapName=auto_master,dc=example,dc=com" Jan 30 11:28:09 mypc automount[9445]: lookup_read_master: lookup(ldap): examining entries Jan 30 11:28:09 mypc automount[9445]: syntax error in map near [ /auto/homes ] Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: master_do_mount: mounting /net Jan 30 11:28:09 mypc automount[9445]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-net Jan 30 11:28:09 mypc automount[9445]: lookup_nss_read_map: reading map file /etc/auto.net Jan 30 11:28:09 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:09 mypc automount[9445]: mounted indirect mount for /net with timeout 600, freq 150 seconds Jan 30 11:28:09 mypc automount[9445]: st_ready: st_ready(): state = 0 path /net Jan 30 11:28:09 mypc automount[9445]: ghosting enabled
Ian Kent
maintainerQuoted 5 lines · Ian Grant
Dear List
Our mount maps, which worked fine with a previous release of the Linux distribution (opensuse 11.0), no longer work with the current release (opensuse 11.1) Both releases use autofs version 5.0.3 but opensuse 11.1 has the RPM autofs-5.0.3-82.28.1 which indicates it might be heavily patched. Unfortunately the source RPM is not available. Presumably this is a temporary state of affairs that will be fixed quickly.
In the mean time can anyone suggest why the newer autofs rejects our
auto_masterfrom LDAP? Details are as follows:
Rings a bell.
There were a couple of bug fixes in the master map tokenizer that subsequently had corrections. But without the source I really can't tell what patches might not have got in and we can't build anything to test either.
Quoted 149 lines
me@mypc:/> rpm -q autofs
autofs-5.0.3-82.28.1
me@mypc:/> egrep -v "^$|^#"/etc/sysconfig/autofs
AUTOFS_OPTIONS=""
LOCAL_OPTIONS=""
APPEND_OPTIONS="yes"
DEFAULT_MASTER_MAP_NAME="auto.master"
DEFAULT_TIMEOUT=600
DEFAULT_BROWSE_MODE="yes"
DEFAULT_LOGGING="debug"
DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="automountMapName"
DEFAULT_ENTRY_ATTRIBUTE="automountKey"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"
DEFAULT_AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"
me@mypc:/> egrep -v "^$|^#"/etc/auto.master
/net/etc/auto.net
+auto_master
me@mypc:/> ldapsearch -x -H ldap://nnn.nnn.nnn.nnn/ -b automountMapName=auto_master,dc=example,dc=com '(objectclass=automount)'# extended LDIF # # LDAPv3 # base <automountMapName=auto_master,dc=example,dc=com> with scope subtree # filter: (objectclass=automount) # requesting: ALL ## /auto/homes,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/homes,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/homes
automountInformation: ldap:automountMapName=autofs_home,dc=example,dc=com# /auto/groups,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/groups,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/groups
automountInformation: ldap:automountMapName=autofs_group,dc=example,dc=com# /auto/userfiles,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/userfiles,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/userfiles
automountInformation: ldap:automountMapName=autofs_userfile,dc=example,dc=com# /auto/anfs,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/anfs,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/anfs
automountInformation: ldap:automountMapName=autofs_anf,dc=example,dc=com# /Nfs/Mounts,
auto_master, cl.cam.ac.uk
dn: automountKey=/Nfs/Mounts,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /Nfs/Mounts
automountInformation: ldap:automountMapName=autofs_Nfs,dc=example,dc=com# search result search: 2 result: 0 Success# numResponses: 6
# numEntries: 5
me@mypc:/> ldapsearch -x -H ldap://nnn.nnn.nnn.nnn/ -b automountMapName=autofs_home,dc=example,dc=com \
'(objectclass=automount)' | head -22# extended LDIF # # LDAPv3 # base <automountMapName=autofs_home,dc=example,dc=com> with scope subtree # filter: (objectclass=automount) # requesting: ALL ## acn,
autofs_home, cl.cam.ac.uk
dn: automountKey=user1,automountMapName=autofs_home,dc=example,dc=com
objectClass: automount
automountKey: user1
automountInformation: -rw,nosuid,noac,bg,vers=3,tcp,timeo=600,rsize=32768,wsiz
e=32768,hard,intr,sec=krb5 netappfiler:/vol/userfiles/user1/unix_home# am,
autofs_home, cl.cam.ac.uk
dn: automountKey=user2,automountMapName=autofs_home,dc=example,dc=com
objectClass: automount
automountKey: user2
automountInformation: -rw,nosuid,noac,bg,vers=3,tcp,timeo=600,rsize=32768,wsiz
e=32768,hard,intr,sec=krb5 netappfiler:/vol/userfiles/user2/unix_homeme@mypc:/> egrep -v "^$|^#"
/etc/nsswitch.confpasswd: files ldap group: files ldap hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files ldap aliases: filesme@mypc:/> egrep -v "^$|^#"
/etc/openldap/ldap.confTLS_REQCERTallow
host 128.232.x.x 128.232.y.y 128.232.z.z
base dc=example,dc=com
me@mypc:/> egrep -v "^$|^#"/etc/ldap.conf
host 128.232.x.x 128.232.y.y 128.232.z.z
base dc=example,dc=comldap_version3
scope one
debug 0idle_timelimit3600bind_timelimit5
timelimit 5bind_policysoftnss_initgroups_ignoreusersrootnss_base_passwdou=People,dc=cl,dc=cam,dc=ac,dc=uk?onenss_base_groupou=Groups,dc=cl,dc=cam,dc=ac,dc=uk?onepam_groupdncn=mypc,ou=HostGroups,dc=cl,dc=cam,dc=ac,dc=ukme@mypc:/> tail
/var/log/messagesJan 30 11:28:08 mypc automount[9445]: Starting automounter version 5.0.3, master map auto.master Jan 30 11:28:08 mypc automount[9445]: using kernel protocol version 5.00 Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master files auto.master Jan 30 11:28:08 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:08 mypc automount[9445]: lookup_read_master: lookup(file): read entry /net Jan 30 11:28:08 mypc automount[9445]: lookup_read_master: lookup(file): read entry +auto_master Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master files auto_master Jan 30 11:28:08 mypc automount[9445]: lookup(file): file map /etc/auto_master missing or not readable Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master ldap auto_master Jan 30 11:28:08 mypc automount[9445]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "auto_master". Jan 30 11:28:08 mypc automount[9445]: parse_server_string: lookup(ldap): mapname auto_master Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): ldap authentication configured with the following options: Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): use_tls: 0, tls_required: 0, auth_required: 1, sasl_mech: (null) Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): user: (null), secret: unspecified, client principal: (null) credential cache: (null) Jan 30 11:28:08 mypc automount[9445]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null) Jan 30 11:28:08 mypc automount[9445]: do_bind: lookup(ldap): ldap anonymous bind returned 0 Jan 30 11:28:09 mypc automount[9445]: get_query_dn: lookup(ldap): found query dn automountMapName=auto_master,dc=example,dc=com Jan 30 11:28:09 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:09 mypc automount[9445]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null)
Quoted 8 lines
Jan 30 11:28:09 mypc automount[9445]: do_bind: lookup(ldap): ldap anonymous bind returned 0 Jan 30 11:28:09 mypc automount[9445]: lookup_read_master: lookup(ldap): searching for "(objectclass=automount)" under "automountMapName=auto_master,dc=example,dc=com" Jan 30 11:28:09 mypc automount[9445]: lookup_read_master: lookup(ldap): examining entries Jan 30 11:28:09 mypc automount[9445]: syntax error in map near [ /auto/homes ] Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map.
Yep, these are from the yacc parser.
Quoted 12 lines
Jan 30 11:28:09 mypc automount[9445]: master_do_mount: mounting /net Jan 30 11:28:09 mypc automount[9445]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-net Jan 30 11:28:09 mypc automount[9445]: lookup_nss_read_map: reading map file /etc/auto.net Jan 30 11:28:09 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:09 mypc automount[9445]: mounted indirect mount for /net with timeout 600, freq 150 seconds Jan 30 11:28:09 mypc automount[9445]: st_ready: st_ready(): state = 0 path /net Jan 30 11:28:09 mypc automount[9445]: ghosting enabled_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Ian Kent
maintainerQuoted 9 lines · Ian Grant
me@mypc:/> ldapsearch -x -H ldap://nnn.nnn.nnn.nnn/ -b automountMapName=auto_master,dc=example,dc=com '(objectclass=automount)'
# extended LDIF # # LDAPv3 # base <automountMapName=auto_master,dc=example,dc=com> with scope subtree # filter: (objectclass=automount) # requesting: ALL #
Quoted 6 lines
# /auto/homes,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/homes,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/homes
automountInformation: ldap:automountMapName=autofs_home,dc=example,dc=com
It's possibly autofs-5.0.3-map-type-in-map-name.patch patch that is broken, have a look at autofs-5.0.3-map-type-in-map-name-fix.patch patch.
Quoted 134 lines
# /auto/groups,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/groups,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/groups
automountInformation: ldap:automountMapName=autofs_group,dc=example,dc=com# /auto/userfiles,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/userfiles,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/userfiles
automountInformation: ldap:automountMapName=autofs_userfile,dc=example,dc=com# /auto/anfs,
auto_master, cl.cam.ac.uk
dn: automountKey=/auto/anfs,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /auto/anfs
automountInformation: ldap:automountMapName=autofs_anf,dc=example,dc=com# /Nfs/Mounts,
auto_master, cl.cam.ac.uk
dn: automountKey=/Nfs/Mounts,automountMapName=auto_master,dc=example,dc=com
objectClass: top
objectClass: automount
automountKey: /Nfs/Mounts
automountInformation: ldap:automountMapName=autofs_Nfs,dc=example,dc=com# search result search: 2 result: 0 Success# numResponses: 6
# numEntries: 5
me@mypc:/> ldapsearch -x -H ldap://nnn.nnn.nnn.nnn/ -b automountMapName=autofs_home,dc=example,dc=com \
'(objectclass=automount)' | head -22# extended LDIF # # LDAPv3 # base <automountMapName=autofs_home,dc=example,dc=com> with scope subtree # filter: (objectclass=automount) # requesting: ALL ## acn,
autofs_home, cl.cam.ac.uk
dn: automountKey=user1,automountMapName=autofs_home,dc=example,dc=com
objectClass: automount
automountKey: user1
automountInformation: -rw,nosuid,noac,bg,vers=3,tcp,timeo=600,rsize=32768,wsiz
e=32768,hard,intr,sec=krb5 netappfiler:/vol/userfiles/user1/unix_home# am,
autofs_home, cl.cam.ac.uk
dn: automountKey=user2,automountMapName=autofs_home,dc=example,dc=com
objectClass: automount
automountKey: user2
automountInformation: -rw,nosuid,noac,bg,vers=3,tcp,timeo=600,rsize=32768,wsiz
e=32768,hard,intr,sec=krb5 netappfiler:/vol/userfiles/user2/unix_homeme@mypc:/> egrep -v "^$|^#"
/etc/nsswitch.confpasswd: files ldap group: files ldap hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files ldap aliases: filesme@mypc:/> egrep -v "^$|^#"
/etc/openldap/ldap.confTLS_REQCERTallow
host 128.232.x.x 128.232.y.y 128.232.z.z
base dc=example,dc=com
me@mypc:/> egrep -v "^$|^#"/etc/ldap.conf
host 128.232.x.x 128.232.y.y 128.232.z.z
base dc=example,dc=comldap_version3
scope one
debug 0idle_timelimit3600bind_timelimit5
timelimit 5bind_policysoftnss_initgroups_ignoreusersrootnss_base_passwdou=People,dc=cl,dc=cam,dc=ac,dc=uk?onenss_base_groupou=Groups,dc=cl,dc=cam,dc=ac,dc=uk?onepam_groupdncn=mypc,ou=HostGroups,dc=cl,dc=cam,dc=ac,dc=ukme@mypc:/> tail
/var/log/messagesJan 30 11:28:08 mypc automount[9445]: Starting automounter version 5.0.3, master map auto.master Jan 30 11:28:08 mypc automount[9445]: using kernel protocol version 5.00 Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master files auto.master Jan 30 11:28:08 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:08 mypc automount[9445]: lookup_read_master: lookup(file): read entry /net Jan 30 11:28:08 mypc automount[9445]: lookup_read_master: lookup(file): read entry +auto_master Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master files auto_master Jan 30 11:28:08 mypc automount[9445]: lookup(file): file map /etc/auto_master missing or not readable Jan 30 11:28:08 mypc automount[9445]: lookup_nss_read_master: reading master ldap auto_master Jan 30 11:28:08 mypc automount[9445]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "auto_master". Jan 30 11:28:08 mypc automount[9445]: parse_server_string: lookup(ldap): mapname auto_master Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): ldap authentication configured with the following options: Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): use_tls: 0, tls_required: 0, auth_required: 1, sasl_mech: (null) Jan 30 11:28:08 mypc automount[9445]: parse_ldap_config: lookup(ldap): user: (null), secret: unspecified, client principal: (null) credential cache: (null) Jan 30 11:28:08 mypc automount[9445]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null) Jan 30 11:28:08 mypc automount[9445]: do_bind: lookup(ldap): ldap anonymous bind returned 0 Jan 30 11:28:09 mypc automount[9445]: get_query_dn: lookup(ldap): found query dn automountMapName=auto_master,dc=example,dc=com Jan 30 11:28:09 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:09 mypc automount[9445]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null) Jan 30 11:28:09 mypc automount[9445]: do_bind: lookup(ldap): ldap anonymous bind returned 0 Jan 30 11:28:09 mypc automount[9445]: lookup_read_master: lookup(ldap): searching for "(objectclass=automount)" under "automountMapName=auto_master,dc=example,dc=com" Jan 30 11:28:09 mypc automount[9445]: lookup_read_master: lookup(ldap): examining entries Jan 30 11:28:09 mypc automount[9445]: syntax error in map near [ /auto/homes ] Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: syntax error while parsing map. Jan 30 11:28:09 mypc automount[9445]: master_do_mount: mounting /net Jan 30 11:28:09 mypc automount[9445]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-net Jan 30 11:28:09 mypc automount[9445]: lookup_nss_read_map: reading map file /etc/auto.net Jan 30 11:28:09 mypc automount[9445]: parse_init: parse(sun): init gathered global options: (null) Jan 30 11:28:09 mypc automount[9445]: mounted indirect mount for /net with timeout 600, freq 150 seconds Jan 30 11:28:09 mypc automount[9445]: st_ready: st_ready(): state = 0 path /net Jan 30 11:28:09 mypc automount[9445]: ghosting enabled_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs