On Thu, Jul 27, 2000 at 08:03:42AM -0700, Kurt D. Zeilenga wrote:
> At 12:20 PM 7/27/00 +0100, Chris Ridd wrote:
> >Jonathan Leto <jon...@le...> wrote:
> >>If I had problem with timeouts, you would just have to come up with a
> >>heuristic of checking if the server is alive ( I dont' think anything
> >>like $ldap->ping exists, THAT would be cool ) and then do a check at the
> >>beginning of every function.
>
> I suggest you attempt an anonymous bind. This should always return
> a result (possibly indicating an error). If you want to force an
> error, select version MAXINT.
Would that not be a problem if you are already bound as a user ?
Graham.
|