From: Chris R. <chr...@me...> - 2000-07-27 11:21:05
|
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. The best (ie cheapest in terms of protocol) way to do that in LDAPv3 would be to read a specific attribute (eg supportedLDAPVersions) from the root DSE, and throw away the results. I can't think of a simple and portable way to do this in LDAPv2. Cheers, Chris |