From owner-ietf-ldapbis@OpenLDAP.org  Tue Jan  4 15:51:25 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17215
	for <ldapbis-archive@lists.ietf.org>; Tue, 4 Jan 2005 15:51:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j04Kdm6i091209
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 4 Jan 2005 20:50:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j04KW5tV090651;
	Tue, 4 Jan 2005 20:32:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 4 Jan 2005 20:32:05 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j04KW0i5090634
	for <ietf-ldapbis@openldap.org>; Tue, 4 Jan 2005 20:32:00 GMT
	(envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA15865;
	Tue, 4 Jan 2005 15:31:54 -0500 (EST)
Message-Id: <200501042031.PAA15865@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-url-09.txt
Date: Tue, 04 Jan 2005 15:31:54 -0500
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: Uniform Resource Locator
	Author(s)	: M. Smith, T. Howes
	Filename	: draft-ietf-ldapbis-url-09.txt
	Pages		: 15
	Date		: 2005-1-4
	
This document describes a format for a Lightweight Directory Access
   Protocol (LDAP) Uniform Resource Locator (URL).  An LDAP URL
   describes an LDAP search operation that is used to retrieve
   information from an LDAP directory, or, in the context of an LDAP
   referral or reference, an LDAP URL describes a service where an LDAP
   operation may be progressed.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-url-09.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-url-09.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-url-09.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2005-1-4153210.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-url-09.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-url-09.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2005-1-4153210.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Tue Jan  4 17:47:27 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA29502
	for <ldapbis-archive@lists.ietf.org>; Tue, 4 Jan 2005 17:47:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j04Me4wt099880
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 4 Jan 2005 22:46:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j04MSPDp099434;
	Tue, 4 Jan 2005 22:28:25 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 4 Jan 2005 22:28:25 +0000
Received: from gypsy.OpenLDAP.org (router.boolean.net [198.144.206.49])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j04MSIid099408
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 4 Jan 2005 22:28:18 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050104142243.02c9d578@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Tue, 04 Jan 2005 14:27:46 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-09.txt
Cc: Larry Masinter <LMM@acm.org>
In-Reply-To: <200501042031.PAA15865@ietf.org>
References: <200501042031.PAA15865@ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

In this revision, the I-D was updated to reference
draft-fielding-uri-rfc2396bis-07.txt instead of RFC 2396.
While the changes are straightforward, it is possible that
some error was made in this update.   Please review the
changes made to ensure this I-D is suitable for publication
on the Standard Track within the next week.

Kurt, LDAPBIS co-chair

At 12:31 PM 1/4/2005, Internet-Drafts@ietf.org wrote:
>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.
>
>        Title           : LDAP: Uniform Resource Locator
>        Author(s)       : M. Smith, T. Howes
>        Filename        : draft-ietf-ldapbis-url-09.txt
>        Pages           : 15
>        Date            : 2005-1-4
>        
>This document describes a format for a Lightweight Directory Access
>   Protocol (LDAP) Uniform Resource Locator (URL).  An LDAP URL
>   describes an LDAP search operation that is used to retrieve
>   information from an LDAP directory, or, in the context of an LDAP
>   referral or reference, an LDAP URL describes a service where an LDAP
>   operation may be progressed.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-url-09.txt
>
>To remove yourself from the I-D Announcement list, send a message to 
>i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
>You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
>to change your subscription settings.
>
>
>Internet-Drafts are also available by anonymous FTP. Login with the username
>"anonymous" and a password of your e-mail address. After logging in,
>type "cd internet-drafts" and then
>        "get draft-ietf-ldapbis-url-09.txt".
>
>A list of Internet-Drafts directories can be found in
>http://www.ietf.org/shadow.html 
>or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>
>Internet-Drafts can also be obtained by e-mail.
>
>Send a message to:
>        mailserv@ietf.org.
>In the body type:
>        "FILE /internet-drafts/draft-ietf-ldapbis-url-09.txt".
>        
>NOTE:   The mail server at ietf.org can return the document in
>        MIME-encoded form by using the "mpack" utility.  To use this
>        feature, insert the command "ENCODING mime" before the "FILE"
>        command.  To decode the response(s), you will need "munpack" or
>        a MIME-compliant mail reader.  Different MIME-compliant mail readers
>        exhibit different behavior, especially when dealing with
>        "multipart" MIME messages (i.e. documents which have been split
>        up into multiple messages), so check your local documentation on
>        how to manipulate these messages.
>                
>                
>Below is the data which will enable a MIME compliant mail reader
>implementation to automatically retrieve the ASCII version of the
>Internet-Draft.
>Content-Type: text/plain
>Content-ID:     <2005-1-4153210.I-D@ietf.org>
>
>ENCODING mime
>FILE /internet-drafts/draft-ietf-ldapbis-url-09.txt
>
><ftp://ftp.ietf.org/internet-drafts/draft-ietf-ldapbis-url-09.txt>



From owner-ietf-ldapbis@OpenLDAP.org  Wed Jan  5 23:26:51 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA23273
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Jan 2005 23:26:51 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j064JTce070220
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 6 Jan 2005 04:23:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j064IrIN070189;
	Thu, 6 Jan 2005 04:18:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 6 Jan 2005 04:18:53 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j064Ij5U070169
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 6 Jan 2005 04:18:46 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.165) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 41A13B7400003A94; Thu, 6 Jan 2005 15:23:11 +1100
Message-ID: <41DCBBBB.8010902@eb2bcom.com>
Date: Thu, 06 Jan 2005 15:16:59 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: and/or (1..MAX) constraint
References: <s18de93a.077@sinclair.provo.novell.com> <hbf.20041206n7bn@bombur.uio.no>
In-Reply-To: <hbf.20041206n7bn@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> What happened to this?
> 
> I've been expecting someone to post an explanation of why the grammar
> change is a problem for the T/F filter spec.  Did I miss it, or did the
> someone decide it was a false alarm?

The T/F filter spec removes the size constraint. If the constraint were
not explicit in the ASN.1 then the T/F filter spec would only need to update
the prose of the protocols draft. With the constraint explicit in the ASN.1
the T/F filter spec will need to formally update the ASN.1 as well.
No big deal. Kurt, as the author of the T/F filter spec, does not appear to
be concerned by the minor extra work.

Regards,
Steven

> 
> At 07 Nov 2004, Jim Sermersheim wrote:
> 
>>I've re-added these, and will wait for WG consensus to remove them.
>>
>>
>>>>>"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/29/04 2:23:39 PM >>>
>>>
>>>As chair, I note that the WG did specifically discussed adding
>>>these constraints to the revised ASN.1 module, (...)
>>>
>>>It seems however that some have raised "new" concerns supporting
>>>dropping the SIZE (1..MAX) constraints, however, it not quite
>>>clear what that concern is. Hence, I suggest that those who
>>>support dropping these constraints based upon "new" concerns
>>>detail those concerns to the WG and why it is necessary (or
>>>appropriate) to drop these constraints. We'll discuss the "new"
>>>concerns and see if consensus now clearly supports dropping
>>>these constraints. In absence of a clear consensus to drop the
>>>constraints, the chairs will direct the Editor to include
>>>these constraints.
>>>
>>>At 11:31 PM 10/28/2004, Jim Sermersheim wrote:
>>>
>>>
>>>>This [no SIZE constraint] is the way it was in RFC 2251.  At some
>>>>point, [protocol] added the SIZE (1..MAX) to the ASN.1 to make it
>>>>consistent with the text. It was then found that this prevents
>>>>Kurt's T/F filter spec from working without breaking protocol, so
>>>>we removed the ASN.1 grammar.
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan  6 01:12:30 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA28051
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 Jan 2005 01:12:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0667URG073853
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 6 Jan 2005 06:10:27 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0663f1u073744;
	Thu, 6 Jan 2005 06:03:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 6 Jan 2005 06:03:41 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0663aCU073732
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 6 Jan 2005 06:03:37 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.165) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 41A13B7400003ABB; Thu, 6 Jan 2005 17:08:23 +1100
Message-ID: <41DCD472.1010506@eb2bcom.com>
Date: Thu, 06 Jan 2005 17:02:26 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol: ASN.1 grammar changes for extensibility
References: <hbf.20041206kcn9@bombur.uio.no>
In-Reply-To: <hbf.20041206kcn9@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> I pointed out recently that With the latest [LDAPIANA], this:
>    4. Elements of Protocol 
>       ellipses (...) 
>       have been supplied in ASN.1 types that are explicitly extensible as 
>       discussed in [LDAPIANA].
> 
> in protocol-27 was no longer true for Search Scope, Filter Choice and
> ModifyRequest Operation Type.  I meant to suggest fixing that text, but
> Jim fixed the grammar instead:-)
> 
> The grammar now has '...' for SearchRequest.scope (ENUMERATED),
> Filter (CHOICE) and ModifyRequest.changes.operation (ENUMERATED).
> Are there any ASN.1 encodings where this will be encoded differently
> from the original grammar?

The changes will only affect PER encodings. I'm not aware of anyone using
PER encodings of LDAP protocol messages.

Regards,
Steven

> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 17:02:41 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA16461
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 17:02:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KLpbY9041127
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 20 Jan 2005 22:01:09 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0KLkaq0040712;
	Thu, 20 Jan 2005 21:46:36 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 20 Jan 2005 21:46:36 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KLkWwQ040687
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 20 Jan 2005 21:46:33 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 20 Jan 2005 14:46:12 -0700
Message-Id: <s1efc434.020@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Thu, 20 Jan 2005 14:45:48 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Continuation References vs. Referrals
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part6343DF9C.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__Part6343DF9C.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 12/7/04 12:09:18 PM
>>>
>> 4.5.3. Continuation References in the Search Result 
>
>> UTF-8 encoded characters appearing in the string 
>> representation of a DN or search filter may not be legal for URLs 
>> (e.g. spaces) and MUST be escaped using the % method in [URI]. 
>
>s/URLs/URIs/ or "URIs or URLs"? I have no time to check the URL/URI
>drafts now; will do so later if nobody beats me to it.
>The same applies to Referral.

Yes, when this was moved from the <dn> list item, I forgot to
genericize the language.

>We've forgotten to reflect a number of edits to Referrals in
>Continuation References:
>
>For the above text:
>Move it below the list: It's misplaced in the <dn> item.
>s/DN or search filter/DN, search filter, or other fields/ to match
>Referrals.

Yes.

>> If the server was able to locate the entry referred to by the 
>> baseObject but was unable to search one or more non-local entries, 
>
>Replace "unable to" with "unable or unwilling to", or rewrite the
>sentence to use "cannot or will not" as in Referral.

ok.

>> A URI for a server implementing LDAP and accessible via [TCP]/[IP] 
>> (v4 or v6) is written as an LDAP URL according to [LDAPURL]. 
>
>Nitpick: Move this to just above "SearchResultReference values which
are
>LDAP URLs follow these rules:".

got it

>> In order to complete the Search, the client issues a new Search 
>
>Maybe
>If the client wishes to progress the Search, it issues...
>to indicate that the client is not required to complete the
operation?

ok

>> operation for each SearchResultReference that is returned.
>
>This text from Referral is missing:
>
>If multiple URIs are
>present, the client assumes that any supported URI may be used to
>progress the operation.

ok

>> Clients that follow search continuation references MUST ensure that

>> they do not loop between servers.
>
>s/Clients/Protocol peers/?
>(I don't know why the Referral text says that instead of "clients".)

I changed the Referral text back to "Clients". It really doesn't
matter, and this way it's consistent.

>> They MUST NOT repeatedly contact 
>> the same server for the same request with the same target entry
name, 
>> scope and filter.
>
>s/target entry name, scope and filter/parameters/.
>For consistency with referral to server with base object, and in case
>extensions were changed. And for non-LDAP URIs that no longer include
>these items, come to think of it.

right

>> Some clients use a counter that is incremented each 
>> time search result reference handling occurs for an operation, and 
>> these kinds of clients MUST be able to handle at least ten nested 
>> search result references between the root and a leaf entry. 
>
>s/clients/implementations/, or do the reverse with Referrals.

got it

>BTW, "between the root and a leaf entry" is another text in Referrals
>which does not fit non-Search operations, but I don't have a good
>suggestion to fix it - and I don't expect it to be misunderstood
either.

"within the search scope"? maybe better is "for a Search operation".

>> - The <dn> part of the URL MUST be present, with the new target 
>> object name. The client MUST use this name when following the 
>> reference.
>
>s/MUST use/uses/.

yes

>> - If the <filter> part of the URL is present, the client MUST use 
>> this filter in its next request to progress this Search, and if it 
>> is not present the client MUST use the same filter as it used for 
>> that Search. 
>
>s/URL/LDAP URL/.
>s/MUST use/uses/.

right, same for other instances of URL in the "rules for LDAP URLs"

>-- 
>Hallvard

Thanks Hallvard,
 
Jim

--=__Part6343DF9C.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.no&gt; =
12/7/04 12:09:18 PM &gt;&gt;&gt;<BR>&gt;&gt; 4.5.3. Continuation References=
 in the Search Result <BR>&gt;<BR>&gt;&gt; UTF-8 encoded characters =
appearing in the string <BR>&gt;&gt; representation of a DN or search =
filter may not be legal for URLs <BR>&gt;&gt; (e.g. spaces) and MUST be =
escaped using the % method in [URI]. <BR>&gt;<BR>&gt;s/URLs/URIs/ or "URIs =
or URLs"? I have no time to check the URL/URI<BR>&gt;drafts now; will do =
so later if nobody beats me to it.<BR>&gt;The same applies to Referral.<BR>=
</DIV>
<DIV>Yes, when this was moved from the &lt;dn&gt; list item, I forgot to =
genericize the language.</DIV>
<DIV><BR>&gt;We've forgotten to reflect a number of edits to Referrals =
in<BR>&gt;Continuation References:<BR>&gt;<BR>&gt;For the above text:<BR>&g=
t;Move it below the list: It's misplaced in the &lt;dn&gt; item.<BR>&gt;s/D=
N or search filter/DN, search filter, or other fields/ to match<BR>&gt;Refe=
rrals.<BR></DIV>
<DIV>Yes.</DIV>
<DIV><BR>&gt;&gt; If the server was able to locate the entry referred to =
by the <BR>&gt;&gt; baseObject but was unable to search one or more =
non-local entries, <BR>&gt;<BR>&gt;Replace "unable to" with "unable or =
unwilling to", or rewrite the<BR>&gt;sentence to use "cannot or will not" =
as in Referral.<BR></DIV>
<DIV>ok.</DIV>
<DIV><BR>&gt;&gt; A URI for a server implementing LDAP and accessible via =
[TCP]/[IP] <BR>&gt;&gt; (v4 or v6) is written as an LDAP URL according to =
[LDAPURL]. <BR>&gt;<BR>&gt;Nitpick: Move this to just above "SearchResultRe=
ference values which are<BR>&gt;LDAP URLs follow these rules:".<BR></DIV>
<DIV>got it</DIV>
<DIV><BR>&gt;&gt; In order to complete the Search, the client issues a new =
Search <BR>&gt;<BR>&gt;Maybe<BR>&gt;If the client wishes to progress the =
Search, it issues...<BR>&gt;to indicate that the client is not required to =
complete the operation?<BR></DIV>
<DIV>ok</DIV>
<DIV><BR>&gt;&gt; operation for each SearchResultReference that is =
returned.<BR>&gt;<BR>&gt;This text from Referral is missing:<BR>&gt;<BR>&gt=
;If multiple URIs are<BR>&gt;present, the client assumes that any =
supported URI may be used to<BR>&gt;progress the operation.<BR></DIV>
<DIV>ok</DIV>
<DIV><BR>&gt;&gt; Clients that follow search continuation references MUST =
ensure that <BR>&gt;&gt; they do not loop between servers.<BR>&gt;<BR>&gt;s=
/Clients/Protocol peers/?<BR>&gt;(I don't know why the Referral text says =
that instead of "clients".)<BR></DIV>
<DIV>I changed the Referral text back to "Clients". It really doesn't =
matter, and this way it's consistent.</DIV>
<DIV><BR>&gt;&gt; They MUST NOT repeatedly contact <BR>&gt;&gt; the same =
server for the same request with the same target entry name, <BR>&gt;&gt; =
scope and filter.<BR>&gt;<BR>&gt;s/target entry name, scope and filter/para=
meters/.<BR>&gt;For consistency with referral to server with base object, =
and in case<BR>&gt;extensions were changed. And for non-LDAP URIs that no =
longer include<BR>&gt;these items, come to think of it.<BR></DIV>
<DIV>right</DIV>
<DIV><BR>&gt;&gt; Some clients use a counter that is incremented each =
<BR>&gt;&gt; time search result reference handling occurs for an operation,=
 and <BR>&gt;&gt; these kinds of clients MUST be able to handle at least =
ten nested <BR>&gt;&gt; search result references between the root and a =
leaf entry. <BR>&gt;<BR>&gt;s/clients/implementations/, or do the reverse =
with Referrals.<BR></DIV>
<DIV>got it</DIV>
<DIV><BR>&gt;BTW, "between the root and a leaf entry" is another text in =
Referrals<BR>&gt;which does not fit non-Search operations, but I don't =
have a good<BR>&gt;suggestion to fix it - and I don't expect it to be =
misunderstood either.<BR></DIV>
<DIV>"within the search scope"? maybe better is "for a Search operation".</=
DIV>
<DIV><BR>&gt;&gt; - The &lt;dn&gt; part of the URL MUST be present, with =
the new target <BR>&gt;&gt; object name. The client MUST use this name =
when following the <BR>&gt;&gt; reference.<BR>&gt;<BR>&gt;s/MUST use/uses/.=
<BR></DIV>
<DIV>yes</DIV>
<DIV><BR>&gt;&gt; - If the &lt;filter&gt; part of the URL is present, the =
client MUST use <BR>&gt;&gt; this filter in its next request to progress =
this Search, and if it <BR>&gt;&gt; is not present the client MUST use the =
same filter as it used for <BR>&gt;&gt; that Search. <BR>&gt;<BR>&gt;s/URL/=
LDAP URL/.<BR>&gt;s/MUST use/uses/.<BR></DIV>
<DIV>right, same for other instances of URL in the "rules for LDAP =
URLs"</DIV>
<DIV><BR>&gt;-- <BR>&gt;Hallvard<BR></DIV>
<DIV>Thanks Hallvard,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__Part6343DF9C.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 17:57:59 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA22582
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 17:57:58 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KMpbxZ044374
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 20 Jan 2005 22:54:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0KMfc5C043878;
	Thu, 20 Jan 2005 22:41:39 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 20 Jan 2005 22:41:38 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KMfa0t043869
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 20 Jan 2005 22:41:36 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30] ident=[U2FsdGVkX1+O2LeUuAEV/VJckB3E+eUI4e0qKInRqcA=])
	by pat.uio.no with esmtp (Exim 4.34)
	id 1Crkzc-0003w4-VM
	for ietf-ldapbis@OpenLDAP.org; Thu, 20 Jan 2005 23:41:33 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.43)
	id 1CrkzZ-0004i2-Nj; Thu, 20 Jan 2005 23:41:29 +0100
Received: from hbf by bombur.uio.no with local (Exim 4.30)
	id 1CrkzZ-00082L-L8; Thu, 20 Jan 2005 23:41:29 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <hbf.20050120wbi2@bombur.uio.no>
Date: Thu, 20 Jan 2005 23:41:29 +0100
To: ietf-ldapbis@OpenLDAP.org
Subject: "search scope" for non-search operations (was: Continuation References vs. Referrals)
In-Reply-To: <s1efc434.020@sinclair.provo.novell.com>
References: <s1efc434.020@sinclair.provo.novell.com>
X-Mailer: VM 7.18 under Emacs 21.3.1
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.018, required 12,
	autolearn=disabled, AWL 0.98, UIO_MAIL_IS_INTERNAL -5.00)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Jim Sermersheim writes:
>>>>Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 12/7/04 12:09:18 PM

>>BTW, "between the root and a leaf entry" is another text in Referrals
>>which does not fit non-Search operations, but I don't have a good
>>suggestion to fix it - and I don't expect it to be misunderstood
> either.
>
> "within the search scope"? maybe better is "for a Search operation".

No, the counter should also be used when a non-search gets a referal to
a server which returns another referral and so on.  Or with extensions
like Delete Subtree.

BTW, just for reference: The text in question is this sentence from
4.1.10 Referral:

   Some
   implementations use a counter that is incremented each time referral
   handling occurs for an operation, and these kinds of implementations
   MUST be able to handle at least ten nested referrals between the root
   and a leaf entry.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 18:04:43 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA23405
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 18:04:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KMpbxd044374
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 20 Jan 2005 23:00:25 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0KMjeYc044045;
	Thu, 20 Jan 2005 22:45:40 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 20 Jan 2005 22:45:40 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KMjcV3044025
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 20 Jan 2005 22:45:38 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 20 Jan 2005 15:45:17 -0700
Message-Id: <s1efd20d.055@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Thu, 20 Jan 2005 15:44:58 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: protocol-28 comments
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 12/7/04 1:10:34 PM
>>>
>Items from protocol-27 discussion:
>
>>> 4.5.1. Search Request
>>
>>> - scope: Specifies the scope of the search to be performed. The
>>> semantics (as described in [X.511]) of the possible values of this
>>> field are:
>>> - derefAliases: An indicator as to how alias entries (as defined
in
>>> [Models]) are to be handled in searching. The semantics of the
>>> possible values of this field are:
>>
>> s/possible/defined/ in these two, since other values can be defined
>> later.
>
>This was done for derefAliases, but not for scope.

oops.

>>> 4.5.2. Search Result
>>
>>> The results of the search operation are returned as zero or more
>>> searchResultEntry messages, zero or more SearchResultReference
>>> messages, followed by a single searchResultDone message.
>>
>> replace "messages, zero or more" with "and/or" to clarify that the
>> entries need not precede the references.
>
>Changed a bit in -28, but the second "zero or more" remains. So it
can
>still give the impression that the searchResultEntries are grouped
>together and the SearchResultReferences are grouped together in the
list
>of response messages.

ok

>>> 4.7. Add Operation
>>
>>> - attributes: (...)
>>
>>> Clients MUST
>>> include the 'objectClass' attribute, and values of any mandatory
>>> attributes of the listed object classes. Clients MUST NOT supply
>>> NO-USER-MODIFICATION attributes such as the createTimestamp or
>>> creatorsName attributes, since the server maintains these
>>> automatically.
>>
>> The same applies to Modify Operation. Maybe factor that out and
replace
>> with a reference to [Models], similar to what has been done with
some
>> Modify Operation text?
>
>The sentence about objectClass is gone, but the NO-USER-MODIFICATION
>sentence remains. I don't really care, but I believe the decision was
>to remove it when "Servers MUST ensure that entries conform to user
and
>system schema rules or other data model constraints" was added.

I see this as being more of a protocol issue and less of a data model
issue (though it does crossover). I think it's still useful and might
not be redundant, so I'll leave it unless there is more discussion.

>================================
>
>Editorial comments:
>
>Sections 4.3, 4.4.1 and 4.14.3:
>
>> Uncompleted operations are handled as specified in Section 5.1.
>
>No, in Section 3.1.

Maybe I was watching Monty Python and the Holy Grail when I did that.

>> 5. Protocol Encoding, Connection, and Transfer
>
>Why s/Transport Connection/Connection/ in this title, when we did
just
>the opposite with renaming the connection to "transport connection"?
>Is this to ensure that the title is _not_ referring to the "transport
>connection" as defined in section 2?
>
>> Appendix B.
>
>> -- The LDAPString is constrained to
>> -- <attributeSelection> in Section 4.5.1
>>
>
>s/attributeSelection/attributeSelector/. s/4.5.1/4.5.1.7/.
>Now that the original grammar is in 4.1.5 and attributeSelector in
>another section, maybe the grammar comment in 4.5.1 should replace
>"below" with "in Section 4.5.1.7".

yes, on both counts.

>> PartialAttributeList ::= SEQUENCE OF
>> partialAttribute PartialAttribute
>
>Not sure if this is good or bad, but I note that this text from the
>grammar in 4.5.2 is missing from Appendix B:
>
>> -- Note that the PartialAttributeList may hold zero elements.
>> -- This may happen when none of the attributes of an entry
>> -- were requested, or could be returned.
>> -- Note also that the partialAttribute vals set may hold zero
>> -- elements. This may happen when typesOnly is requested, access
>> -- controls prevent the return of values, or other reasons.

hmm, this has always been this way. Same issue with
SearchResultReference (in RFC 2251).  I will turn the comments into
prose and append them to the paragraph starting with "Each entry
returned in a SearchResultEntry will contain...".

>> C.1.21 Section 4.6 (Modify Operation) 
>>
>> - the types of modification changes which might temporarily 
>
>s/Spcified/Specified/.

got it (and a few other typos)

>-- 
>Hallvard

Thanks,

JIm


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 18:07:38 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA23936
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 18:07:38 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KN3fsH045348
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 20 Jan 2005 23:06:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0KMumf3044717;
	Thu, 20 Jan 2005 22:56:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 20 Jan 2005 22:56:48 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KMuhrg044697
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 20 Jan 2005 22:56:44 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 20 Jan 2005 15:56:23 -0700
Message-Id: <s1efd4a7.066@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Thu, 20 Jan 2005 15:55:57 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: derefInSearching (was Re: protocol-27 comments #3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part0222BEED.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__Part0222BEED.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I moved the suggested text (recursion and looping) to the top part of
the section.
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 12/8/04 10:25:08 AM
>>>
Jim Sermersheim writes:
> Lost. After updating with the proposed text, I didn't respond to
your
> suggestions below.
>
> I agree with the first suggestion. All alias dereferencing should
> dereference recursively, and all should employ loop detection.
>
> I don't see text like "The filter is applied to the dereferenced
> object(s).". I'm not sure what you're saying here.

That text is quoted from protocol-27. I'm not comfortable with either
the -27 or -28 text, but I have a hard time coming up with something
better. Except that I liked the 'Aliases...' text from -27 (below).
Except again, the text is getting rather long...

>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 12/7/04 2:01:43
PM
>
> This was either lost or ignored - maybe deservedly so. If nobody
> replies, I'll consider the issue dead. (As I note below, it still
> seems to say dereferencing the base object is not recursive, but
OTOH
> I don't expect anyone to misunderstand.)
> (...)
>> I want to mix the old text with your new text, but I'm not sure
how...
>>
>> Suggestions:
>>
>> Move the part about aliasing being recursive directly under
>> derefAliases. Move up 'Servers MUST detect looping...' as well.
>>
>> It was perhaps unfortunate to have 'The filter is applied to the
>> dereferenced object(s).' _before_ saying that a subtree search
>> continues, but OTOH 'Aliases in that subtree are also dereferenced'
>> seems worth keeping.

-- 
Hallvard


--=__Part0222BEED.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I&nbsp;moved the suggested text (recursion and looping) to the top =
part of the section.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.=
no&gt; 12/8/04 10:25:08 AM &gt;&gt;&gt;<BR>Jim Sermersheim writes:<BR>&gt; =
Lost. After updating with the proposed text, I didn't respond to your<BR>&g=
t; suggestions below.<BR>&gt;<BR>&gt; I agree with the first suggestion. =
All alias dereferencing should<BR>&gt; dereference recursively, and all =
should employ loop detection.<BR>&gt;<BR>&gt; I don't see text like "The =
filter is applied to the dereferenced<BR>&gt; object(s).". I'm not sure =
what you're saying here.<BR><BR>That text is quoted from protocol-27. I'm =
not comfortable with either<BR>the -27 or -28 text, but I have a hard time =
coming up with something<BR>better. Except that I liked the 'Aliases...' =
text from -27 (below).<BR>Except again, the text is getting rather =
long...<BR><BR>&gt;&gt;&gt;&gt; Hallvard B Furuseth &lt;<U> <A href=3D"mail=
to:h.b.furuseth@usit.uio.no">h.b.furuseth@usit.uio.no</A></U> &gt; 12/7/04 =
2:01:43 PM<BR>&gt;<BR>&gt; This was either lost or ignored - maybe =
deservedly so. If nobody<BR>&gt; replies, I'll consider the issue dead. =
(As I note below, it still<BR>&gt; seems to say dereferencing the base =
object is not recursive, but OTOH<BR>&gt; I don't expect anyone to =
misunderstand.)<BR>&gt; (...)<BR>&gt;&gt; I want to mix the old text with =
your new text, but I'm not sure how...<BR>&gt;&gt;<BR>&gt;&gt; Suggestions:=
<BR>&gt;&gt;<BR>&gt;&gt; Move the part about aliasing being recursive =
directly under<BR>&gt;&gt; derefAliases. Move up 'Servers MUST detect =
looping...' as well.<BR>&gt;&gt;<BR>&gt;&gt; It was perhaps unfortunate to =
have 'The filter is applied to the<BR>&gt;&gt; dereferenced object(s).' =
_before_ saying that a subtree search<BR>&gt;&gt; continues, but OTOH =
'Aliases in that subtree are also dereferenced'<BR>&gt;&gt; seems worth =
keeping.<BR><BR>-- <BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part0222BEED.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 18:39:44 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27984
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 18:39:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KNXc5F047126
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 20 Jan 2005 23:36:35 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0KNSnnL046878;
	Thu, 20 Jan 2005 23:28:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 20 Jan 2005 23:28:49 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KNSmdJ046815
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 20 Jan 2005 23:28:48 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 20 Jan 2005 16:28:28 -0700
Message-Id: <s1efdc2c.075@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Thu, 20 Jan 2005 16:28:06 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: "search scope" for non-search operations (was:
	Continuation References vs. Referrals)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

ok, I see. I had thought you were asking that similar text be applied to
Section 4.5.3. but that root and leaf didn't make sense there.
 
For 4.1.10, I  believe the intent was: "...between the root and a leaf
RDN of the target entry". We're talking about resolving a DN, one RDN at
a time, and possibly getting lots of referrals while doing so. I don't
think it helps much to say this though, so I suggest changing it to:
"... and these kinds of clients MUST be able to handle at least ten
nested referrals while progressing the operation"

and the same thing for 4.5.3: 

Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 1/20/05 3:41:29 PM
>>>
Jim Sermersheim writes:
>>>>Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 12/7/04 12:09:18
PM

>>BTW, "between the root and a leaf entry" is another text in
Referrals
>>which does not fit non-Search operations, but I don't have a good
>>suggestion to fix it - and I don't expect it to be misunderstood
> either.
>
> "within the search scope"? maybe better is "for a Search operation".

No, the counter should also be used when a non-search gets a referal
to
a server which returns another referral and so on. Or with extensions
like Delete Subtree.

BTW, just for reference: The text in question is this sentence from
4.1.10 Referral:

Some
implementations use a counter that is incremented each time referral
handling occurs for an operation, and these kinds of implementations
MUST be able to handle at least ten nested referrals between the root
and a leaf entry.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 18:39:46 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA28005
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 18:39:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KNXc5H047126
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 20 Jan 2005 23:36:36 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0KNXa0v047118;
	Thu, 20 Jan 2005 23:33:36 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 20 Jan 2005 23:33:36 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0KNXVgv047046;
	Thu, 20 Jan 2005 23:33:32 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 20 Jan 2005 16:33:11 -0700
Message-Id: <s1efdd47.026@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Thu, 20 Jan 2005 16:32:41 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <mcs@pearlcrescent.com>, <michael@stroeder.com>
Cc: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>,
        <h.b.furuseth@usit.uio.no>
Subject: Re: protocol: strongAuthRequired
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part6F4FD389.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__Part6F4FD389.0__=
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

It seems consensus is to go ahead with the name change unless anyone else =
can substantiate harm in doing so.
=20
Jim

>>> Mark Smith <mcs@pearlcrescent.com> 12/10/04 7:33:37 AM >>>
Michael Str=F6der wrote:
>
> Are you aware that this could lead to a name change in various =
existing=20
> LDAP client APIs?
>=20
> Therefore I'm against such a name change although the name change =
would=20
> make the meaning more clear.

I think most API implementations would keep the old name around (at=20
least for a while) and also support the new name. Or is that a problem=20
for some API implementations? There is some benefit to changing the=20
name in the protocol (minor though it is).

-Mark




--=__Part6F4FD389.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>It seems consensus is to go ahead with the name change unless anyone =
else can substantiate harm in doing so.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Mark Smith &lt;mcs@pearlcrescent.com&gt; =
12/10/04 7:33:37 AM &gt;&gt;&gt;<BR>Michael Str=F6der wrote:<BR>&gt;<BR>&gt=
; Are you aware that this could lead to a name change in various existing =
<BR>&gt; LDAP client APIs?<BR>&gt; <BR>&gt; Therefore I'm against such a =
name change although the name change would <BR>&gt; make the meaning more =
clear.<BR><BR>I think most API implementations would keep the old name =
around (at <BR>least for a while) and also support the new name. Or is =
that a problem <BR>for some API implementations? There is some benefit to =
changing the <BR>name in the protocol (minor though it is).<BR><BR>-Mark<BR=
><BR></DIV></BODY></HTML>

--=__Part6F4FD389.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 19:13:07 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA00582
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 19:13:06 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0L0AP1G049229
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 21 Jan 2005 00:10:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0L060TE049056;
	Fri, 21 Jan 2005 00:06:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 21 Jan 2005 00:06:00 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0L05v4A049029;
	Fri, 21 Jan 2005 00:05:57 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 20 Jan 2005 17:05:36 -0700
Message-Id: <s1efe4e0.012@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Thu, 20 Jan 2005 17:05:12 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: protocol: closing SASL upon Unbind
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartB6960A28.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__PartB6960A28.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Unless there are further issues with this, I will replace the current
instructions for Unbind with Kurts suggested text here.
 
Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 12/7/04 6:43:45 PM >>>
My previous suggestion does not adequately cover the
issue of graceful closure of the LDAP session. That is,
the reason why a particular order was suggested was that
it was thought to be graceful. So while I have no
problem with removing the ordering aspect of the current
text, I'd like to indicate that Unbind/Notice of Disconnect
are intended to affect a graceful closure.

Hence, I suggest:

The client, upon transmission of the UnbindRequest, and
the server, upon receipt of the UnbindRequest are to
gracefully close the LDAP session by ceasing exchange
at the LDAP message layer, tearing down any SASL layer,
tearing down any TLS layer, and closing the transport
connection.

I note that while the 4 actions the implementation might need
to take are stated in the order which the implementation likely
would need to affect graceful closure of the LDAP session,
the text does not actually prescribe a particular order, nor
does it imply that any exchange within the SASL and/or TLS
layer would been necessary.



--=__PartB6960A28.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Unless there are further issues with this, I will replace the current =
instructions for Unbind with Kurts suggested text here.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; =
12/7/04 6:43:45 PM &gt;&gt;&gt;<BR>My previous suggestion does not =
adequately cover the<BR>issue of graceful closure of the LDAP session. =
That is,<BR>the reason why a particular order was suggested was that<BR>it =
was thought to be graceful. So while I have no<BR>problem with removing =
the ordering aspect of the current<BR>text, I'd like to indicate that =
Unbind/Notice of Disconnect<BR>are intended to affect a graceful closure.<B=
R><BR>Hence, I suggest:<BR><BR>The client, upon transmission of the =
UnbindRequest, and<BR>the server, upon receipt of the UnbindRequest are =
to<BR>gracefully close the LDAP session by ceasing exchange<BR>at the LDAP =
message layer, tearing down any SASL layer,<BR>tearing down any TLS layer, =
and closing the transport<BR>connection.<BR><BR>I note that while the 4 =
actions the implementation might need<BR>to take are stated in the order =
which the implementation likely<BR>would need to affect graceful closure =
of the LDAP session,<BR>the text does not actually prescribe a particular =
order, nor<BR>does it imply that any exchange within the SASL and/or =
TLS<BR>layer would been necessary.<BR><BR></DIV></BODY></HTML>

--=__PartB6960A28.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Thu Jan 20 19:42:03 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA01805
	for <ldapbis-archive@lists.ietf.org>; Thu, 20 Jan 2005 19:42:03 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0L0LbXJ050064
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 21 Jan 2005 00:39:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0L0IxVN049813;
	Fri, 21 Jan 2005 00:18:59 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 21 Jan 2005 00:18:59 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0L0ItR7049761;
	Fri, 21 Jan 2005 00:18:55 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 20 Jan 2005 17:18:35 -0700
Message-Id: <s1efe7eb.080@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Thu, 20 Jan 2005 17:18:11 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: server-initiated connection closure vs. TLS/SASL closure
	(was: closing SASL upon Unbind)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

After reading this thread, I conclude that there is some confusion
regarding the wording in section 4.14.3.2. Is that correct? Even then,
I'm not sure what the confusion is. To me it says that TLS may be
abruptly removed by closing the transport connection. And by the way, if
the server is about to do this, it may send a Notice of Disconnection
first.  I'm not even sure what use this section is, it seems obvious to
me - one can abrupty stop _anything_ by closing the transport
connection. I suggest removing the section.

The other thing that may have raised its head on this thread was Kurt
suggesting that Notice of Disconnection be followed by graceful closure
(as is done with Unbind) rather than an abrupt closure of the transport
connection. I'm thinking or hoping I mis-interpreted that. I think
RFC2251 and all revisions of [Protocol] have been clear that
transmission and reception of Notice of Disconnection is always followed
by an abrupt (not graceful) closure of the transport connection.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 12/8/04 1:32:38 PM >>>
At 11:56 AM 12/8/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 09:10 AM 12/8/2004, Hallvard B Furuseth wrote:
>>>Kurt D. Zeilenga writes:
>>>> My previous suggestion does not adequately cover the
>>>> issue of graceful closure of the LDAP session. That is,
>>>> the reason why a particular order was suggested was that
>>>> it was thought to be graceful. So while I have no
>>>> problem with removing the ordering aspect of the current
>>>> text, I'd like to indicate that Unbind/Notice of Disconnect
>>>> are intended to affect a graceful closure.
>>>
>>> Actually, this thread started with the text for the Unbind
operation,
>>> not Notice of Disconnection.
>>
>> I just noticed that the Notice of Disconnect section does not
>> include symmetric text to Unbind. As previously discussed,
>> it should (but updated per this discussion).
>
>Which discussion was that? It reached the opposite conclusion of mine
>just now.
>
>>> [Protocol] states that Notice of
>>> Disconnection should use abrupt closure, not graceful, when the
TLS
>>> layer is removed. It seems to say the same when the connection is
>>> closed for other reasons, but maybe I'm seeing too much in these
words.
>>
>> What I thought it meant was "In this circumstance, a server MAY
>> send the client a Notice of Disconnection before closing the
>> transport connection AFTER abruptly closing TLS." This makes no
>> sense as there is no way to re-establish PDU alignment after
>> an abrupt closure.
>
>There is no way to send anything after abrupt closure.
>
>> If instead it was meant, "In this circumstance, a server MAY
>> send the client a Notice of Disconnection before closing the
>> transport connection BEFORE abruptly closing TLS", this would
>> make little sense as that requires further use of TLS.
>
>It should be 'In the case of server initiating closure,...', but with
>that addition I don't see a problem with it.

But this section is talking about abrupt closure. Not only
does it makes little to no sense to send a Notice of Disconnect
before an abrupt closure.

>The connection may be compromised and the Notice may not reach the
client,
>but in most cases it probably will.

If the connection is compromised, one should cease sending
additional TLS data (period).

If the event is of a nature were abrupt closure is appropriate,
then the connection should be abruptly closed (no transmission
of any application-level (including PDUs, SASL cipher buffers,
or TLS frames) data.

If the event is of a nature where graceful closure is appropriate,
then the implementation should gracefully close the LDAP session
in an orderly fashion. This should be initiated by queuing
an Unbind or Notice of Disconnect (depending on which peer is
initiating) for transfer, closing the queue, allowing the
queue to drain, allowing the SASL layer to drain (per the
SASL and the SASL mechanism specifications), allowing TLS layer
to drain (per the TLS and TLS ciphersuite specifications),
and then closing the transport connection (per the transport
protocol specification). It's noted that graceful closure
of the layers before the PDU layer may involve exchange
of data beyond that necessary to transfer the last LDAP
PDU. For instance, TCP requires a specific closure exchange.
These should not be skipped during graceful closure.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Jan 21 00:27:21 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA18075
	for <ldapbis-archive@lists.ietf.org>; Fri, 21 Jan 2005 00:27:20 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0L5FeaB059020
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 21 Jan 2005 05:23:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0L5A4Hr058820;
	Fri, 21 Jan 2005 05:10:04 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 21 Jan 2005 05:10:04 +0000
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0L59vBO058802
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 21 Jan 2005 05:09:58 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050120205218.08d0b788@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Thu, 20 Jan 2005 21:09:20 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: server-initiated connection closure vs. TLS/SASL closure
  (was: closing SASL upon Unbind)
Cc: <h.b.furuseth@usit.uio.no>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s1efe7eb.080@sinclair.provo.novell.com>
References: <s1efe7eb.080@sinclair.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 04:18 PM 1/20/2005, Jim Sermersheim wrote:
>After reading this thread, I conclude that there is some confusion
>regarding the wording in section 4.14.3.2. Is that correct? Even then,
>I'm not sure what the confusion is. To me it says that TLS may be
>abruptly removed by closing the transport connection. And by the way, if
>the server is about to do this, it may send a Notice of Disconnection
>first.

Then the server is not abruptly closing the connection.

I understood the existing specification to allow two options
for server initiated closure:
        1) abrupt closure: close the transport;
        2) graceful closure: send notice of disconnect,
           tear down SASL & TLS, then close the transport

Likewise, the client has two options to initiate closure:
        1) abrupt closure: close the transport;
        2) graceful closure: send unbind request,
           tear down SASL & TLS, then close the transport

>I'm not even sure what use this section is, it seems obvious to
>me - one can abrupty stop _anything_ by closing the transport
>connection.

Right.

And if you are sending a PDU before closure, then you obviously
are attempting graceful closure.

>I suggest removing the section.

>The other thing that may have raised its head on this thread was Kurt
>suggesting that Notice of Disconnection be followed by graceful closure
>(as is done with Unbind) rather than an abrupt closure of the transport
>connection. I'm thinking or hoping I mis-interpreted that. I think
>RFC2251 and all revisions of [Protocol] have been clear that
>transmission and reception of Notice of Disconnection is always followed
>by an abrupt (not graceful) closure of the transport connection.

I took Notice of Disconnect and Unbind to cause server-initiated
and client initiated, respectively, graceful closure of the
LDAP session.

The confuse may be due to the fact that RFC 2251 was written,
as I see it, without SASL and TLS in mind.  And then 2830
adds some confusion it has one optionally sending a PDU
during what it calls abrupt closure.

I think we need to use the term 'abrupt' to be mean, as the
term is generally used in application layer protocols, that
the transport layer immediately without additional transfer
of application layer data.

I think we should also use the term 'graceful' to mean, as the
term is generally used in application layer protocols, that
the protocol stack is torn down in an orderly fashion.



>Jim
>
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 12/8/04 1:32:38 PM >>>
>At 11:56 AM 12/8/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:
>>>At 09:10 AM 12/8/2004, Hallvard B Furuseth wrote:
>>>>Kurt D. Zeilenga writes:
>>>>> My previous suggestion does not adequately cover the
>>>>> issue of graceful closure of the LDAP session. That is,
>>>>> the reason why a particular order was suggested was that
>>>>> it was thought to be graceful. So while I have no
>>>>> problem with removing the ordering aspect of the current
>>>>> text, I'd like to indicate that Unbind/Notice of Disconnect
>>>>> are intended to affect a graceful closure.
>>>>
>>>> Actually, this thread started with the text for the Unbind
>operation,
>>>> not Notice of Disconnection.
>>>
>>> I just noticed that the Notice of Disconnect section does not
>>> include symmetric text to Unbind. As previously discussed,
>>> it should (but updated per this discussion).
>>
>>Which discussion was that? It reached the opposite conclusion of mine
>>just now.
>>
>>>> [Protocol] states that Notice of
>>>> Disconnection should use abrupt closure, not graceful, when the
>TLS
>>>> layer is removed. It seems to say the same when the connection is
>>>> closed for other reasons, but maybe I'm seeing too much in these
>words.
>>>
>>> What I thought it meant was "In this circumstance, a server MAY
>>> send the client a Notice of Disconnection before closing the
>>> transport connection AFTER abruptly closing TLS." This makes no
>>> sense as there is no way to re-establish PDU alignment after
>>> an abrupt closure.
>>
>>There is no way to send anything after abrupt closure.
>>
>>> If instead it was meant, "In this circumstance, a server MAY
>>> send the client a Notice of Disconnection before closing the
>>> transport connection BEFORE abruptly closing TLS", this would
>>> make little sense as that requires further use of TLS.
>>
>>It should be 'In the case of server initiating closure,...', but with
>>that addition I don't see a problem with it.
>
>But this section is talking about abrupt closure. Not only
>does it makes little to no sense to send a Notice of Disconnect
>before an abrupt closure.
>
>>The connection may be compromised and the Notice may not reach the
>client,
>>but in most cases it probably will.
>
>If the connection is compromised, one should cease sending
>additional TLS data (period).
>
>If the event is of a nature were abrupt closure is appropriate,
>then the connection should be abruptly closed (no transmission
>of any application-level (including PDUs, SASL cipher buffers,
>or TLS frames) data.
>
>If the event is of a nature where graceful closure is appropriate,
>then the implementation should gracefully close the LDAP session
>in an orderly fashion. This should be initiated by queuing
>an Unbind or Notice of Disconnect (depending on which peer is
>initiating) for transfer, closing the queue, allowing the
>queue to drain, allowing the SASL layer to drain (per the
>SASL and the SASL mechanism specifications), allowing TLS layer
>to drain (per the TLS and TLS ciphersuite specifications),
>and then closing the transport connection (per the transport
>protocol specification). It's noted that graceful closure
>of the layers before the PDU layer may involve exchange
>of data beyond that necessary to transfer the last LDAP
>PDU. For instance, TCP requires a specific closure exchange.
>These should not be skipped during graceful closure.
>
>Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Jan 21 11:32:35 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA24902
	for <ldapbis-archive@lists.ietf.org>; Fri, 21 Jan 2005 11:32:34 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0LGRi5L090633
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 21 Jan 2005 16:30:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0LGQF4C090531;
	Fri, 21 Jan 2005 16:26:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 21 Jan 2005 16:26:15 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0LGQ8SN090438;
	Fri, 21 Jan 2005 16:26:08 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Fri, 21 Jan 2005 09:25:15 -0700
Message-Id: <s1f0ca7b.013@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Fri, 21 Jan 2005 09:24:50 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Closure after Notice of Disconnection
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part36168BC2.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__Part36168BC2.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Kurt Z.wrote:
 
>The confuse may be due to the fact that RFC 2251 was written,
>as I see it, without SASL and TLS in mind. And then 2830
>adds some confusion it has one optionally sending a PDU
>during what it calls abrupt closure.

I can see this being the case, and I agree that graceful closure
following a Notice of Disconnection makes more sense and is more
desirable.
 
So at this point, it would be interesting to get more feedback on this
issue, and it would also be good to know what existing LDAP
implementations do today when either (or both) TLS or/and SASL are
installed, and a Notice of Disconnection is sent / received.
 
Can implementors please reply with their understanding and
implementation of how TLS and SASL layers are to be closed after a
Notice of Disconnection?
 
Thanks,
 
Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 1/20/05 10:09:20 PM >>>
At 04:18 PM 1/20/2005, Jim Sermersheim wrote:
>After reading this thread, I conclude that there is some confusion
>regarding the wording in section 4.14.3.2. Is that correct? Even
then,
>I'm not sure what the confusion is. To me it says that TLS may be
>abruptly removed by closing the transport connection. And by the way,
if
>the server is about to do this, it may send a Notice of Disconnection
>first.

Then the server is not abruptly closing the connection.

I understood the existing specification to allow two options
for server initiated closure:
1) abrupt closure: close the transport;
2) graceful closure: send notice of disconnect,
tear down SASL & TLS, then close the transport

Likewise, the client has two options to initiate closure:
1) abrupt closure: close the transport;
2) graceful closure: send unbind request,
tear down SASL & TLS, then close the transport

>I'm not even sure what use this section is, it seems obvious to
>me - one can abrupty stop _anything_ by closing the transport
>connection.

Right.

And if you are sending a PDU before closure, then you obviously
are attempting graceful closure.

>I suggest removing the section.

>The other thing that may have raised its head on this thread was Kurt
>suggesting that Notice of Disconnection be followed by graceful
closure
>(as is done with Unbind) rather than an abrupt closure of the
transport
>connection. I'm thinking or hoping I mis-interpreted that. I think
>RFC2251 and all revisions of [Protocol] have been clear that
>transmission and reception of Notice of Disconnection is always
followed
>by an abrupt (not graceful) closure of the transport connection.

I took Notice of Disconnect and Unbind to cause server-initiated
and client initiated, respectively, graceful closure of the
LDAP session.

The confuse may be due to the fact that RFC 2251 was written,
as I see it, without SASL and TLS in mind. And then 2830
adds some confusion it has one optionally sending a PDU
during what it calls abrupt closure.

I think we need to use the term 'abrupt' to be mean, as the
term is generally used in application layer protocols, that
the transport layer immediately without additional transfer
of application layer data.

I think we should also use the term 'graceful' to mean, as the
term is generally used in application layer protocols, that
the protocol stack is torn down in an orderly fashion.



>Jim
>
>>>> "Kurt D. Zeilenga" < Kurt@OpenLDAP.org > 12/8/04 1:32:38 PM >>>
>At 11:56 AM 12/8/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:
>>>At 09:10 AM 12/8/2004, Hallvard B Furuseth wrote:
>>>>Kurt D. Zeilenga writes:
>>>>> My previous suggestion does not adequately cover the
>>>>> issue of graceful closure of the LDAP session. That is,
>>>>> the reason why a particular order was suggested was that
>>>>> it was thought to be graceful. So while I have no
>>>>> problem with removing the ordering aspect of the current
>>>>> text, I'd like to indicate that Unbind/Notice of Disconnect
>>>>> are intended to affect a graceful closure.
>>>>
>>>> Actually, this thread started with the text for the Unbind
>operation,
>>>> not Notice of Disconnection.
>>>
>>> I just noticed that the Notice of Disconnect section does not
>>> include symmetric text to Unbind. As previously discussed,
>>> it should (but updated per this discussion).
>>
>>Which discussion was that? It reached the opposite conclusion of
mine
>>just now.
>>
>>>> [Protocol] states that Notice of
>>>> Disconnection should use abrupt closure, not graceful, when the
>TLS
>>>> layer is removed. It seems to say the same when the connection is
>>>> closed for other reasons, but maybe I'm seeing too much in these
>words.
>>>
>>> What I thought it meant was "In this circumstance, a server MAY
>>> send the client a Notice of Disconnection before closing the
>>> transport connection AFTER abruptly closing TLS." This makes no
>>> sense as there is no way to re-establish PDU alignment after
>>> an abrupt closure.
>>
>>There is no way to send anything after abrupt closure.
>>
>>> If instead it was meant, "In this circumstance, a server MAY
>>> send the client a Notice of Disconnection before closing the
>>> transport connection BEFORE abruptly closing TLS", this would
>>> make little sense as that requires further use of TLS.
>>
>>It should be 'In the case of server initiating closure,...', but
with
>>that addition I don't see a problem with it.
>
>But this section is talking about abrupt closure. Not only
>does it makes little to no sense to send a Notice of Disconnect
>before an abrupt closure.
>
>>The connection may be compromised and the Notice may not reach the
>client,
>>but in most cases it probably will.
>
>If the connection is compromised, one should cease sending
>additional TLS data (period).
>
>If the event is of a nature were abrupt closure is appropriate,
>then the connection should be abruptly closed (no transmission
>of any application-level (including PDUs, SASL cipher buffers,
>or TLS frames) data.
>
>If the event is of a nature where graceful closure is appropriate,
>then the implementation should gracefully close the LDAP session
>in an orderly fashion. This should be initiated by queuing
>an Unbind or Notice of Disconnect (depending on which peer is
>initiating) for transfer, closing the queue, allowing the
>queue to drain, allowing the SASL layer to drain (per the
>SASL and the SASL mechanism specifications), allowing TLS layer
>to drain (per the TLS and TLS ciphersuite specifications),
>and then closing the transport connection (per the transport
>protocol specification). It's noted that graceful closure
>of the layers before the PDU layer may involve exchange
>of data beyond that necessary to transfer the last LDAP
>PDU. For instance, TCP requires a specific closure exchange.
>These should not be skipped during graceful closure.
>
>Kurt 



--=__Part36168BC2.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Kurt Z.wrote:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;The confuse may be due to the fact that RFC 2251 was written,<BR>&=
gt;as I see it, without SASL and TLS in mind. And then 2830<BR>&gt;adds =
some confusion it has one optionally sending a PDU<BR>&gt;during what it =
calls abrupt closure.<BR></DIV>
<DIV>I can see this being the case, and I agree that graceful closure =
following a Notice of Disconnection makes more sense and is more desirable.=
</DIV>
<DIV>&nbsp;</DIV>
<DIV>So at this point, it would be interesting to get more feedback on =
this issue, and it would also be good to know what existing LDAP implementa=
tions do today when either (or both) TLS or/and SASL are installed, and a =
Notice of Disconnection is sent / received.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can implementors please reply with their understanding and implementat=
ion of how TLS and SASL layers are to be closed after a Notice of =
Disconnection?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; =
1/20/05 10:09:20 PM &gt;&gt;&gt;<BR>At 04:18 PM 1/20/2005, Jim Sermersheim =
wrote:<BR>&gt;After reading this thread, I conclude that there is some =
confusion<BR>&gt;regarding the wording in section 4.14.3.2. Is that =
correct? Even then,<BR>&gt;I'm not sure what the confusion is. To me it =
says that TLS may be<BR>&gt;abruptly removed by closing the transport =
connection. And by the way, if<BR>&gt;the server is about to do this, it =
may send a Notice of Disconnection<BR>&gt;first.<BR><BR>Then the server is =
not abruptly closing the connection.<BR><BR>I understood the existing =
specification to allow two options<BR>for server initiated closure:<BR>1) =
abrupt closure: close the transport;<BR>2) graceful closure: send notice =
of disconnect,<BR>tear down SASL &amp; TLS, then close the transport<BR><BR=
>Likewise, the client has two options to initiate closure:<BR>1) abrupt =
closure: close the transport;<BR>2) graceful closure: send unbind =
request,<BR>tear down SASL &amp; TLS, then close the transport<BR><BR>&gt;I=
'm not even sure what use this section is, it seems obvious to<BR>&gt;me - =
one can abrupty stop _anything_ by closing the transport<BR>&gt;connection.=
<BR><BR>Right.<BR><BR>And if you are sending a PDU before closure, then =
you obviously<BR>are attempting graceful closure.<BR><BR>&gt;I suggest =
removing the section.<BR><BR>&gt;The other thing that may have raised its =
head on this thread was Kurt<BR>&gt;suggesting that Notice of Disconnection=
 be followed by graceful closure<BR>&gt;(as is done with Unbind) rather =
than an abrupt closure of the transport<BR>&gt;connection. I'm thinking or =
hoping I mis-interpreted that. I think<BR>&gt;RFC2251 and all revisions of =
[Protocol] have been clear that<BR>&gt;transmission and reception of =
Notice of Disconnection is always followed<BR>&gt;by an abrupt (not =
graceful) closure of the transport connection.<BR><BR>I took Notice of =
Disconnect and Unbind to cause server-initiated<BR>and client initiated, =
respectively, graceful closure of the<BR>LDAP session.<BR><BR>The confuse =
may be due to the fact that RFC 2251 was written,<BR>as I see it, without =
SASL and TLS in mind. And then 2830<BR>adds some confusion it has one =
optionally sending a PDU<BR>during what it calls abrupt closure.<BR><BR>I =
think we need to use the term 'abrupt' to be mean, as the<BR>term is =
generally used in application layer protocols, that<BR>the transport layer =
immediately without additional transfer<BR>of application layer data.<BR><B=
R>I think we should also use the term 'graceful' to mean, as the<BR>term =
is generally used in application layer protocols, that<BR>the protocol =
stack is torn down in an orderly fashion.<BR><BR><BR><BR>&gt;Jim<BR>&gt;<BR=
>&gt;&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;<U> <A href=3D"mailto:Kurt@OpenLDA=
P.org">Kurt@OpenLDAP.org</A></U> &gt; 12/8/04 1:32:38 PM &gt;&gt;&gt;<BR>&g=
t;At 11:56 AM 12/8/2004, Hallvard B Furuseth wrote:<BR>&gt;&gt;Kurt D. =
Zeilenga writes:<BR>&gt;&gt;&gt;At 09:10 AM 12/8/2004, Hallvard B Furuseth =
wrote:<BR>&gt;&gt;&gt;&gt;Kurt D. Zeilenga writes:<BR>&gt;&gt;&gt;&gt;&gt; =
My previous suggestion does not adequately cover the<BR>&gt;&gt;&gt;&gt;&gt=
; issue of graceful closure of the LDAP session. That is,<BR>&gt;&gt;&gt;&g=
t;&gt; the reason why a particular order was suggested was that<BR>&gt;&gt;=
&gt;&gt;&gt; it was thought to be graceful. So while I have no<BR>&gt;&gt;&=
gt;&gt;&gt; problem with removing the ordering aspect of the current<BR>&gt=
;&gt;&gt;&gt;&gt; text, I'd like to indicate that Unbind/Notice of =
Disconnect<BR>&gt;&gt;&gt;&gt;&gt; are intended to affect a graceful =
closure.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Actually, this thread =
started with the text for the Unbind<BR>&gt;operation,<BR>&gt;&gt;&gt;&gt; =
not Notice of Disconnection.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; I just =
noticed that the Notice of Disconnect section does not<BR>&gt;&gt;&gt; =
include symmetric text to Unbind. As previously discussed,<BR>&gt;&gt;&gt; =
it should (but updated per this discussion).<BR>&gt;&gt;<BR>&gt;&gt;Which =
discussion was that? It reached the opposite conclusion of mine<BR>&gt;&gt;=
just now.<BR>&gt;&gt;<BR>&gt;&gt;&gt;&gt; [Protocol] states that Notice =
of<BR>&gt;&gt;&gt;&gt; Disconnection should use abrupt closure, not =
graceful, when the<BR>&gt;TLS<BR>&gt;&gt;&gt;&gt; layer is removed. It =
seems to say the same when the connection is<BR>&gt;&gt;&gt;&gt; closed =
for other reasons, but maybe I'm seeing too much in these<BR>&gt;words.<BR>=
&gt;&gt;&gt;<BR>&gt;&gt;&gt; What I thought it meant was "In this =
circumstance, a server MAY<BR>&gt;&gt;&gt; send the client a Notice of =
Disconnection before closing the<BR>&gt;&gt;&gt; transport connection =
AFTER abruptly closing TLS." This makes no<BR>&gt;&gt;&gt; sense as there =
is no way to re-establish PDU alignment after<BR>&gt;&gt;&gt; an abrupt =
closure.<BR>&gt;&gt;<BR>&gt;&gt;There is no way to send anything after =
abrupt closure.<BR>&gt;&gt;<BR>&gt;&gt;&gt; If instead it was meant, "In =
this circumstance, a server MAY<BR>&gt;&gt;&gt; send the client a Notice =
of Disconnection before closing the<BR>&gt;&gt;&gt; transport connection =
BEFORE abruptly closing TLS", this would<BR>&gt;&gt;&gt; make little sense =
as that requires further use of TLS.<BR>&gt;&gt;<BR>&gt;&gt;It should be =
'In the case of server initiating closure,...', but with<BR>&gt;&gt;that =
addition I don't see a problem with it.<BR>&gt;<BR>&gt;But this section is =
talking about abrupt closure. Not only<BR>&gt;does it makes little to no =
sense to send a Notice of Disconnect<BR>&gt;before an abrupt closure.<BR>&g=
t;<BR>&gt;&gt;The connection may be compromised and the Notice may not =
reach the<BR>&gt;client,<BR>&gt;&gt;but in most cases it probably =
will.<BR>&gt;<BR>&gt;If the connection is compromised, one should cease =
sending<BR>&gt;additional TLS data (period).<BR>&gt;<BR>&gt;If the event =
is of a nature were abrupt closure is appropriate,<BR>&gt;then the =
connection should be abruptly closed (no transmission<BR>&gt;of any =
application-level (including PDUs, SASL cipher buffers,<BR>&gt;or TLS =
frames) data.<BR>&gt;<BR>&gt;If the event is of a nature where graceful =
closure is appropriate,<BR>&gt;then the implementation should gracefully =
close the LDAP session<BR>&gt;in an orderly fashion. This should be =
initiated by queuing<BR>&gt;an Unbind or Notice of Disconnect (depending =
on which peer is<BR>&gt;initiating) for transfer, closing the queue, =
allowing the<BR>&gt;queue to drain, allowing the SASL layer to drain (per =
the<BR>&gt;SASL and the SASL mechanism specifications), allowing TLS =
layer<BR>&gt;to drain (per the TLS and TLS ciphersuite specifications),<BR>=
&gt;and then closing the transport connection (per the transport<BR>&gt;pro=
tocol specification). It's noted that graceful closure<BR>&gt;of the =
layers before the PDU layer may involve exchange<BR>&gt;of data beyond =
that necessary to transfer the last LDAP<BR>&gt;PDU. For instance, TCP =
requires a specific closure exchange.<BR>&gt;These should not be skipped =
during graceful closure.<BR>&gt;<BR>&gt;Kurt <BR><BR></DIV></BODY></HTML>

--=__Part36168BC2.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Jan 24 14:31:11 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA15060
	for <ldapbis-archive@lists.ietf.org>; Mon, 24 Jan 2005 14:31:09 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0OJSBuP025880
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 24 Jan 2005 19:29:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0OJMKMl025655;
	Mon, 24 Jan 2005 19:22:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 24 Jan 2005 19:22:20 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0OJMF5F025630
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 24 Jan 2005 19:22:17 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx3.uio.no ([129.240.10.44] ident=[U2FsdGVkX194/BcmZ2DHJ7dRxhZwv3K+qPprANAnyQU=])
	by pat.uio.no with esmtp (Exim 4.43)
	id 1Ct9mq-0002XE-6T; Mon, 24 Jan 2005 20:22:08 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.43)
	id 1Ct9mo-000196-0o; Mon, 24 Jan 2005 20:22:06 +0100
Received: from hbf by bombur.uio.no with local (Exim 4.30)
	id 1Ct9ml-0002hC-Cd; Mon, 24 Jan 2005 20:22:03 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <hbf.20050124cee8@bombur.uio.no>
Date: Mon, 24 Jan 2005 20:22:03 +0100
To: Jim Sermersheim <jimse@novell.com>
Cc: Kurt@OpenLDAP.org, ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol: closing SASL upon Unbind
In-Reply-To: <s1efe4e0.013@sinclair.provo.novell.com>
References: <s1efe4e0.013@sinclair.provo.novell.com>
X-Mailer: VM 7.18 under Emacs 21.3.1
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-3.725, required 12,
	autolearn=disabled, AWL 1.27, UIO_MAIL_IS_INTERNAL -5.00)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Ouch.  I lost those threads completely, while trying to unravel some
SASL stuff.  IIRC; after Kurt's last (private) explanation I think
this text will be slightly wrong whatever we do, unless we leave the
details underspecified as in earlier drafts.  Or unless the SASL spec
is modified.  So I guess this text is as good as any.

Jim Sermersheim writes:
> Unless there are further issues with this, I will replace the current
> instructions for Unbind with Kurts suggested text here.
>
> >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 12/7/04 6:43:45 PM >>>
> My previous suggestion does not adequately cover the
> issue of graceful closure of the LDAP session. That is,
> the reason why a particular order was suggested was that
> it was thought to be graceful. So while I have no
> problem with removing the ordering aspect of the current
> text, I'd like to indicate that Unbind/Notice of Disconnect
> are intended to affect a graceful closure.
>
> Hence, I suggest:
>
> The client, upon transmission of the UnbindRequest, and
> the server, upon receipt of the UnbindRequest are to
> gracefully close the LDAP session by ceasing exchange
> at the LDAP message layer, tearing down any SASL layer,
> tearing down any TLS layer, and closing the transport
> connection.
>
> I note that while the 4 actions the implementation might need
> to take are stated in the order which the implementation likely
> would need to affect graceful closure of the LDAP session,
> the text does not actually prescribe a particular order, nor
> does it imply that any exchange within the SASL and/or TLS
> layer would been necessary.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Jan 24 16:18:27 2005
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA29305
	for <ldapbis-archive@lists.ietf.org>; Mon, 24 Jan 2005 16:18:24 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0OLGB8O031068
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 24 Jan 2005 21:17:02 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.13.1/8.13.1/Submit) with SMTP id j0OLF8U5031016;
	Mon, 24 Jan 2005 21:15:08 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 24 Jan 2005 21:15:08 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0OLF5fV030977;
	Mon, 24 Jan 2005 21:15:05 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 24 Jan 2005 14:14:45 -0700
Message-Id: <s1f502d5.029@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.4 Beta
Date: Mon, 24 Jan 2005 14:14:23 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: protocol: closing SASL upon Unbind
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part86A63F3F.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__Part86A63F3F.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

For my education, what about this is slightly wrong?
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 1/24/05 12:22:03 PM
>>>
Ouch. I lost those threads completely, while trying to unravel some
SASL stuff. IIRC; after Kurt's last (private) explanation I think
this text will be slightly wrong whatever we do, unless we leave the
details underspecified as in earlier drafts. Or unless the SASL spec
is modified. So I guess this text is as good as any.

Jim Sermersheim writes:
> Unless there are further issues with this, I will replace the
current
> instructions for Unbind with Kurts suggested text here.
>
> >>> "Kurt D. Zeilenga" < Kurt@OpenLDAP.org > 12/7/04 6:43:45 PM >>>
> My previous suggestion does not adequately cover the
> issue of graceful closure of the LDAP session. That is,
> the reason why a particular order was suggested was that
> it was thought to be graceful. So while I have no
> problem with removing the ordering aspect of the current
> text, I'd like to indicate that Unbind/Notice of Disconnect
> are intended to affect a graceful closure.
>
> Hence, I suggest:
>
> The client, upon transmission of the UnbindRequest, and
> the server, upon receipt of the UnbindRequest are to
> gracefully close the LDAP session by ceasing exchange
> at the LDAP message layer, tearing down any SASL layer,
> tearing down any TLS layer, and closing the transport
> connection.
>
> I note that while the 4 actions the implementation might need
> to take are stated in the order which the implementation likely
> would need to affect graceful closure of the LDAP session,
> the text does not actually prescribe a particular order, nor
> does it imply that any exchange within the SASL and/or TLS
> layer would been necessary.

-- 
Hallvard


--=__Part86A63F3F.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>For my education, what about this is slightly wrong?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.=
no&gt; 1/24/05 12:22:03 PM &gt;&gt;&gt;<BR>Ouch. I lost those threads =
completely, while trying to unravel some<BR>SASL stuff. IIRC; after Kurt's =
last (private) explanation I think<BR>this text will be slightly wrong =
whatever we do, unless we leave the<BR>details underspecified as in =
earlier drafts. Or unless the SASL spec<BR>is modified. So I guess this =
text is as good as any.<BR><BR>Jim Sermersheim writes:<BR>&gt; Unless =
there are further issues with this, I will replace the current<BR>&gt; =
instructions for Unbind with Kurts suggested text here.<BR>&gt;<BR>&gt; =
&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;<U> <A href=3D"mailto:Kurt@OpenLDAP.org=
">Kurt@OpenLDAP.org</A></U> &gt; 12/7/04 6:43:45 PM &gt;&gt;&gt;<BR>&gt; =
My previous suggestion does not adequately cover the<BR>&gt; issue of =
graceful closure of the LDAP session. That is,<BR>&gt; the reason why a =
particular order was suggested was that<BR>&gt; it was thought to be =
graceful. So while I have no<BR>&gt; problem with removing the ordering =
aspect of the current<BR>&gt; text, I'd like to indicate that Unbind/Notice=
 of Disconnect<BR>&gt; are intended to affect a graceful closure.<BR>&gt;<B=
R>&gt; Hence, I suggest:<BR>&gt;<BR>&gt; The client, upon transmission of =
the UnbindRequest, and<BR>&gt; the server, upon receipt of the UnbindReques=
t are to<BR>&gt; gracefully close the LDAP session by ceasing exchange<BR>&=
gt; at the LDAP message layer, tearing down any SASL layer,<BR>&gt; =
tearing down any TLS layer, and closing the transport<BR>&gt; connection.<B=
R>&gt;<BR>&gt; I note that while the 4 actions the implementation might =
need<BR>&gt; to take are stated in the order which the implementation =
likely<BR>&gt; would need to affect graceful closure of the LDAP session,<B=
R>&gt; the text does not actually prescribe a particular order, nor<BR>&gt;=
 does it imply that any exchange within the SASL and/or TLS<BR>&gt; layer =
would been necessary.<BR><BR>-- <BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part86A63F3F.0__=--


