From: Techie Subject: Autofs LDAP mount question Date: Wed, 10 Mar 2010 22:00:56 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=HoZRPdXcepzpule7c1aTIpfzMD8h7YxSWn+jkTY3bHQ=; b=HmysWH/M6aP4+nQPAyXaw7w6eUUzksVGS0rgSxViF6mkqlaheUbscLdE136xxP/Ofu NKn+69hQrEbh8F8lcLQWukZ1AgyLegwweRhUBFbCb9KQ8nq+vYwvq0QpmdgdPm/uvbxU mexJts3r99e6MXkuzfFJ9Wjlvsi7ry6E03IBs= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: autofs@linux.kernel.org Hello, I have a simple question regarding LDAP direct map mounts. If I use a local direct map "/etc/direct_map" with the below contents to map NFS directories on two different file systems. /data red:/usr/local/app \ /libs/apps red:/var/libs/apps Both mount points to map properly. The /data directory shows the correct contents of red:/usr/local/app. And the /data/lib/apps directory also shows the correct contents of red:/var/libs/apps. This is what I believe are nested mount points. However when I try the same thing with an LDAP direct map it fails. he contents of the same map in LDAP is below. dn: automountKey=/data,automountMapName=direct_map,ou=Autofs,dc=example,dc=com automountInformation: -fstype=nfs,rw red:/usr/local/app automountKey: /data objectClass: automount objectClass: top dn: automountKey=/data/libs/apps,automountMapName=direct_map,ou=Autofs,dc=example,dc=com automountKey: /data/libs/apps objectClass: automount objectClass: top automountInformation: -fstype=nfs,rw red://var/libs/apps When I do this in my LDAP map as shown above, the mount points do not show up correctly. The /data directory covers up one of the 2 mount points. So it looks like nested mount points don't work in LDAP or I am not using correct syntax. All my other LDAP mounts work but two mount points in the same dir does not work like it does with local direct maps. Can you please confirm or deny if I can achieve nested mount points using LDAP direct maps like I can with local direct maps as shown above? Thank you