Bug 118841 - direct mount maps fail with ldap
direct mount maps fail with ldap
Product: Fedora
Classification: Fedora
Component: autofs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeffrey Moyer
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2004-03-21 09:29 EST by Heinz Deinhart
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-06-10 10:44:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
ldif of my autofs maps (544 bytes, text/plain)
2004-03-21 09:31 EST, Heinz Deinhart
no flags Details
second part of ldif (318 bytes, text/plain)
2004-03-21 09:33 EST, Heinz Deinhart
no flags Details

  None (edit)
Description Heinz Deinhart 2004-03-21 09:29:19 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020916

Description of problem:
i tried to mount /var/spool/mail with a direct map like shown in

but it seems that autofs uses only the first element of the path
"/var" instead of the full path "/var/spool/mail" as the local
mount point

It starts up as:
automount(pid30887) on /var type autofs
but IMHO is should be:
automount(pid30887) on /var/spool/mail type autofs

my autofs ldap ldifs are attached below

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create direct mount map in ldap
2. restart autofs


Actual Results:  overmounts /var

Expected Results:  should mount the remote dir into /var/spool/mail

Additional info:
Comment 1 Heinz Deinhart 2004-03-21 09:31:10 EST
Created attachment 98731 [details]
ldif of my autofs maps
Comment 2 Heinz Deinhart 2004-03-21 09:33:48 EST
Created attachment 98732 [details]
second part of ldif

above ldif was only the master, here comes auto.direct
Comment 3 Jeffrey Moyer 2004-03-24 15:00:06 EST
To clarify, this problem isn't specific to LDAP maps.  File maps also
display this behaviour.
Comment 4 Jeffrey Moyer 2004-03-30 12:51:10 EST
Okay, so this was a design decision (flaw?).  This needs more
documentation, but basically direct maps will take over the entire
directory hierarchy to the root.  I will update the documentation on this.
Comment 5 Jeffrey Moyer 2004-06-10 10:44:49 EDT
The documentation has been updated.  See

I'm closing the bug WONTFIX.  This may be implemented this in the
future, but for now we will have to live with the limitation.

Note You need to log in before you can comment on or make changes to this bug.