Red Hat Bugzilla – Bug 164434
autofs doesn't support new LDAP automount schema
Last modified: 2007-11-30 17:07:19 EST
+++ This bug was initially created as a clone of Bug #142998 +++
Description of problem:
A new draft of the LDAP automount schema is in the works, and has already been
adopted by Sun (in Solaris 9 & 10), presumably among others. One reason the new
schema should be supported is that is imposes case-sensitivity on the key name.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up an LDAP-based automount using the new schema
2. put ldap first on automount line in nsswitch.conf
3. start autofs service
maps from new schema are not mounted
all maps mounted
It currently looks for the key in the cn attribute if using the automount
schema; it should be looking for the key in the automountKey attribute.
The man page automount(8) points to
for documentation on the schema. This is outdated. There is also a
samples/autofs.schema file in the source RPM for automount that uses the
objectclass ( 126.96.36.199.188.8.131.52 NAME 'automount' SUP top STRUCTURAL
DESC 'An entry in an automounter map'
MUST ( cn $ automountInformation $ objectclass )
MAY ( description ) )
The current schema can be found at
and you can see the MUST attributes uses automountKey now:
( nisSchema.2.17 NAME 'automount' SUP top STRUCTURAL
DESC 'Automount information'
MUST ( automountKey $ automountInformation )
MAY description )
A fix for this was built (at the very latest) into autofs-4.1.3-151.
Is this autofs package available for testing?
The patch was committed in 4.1.3-141. Package version 4.1.3-149 is available
for testing from here:
Testing feedback would be greatly appreciated.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.