Ok, so I set /etc/sysconfig/autofs to what looks to be the format Sun
wants:

 

DEFAULT_MAP_OBJECT_CLASS="automountMap"

DEFAULT_ENTRY_OBJECT_CLASS="automount"

DEFAULT_MAP_ATTRIBUTE="automountMapName"

DEFAULT_ENTRY_ATTRIBUTE="automountKey"

DEFAULT_VALUE_ATTRIBUTE="automountInformation"

 

And I set the following there:

 

DEFAULT_MASTER_MAP_NAME="ldap:automountMapName=auto_home"

 

And all auto.master has is this:

 

/home  ldap

 

As autofs starts up I receive the following in syslog:

 

Apr 28 12:10:03 gsbtestfilervm automount[22969]: Starting automounter
version 5.0.1-0.rc2.55, master map ldap:automountMapName=auto_home

Apr 28 12:10:03 gsbtestfilervm automount[22969]: using kernel protocol
version 5.00

Apr 28 12:10:55 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:55 gsbtestfilervm last message repeated 27 times

Apr 28 12:10:55 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /phdhome/& ]

Apr 28 12:10:55 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:55 gsbtestfilervm last message repeated 10 times

Apr 28 12:10:55 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /vol/facunixhome/home/& ]

Apr 28 12:10:55 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:55 gsbtestfilervm last message repeated 12 times

Apr 28 12:10:55 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /phdhome/& ]

Apr 28 12:10:55 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:56 gsbtestfilervm last message repeated 36 times

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /vol/facunixhome/home/& ]

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:56 gsbtestfilervm last message repeated 6 times

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /vol/facunixhome/home/& ]

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:56 gsbtestfilervm last message repeated 13 times

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /vol/facunixhome/home/& ]

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:56 gsbtestfilervm last message repeated 2 times

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /vol/facunixhome/home/& ]

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

Apr 28 12:10:56 gsbtestfilervm last message repeated 15 times

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /export/home/& ]

Apr 28 12:10:56 gsbtestfilervm automount[22969]: master_notify: syntax
error in map near [ /mbahome/& ]

 

It appears as though the Sun tools that migrated the auto_home
information to LDAP pulled in something that's garbage... Problem is I
have well over 11,000 auto.home entries and can't think of a way to
narrow that down to which entries have errors. Is there any way to have
autofs spit back the dn it had the error on?

 

 

Darren Young
Systems & Security Architect
Computing Services
Chicago GSB
5807 South Woodlawn Avenue
Chicago, IL 60637

Voice 773.702.0331 | Fax 773.702.0233

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to