Bug 137483

Summary: autofs doesn't use LDAP defaults for LDAP maps
Product: Red Hat Enterprise Linux 4 Reporter: Jack Neely <jjneely>
Component: autofsAssignee: Chris Feist <cfeist>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: jmoyer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-29 21:02:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jack Neely 2004-10-28 19:23:52 UTC
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

   ssl start_tls
   ssl on

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

How reproducible:
Always

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

Comment 1 Jack Neely 2004-10-28 19:26:15 UTC
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.

Comment 2 Chris Feist 2004-10-28 22:10:59 UTC
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
nss_ldap-217-1
[cfeist@gold cfeist]$ rpm -qf /etc/openldap/ldap.conf
openldap-2.1.29-1

Please let me know if using your /etc/openldap/ldap.conf file works.


Comment 3 Jack Neely 2004-10-29 21:02:52 UTC
Blah...your are correct.  Thanks.  Closing as notabug.