Bug 80501

Summary: lookup_ldap.so does not use LDAP Version 3 protocol
Product: [Retired] Red Hat Linux Reporter: Klaus Steinberger <klaus.steinberger>
Component: autofsAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
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-03-31 00:35:03 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:
Attachments:
Description Flags
Patch to have lookup_ldap.so trying protocol Version 3 none

Description Klaus Steinberger 2002-12-27 11:01:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2) Gecko/20021220

Description of problem:
Newer Openldap Servers (beginning with 2.1.x) disallow Version 2 protocol by
default. /usr/lib/autofs/autofs-ldap-auto-master as of RedHat 8.0 already tries
to connect using Protocol Version 3, but lookup_ldap.so only tries protocol
version 2. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. setup openldap server to disallow bind_v2
2. try to use autofs
3. it fails
    

Actual Results:  autofs failed

Additional info: Please also backport to RH7.3/RH7.2 as it fails there too

Comment 1 Klaus Steinberger 2002-12-27 11:04:29 UTC
Created attachment 88943 [details]
Patch to have lookup_ldap.so trying protocol Version 3

This patch changes modules/lookup_ldap.c so that protocol Version 3 is tried,
this is done like in autofs-ldap-auto-master.c