On 18 Mar 2002, Dan Perik wrote: > > As promised, here's the patch I threw together for the rlm_ldap module > to solve the problem of failed auth when the LDAP server disconnects the > idle connection. > > Basically, I took the ldap_connect code out of the perform_search > function into it's own "search_connect" function. Then, if > ldap_search_st returns LDAP_SERVER_DOWN, it sets inst->bound to 0, does > search_connect to try to reconnect to the server, and tries the > ldap_search_st one more time. > > Again, my understanding of all this stuff is very limited. For all I > know I created a vast memory leak that will rot your hard drive and > cause your business to go bankrupt. > > - Dan > > > -- > - Dan Perik > Computer Services Department > Lapilo Center > New Tribes Mission - PNG >
Bug fixed in cvs. The fix was a little different than your patch but anyway thanks for the bug note. -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 10 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
