Bug 784450

Summary: LDAP failing with message validate_location: expected colon delimeter not found in location
Product: Red Hat Enterprise Linux 6 Reporter: Ken Martindale <ken>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: ikent, jdorff
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 783496 Environment:
Last Closed: 2012-01-25 00:28:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ken Martindale 2012-01-25 00:02:52 UTC
+++ This bug was initially created as a clone of Bug #783496 +++

++Same behavior observed on RHEL 6.2, autofs-5.0.5-39.el6

Created attachment 556544 [details]
ldif with comments

Description of problem:
We have "nested" automount maps and those worked under autofs-5.0.6-2.fc16 but now fail under autofs-5.0.6-4.fc16 with the message "validate_location: expected colon delimeter not found in location ou=auto.project,..."

Version-Release number of selected component (if applicable):
autofs-5.0.6-4.fc16

How reproducible:
Happens every time

Steps to Reproduce:
The ldap setup is in an attached file.
  
Actual results:
autofs-5.0.6-4.fc16
automount[23977]: attempting to mount entry /var/phy/project
automount[23977]: validate_location: expected colon delimeter not found in location ou=auto.project,dc=phy,dc=duke,dc=edu
automount[23977]: failed to mount /var/phy/project


Expected results:
autofs-5.0.6-2.fc16
automount[24196]: attempting to mount entry /var/phy/project
automount[24196]: file map /etc/ou=auto.project,dc=phy,dc=duke,dc=edu not found
automount[24196]: mounted indirect on /var/phy/project with timeout 300, freq 75 seconds
automount[24196]: mounted /var/phy/project
automount[24196]: attempting to mount entry /var/phy/project/linux
automount[24196]: mounted /var/phy/project/linux

Additional info:

--- Additional comment from jdorff.edu on 2012-01-20 13:47:26 EST ---

It seems that adding a ":" to the automountInformation field helps.

In my case "automountInformation: -fstype=autofs :ou=auto.project,..."

--- Additional comment from ikent on 2012-01-22 18:59:41 EST ---

Created attachment 556833 [details]
Patch - fix improve mount location error reporting

--- Additional comment from updates on 2012-01-22 19:01:21 EST ---

autofs-5.0.6-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/autofs-5.0.6-5.fc16

--- Additional comment from updates on 2012-01-23 17:02:08 EST ---

Package autofs-5.0.6-5.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing autofs-5.0.6-5.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0842/autofs-5.0.6-5.fc16
then log in and leave karma (feedback).

Comment 2 Ian Kent 2012-01-25 00:28:49 UTC
This is a duplicate of bug 772356.

Unfortunately, that bug has been marked private and I don't
want to change that as it was probably done for a specific
reason. Perhaps if you had logged the problem through the
normal support mechanism things would be different.

Anyway, I'm going to close this as a duplicate.
If you wish to be added to that bug then you will need to
log the call via support.

*** This bug has been marked as a duplicate of bug 772356 ***