Bug 783496

Summary: LDAP failing with message validate_location: expected colon delimeter not found in location
Product: [Fedora] Fedora Reporter: Jimmy Dorff <jdorff>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: ikent
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: autofs-5.0.6-5.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 784450 (view as bug list) Environment:
Last Closed: 2012-01-30 21:02:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ldif with comments
none
Patch - fix improve mount location error reporting none

Description Jimmy Dorff 2012-01-20 16:04:08 UTC
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:

Comment 1 Jimmy Dorff 2012-01-20 18:47:26 UTC
It seems that adding a ":" to the automountInformation field helps.

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

Comment 2 Ian Kent 2012-01-22 23:59:41 UTC
Created attachment 556833 [details]
Patch - fix improve mount location error reporting

Comment 3 Fedora Update System 2012-01-23 00:01:21 UTC
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

Comment 4 Fedora Update System 2012-01-23 22:02:08 UTC
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 5 Jimmy Dorff 2012-01-25 01:10:53 UTC
autofs-5.0.6-5.fc16 works fine for me. Karma left.

Comment 6 Fedora Update System 2012-01-30 21:02:11 UTC
autofs-5.0.6-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.