thread-safety and the latter is a symlink which may not exist (bsc#1249966) * drop autofs-use-libldap_r-instead-of-libldap-for-thread-safety.patch - Fix autofs-5.1.1-dbus-udisks-monitor.patch (bsc#1246612) to account for: * d2feac6784b6 autofs-5.1.6 - make autofs.a a shared library * bcd8e1b642e9 autofs-5.0.7 - use LIBS for link libraries
Autofs with ldap ---------------- You can configure autofs via LDAP using the nis.schema or rfc2307bis.schema. You can find this schema at /etc/openldap/schema/nis.schema and /etc/openldap/schema/rfc2307bis.schema resp. 1. Change the "automount:" entry in /etc/nsswitch.conf to automount: files ldap 2. Configure your /etc/openldap/ldap.conf include /etc/openldap/schema/rfc2307bis.schema or include /etc/openldap/schema/nis.schema 3. Create the neccessary entry in LDAP Here is an example ldif to mount the whole /home per autofs: --------------------- begin ------------------------------------------------ dn: ou=AUTOFS,dc=example,dc=org objectClass: organizationalUnit ou: AUTOFS dn: nisMapName=auto.master,ou=AUTOFS,dc=example,dc=org objectClass: nisMap nisMapName: auto.master dn: cn=/mounts,nisMapName=auto.master,ou=AUTOFS,dc=example,dc=org objectClass: nisObject nisMapName: auto.master cn: /mounts nisMapEntry: ldap ldapserver.example.org:nisMapName=auto.mounts,ou=AUTOFS,dc=example,dc=org dn: nisMapName=auto.mounts,ou=AUTOFS,dc=example,dc=org objectClass: nisMap nisMapName: auto.mounts dn: cn=home,nisMapName=auto.mounts,ou=AUTOFS,dc=example,dc=org objectClass: nisObject nisMapName: auto.mounts cn: home nisMapEntry: -fstype=nfs,hard,intr,nodev,nosuid nfsserver.example.org:/home --------------------- end --------------------------------------------------
Description
Languages
Shell
100%