Automount Maps
In order to use the automount
information stored in your directory, you must shift your focus to
the automount daemon itself, specifically Linux’s
kernel-based autofs. As it currently stands, autofs
(v3.1.7 and the 4.0 preview releases) supports the undocumented
automount
and
automountMap
object classes. However, Red Hat
has updated the package in its distribution (autofs-3.1.7-28) to look
up mount points based on the
nisObject
and nisMap classes
described in RFC 2307 (and included in
nis.schema). The LDAPbis
workgroup’s revisions to RFC 2307 will include new
schema items for storing automount information, but for the moment,
nisObject and nisMap have the
largest support base from Red Hat, Sun, and PADL. Figure 6-8 shows the required and optional attributes for
these two new object classes.
![]() |
Tip
Red Hat’s automount patches can be obtained from either http://people.redhat.com/nalin/autofs/ or in the latest autofs SRPM at ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/.
PADL’s migration tools include a script (migrate_automount.pl ) for converting an automount map to LDIF. Here, you will convert a single automount point in /opt to a directory entry. You can see from the /etc/auto.opt excerpt that the LDIF entry contains all of the information needed for mounting /opt/src. This time, PADL’s script does create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access
