Este contenido no está disponible en el idioma seleccionado.
9.4.4. Using LDAP to Store Automounter Maps
LDAP client libraries must be installed on all systems configured to retrieve automounter maps from LDAP. On Red Hat Enterprise Linux, the
openldap package should be installed automatically as a dependency of the automounter. To configure LDAP access, modify /etc/openldap/ldap.conf. Ensure that BASE, URI, and schema are set appropriately for your site.
The most recently established schema for storing automount maps in LDAP is described by
rfc2307bis. To use this schema it is necessary to set it in the autofs configuration /etc/autofs.conf by removing the comment characters from the schema definition.
Example 9.4. Setting autofs configuration
Note
As of Red Hat Enterprise Linux 6.6, LDAP autofs is set in the
/etc/autofs.conf file instead of the /etc/systemconfig/autofs file as was the case in previous releases.
Ensure that these are the only schema entries not commented in the configuration. The
automountKey replaces the cn attribute in the rfc2307bis schema. An LDIF of a sample configuration is described below:
Example 9.5. LDIF configuration