tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] LDAP search scope (was: tpop3d v1.4.1pre4)


From: Paul Makepeace
Subject: Re: [tpop3d-discuss] LDAP search scope (was: tpop3d v1.4.1pre4)
Date: Mon, 25 Feb 2002 08:55:05 -0800
User-agent: Mutt/1.3.27i

On Mon, Feb 25, 2002 at 04:21:44PM +0000, Chris Lightfoot wrote:
> On Mon, Feb 25, 2002 at 05:14:24PM +0100, Prune wrote:
>     [...]
> > the scope is 2 (sub).
> 
> Is this a useful thing to be able to configure?

Yes, for the generalised case of implementing the LDAP URL spec
(RFC1959). There are three: base, one and sub. Base means at the DN
level (i.e. look for the DN only), one means one below (i.e.
children) and sub means the whole subtree at and below the DN. The
default is base.

Not providing configurability seems overly prescriptive, IMO. There's no
inherent reason you should keep all your data at one level in the tree,
nor default to say sub (for generality) which has a greatly expanded
search space, and thus potentially search time.

IMO,
Paul

-- 
Paul Makepeace ....................................... http://paulm.com/

"What is happiness? The ultimate sacrifice."
   -- http://paulm.com/toys/surrealism/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]