All of lore.kernel.org
 help / color / mirror / Atom feed
* Autofs LDAP mount question
@ 2010-03-11  5:00 Techie
  2010-03-11  6:28 ` Ian Kent
  0 siblings, 1 reply; 6+ messages in thread
From: Techie @ 2010-03-11  5:00 UTC (permalink / raw)
  To: autofs

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-12  5:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11  5:00 Autofs LDAP mount question Techie
2010-03-11  6:28 ` Ian Kent
2010-03-12  1:32   ` Techie
2010-03-12  2:48     ` Ian Kent
2010-03-12  4:40       ` Techie
2010-03-12  5:02         ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.