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
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