Description of problem: After update to autofs-5.0.7-22 from Fedora 19 testing, ldap autofs mounts do not work. Version-Release number of selected component (if applicable): autofs-5.0.7-22 How reproducible: Everytime, multiple systems Steps to Reproduce: 1. Have autofs configured for ldap maps via /etc/nsswitch.conf 2. Start autofs and note all the errors 3. Actual results: Jun 27 14:37:05 localhost systemd: Starting Automounts filesystems on demand... Jun 27 14:37:05 localhost automount[1146]: parse_server_string: lookup(ldap): invalid LDAP map syntax dap.phy.duke.edu:ou=auto.home,dc=phy,dc=duke,dc=edu Expected results: older version autofs-5.0.7-14 works fine Additional info:
Don't know why is says "dap.phy.duke.edu". No idea where the "l" went to. /etc/openldap/ldap.conf contains the correct values: URI ldap://ldap.phy.duke.edu/
More testing... autofs-5.0.7-19.fc19.x86_64 works fine autofs-5.0.7-20.fc19.x86_64 is broken
This would have to be the recent off-by-one change I did. I tried a few different map entries and didn't see any problem. What does your ldap map look like please? A debug log could help too.
Created attachment 766385 [details] Debug log, version 20, with failure on startup
Created attachment 766386 [details] Debug log, version 19, working correctly
I don't think it even gets to look at the ldap maps.. I think the problem is here: Broken: automount[2008]: lookup_nss_read_map: reading map ldap ldap:ldap.phy.duke.edu:ou=auto.home,dc=phy,dc=duke,dc=edu automount[2008]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "ldap:ldap.phy.duke.edu:ou=auto.home,dc=phy,dc=duke,dc=edu". automount[2008]: parse_server_string: lookup(ldap): invalid LDAP map syntax dap.phy.duke.edu:ou=auto.home,dc=phy,dc=duke,dc=edu Working: automount[2176]: lookup_nss_read_map: reading map ldap ldap:ldap.phy.duke.edu:ou=auto.home,dc=phy,dc=duke,dc=edu automount[2176]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "ldap:ldap.phy.duke.edu:ou=auto.home,dc=phy,dc=duke,dc=edu". automount[2176]: parse_server_string: lookup(ldap): server "ldap://ldap.phy.duke.edu/", base dn "ou=auto.home,dc=phy,dc=duke,dc=edu"
Created attachment 766389 [details] Basic form of ldap automount used in this test
Created attachment 766412 [details] Patch - fix add null check in parse_server_string() Yes, it was one of the Coverity changes. A silly mistake, omitted braces around a conditional. Odd though, I was sure I has tested that case since.
autofs-5.0.7-23.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/autofs-5.0.7-23.fc19
(In reply to Fedora Update System from comment #9) > autofs-5.0.7-23.fc19 has been submitted as an update for Fedora 19. > https://admin.fedoraproject.org/updates/autofs-5.0.7-23.fc19 This is working correctly for me.
Package autofs-5.0.7-23.fc19: * should fix your issue, * was pushed to the Fedora 19 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.7-23.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11898/autofs-5.0.7-23.fc19 then log in and leave karma (feedback).
autofs-5.0.7-23.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.