Bug 80501 - lookup_ldap.so does not use LDAP Version 3 protocol
lookup_ldap.so does not use LDAP Version 3 protocol
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: autofs (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-27 06:01 EST by Klaus Steinberger
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-03-30 19:35:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to have lookup_ldap.so trying protocol Version 3 (1.88 KB, patch)
2002-12-27 06:04 EST, Klaus Steinberger
no flags Details | Diff

  None (edit)
Description Klaus Steinberger 2002-12-27 06:01:19 EST
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 06:04:29 EST
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

Note You need to log in before you can comment on or make changes to this bug.