Re: LDAP Comments
Valdis Kletnieks <valdis@black-ice.cc.vt.edu> Fri, 07 May 1993 09:56 UTC
Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa01116;
7 May 93 5:56 EDT
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa01112;
7 May 93 5:56 EDT
Received: from haig.cs.ucl.ac.uk by CNRI.Reston.VA.US id aa03455;
7 May 93 5:56 EDT
Received: from bells.cs.ucl.ac.uk by haig.cs.ucl.ac.uk with local SMTP
id <g.04746-0@haig.cs.ucl.ac.uk>; Wed, 5 May 1993 21:36:11 +0100
Received: from black-ice.cc.vt.edu by bells.cs.ucl.ac.uk with Internet SMTP
id <g.11383-0@bells.cs.ucl.ac.uk>; Wed, 5 May 1993 21:34:19 +0100
Received: from LOCALHOST by black-ice.cc.vt.edu (AIX 3.2/UCB 5.64/4.03)
id AA12979; Wed, 5 May 1993 16:33:42 -0400
Message-Id: <9305052033.AA12979@black-ice.cc.vt.edu>
To: pays@faugeres.inria.fr
Cc: osi-ds@cs.ucl.ac.uk
Subject: Re: LDAP Comments
In-Reply-To: Your message of "05 May 1993 22:07:46 EDT."
<736632466.8939.0-faugeres.inria.fr*@MHS>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 05 May 1993 16:33:42 +22312049
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Valdis Kletnieks <valdis@black-ice.cc.vt.edu>
On 05 May 1993 22:07:46 EDT, pays@faugeres.inria.fr said: > last point: what I really want to avoid is to have DS client > developers to use search operations, when a simple read > (or a base object-search) could do the trick. My experience OK.. I'll freely admit that most of my X.500 experience has been digging inside QUIPU and trying to make it run, and I'm a bit weak on a few parts of the protocol. However, it seems to me that (as Tim Howes pointed out) 'read' and 'based search' can be implemented in terms of 'search'. Therefor, with proper design of the LDAP end, you can guarantee that "something correct" will get returned for any given search, whereas if you do "a simple read", you have to know a priori that 'simple read' will (a) work and (b) return the desired information. Unfortunately, this seems to be a classic bootstrap problem - you can't be sure that a 'read' is the desired operation unless you already know - in which case the read itself is superfluous. I'm pretty convinced that (a) using 'search' as the generic primitive is proper, (b) any DSA that can't handle 'search' effectively needs some development work done. I'm more than willing to entertain arguments to the contrary, but they should be accompanied by pseudo-code of how to determine that 'read' should be used at any given point. Said pseudo-code should not include anything of the form 'if pizzaro then' or other unknowable special cases - if it can't be determined by mere syntactic analysis of the DN in question, it's improper. So for instance, saying "at first two levels, do this, at 3rd or lower do that instead" is OK. It's also OK to say 'if level1 is 'C=something' do this else if level1 is 'O=something' do this, but only for *all* values of 'something' - special-casing "if level1 is '@o=Dingbats'" because that top-level org is managed by Fred's Cut-Rate X.500 DSA is a bad idea - they might upgrade to a real product. ;) Valdis Kletnieks Computer Systems Engineer Virginia Tech
- LDAP Comments Eric Rosenquist
- Re: LDAP Comments Tim Howes
- Re: LDAP Comments pays
- Re: LDAP Comments Tim Howes
- Re: LDAP Comments pays
- Re: LDAP Comments Alan Shepherd
- Re: LDAP Comments Tim Howes
- Re: LDAP Comments pays
- Re: LDAP Comments Tim Howes
- Re: LDAP Comments pays
- Re: LDAP Comments Alan Shepherd
- Re: LDAP Comments Valdis Kletnieks
- Re: LDAP Comments Tim Howes
- Re: LDAP Comments pays
- Re: LDAP Comments Christian Huitema
- Re: LDAP Comments Tim Howes
- Re: LDAP Comments Steve Kille
- Re: LDAP Comments Christian Huitema