From: Graham B. <gb...@po...> - 2000-07-28 14:30:57
|
On Fri, Jul 28, 2000 at 07:16:06AM -0700, Kurt D. Zeilenga wrote: > At 02:30 PM 7/28/00 +0100, Graham Barr wrote: > >Well if you cannot get a root DSE, assume version 2 > > That's actually a bad assumption. You may just not have > permission to access the root DSE or you may be talking In which case the error code should indicate that. > to an LDAPv2 server which has (improperly) instantiated > an entry at the root. That could be an issue. > A better option is to use bind to determine if the > directory supports the version you desire. With that I agree. I suppose the question to ask is if these kind of operations are common enough to capture them in utility functions. Each function may have side-effects which should be documented. Graham. |