$ diff -c rlm_ldap.c.orig freeradius-server-2.1.8v3/src/modules/rlm_ldap/rlm_ldap.c *** rlm_ldap.c.orig Mon Apr 19 10:44:27 2010 --- freeradius-server-2.1.8v3/src/modules/rlm_ldap/rlm_ldap.c Mon Apr 19 10:40:35 2010 *************** *** 2241,2248 **** LDAP_OPT_ON); if (inst->rebind == 1) { ! ldap_set_rebind_proc(ld, ldap_rebind, ! inst); } } else { rc=ldap_set_option(ld, LDAP_OPT_REFERRALS, --- 2241,2252 ---- LDAP_OPT_ON); if (inst->rebind == 1) { ! ldap_set_rebind_proc(ld, ! #if LDAP_SET_REBIND_PROC_ARGS != 3 ! ldap_rebind); ! #else ! ldap_rebind, inst); ! #endif } } else { rc=ldap_set_option(ld, LDAP_OPT_REFERRALS,
Hi,
*** rlm_ldap.c.orig Mon Apr 19 10:44:27 2010
I guess this is to deal with older versions of LDAP libraries eg on RHEL3 et al? I posted something about this a while back..... http://lists.cistron.nl/pipermail/freeradius-devel/2009-August/013333.html alan
participants (2)
-
Alan Buxey -
Kenneth Grady