From: Eric P. <li...@gl...> - 2002-01-10 16:33:37
|
Hi, I'm trying to get a perl script I've written to stay connected to my LDAP server between searches... This works great, until I take the LDAP server offline for a moment... What happens is that I the next $ldaps->search comes around, which results in a "Broken Pipe" and the program exiting. I'd obviously prefer if, before that point, a check could be done, and if the connection was dropped, try reconnecting. So basically, is it possible to have a persistent ldap connection & bind that will re-connect if disconnected? I was unable to find anything in the archives with a clear solution... Thanks, Eric Parusel |