Red Hat Bugzilla – Bug 137483
autofs doesn't use LDAP defaults for LDAP maps
Last modified: 2007-11-30 17:07:14 EST
Description of problem:
When autofs is configured to use maps in LDAP the defaults from
/etc/ldap.conf are not used.
When I configure ldap.conf to
Account information is looked up over an SSL connection, but querys
from autofs are still plain text.
Also, if I do not specify a server (the man page says the server is
optional) autofs does not function and exists because LDAP queries
fail. It does not use the server supplied in /etc/ldap.conf
Version-Release number of selected component (if applicable):
autofs-4.1.3-17 + Nalin's patch from #137220
Steps to Reproduce:
1. Setup autofs to pull maps from LDAP
2. Make changes in /etc/ldap.conf
3. See differences in LDAP querys from autofs and other ldap apps
For additional information that I forgot to add, I would like to be
able to have autofs do authenticated queries based off the information
in /etc/ldap.conf. That's the goal here. Possibly SASL auth from
your kerberos tickets, but I imagine that might be harder.
Try using editing the /etc/openldap/ldap.conf file. The
/etc/ldap.conf file is owned by the nss_ldap package which autofs does
not use. Autofs uses openldap.
[cfeist@gold cfeist]$ rpm -qf /etc/ldap.conf
[cfeist@gold cfeist]$ rpm -qf /etc/openldap/ldap.conf
Please let me know if using your /etc/openldap/ldap.conf file works.
Blah...your are correct. Thanks. Closing as notabug.