Re: Comments from Christian H. on LDAP

Tim Howes <tim@terminator.rs.itd.umich.edu> Wed, 06 January 1993 15:54 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa05133; 6 Jan 93 10:54 EST
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa05129; 6 Jan 93 10:54 EST
Received: from haig.cs.ucl.ac.uk by CNRI.Reston.VA.US id aa12717; 6 Jan 93 10:54 EST
Received: from bells.cs.ucl.ac.uk by haig.cs.ucl.ac.uk with local SMTP id <g.02716-0@haig.cs.ucl.ac.uk>; Wed, 6 Jan 1993 14:57:17 +0000
Received: from terminator.rs.itd.umich.edu by bells.cs.ucl.ac.uk with Internet SMTP id <g.10425-0@bells.cs.ucl.ac.uk>; Wed, 6 Jan 1993 14:57:05 +0000
Received: from vertigo.rs.itd.umich.edu by terminator.rs.itd.umich.edu (5.67/2.2) id AA05513; Wed, 6 Jan 93 09:56:37 -0500
Message-Id: <9301061456.AA05513@terminator.rs.itd.umich.edu>
To: Andrew Waugh <A.Waugh@mel.dit.csiro.au>
Cc: Erik Huizer <Erik.Huizer@surfnet.nl>, RARE & IETF OSI-DS wg <osi-ds@cs.ucl.ac.uk>, Christian Huitema <Christian.Huitema@sophia.inria.fr>
Subject: Re: Comments from Christian H. on LDAP
In-Reply-To: Your message of "Wed, 06 Jan 93 14:42:29 +1100." <9301060342.AA22167@squid.mel.dit.CSIRO.AU>
Date: Wed, 06 Jan 1993 09:56:36 -0500
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Tim Howes <tim@terminator.rs.itd.umich.edu>

> From:    Andrew Waugh <A.Waugh@mel.dit.csiro.au>
> To:      Erik Huizer <Erik.Huizer@surfnet.nl>

> From:    Christian Huitema <Christian.Huitema@sophia.inria.fr>
> >The general architecture is sound: it keeps the X.500 "ASE" while
> >removing the unnecessary overhead due to the Session, Presentation
> >and ROS layer.
> 
> But does it? I cannot see anything in the draft which either
> says that the BER is being sent directly over TCP (or other Transport
> Layer protocol) or implies it. There should be a statement in section 5:
> 
> 	"The encoded protocol elements of LDAP are sent directly
> 	over the Transport layer service. No Session, Presentation
> 	or other Application Layer Protocols (such as ROSE or ACSE)
> 	are used."

Doesn't seem like it should be necessary (shouldn't the default be
NO rose, acse, etc if it's not mentioned??).  Just like for smtp :-).
But if people want this text added, I've no objections.

> >I dont
> >understand whether LDAP allows to send a query without sending a
> >"BIND" first; stateless operation should be allowed!
> 
> I totally agree with Christian here. It should be possible for the
> user to open a TCP connection to the DSA and send an X.500 operation.
> The DSA could considered this as having received an implicit anonymous
> bind request. Closing the TCP connection could then be considered
> as an implicit UnbindRequest (and, if necessary, an abandonRequest).
> It will, however, be necessary to promote the version field of the
> BindRequest to be an optional parameter of LDAPMessage to do this.

The only problem here is version control.  If we were to get rid of
the initial bind, to get versioning we'd have to include the version
on every request.  Being able to specify a new version seems like
a good thing to me.

> I cannot see the necessity of including the messageID field in the
> LSAPMessage. I would assume that the operation of LDAP is synchronous;
> send an operation, get a response. For this a messageID field is not
> necessary. If LDAP is asynchronous this should be stated.

The protocol can be async.  From section 3 "Protocol Model":

	Note that, although servers are required to return responses
	whenever such responses are defined in the protocol, there is
	no requirement for synchronous behavior on the part of either
	client or server implementations: requests and responses for
	multiple operations may be exchanged by client and servers in
	any order, as long as clients eventually receive a response for
	every request that requires one.

   -- Tim