LDAP timeouts during failure conditions
p.mayers at imperial.ac.uk
Wed Jun 29 23:10:11 CEST 2011
On 06/29/2011 05:59 PM, Phil Mayers wrote:
> On 06/23/2011 05:28 PM, Alan DeKok wrote:
>> Phil Mayers wrote:
>>> So, some discussion on the JANET-ROAMING list leads me to believe that,
>>> during an "ldap server down" condition, rlm_ldap will incur
>>> "net_timeout" on every (or many) passes through the module.
>> It's better for the module to track when connections are down, and
>> return quickly if all are down.
...and for completion, more or less orthogonal, an implementation of
Alex's idea - needs some autoconf love to detect the ldap_init_fd
private function in libldap (the local prototype and #define seem to be
required - both curl and samba do that, as the function is private)
Dinner time I think!
More information about the Freeradius-Devel