From owner-ietf-ldapbis@OpenLDAP.org  Thu May  6 00:05:38 2004
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 AAA01582
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 May 2004 00:05:38 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4643ORv039987;
	Thu, 6 May 2004 04:03:51 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i463uA9A039828;
	Thu, 6 May 2004 03:56:10 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 May 2004 03:56:10 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i463u34s039800;
	Thu, 6 May 2004 03:56:04 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Wed, 05 May 2004 21:55:42 -0600
Message-Id: <s09962de.074@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 05 May 2004 21:55:10 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: control combination was: Re: protocol-22 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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I would rather not introduce the ability to overload the criticality
field in this way. I'd rather keep it simple by stating that the: 
"server MUST NOT make use of a combination of controls whose semantics
are not defined (or not known to it). When such a combination of
controls is encountered, it is RECOMMENDED that the server return
protocolError. Otherwise behavior is undefined.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 4/17/04 1:14:41 AM >>>
At 08:38 PM 4/16/2004, Jim Sermersheim wrote:
>Actually, this is clear (see combination of controls in 4.1.11), but
>the current language says behavior is undefined.

I think the semantics are undefined, but we should define
how servers are to behave when faced with a combination
of recognized and appropriate controls whose semantics
haven't been defined.

Maybe protocolError is the best approach here.  However,
how about a client which specifies two controls of similar
function hoping the server supports one or the other
(and, if both, selects the "better" one).

Though I'm not necessarily convinced myself that this is
appropriate, how about something like:

  Clients SHOULD NOT be combined controls (with other controls
  of same or different types) unless the semantics of the
  combination have been defined (and known to it).  A server
  MUST NOT attempt to make use of a combination of controls
  whose semantics are not defined (or not known to it).  The
  server MAY ignore any non-critical control in the presented
  combination to reduce the combination to a sequence (including
  the empty sequence) which does have defined semantics.
  However, the server MUST NOT ignore any critical control
  in the presented combination.  If the combination cannot be
  reduced to a sequence which has a defined semantics, the
  server MUST return unavailableCriticalExtension.

  The semantics of control combinations, when defined, are
  generally found in the control specification most recently
  published.

Comments?

>>>but containing different
>>>parameters, and the control is implemented by setting a variable
for
>the
>>>operation to that parameter. With the current text, the server is
>>>required to always pick e.g. the parameter with lowest value,
instead
>of
>>>just using the parameter in the last control. Or it could detect
the
>>>situation and return unwillingToPerform, but then it will still
need
>>>extra state info in order to notice the situation.
>>
>>I am curious as what current implementations do when presented
>>with multiple controls of the same type within a single PDU.
>>OpenLDAP, IIRC, treats this as an error condition.
>
>I think treating as an error is the best policy. This is really no
>different than combining two different controls. If the spec doesn't
say
>what should happen, then behavior is undefined.
>
>We currently recommend that clients not do this. I propose
recommending
>that servers return an error, but allowing them to handle these cases
in
>an undefined way.
>
>If we do recommend it, we need to recommend an error code. I prefer
>protocolError, but it's documented as having a very specific meaning
>followed by a growing list of exceptions (this would add to that). A
>second choice is unwillingToPerform.
>
>Jim



From owner-ietf-ldapbis@OpenLDAP.org  Thu May  6 00:52:55 2004
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 AAA02942
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 May 2004 00:52:55 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i464pAm7040994;
	Thu, 6 May 2004 04:51:22 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i464iIeN040844;
	Thu, 6 May 2004 04:44:18 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 May 2004 04:44:18 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i464iGKS040834
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 6 May 2004 04:44:17 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i464iDnC026290;
	Thu, 6 May 2004 04:44:14 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040505212054.02c89e38@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 05 May 2004 21:44:13 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
In-Reply-To: <s09962de.074@sinclair.provo.novell.com>
References: <s09962de.074@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>I would rather not introduce the ability to overload the criticality
>field in this ways.

It does kind of sound like a new feature...

>I'd rather keep it simple

That's generally wise.

>by stating that the: 
>"server MUST NOT make use of a combination of controls whose semantics
>are not defined (or not known to it). When such a combination of
>controls is encountered, it is RECOMMENDED that the server return
>protocolError. Otherwise behavior is undefined.

I dislike the wording as it could be taken as allowing the server
not to return an error (as opposed to suggesting which code to
return in this case). 

How about?
  Controls are not to be combined (with other controls
  of same or different types) unless the semantics of the
  combination have been defined.  When an implementation
  (client or server) encounters a combination of controls
  whose semantics are not defined (or not known to that
  implementation), the implementation MUST treat the
  request as a protocol error.

(Note: I generalized this for both clients and servers,
and for requests which don't have responses.)


>Comments?
>
>>>>but containing different
>>>>parameters, and the control is implemented by setting a variable
>for
>>the
>>>>operation to that parameter. With the current text, the server is
>>>>required to always pick e.g. the parameter with lowest value,
>instead
>>of
>>>>just using the parameter in the last control. Or it could detect
>the
>>>>situation and return unwillingToPerform, but then it will still
>need
>>>>extra state info in order to notice the situation.
>>>
>>>I am curious as what current implementations do when presented
>>>with multiple controls of the same type within a single PDU.
>>>OpenLDAP, IIRC, treats this as an error condition.
>>
>>I think treating as an error is the best policy. This is really no
>>different than combining two different controls. If the spec doesn't
>say
>>what should happen, then behavior is undefined.
>>
>>We currently recommend that clients not do this. I propose
>recommending
>>that servers return an error, but allowing them to handle these cases
>in
>>an undefined way.
>>
>>If we do recommend it, we need to recommend an error code. I prefer
>>protocolError, but it's documented as having a very specific meaning
>>followed by a growing list of exceptions (this would add to that). A
>>second choice is unwillingToPerform.
>>
>>Jim



From owner-ietf-ldapbis@OpenLDAP.org  Thu May  6 01:11:04 2004
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 BAA04373
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 May 2004 01:11:03 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i46592fE041462;
	Thu, 6 May 2004 05:09:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i46558gm041377;
	Thu, 6 May 2004 05:05: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); Thu, 6 May 2004 05:05:08 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i465507J041322;
	Thu, 6 May 2004 05:05:03 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Wed, 05 May 2004 23:04:40 -0600
Message-Id: <s0997308.081@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 05 May 2004 23:04:18 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: control combination was: Re: protocol-22 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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Works for me. I'll likely submit a new doc early tomorrow.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/5/04 10:44:13 PM >>>
At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>I would rather not introduce the ability to overload the criticality
>field in this ways.

It does kind of sound like a new feature...

>I'd rather keep it simple

That's generally wise.

>by stating that the: 
>"server MUST NOT make use of a combination of controls whose
semantics
>are not defined (or not known to it). When such a combination of
>controls is encountered, it is RECOMMENDED that the server return
>protocolError. Otherwise behavior is undefined.

I dislike the wording as it could be taken as allowing the server
not to return an error (as opposed to suggesting which code to
return in this case). 

How about?
  Controls are not to be combined (with other controls
  of same or different types) unless the semantics of the
  combination have been defined.  When an implementation
  (client or server) encounters a combination of controls
  whose semantics are not defined (or not known to that
  implementation), the implementation MUST treat the
  request as a protocol error.

(Note: I generalized this for both clients and servers,
and for requests which don't have responses.)


>Comments?
>
>>>>but containing different
>>>>parameters, and the control is implemented by setting a variable
>for
>>the
>>>>operation to that parameter. With the current text, the server is
>>>>required to always pick e.g. the parameter with lowest value,
>instead
>>of
>>>>just using the parameter in the last control. Or it could detect
>the
>>>>situation and return unwillingToPerform, but then it will still
>need
>>>>extra state info in order to notice the situation.
>>>
>>>I am curious as what current implementations do when presented
>>>with multiple controls of the same type within a single PDU.
>>>OpenLDAP, IIRC, treats this as an error condition.
>>
>>I think treating as an error is the best policy. This is really no
>>different than combining two different controls. If the spec doesn't
>say
>>what should happen, then behavior is undefined.
>>
>>We currently recommend that clients not do this. I propose
>recommending
>>that servers return an error, but allowing them to handle these
cases
>in
>>an undefined way.
>>
>>If we do recommend it, we need to recommend an error code. I prefer
>>protocolError, but it's documented as having a very specific meaning
>>followed by a growing list of exceptions (this would add to that). A
>>second choice is unwillingToPerform.
>>
>>Jim



From owner-ietf-ldapbis@OpenLDAP.org  Thu May  6 22:04:04 2004
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 WAA04518
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 May 2004 22:04:03 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i471w36Z004882;
	Fri, 7 May 2004 02:01:33 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i471pghO004669;
	Fri, 7 May 2004 01:51:42 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, 7 May 2004 01:51:42 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i471paKP004653
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 01:51:38 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 06 May 2004 19:51:16 -0600
Message-Id: <s09a9734.069@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 06 May 2004 19:50:58 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: which syntax for which assertions?
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I can't find it documented which syntax (the attribute syntax or the
matching rule syntax) is used for which assertions in various
operations. I'll list what I think, but it may be wrong:

AVAs in:                 (A)ttr or (M)atchRule
equality filter          M(of equality mr)
ge and le filters        M(of ordering mr)
substring filters        M(of equality mr)
extensible filter        M(of extensible mr)
compare                  M(of equality mr)
add/mod                  A(of equality mr)
DNs                      A(of equality mr)

So for example, a compare operation which specifies 'attributeTypes'
will send an 'OID' and not an 'Attribute Type Description'. Whereas if
the same attribute were passed in an add operation, it would send an
'Attribute Type Description', rather than an 'OID'.

It's important to make this distinction because LDAP doesn't provide
syntax knowledge in AVAs. If an AVA also carried with it the syntax used
for the assertion value, we could derive the 'OID' from the 'Attribute
Type Description' in the compare example above. But because we don't
have this ability, we must state which syntax is used for each operation
so the server can know how to interpret it.

By the way, the syntaxes doc has expired. A relic can be found here
http://vesuvio.ipv6.tilab.com/internet-drafts/draft-ietf-ldapbis-syntaxes-07.txt

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Thu May  6 23:14:03 2004
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 XAA07041
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 May 2004 23:14:02 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i473AC8B007858;
	Fri, 7 May 2004 03:11:38 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4734qNu007770;
	Fri, 7 May 2004 03:04:52 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, 7 May 2004 03:04:52 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4734khE007760
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 03:04:47 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4734inC033543;
	Fri, 7 May 2004 03:04:44 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040506193848.04e0a490@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 06 May 2004 20:04:42 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: which syntax for which assertions?
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s09a9734.069@sinclair.provo.novell.com>
References: <s09a9734.069@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:50 PM 5/6/2004, Jim Sermersheim wrote:
>I can't find it documented which syntax (the attribute syntax or the
>matching rule syntax) is used for which assertions in various
>operations.

Well, I think the models and X.501 is pretty clear that value in an
AVA is to conform to the assertion syntax, and an attribute value
is to conform to syntax of the attribute type. 

And I think [Protocol] is fairly clear as it uses AttributeValueAssertion
(AVA) and AssertionValue for the former and PartialAttribute (PA) and
AttributeValue for the latter.

>I'll list what I think, but it may be wrong:
>
>AVAs in:                 (A)ttr or (M)atchRule

s/AVA/AVA or PA/ here.

>equality filter          M(of equality mr)
>ge and le filters        M(of ordering mr)
>substring filters        M(of equality mr)
>extensible filter        M(of extensible mr)
>compare                  M(of equality mr)
>add/mod                  A(of equality mr)
>DNs                      A(of equality mr)

DNs clearly are sequences of AVAs.

>So for example, a compare operation which specifies 'attributeTypes'
>will send an 'OID' and not an 'Attribute Type Description'.

Yes.  The assertion syntax of the AttributeType's equality matching
rule is OID.

>Whereas if
>the same attribute were passed in an add operation, it would send an
>'Attribute Type Description', rather than an 'OID'.

Yes, The attribute syntax of the AttributeTYpe is Attribute Type Description.

>It's important to make this distinction because LDAP doesn't provide
>syntax knowledge in AVAs.

In either cases (AVAs or PAs), one has to have schema knowledge to know
the assertion and attribute syntaxes of the attribute type.

>If an AVA also carried with it the syntax used
>for the assertion value, we could derive the 'OID' from the 'Attribute
>Type Description' in the compare example above.  But because we don't
>have this ability, we must state which syntax is used for each operation
>so the server can know how to interpret it.

I don't follow this.  It's clear which attribute type is involved
and its clear from the context whether the value is an assertion
value or an attribute value.  So, with schema knowledge, the
syntax of value can be determined.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 00:15:46 2004
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 AAA09686
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 00:15:45 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i474CDat010000;
	Fri, 7 May 2004 04:13:33 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4748igL009898;
	Fri, 7 May 2004 04:08:44 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, 7 May 2004 04:08:44 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4748eL1009864;
	Fri, 7 May 2004 04:08:41 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 06 May 2004 22:08:20 -0600
Message-Id: <s09ab754.028@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 06 May 2004 22:07:58 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: which syntax for which assertions?
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

After reviewing protocol and models, I think I mostly agree, but I think
there is still room for confusion. For example, [Models] says that
matching rules are used "in determining which individual values are be
added or deleted during performance of a Modify operation,". This could
leave one wondering whether the assertion syntax is supposed to be
used.

However, I don't think this concern is sufficient to warrant any change
to models. I think if the three documents are read as a whole ([Models]
[Protocol] [Syntaxes]), then it's clear as you say. so... Nevermind!

One final suggestion is to clarify that matching rules which name
syntaxes different from the syntax of the attribute they are paired with
should provide a means whereby the assertion attribute syntax can be
derived by the attribute syntax (this is for the case of modify/add). It
may be that the third paragraph of Section 4.1 is saying just that and
I'm not reading it carefully enough. By example, the definitions and
usages of objectIdentifierFirstComponentMatch and
integerFirstComponentMatch follow this suggestion.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/6/04 9:04:42 PM >>>
At 06:50 PM 5/6/2004, Jim Sermersheim wrote:
>I can't find it documented which syntax (the attribute syntax or the
>matching rule syntax) is used for which assertions in various
>operations.

Well, I think the models and X.501 is pretty clear that value in an
AVA is to conform to the assertion syntax, and an attribute value
is to conform to syntax of the attribute type. 

And I think [Protocol] is fairly clear as it uses
AttributeValueAssertion
(AVA) and AssertionValue for the former and PartialAttribute (PA) and
AttributeValue for the latter.

>I'll list what I think, but it may be wrong:
>
>AVAs in:                 (A)ttr or (M)atchRule

s/AVA/AVA or PA/ here.

>equality filter          M(of equality mr)
>ge and le filters        M(of ordering mr)
>substring filters        M(of equality mr)
>extensible filter        M(of extensible mr)
>compare                  M(of equality mr)
>add/mod                  A(of equality mr)
>DNs                      A(of equality mr)

DNs clearly are sequences of AVAs.

>So for example, a compare operation which specifies 'attributeTypes'
>will send an 'OID' and not an 'Attribute Type Description'.

Yes.  The assertion syntax of the AttributeType's equality matching
rule is OID.

>Whereas if
>the same attribute were passed in an add operation, it would send an
>'Attribute Type Description', rather than an 'OID'.

Yes, The attribute syntax of the AttributeTYpe is Attribute Type
Description.

>It's important to make this distinction because LDAP doesn't provide
>syntax knowledge in AVAs.

In either cases (AVAs or PAs), one has to have schema knowledge to
know
the assertion and attribute syntaxes of the attribute type.

>If an AVA also carried with it the syntax used
>for the assertion value, we could derive the 'OID' from the
'Attribute
>Type Description' in the compare example above.  But because we don't
>have this ability, we must state which syntax is used for each
operation
>so the server can know how to interpret it.

I don't follow this.  It's clear which attribute type is involved
and its clear from the context whether the value is an assertion
value or an attribute value.  So, with schema knowledge, the
syntax of value can be determined.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 02:28:01 2004
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 CAA29447
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 02:28:00 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i476NxNP014257;
	Fri, 7 May 2004 06:25:38 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i476Dqvk013750;
	Fri, 7 May 2004 06:13:52 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, 7 May 2004 06:13:52 +0000
Received: from cantor.openldap.org (root@cantor.openldap.org [204.152.186.52])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i476DnoB013732
	for <ietf-ldapbis@mail.OpenLDAP.org>; Fri, 7 May 2004 06:13:50 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from pretender.boolean.net (root@foobarlabs-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::797] (may be forged))
	by cantor.openldap.org (8.12.11/8.12.11) with ESMTP id i475runu089206
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 05:53:56 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i475qNnC034651;
	Fri, 7 May 2004 05:52:23 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040506221320.04d1c1d8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 06 May 2004 22:52:21 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: which syntax for which assertions?
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s09ab754.028@sinclair.provo.novell.com>
References: <s09ab754.028@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:07 PM 5/6/2004, Jim Sermersheim wrote:
>After reviewing protocol and models, I think I mostly agree, but I think
>there is still room for confusion. For example, [Models] says that
>matching rules are used "in determining which individual values are be
>added or deleted during performance of a Modify operation,".  This could
>leave one wondering whether the assertion syntax is supposed to be
>used.

Well, the abstract data type associated with the assertion syntax is
used in such matching.  For objectIdentifierFirstComponentMatch,
one key part of the rule is how the attribute value of the assertion
syntax is derived from the attribute value so that provided value
(of the assertion syntax) can be compared against it.  If we're
comparing two attribute values, then both need to transform to the
values of the assertion syntax for comparison.

This implies that equality rules need to define matching in terms of
assertion values.  Otherwise it won't work properly in both contexts
(add/modify v. AVA).

>However, I don't think this concern is sufficient to warrant any change
>to models.

I'd actually be worried that more text might be confusing.

>Nevermind!

Okay.

>One final suggestion is to clarify that matching rules which name
>syntaxes different from the syntax of the attribute they are paired with
>should provide a means whereby the assertion attribute syntax can be
>derived by the attribute syntax (this is for the case of modify/add). It
>may be that the third paragraph of Section 4.1 is saying just that and

Yes.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 09:26:49 2004
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 JAA20984
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 09:26:49 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47DOHV7045426;
	Fri, 7 May 2004 13:24:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47D6BTd038222;
	Fri, 7 May 2004 13:06:11 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, 7 May 2004 13:06:11 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47D65kA038176;
	Fri, 7 May 2004 13:06:07 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BM53A-0005uC-0m; Fri, 07 May 2004 15:06:00 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BM4zK-000107-Dx; Fri, 07 May 2004 15:02:02 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BM4zJ-0005d5-00; Fri, 7 May 2004 15:02:01 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507xzcv@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: control combination was: Re: protocol-22 comments)
In-Reply-To: <6.0.1.1.0.20040505212054.02c89e38@127.0.0.1>
References: <s09962de.074@sinclair.provo.novell.com>
	<6.0.1.1.0.20040505212054.02c89e38@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 7 May 2004 15:02:01 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>
>> "server MUST NOT make use of a combination of controls whose semantics
>> are not defined (or not known to it). When such a combination of
>> controls is encountered, it is RECOMMENDED that the server return
>> protocolError. Otherwise behavior is undefined.
> 
> I dislike the wording as it could be taken as allowing the server
> not to return an error (as opposed to suggesting which code to
> return in this case). 

I thought that was the intent, which looked reasonable to me.

> How about?
>   Controls are not to be combined (with other controls
>   of same or different types) unless the semantics of the
>   combination have been defined.  When an implementation
>   (client or server) encounters a combination of controls
>   whose semantics are not defined (or not known to that
>   implementation), the implementation MUST treat the
>   request as a protocol error.

Sounds too strict to me.  Or at least, it can be interpreted too strict.
For example, does that forbid the combination of the rfc2649 Operation
Signature control with e.g. the rfc2891 Server Side Sorting control?
Neither document explicitly states how the combination should work, but
rfc2649 does say how to apply that control to LDAPMessages in general,
and the combination seems to make sense to me.

Also, I wonder about the combination of controls defined in different
"standards repositories" or whatever one should call it.  If all
controls were RFCs, one control spec could list all previously defined
controls.  However, in the previous discussions of controls, people were
referring to controls that I could not find RFCs for.

Finally, one detail: If we stick to RFC controls, each control author
will need to check all previous RFC controls.  It might be easy to miss
one, and make a control combination with an obvious semantics invalid.
We could fix that with a requirement that all LDAP control RFCs must
have the phrase "LDAP control" in its title.  Or someone (IANA?)  could
maintain an official list of published controls.  However, it seems
simpler to me to allow controls that obviously do not interfere with
each other, to be combined even if their specs do not say so.

> (Note: I generalized this for both clients and servers,
> and for requests which don't have responses.)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 10:19:42 2004
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 KAA24909
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 10:19:41 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47EH63S048969;
	Fri, 7 May 2004 14:17:06 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47E9Or5048406;
	Fri, 7 May 2004 14:09:24 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, 7 May 2004 14:09:24 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47E9Kk0048393
	for <ietf-ldapbis@openldap.org>; Fri, 7 May 2004 14:09:22 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx1.uio.no ([129.240.10.29])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BM62O-0003gt-F6
	for ietf-ldapbis@openldap.org; Fri, 07 May 2004 16:09:16 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BM62K-0004h0-OH
	for ietf-ldapbis@openldap.org; Fri, 07 May 2004 16:09:12 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BM62K-0005mJ-00
	for ietf-ldapbis@openldap.org; Fri, 7 May 2004 16:09:12 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507wux7@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: entries below subentries/aliases
Date: Fri, 7 May 2004 16:09:12 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Is it legal to add a non-subentry below a subentry?
If not, what result code should be returned?

Also, what result code should be returned for an attempt
to add an entry below an alias?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 11:35:44 2004
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 LAA01700
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 11:35:43 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47FO6XL052577;
	Fri, 7 May 2004 15:32:47 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47FMIBh052447;
	Fri, 7 May 2004 15:22:18 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, 7 May 2004 15:22:18 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47FLCF7052372;
	Fri, 7 May 2004 15:22:15 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BM79w-0006Pj-3A; Fri, 07 May 2004 17:21:08 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BM79u-0003Lf-Bs; Fri, 07 May 2004 17:21:06 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BM79u-0005vy-00; Fri, 7 May 2004 17:21:06 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507vno1@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: control combination was: Re: protocol-22 comments)
In-Reply-To: <HBF.20040507xzcv@bombur.uio.no>
References: <s09962de.074@sinclair.provo.novell.com>
	<6.0.1.1.0.20040505212054.02c89e38@127.0.0.1>
	<HBF.20040507xzcv@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 7 May 2004 17:21:06 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I wrote:
>Kurt D. Zeilenga writes:
>>   Controls are not to be combined (with other controls
>>   of same or different types) unless the semantics of the
>>   combination have been defined.  (...)
> 
> Sounds too strict to me.  (...)
> 
> Finally, one detail: If we stick to RFC controls, each control author
> will need to check all previous RFC controls.  It might be easy to miss
> one, and make a control combination with an obvious semantics invalid.

Also, this requirement breaks requests that combine the ManageDsaIT
control (rfc3296) with previously defined controls (e.g. paged results -
rfc2696), since rfc3296 does not say how to combine ManageDsaIT with
other controls.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 12:10:59 2004
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 MAA03054
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 12:10:58 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47G0O7G054928;
	Fri, 7 May 2004 16:08:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47Fqxoa054544;
	Fri, 7 May 2004 15:52: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, 7 May 2004 15:52:59 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Fpop8054454;
	Fri, 7 May 2004 15:52:53 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Fri, 07 May 2004 09:51:30 -0600
Message-Id: <s09b5c22.083@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Fri, 07 May 2004 09:51:14 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

So it seems there are three cases for a combination of controls:
1) the combination is documented in a specification
2) the combination is not documented, but is defined to act in a
certain way in an implementation
3) is neither 1 or 2.

For #3, I think we are saying an error is returned.

For #2, I think we need to state that behavior is undefined. This is
because the lack of a specification can cause two implementations to act
differently.

If this is true, then we can use something like the following:

"When a combination of controls is encountered whose semantics are not
defined (or not known), the operation SHOULD fail with protocolError,
otherwise the results are undefined."

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 9:24:44 AM >>>
There is a subtle difference in the suggested text from the
current text that might be, well, a bit too subtle.

The current text talks about avoiding combinations whose
semantics are not SPECFIED while the suggested talks about
avoiding combinations which are not DEFINED.  While defined
and specified are synonyms of each other, the latter can
be viewed as implying there is a specification (e.g., document)
where the semantics are defined, the former only can be viewed
only as implying the semantics are defined (without regard
to where they are specified).

In the example of Sort+SignedOp, I think it can be argued that
the semantics are defined even though they are not explicitly
specified.  The intent of the text is not to prohibit such
combinations.

The text is intended to disallow use of combinations where the
semantics are undefined, such as a combination of PagedResults
[RFC2696] and VLV [draft-ietf-ldapext-ldapv3-vlv-08.txt].

If I reading everyone's comment well, I think we have consensus
on what we want to say but just haven't found the words that say
it well enough.  Specific suggestions welcomed.

Kurt

At 06:02 AM 5/7/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>>
>>> "server MUST NOT make use of a combination of controls whose
semantics
>>> are not defined (or not known to it). When such a combination of
>>> controls is encountered, it is RECOMMENDED that the server return
>>> protocolError. Otherwise behavior is undefined.
>> 
>> I dislike the wording as it could be taken as allowing the server
>> not to return an error (as opposed to suggesting which code to
>> return in this case). 
>
>I thought that was the intent, which looked reasonable to me.
>
>> How about?
>>   Controls are not to be combined (with other controls
>>   of same or different types) unless the semantics of the
>>   combination have been defined.  When an implementation
>>   (client or server) encounters a combination of controls
>>   whose semantics are not defined (or not known to that
>>   implementation), the implementation MUST treat the
>>   request as a protocol error.
>
>Sounds too strict to me.  Or at least, it can be interpreted too
strict.
>For example, does that forbid the combination of the rfc2649
Operation
>Signature control with e.g. the rfc2891 Server Side Sorting control?
>Neither document explicitly states how the combination should work,
but
>rfc2649 does say how to apply that control to LDAPMessages in
general,
>and the combination seems to make sense to me.
>
>Also, I wonder about the combination of controls defined in different
>"standards repositories" or whatever one should call it.  If all
>controls were RFCs, one control spec could list all previously
defined
>controls.  However, in the previous discussions of controls, people
were
>referring to controls that I could not find RFCs for.
>
>Finally, one detail: If we stick to RFC controls, each control author
>will need to check all previous RFC controls.  It might be easy to
miss
>one, and make a control combination with an obvious semantics
invalid.
>We could fix that with a requirement that all LDAP control RFCs must
>have the phrase "LDAP control" in its title.  Or someone (IANA?) 
could
>maintain an official list of published controls.  However, it seems
>simpler to me to allow controls that obviously do not interfere with
>each other, to be combined even if their specs do not say so.
>
>> (Note: I generalized this for both clients and servers,
>> and for requests which don't have responses.)
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 13:17:11 2004
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 NAA06669
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 13:17:10 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HEXUx059911;
	Fri, 7 May 2004 17:15:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47H4qrR059039;
	Fri, 7 May 2004 17:04:52 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, 7 May 2004 17:04:52 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47H4nf0059018
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 17:04:50 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i47H4lnC038663;
	Fri, 7 May 2004 17:04:47 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040507094908.04d0e5f0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 07 May 2004 10:04:45 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: <h.b.furuseth@usit.uio.no>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s09b5c22.083@sinclair.provo.novell.com>
References: <s09b5c22.083@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:51 AM 5/7/2004, Jim Sermersheim wrote:
>So it seems there are three cases for a combination of controls:

I think there are only two cases relevant to protocol semantics:
  Are the semantics of the combination of controls defined or not?

The issue of where those semantics, when defined, are or should be
specified is orthonogal.

I think looking at it from the cases you outline may
be problematic, for instance:

>1) the combination is documented in a specification
  A specification can document that a combination of controls
  doesn't have a defined semantic.


>For #3, I think we are saying an error is returned.

I think we also need to state more clearly that the
combinations of undefined (or otherwise ambiguous) semantics
are not to be provided and, if provided, treated as a
protocol error.

>For #2, I think we need to state that behavior is undefined. This is
>because the lack of a specification can cause two implementations to act
>differently.

Here we're stating more what specifications of controls should
provide and how those specifications are to be interpreted if
they fail to provide it.  I think we need to separate this
issue from the above issue.

>If this is true, then we can use something like the following:
>
>"When a combination of controls is encountered whose semantics are not
>defined (or not known), the operation SHOULD fail with protocolError,
>otherwise the results are undefined."
>
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 9:24:44 AM >>>
>There is a subtle difference in the suggested text from the
>current text that might be, well, a bit too subtle.
>
>The current text talks about avoiding combinations whose
>semantics are not SPECFIED while the suggested talks about
>avoiding combinations which are not DEFINED.  While defined
>and specified are synonyms of each other, the latter can
>be viewed as implying there is a specification (e.g., document)
>where the semantics are defined, the former only can be viewed
>only as implying the semantics are defined (without regard
>to where they are specified).
>
>In the example of Sort+SignedOp, I think it can be argued that
>the semantics are defined even though they are not explicitly
>specified.  The intent of the text is not to prohibit such
>combinations.
>
>The text is intended to disallow use of combinations where the
>semantics are undefined, such as a combination of PagedResults
>[RFC2696] and VLV [draft-ietf-ldapext-ldapv3-vlv-08.txt].
>
>If I reading everyone's comment well, I think we have consensus
>on what we want to say but just haven't found the words that say
>it well enough.  Specific suggestions welcomed.
>
>Kurt
>
>At 06:02 AM 5/7/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:
>>>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>>>
>>>> "server MUST NOT make use of a combination of controls whose
>semantics
>>>> are not defined (or not known to it). When such a combination of
>>>> controls is encountered, it is RECOMMENDED that the server return
>>>> protocolError. Otherwise behavior is undefined.
>>> 
>>> I dislike the wording as it could be taken as allowing the server
>>> not to return an error (as opposed to suggesting which code to
>>> return in this case). 
>>
>>I thought that was the intent, which looked reasonable to me.
>>
>>> How about?
>>>   Controls are not to be combined (with other controls
>>>   of same or different types) unless the semantics of the
>>>   combination have been defined.  When an implementation
>>>   (client or server) encounters a combination of controls
>>>   whose semantics are not defined (or not known to that
>>>   implementation), the implementation MUST treat the
>>>   request as a protocol error.
>>
>>Sounds too strict to me.  Or at least, it can be interpreted too
>strict.
>>For example, does that forbid the combination of the rfc2649
>Operation
>>Signature control with e.g. the rfc2891 Server Side Sorting control?
>>Neither document explicitly states how the combination should work,
>but
>>rfc2649 does say how to apply that control to LDAPMessages in
>general,
>>and the combination seems to make sense to me.
>>
>>Also, I wonder about the combination of controls defined in different
>>"standards repositories" or whatever one should call it.  If all
>>controls were RFCs, one control spec could list all previously
>defined
>>controls.  However, in the previous discussions of controls, people
>were
>>referring to controls that I could not find RFCs for.
>>
>>Finally, one detail: If we stick to RFC controls, each control author
>>will need to check all previous RFC controls.  It might be easy to
>miss
>>one, and make a control combination with an obvious semantics
>invalid.
>>We could fix that with a requirement that all LDAP control RFCs must
>>have the phrase "LDAP control" in its title.  Or someone (IANA?) 
>could
>>maintain an official list of published controls.  However, it seems
>>simpler to me to allow controls that obviously do not interfere with
>>each other, to be combined even if their specs do not say so.
>>
>>> (Note: I generalized this for both clients and servers,
>>> and for requests which don't have responses.)
>>
>>-- 
>>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 13:38:45 2004
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 NAA07923
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 13:38:45 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HO3uL060700;
	Fri, 7 May 2004 17:36:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47HEOB5059902;
	Fri, 7 May 2004 17:14:24 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, 7 May 2004 17:14:24 +0000
Received: from cantor.openldap.org (root@cantor.openldap.org [204.152.186.52])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HDvtm059692
	for <ietf-ldapbis@mail.OpenLDAP.org>; Fri, 7 May 2004 17:14:22 GMT
	(envelope-from Kurt@openldap.org)
Received: from pretender.boolean.net (root@foobarlabs-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::797] (may be forged))
	by cantor.openldap.org (8.12.11/8.12.11) with ESMTP id i47FPmnD090358
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 15:25:48 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i47FOknC038007;
	Fri, 7 May 2004 15:24:46 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040507075702.04e3de80@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 07 May 2004 08:24:44 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040507xzcv@bombur.uio.no>
References: <s09962de.074@sinclair.provo.novell.com>
 <6.0.1.1.0.20040505212054.02c89e38@127.0.0.1>
 <HBF.20040507xzcv@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

There is a subtle difference in the suggested text from the
current text that might be, well, a bit too subtle.

The current text talks about avoiding combinations whose
semantics are not SPECFIED while the suggested talks about
avoiding combinations which are not DEFINED.  While defined
and specified are synonyms of each other, the latter can
be viewed as implying there is a specification (e.g., document)
where the semantics are defined, the former only can be viewed
only as implying the semantics are defined (without regard
to where they are specified).

In the example of Sort+SignedOp, I think it can be argued that
the semantics are defined even though they are not explicitly
specified.  The intent of the text is not to prohibit such
combinations.

The text is intended to disallow use of combinations where the
semantics are undefined, such as a combination of PagedResults
[RFC2696] and VLV [draft-ietf-ldapext-ldapv3-vlv-08.txt].

If I reading everyone's comment well, I think we have consensus
on what we want to say but just haven't found the words that say
it well enough.  Specific suggestions welcomed.

Kurt

At 06:02 AM 5/7/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>>
>>> "server MUST NOT make use of a combination of controls whose semantics
>>> are not defined (or not known to it). When such a combination of
>>> controls is encountered, it is RECOMMENDED that the server return
>>> protocolError. Otherwise behavior is undefined.
>> 
>> I dislike the wording as it could be taken as allowing the server
>> not to return an error (as opposed to suggesting which code to
>> return in this case). 
>
>I thought that was the intent, which looked reasonable to me.
>
>> How about?
>>   Controls are not to be combined (with other controls
>>   of same or different types) unless the semantics of the
>>   combination have been defined.  When an implementation
>>   (client or server) encounters a combination of controls
>>   whose semantics are not defined (or not known to that
>>   implementation), the implementation MUST treat the
>>   request as a protocol error.
>
>Sounds too strict to me.  Or at least, it can be interpreted too strict.
>For example, does that forbid the combination of the rfc2649 Operation
>Signature control with e.g. the rfc2891 Server Side Sorting control?
>Neither document explicitly states how the combination should work, but
>rfc2649 does say how to apply that control to LDAPMessages in general,
>and the combination seems to make sense to me.
>
>Also, I wonder about the combination of controls defined in different
>"standards repositories" or whatever one should call it.  If all
>controls were RFCs, one control spec could list all previously defined
>controls.  However, in the previous discussions of controls, people were
>referring to controls that I could not find RFCs for.
>
>Finally, one detail: If we stick to RFC controls, each control author
>will need to check all previous RFC controls.  It might be easy to miss
>one, and make a control combination with an obvious semantics invalid.
>We could fix that with a requirement that all LDAP control RFCs must
>have the phrase "LDAP control" in its title.  Or someone (IANA?)  could
>maintain an official list of published controls.  However, it seems
>simpler to me to allow controls that obviously do not interfere with
>each other, to be combined even if their specs do not say so.
>
>> (Note: I generalized this for both clients and servers,
>> and for requests which don't have responses.)
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 13:40:38 2004
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 NAA08013
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 13:40:38 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HcICB062719;
	Fri, 7 May 2004 17:38:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47HS6pF061197;
	Fri, 7 May 2004 17:28:06 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, 7 May 2004 17:28:06 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HS2SR061144
	for <ietf-ldapbis@openldap.org>; Fri, 7 May 2004 17:28:03 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx1.uio.no ([129.240.10.29])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BM98g-00024M-FI
	for ietf-ldapbis@openldap.org; Fri, 07 May 2004 19:27:58 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BM96D-0008Td-3K
	for ietf-ldapbis@openldap.org; Fri, 07 May 2004 19:25:25 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BM96C-0006DU-00
	for ietf-ldapbis@OpenLDAP.org; Fri, 7 May 2004 19:25:24 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507tkuc@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: protocol: "outstanding" operations
Date: Fri, 7 May 2004 19:25:24 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

A recent poster to the OpenLDAP-software list had not understood what an
outstanding operation is.  Maybe [protocol] should define it at the time
of first use.  Something like this:
  
  at the server: a request which is being or waiting to be processed.
  at the client: as above, or an operation for which the server has
  sent a response which the client has not yet received.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 13:51:37 2004
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 NAA08641
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 13:51:37 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Hm35r063445;
	Fri, 7 May 2004 17:49:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47Hh5a2063048;
	Fri, 7 May 2004 17:43: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); Fri, 7 May 2004 17:43:05 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HgdWQ062996;
	Fri, 7 May 2004 17:42:59 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx1.uio.no ([129.240.10.29])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BM9Mq-00040f-20; Fri, 07 May 2004 19:42:36 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BM9Mo-0001jS-OK; Fri, 07 May 2004 19:42:34 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BM9Mo-0006I1-00; Fri, 7 May 2004 19:42:34 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507taid@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Active Directory question
In-Reply-To: <6.0.1.1.0.20040420102949.04a38248@127.0.0.1>
References: <s084ef11.032@sinclair.provo.novell.com>
	<HBF.20040420bp2v@bombur.uio.no>
	<6.0.1.1.0.20040420101716.04932358@127.0.0.1>
	<6.0.1.1.0.20040420102949.04a38248@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 7 May 2004 19:42:34 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> At 10:27 AM 4/20/2004, Kurt D. Zeilenga wrote:
>>At 09:49 AM 4/20/2004, Hallvard B Furuseth wrote:
>>>Jim Sermersheim writes:
>>>>> _Can_ we recommend against unsolicited options? An attribute type with
>>>>> an option is a subtype of that attribute type without the option. A
>>>>> search requesting an attribute also requests subtypes. 
>>>>  
>>>> That's only true of tagging options (so far)
>>>
>>>Oh, good.  Seems to have been fixed since rfc2251 section 4.1.5:
>>>
>>>   An AttributeDescription with one or more options is treated as a
>>>   subtype of the attribute type without any options.
>>>
>>>This should be listed in [Models] Appendix A.1: Changes to RFC 2251.
> 
> I really don't see [Models] as changing the substance
> of what RFC 2251 said in regards to options and subtypes.
> [Models] just clarifies the sentence you quote as
> applying generally, but in all cases.

I don't understand.  The RFC 2251 statement seems general enough, while
[Models] clearly says it is _not_ general, and _not_ applies to all
cases.

> RFC 2251 included
> the same substance, it just wasn't as clear (because
> some folks sometimes took "is treated as" as "is").

I'm not sure what the practical difference is between "is" and "is
treated as", but in any case, RFC 2251 makes no distinction between
tagging options and other options with regards to subtyping, while
[Models] does.  I don't see how that can be no change.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 13:52:12 2004
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 NAA08725
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 13:52:12 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HoG0x063653;
	Fri, 7 May 2004 17:50:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47Hen73062914;
	Fri, 7 May 2004 17:40: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); Fri, 7 May 2004 17:40:49 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HeZ0X062847;
	Fri, 7 May 2004 17:40:45 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Fri, 07 May 2004 11:40:15 -0600
Message-Id: <s09b759f.039@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Fri, 07 May 2004 11:39:49 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: control combination was: Re: protocol-22 comments)
Mime-Version: 1.0
Content-Type: text/plain; charset=Windows-1256
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i47Hej0X062882
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

If there are only two cases (defined and undefined), then we need to state what 'defined' means.

The whole point of this is to arrive at wording that promotes interoperability. So if one implementation twists 'defined' to mean one thing, and another twists it a different way, I think we failed.

If 'defined' means that it is documented in one or more of the control specifications, that's good * it means the behavior is well documented. If it means something else (like it's defined in the implementor's mind), it's not so good. 

Futhermore, if 'defined' means that it is documented in one or more of the control specifications, then I think Hallvard hasa point * we need to allow for non-error behavior for combinations of controls that are not defined, but happen to make sense and likely work together in some current implementations. Otherwise, someone will need to update those control specifications to define combination semantics in order to make the combination valid.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 11:04:45 AM >>>
At 08:51 AM 5/7/2004, Jim Sermersheim wrote:
>So it seems there are three cases for a combination of controls:

I think there are only two cases relevant to protocol semantics:
  Are the semantics of the combination of controls defined or not?

The issue of where those semantics, when defined, are or should be
specified is orthonogal.

I think looking at it from the cases you outline may
be problematic, for instance:

>1) the combination is documented in a specification
  A specification can document that a combination of controls
  doesn't have a defined semantic.


>For #3, I think we are saying an error is returned.

I think we also need to state more clearly that the
combinations of undefined (or otherwise ambiguous) semantics
are not to be provided and, if provided, treated as a
protocol error.

>For #2, I think we need to state that behavior is undefined. This is
>because the lack of a specification can cause two implementations to act
>differently.

Here we're stating more what specifications of controls should
provide and how those specifications are to be interpreted if
they fail to provide it.  I think we need to separate this
issue from the above issue.

>If this is true, then we can use something like the following:
>
>"When a combination of controls is encountered whose semantics are not
>defined (or not known), the operation SHOULD fail with protocolError,
>otherwise the results are undefined."
>
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 9:24:44 AM >>>
>There is a subtle difference in the suggested text from the
>current text that might be, well, a bit too subtle.
>
>The current text talks about avoiding combinations whose
>semantics are not SPECFIED while the suggested talks about
>avoiding combinations which are not DEFINED.  While defined
>and specified are synonyms of each other, the latter can
>be viewed as implying there is a specification (e.g., document)
>where the semantics are defined, the former only can be viewed
>only as implying the semantics are defined (without regard
>to where they are specified).
>
>In the example of Sort+SignedOp, I think it can be argued that
>the semantics are defined even though they are not explicitly
>specified.  The intent of the text is not to prohibit such
>combinations.
>
>The text is intended to disallow use of combinations where the
>semantics are undefined, such as a combination of PagedResults
>[RFC2696] and VLV [draft-ietf-ldapext-ldapv3-vlv-08.txt].
>
>If I reading everyone's comment well, I think we have consensus
>on what we want to say but just haven't found the words that say
>it well enough.  Specific suggestions welcomed.
>
>Kurt
>
>At 06:02 AM 5/7/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:
>>>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>>>
>>>> "server MUST NOT make use of a combination of controls whose
>semantics
>>>> are not defined (or not known to it). When such a combination of
>>>> controls is encountered, it is RECOMMENDED that the server return
>>>> protocolError. Otherwise behavior is undefined.
>>> 
>>> I dislike the wording as it could be taken as allowing the server
>>> not to return an error (as opposed to suggesting which code to
>>> return in this case). 
>>
>>I thought that was the intent, which looked reasonable to me.
>>
>>> How about?
>>>   Controls are not to be combined (with other controls
>>>   of same or different types) unless the semantics of the
>>>   combination have been defined.  When an implementation
>>>   (client or server) encounters a combination of controls
>>>   whose semantics are not defined (or not known to that
>>>   implementation), the implementation MUST treat the
>>>   request as a protocol error.
>>
>>Sounds too strict to me.  Or at least, it can be interpreted too
>strict.
>>For example, does that forbid the combination of the rfc2649
>Operation
>>Signature control with e.g. the rfc2891 Server Side Sorting control?
>>Neither document explicitly states how the combination should work,
>but
>>rfc2649 does say how to apply that control to LDAPMessages in
>general,
>>and the combination seems to make sense to me.
>>
>>Also, I wonder about the combination of controls defined in different
>>"standards repositories" or whatever one should call it.  If all
>>controls were RFCs, one control spec could list all previously
>defined
>>controls.  However, in the previous discussions of controls, people
>were
>>referring to controls that I could not find RFCs for.
>>
>>Finally, one detail: If we stick to RFC controls, each control author
>>will need to check all previous RFC controls.  It might be easy to
>miss
>>one, and make a control combination with an obvious semantics
>invalid.
>>We could fix that with a requirement that all LDAP control RFCs must
>>have the phrase "LDAP control" in its title.  Or someone (IANA?) 
>could
>>maintain an official list of published controls.  However, it seems
>>simpler to me to allow controls that obviously do not interfere with
>>each other, to be combined even if their specs do not say so.
>>
>>> (Note: I generalized this for both clients and servers,
>>> and for requests which don't have responses.)
>>
>>-- 
>>Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 14:06:02 2004
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 NAA06670
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 13:17:10 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47HEXUv059911;
	Fri, 7 May 2004 17:14:33 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47H5kf7059130;
	Fri, 7 May 2004 17:05:46 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, 7 May 2004 17:05:46 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47H5gAr059094;
	Fri, 7 May 2004 17:05:43 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BM8n4-0006hO-E3; Fri, 07 May 2004 19:05:38 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BM8lL-0005Sm-Tr; Fri, 07 May 2004 19:03:51 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BM8lL-0006B9-00; Fri, 7 May 2004 19:03:51 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507txtb@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: Kurt@OpenLDAP.org, ietf-ldapbis@OpenLDAP.org
Subject: Re: control combination was: Re: protocol-22 comments)
In-Reply-To: <s09b5c22.083@sinclair.provo.novell.com>
References: <s09b5c22.083@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 7 May 2004 19:03:51 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> So it seems there are three cases for a combination of controls:
> 1) the combination is documented in a specification
> 2) the combination is not documented, but is defined to act in a
> certain way in an implementation

What does (2) mean?  Someting like "the control specs do not document
the combination, but the implementation does"?

Will - and should - (2) cover the ManageDsaIT control from my later
post, and non-RFC controls like I mentioned?

> 3) is neither 1 or 2.
> 
> For #3, I think we are saying an error is returned.
>
> For #2, I think we need to state that behavior is undefined. This is
> because the lack of a specification can cause two implementations to act
> differently.

Yes, for (2) I think so... but I'll wait to hear what (2) means:-)
Similarly, I wonder what "not defined (or not known)" below means.

> "When a combination of controls is encountered whose semantics are not
> defined (or not known), the operation SHOULD fail with protocolError,
> otherwise the results are undefined."

If (2) is meant to be as liberal as my rewording above, we could add
something to the effect that operations also SHOULD fail if the
semantics of the combination of controls are ambiguous and not defined
in the control specs.  Or if you prefer, that implementations SHOULD NOT
define semantics for such combinations, which amounts to the same thing.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 14:28:04 2004
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 OAA10591
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 14:28:03 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47IO89N065027;
	Fri, 7 May 2004 18:25:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47IIKmL064874;
	Fri, 7 May 2004 18:18: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); Fri, 7 May 2004 18:18:20 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47IIE8K064864
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 18:18:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i47II9nC039379;
	Fri, 7 May 2004 18:18:09 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040507110931.04e47e20@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 07 May 2004 11:18:06 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Active Directory question
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040507taid@bombur.uio.no>
References: <s084ef11.032@sinclair.provo.novell.com>
 <HBF.20040420bp2v@bombur.uio.no>
 <6.0.1.1.0.20040420101716.04932358@127.0.0.1>
 <6.0.1.1.0.20040420102949.04a38248@127.0.0.1>
 <HBF.20040507taid@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:42 AM 5/7/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> At 10:27 AM 4/20/2004, Kurt D. Zeilenga wrote:
>>>At 09:49 AM 4/20/2004, Hallvard B Furuseth wrote:
>>>>Jim Sermersheim writes:
>>>>>> _Can_ we recommend against unsolicited options? An attribute type with
>>>>>> an option is a subtype of that attribute type without the option. A
>>>>>> search requesting an attribute also requests subtypes. 
>>>>>  
>>>>> That's only true of tagging options (so far)
>>>>
>>>>Oh, good.  Seems to have been fixed since rfc2251 section 4.1.5:
>>>>
>>>>   An AttributeDescription with one or more options is treated as a
>>>>   subtype of the attribute type without any options.
>>>>
>>>>This should be listed in [Models] Appendix A.1: Changes to RFC 2251.
>> 
>> I really don't see [Models] as changing the substance
>> of what RFC 2251 said in regards to options and subtypes.
>> [Models] just clarifies the sentence you quote as
>> applying generally, but in all cases.

I likely meant "but not in all cases".

>I don't understand.  The RFC 2251 statement seems general enough, while
>[Models] clearly says it is _not_ general, and _not_ applies to all
>cases.

"treat as" doesn't necessarily mean "is a".

[Models] and [RFC 2251] are pretty close here.  Both
indicate that some options indicate descriptions which
are subtypes and some don't.


>> RFC 2251 included
>> the same substance, it just wasn't as clear (because
>> some folks sometimes took "is treated as" as "is").
>
>I'm not sure what the practical difference is between "is" and "is
>treated as", but in any case, RFC 2251 makes no distinction between
>tagging options and other options with regards to subtyping

But it does.  Consider the text regarding the ;binary option
in [RFC2251,2252,2256], cn;binary and userCertificate;binary are
clearly NOT a subtypes of cn and userCertificate respectively.

>, while [Models] does.  I don't see how that can be no change.

Because, I think, your taking one sentence out of context.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 14:45:46 2004
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 OAA11739
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 14:45:46 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Ig4Gc065695;
	Fri, 7 May 2004 18:43:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47Ifrg6065663;
	Fri, 7 May 2004 18:41: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); Fri, 7 May 2004 18:41:53 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Ifoue065650
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 18:41:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i47IednC039491;
	Fri, 7 May 2004 18:40:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040507112402.04e6e078@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 07 May 2004 11:40:36 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
In-Reply-To: <s09b759f.039@sinclair.provo.novell.com>
References: <s09b759f.039@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:39 AM 5/7/2004, Jim Sermersheim wrote:
>If there are only two cases (defined and undefined), then we need to state what 'defined' means.

I think we can and should rely on the dictionary meaning of the word.

 From WordNet (r) 2.0 [wn]:
  defined
       adj 1: clearly characterized or delimited; "lost in a maze
       of words both defined and undefined"; "each child has clearly
       defined duties" [ant: {undefined}]

>The whole point of this is to arrive at wording that promotes interoperability.

And other qualities.

>So if one implementation twists 'defined' to mean one thing, and another twists it a different way, I think we failed.

There really is no way folks from twisting things, especially in
areas of extensions.

>If 'defined' means that it is documented in one or more of the control specifications, that's good * it means the behavior is well documented. If it means something else (like it's defined in the implementor's mind), it's not so good. 

but it might be "good enough".

Obviously, for there to be interoperability between to
implementations, there must be reasonable agreement of what
the semantics of the message are.  However, implementor X
don't need to agree with implementor Y to produce an
implementation that will interoperate with Z.  While
the base specification is intended to further
interoperability between independently developed
implementations feasible, it doesn't preclude creation
of extensions which rely dependent development for
interoperability.

>Futhermore, if 'defined' means that it is documented in one or more of the control specifications, then I think Hallvard hasa point * we need to allow for non-error behavior for combinations of controls that are not defined, but happen to make sense and likely work together in some current implementations. Otherwise, someone will need to update those control specifications to define combination semantics in order to make the combination valid.
>
>Jim
>
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 11:04:45 AM >>>
>At 08:51 AM 5/7/2004, Jim Sermersheim wrote:
>>So it seems there are three cases for a combination of controls:
>
>I think there are only two cases relevant to protocol semantics:
>  Are the semantics of the combination of controls defined or not?
>
>The issue of where those semantics, when defined, are or should be
>specified is orthonogal.
>
>I think looking at it from the cases you outline may
>be problematic, for instance:
>
>>1) the combination is documented in a specification
>  A specification can document that a combination of controls
>  doesn't have a defined semantic.
>
>
>>For #3, I think we are saying an error is returned.
>
>I think we also need to state more clearly that the
>combinations of undefined (or otherwise ambiguous) semantics
>are not to be provided and, if provided, treated as a
>protocol error.
>
>>For #2, I think we need to state that behavior is undefined. This is
>>because the lack of a specification can cause two implementations to act
>>differently.
>
>Here we're stating more what specifications of controls should
>provide and how those specifications are to be interpreted if
>they fail to provide it.  I think we need to separate this
>issue from the above issue.
>
>>If this is true, then we can use something like the following:
>>
>>"When a combination of controls is encountered whose semantics are not
>>defined (or not known), the operation SHOULD fail with protocolError,
>>otherwise the results are undefined."
>>
>>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 9:24:44 AM >>>
>>There is a subtle difference in the suggested text from the
>>current text that might be, well, a bit too subtle.
>>
>>The current text talks about avoiding combinations whose
>>semantics are not SPECFIED while the suggested talks about
>>avoiding combinations which are not DEFINED.  While defined
>>and specified are synonyms of each other, the latter can
>>be viewed as implying there is a specification (e.g., document)
>>where the semantics are defined, the former only can be viewed
>>only as implying the semantics are defined (without regard
>>to where they are specified).
>>
>>In the example of Sort+SignedOp, I think it can be argued that
>>the semantics are defined even though they are not explicitly
>>specified.  The intent of the text is not to prohibit such
>>combinations.
>>
>>The text is intended to disallow use of combinations where the
>>semantics are undefined, such as a combination of PagedResults
>>[RFC2696] and VLV [draft-ietf-ldapext-ldapv3-vlv-08.txt].
>>
>>If I reading everyone's comment well, I think we have consensus
>>on what we want to say but just haven't found the words that say
>>it well enough.  Specific suggestions welcomed.
>>
>>Kurt
>>
>>At 06:02 AM 5/7/2004, Hallvard B Furuseth wrote:
>>>Kurt D. Zeilenga writes:
>>>>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>>>>
>>>>> "server MUST NOT make use of a combination of controls whose
>>semantics
>>>>> are not defined (or not known to it). When such a combination of
>>>>> controls is encountered, it is RECOMMENDED that the server return
>>>>> protocolError. Otherwise behavior is undefined.
>>>> 
>>>> I dislike the wording as it could be taken as allowing the server
>>>> not to return an error (as opposed to suggesting which code to
>>>> return in this case). 
>>>
>>>I thought that was the intent, which looked reasonable to me.
>>>
>>>> How about?
>>>>   Controls are not to be combined (with other controls
>>>>   of same or different types) unless the semantics of the
>>>>   combination have been defined.  When an implementation
>>>>   (client or server) encounters a combination of controls
>>>>   whose semantics are not defined (or not known to that
>>>>   implementation), the implementation MUST treat the
>>>>   request as a protocol error.
>>>
>>>Sounds too strict to me.  Or at least, it can be interpreted too
>>strict.
>>>For example, does that forbid the combination of the rfc2649
>>Operation
>>>Signature control with e.g. the rfc2891 Server Side Sorting control?
>>>Neither document explicitly states how the combination should work,
>>but
>>>rfc2649 does say how to apply that control to LDAPMessages in
>>general,
>>>and the combination seems to make sense to me.
>>>
>>>Also, I wonder about the combination of controls defined in different
>>>"standards repositories" or whatever one should call it.  If all
>>>controls were RFCs, one control spec could list all previously
>>defined
>>>controls.  However, in the previous discussions of controls, people
>>were
>>>referring to controls that I could not find RFCs for.
>>>
>>>Finally, one detail: If we stick to RFC controls, each control author
>>>will need to check all previous RFC controls.  It might be easy to
>>miss
>>>one, and make a control combination with an obvious semantics
>>invalid.
>>>We could fix that with a requirement that all LDAP control RFCs must
>>>have the phrase "LDAP control" in its title.  Or someone (IANA?) 
>>could
>>>maintain an official list of published controls.  However, it seems
>>>simpler to me to allow controls that obviously do not interfere with
>>>each other, to be combined even if their specs do not say so.
>>>
>>>> (Note: I generalized this for both clients and servers,
>>>> and for requests which don't have responses.)
>>>
>>>-- 
>>>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 14:51:23 2004
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 OAA12088
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 14:51:23 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Im3Ed065974;
	Fri, 7 May 2004 18:50:35 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47Im0Kj065958;
	Fri, 7 May 2004 18:48: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, 7 May 2004 18:48:00 +0000
Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.103])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Ilq4c065920
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 18:47:57 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e3.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i47IlVIm559012
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 14:47:31 -0400
Received: from d27ml001.rchland.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i47IlsOp097230
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 14:47:54 -0400
In-Reply-To: <s09b759f.039@sinclair.provo.novell.com>
Subject: Re: control combination was: Re: protocol-22 comments)
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OFAB1BAB8C.7874D45B-ON86256E8D.0063CAD5-86256E8D.006739BA@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Fri, 7 May 2004 13:47:28 -0500
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5.1|January 21, 2004) at
 05/07/2004 01:47:30 PM
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





Is this any better?  It still uses defined, but I'm hoping in a way that
the differences between defined, specified, and known that have been
discussed don't come into play.  Maybe some examples should be included.
English leaves a lot to be desired as a precise language.

<start of text>
Controls are not to be combined (with other controls of same or different
types) unless the semantics of the combination have been defined and are
supported by the implementation.  When an implementation (client or server)
encounters a combination of controls whose semantics are not supported by
that implementation, the implementation MUST treat the request as a
protocol error.
<end of text>

If the implementation supports the combination, honor the controls.  If the
implementation does not support the combination, return protocolError.

A server could implement both the page control and the sort control, but in
such a way that they cannot be used in conjunction.  The VLV + paged search
combination previously cited clearly makes no sense.  In both cases, the
implementation should return protocolError.

The desired behavior of sort + paged search is well defined by RFC.  Other
examples have been cited where the correct behavior seems clear but is not
explicitly defined (sort + signed op).  If the implementation supports the
combination, it should honor the request.

Examples have been cited of control combinations that clearly make no sense
(VLV + paged).  In these cases, the implementation should also return
protocolError.


John  McMeeking


"Jim Sermersheim" <jimse@novell.com> wrote on 05/07/2004 12:39:49 PM:

> If there are only two cases (defined and undefined), then we need to
> state what 'defined' means.
>
> The whole point of this is to arrive at wording that promotes
> interoperability. So if one implementation twists 'defined' to mean
> one thing, and another twists it a different way, I think we failed.
>
> If 'defined' means that it is documented in one or more of the
> control specifications, that's good * it means the behavior is well
> documented. If it means something else (like it's defined in the
> implementor's mind), it's not so good.
>
> Futhermore, if 'defined' means that it is documented in one or more
> of the control specifications, then I think Hallvard hasa point * we
> need to allow for non-error behavior for combinations of controls
> that are not defined, but happen to make sense and likely work
> together in some current implementations. Otherwise, someone will
> need to update those control specifications to define combination
> semantics in order to make the combination valid.
>
> Jim
>
> >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 11:04:45 AM >>>
> At 08:51 AM 5/7/2004, Jim Sermersheim wrote:
> >So it seems there are three cases for a combination of controls:
>
> I think there are only two cases relevant to protocol semantics:
>   Are the semantics of the combination of controls defined or not?
>
> The issue of where those semantics, when defined, are or should be
> specified is orthonogal.
>
> I think looking at it from the cases you outline may
> be problematic, for instance:
>
> >1) the combination is documented in a specification
>   A specification can document that a combination of controls
>   doesn't have a defined semantic.
>
>
> >For #3, I think we are saying an error is returned.
>
> I think we also need to state more clearly that the
> combinations of undefined (or otherwise ambiguous) semantics
> are not to be provided and, if provided, treated as a
> protocol error.
>
> >For #2, I think we need to state that behavior is undefined. This is
> >because the lack of a specification can cause two implementations to act
> >differently.
>
> Here we're stating more what specifications of controls should
> provide and how those specifications are to be interpreted if
> they fail to provide it.  I think we need to separate this
> issue from the above issue.
>
> >If this is true, then we can use something like the following:
> >
> >"When a combination of controls is encountered whose semantics are not
> >defined (or not known), the operation SHOULD fail with protocolError,
> >otherwise the results are undefined."
> >
> >>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 9:24:44 AM >>>
> >There is a subtle difference in the suggested text from the
> >current text that might be, well, a bit too subtle.
> >
> >The current text talks about avoiding combinations whose
> >semantics are not SPECFIED while the suggested talks about
> >avoiding combinations which are not DEFINED.  While defined
> >and specified are synonyms of each other, the latter can
> >be viewed as implying there is a specification (e.g., document)
> >where the semantics are defined, the former only can be viewed
> >only as implying the semantics are defined (without regard
> >to where they are specified).
> >
> >In the example of Sort+SignedOp, I think it can be argued that
> >the semantics are defined even though they are not explicitly
> >specified.  The intent of the text is not to prohibit such
> >combinations.
> >
> >The text is intended to disallow use of combinations where the
> >semantics are undefined, such as a combination of PagedResults
> >[RFC2696] and VLV [draft-ietf-ldapext-ldapv3-vlv-08.txt].
> >
> >If I reading everyone's comment well, I think we have consensus
> >on what we want to say but just haven't found the words that say
> >it well enough.  Specific suggestions welcomed.
> >
> >Kurt
> >
> >At 06:02 AM 5/7/2004, Hallvard B Furuseth wrote:
> >>Kurt D. Zeilenga writes:
> >>>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
> >>>
> >>>> "server MUST NOT make use of a combination of controls whose
> >semantics
> >>>> are not defined (or not known to it). When such a combination of
> >>>> controls is encountered, it is RECOMMENDED that the server return
> >>>> protocolError. Otherwise behavior is undefined.
> >>>
> >>> I dislike the wording as it could be taken as allowing the server
> >>> not to return an error (as opposed to suggesting which code to
> >>> return in this case).
> >>
> >>I thought that was the intent, which looked reasonable to me.
> >>
> >>> How about?
> >>>   Controls are not to be combined (with other controls
> >>>   of same or different types) unless the semantics of the
> >>>   combination have been defined.  When an implementation
> >>>   (client or server) encounters a combination of controls
> >>>   whose semantics are not defined (or not known to that
> >>>   implementation), the implementation MUST treat the
> >>>   request as a protocol error.
> >>
> >>Sounds too strict to me.  Or at least, it can be interpreted too
> >strict.
> >>For example, does that forbid the combination of the rfc2649
> >Operation
> >>Signature control with e.g. the rfc2891 Server Side Sorting control?
> >>Neither document explicitly states how the combination should work,
> >but
> >>rfc2649 does say how to apply that control to LDAPMessages in
> >general,
> >>and the combination seems to make sense to me.
> >>
> >>Also, I wonder about the combination of controls defined in different
> >>"standards repositories" or whatever one should call it.  If all
> >>controls were RFCs, one control spec could list all previously
> >defined
> >>controls.  However, in the previous discussions of controls, people
> >were
> >>referring to controls that I could not find RFCs for.
> >>
> >>Finally, one detail: If we stick to RFC controls, each control author
> >>will need to check all previous RFC controls.  It might be easy to
> >miss
> >>one, and make a control combination with an obvious semantics
> >invalid.
> >>We could fix that with a requirement that all LDAP control RFCs must
> >>have the phrase "LDAP control" in its title.  Or someone (IANA?)
> >could
> >>maintain an official list of published controls.  However, it seems
> >>simpler to me to allow controls that obviously do not interfere with
> >>each other, to be combined even if their specs do not say so.
> >>
> >>> (Note: I generalized this for both clients and servers,
> >>> and for requests which don't have responses.)
> >>
> >>--
> >>Hallvard
>
>



From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 14:51:28 2004
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 OAA12106
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 14:51:28 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Im3Eb065974;
	Fri, 7 May 2004 18:49:19 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47Igemo065751;
	Fri, 7 May 2004 18:42: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); Fri, 7 May 2004 18:42:40 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47Igagu065721;
	Fri, 7 May 2004 18:42:37 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BMAIq-0004qN-H9; Fri, 07 May 2004 20:42:32 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BMAIo-0006dZ-L4; Fri, 07 May 2004 20:42:30 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BMAIn-0006Q3-00; Fri, 7 May 2004 20:42:29 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507sag5@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Active Directory question
In-Reply-To: <6.0.1.1.0.20040507110931.04e47e20@127.0.0.1>
References: <s084ef11.032@sinclair.provo.novell.com>
	<HBF.20040420bp2v@bombur.uio.no>
	<6.0.1.1.0.20040420101716.04932358@127.0.0.1>
	<6.0.1.1.0.20040420102949.04a38248@127.0.0.1>
	<HBF.20040507taid@bombur.uio.no>
	<6.0.1.1.0.20040507110931.04e47e20@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 7 May 2004 20:42:29 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 10:42 AM 5/7/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:
>>>At 10:27 AM 4/20/2004, Kurt D. Zeilenga wrote:
>>>>At 09:49 AM 4/20/2004, Hallvard B Furuseth wrote:
>>>>>Jim Sermersheim writes:
>>>>>>>
>>>>>>> An attribute type with
>>>>>>> an option is a subtype of that attribute type without the option. A
>>>>>>> search requesting an attribute also requests subtypes. 
>>>>>>  
>>>>>> That's only true of tagging options (so far)
>>>>>
>>>>>Oh, good.  Seems to have been fixed since rfc2251 section 4.1.5:
>>>>>
>>>>>   An AttributeDescription with one or more options is treated as a
>>>>>   subtype of the attribute type without any options.
>>>>>
>>>>>This should be listed in [Models] Appendix A.1: Changes to RFC 2251.
>>> 
>>> I really don't see [Models] as changing the substance
>>> of what RFC 2251 said in regards to options and subtypes.
>>> [Models] just clarifies the sentence you quote as
>>> applying generally, but in all cases.
> 
> I likely meant "but not in all cases".
>
>>I don't understand.  The RFC 2251 statement seems general enough, while
>>[Models] clearly says it is _not_ general, and _not_ applies to all
>>cases.
> 
> "treat as" doesn't necessarily mean "is a".

Well, like I said, I'm not sure what the practical difference is.

> [Models] and [RFC 2251] are pretty close here.  Both
> indicate that some options indicate descriptions which
> are subtypes and some don't.

I still don't see the RFC 2251 text which says so.

You are right that ;binary seems to be a counterexample, but that just
means RFC 2251 is inconsistent, not that the existence of ;binary
overrides the description of other options.  Nor does it say that it is
;binary being a non-tagging option which is the reason it is different.

If you refer to something else with me taking the RFC 2251 sentence out
of context, I don't see it.

(BTW, I think I could make a case for foo;binary being a subtype of foo
but with various additional semantics, but I'm not sure if I want to go
there:-)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 15:28:44 2004
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 PAA15658
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 15:28:43 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47JQLA0072274;
	Fri, 7 May 2004 19:26:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47JGvgB070132;
	Fri, 7 May 2004 19:16:57 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, 7 May 2004 19:16:57 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47JGdZK070119
	for <ietf-ldapbis@openldap.org>; Fri, 7 May 2004 19:16:56 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BMApj-0004r6-BL; Fri, 07 May 2004 21:16:31 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BMAph-0001Ap-AL; Fri, 07 May 2004 21:16:29 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BMApg-0006Uc-00; Fri, 7 May 2004 21:16:28 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507rpzt@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: authorization (was: protocol-22 comments)
In-Reply-To: <s0800678.096@sinclair.provo.novell.com>
References: <s0800678.096@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 7 May 2004 21:16:28 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>>>Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/9/04 7:20:19 AM
>>>>
>>> 4.2. Bind Operation

>>Here is a suggestion, though it's a bit long. Maybe the last sentence
>>should be dropped.
>>
>> Authorization is the decision of which access an operation has to
>> the directory. It may be affected by many factors, (...)
> 
> I like the change but it still seems too specific. How about:
>  
> Authorization is the process of enforcing policy while performing
> operations.

I prefer my variant of that sentence.  A lot of policy is not
authorization, e.g.:
  which bind methods and SASL mechanisms to allow,
  parts of the the password policy internet-draft,
  how to protect against denial of service attacks,
  server-side size/time limits,
  whether and when to time out idle connections.

The rest of your text is much better than my suggestion.

> Among other things, the process of authorization takes as
> input authentication information obtained during the bind operation
> and/or other acts of authentication (such as lower layer security
> services).

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri May  7 16:04:37 2004
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 QAA17176
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 May 2004 16:04:36 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47K3OxP076215;
	Fri, 7 May 2004 20:03:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i47JnNBW075671;
	Fri, 7 May 2004 19:49:23 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, 7 May 2004 19:49:23 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i47JnB6L075654
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 May 2004 19:49:20 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i47Jn6nC040513;
	Fri, 7 May 2004 19:49:07 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040507124605.04e6e078@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 07 May 2004 12:49:04 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Active Directory question
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040507sag5@bombur.uio.no>
References: <s084ef11.032@sinclair.provo.novell.com>
 <HBF.20040420bp2v@bombur.uio.no>
 <6.0.1.1.0.20040420101716.04932358@127.0.0.1>
 <6.0.1.1.0.20040420102949.04a38248@127.0.0.1>
 <HBF.20040507taid@bombur.uio.no>
 <6.0.1.1.0.20040507110931.04e47e20@127.0.0.1>
 <HBF.20040507sag5@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I've added:

Clarifications to these portions include:

- Attribute descriptions with options, while generally treated as    
subtypes of the attribute type, do not necessarily refer to
actual subtypes of the attribute type.

to A.1.2.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Sun May  9 13:45:15 2004
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 NAA13092
	for <ldapbis-archive@lists.ietf.org>; Sun, 9 May 2004 13:45:14 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i49HgqJ5037426;
	Sun, 9 May 2004 17:43:25 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i49HedAB037328;
	Sun, 9 May 2004 17:40: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); Sun, 9 May 2004 17:40:39 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i49HeXks037318
	for <ietf-ldapbis@OpenLDAP.org>; Sun, 9 May 2004 17:40:34 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i49HeWnC052780;
	Sun, 9 May 2004 17:40:33 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040509102426.04ba04b0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sun, 09 May 2004 10:40:26 -0700
To: John McMeeking <jmcmeek@us.ibm.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <OFAB1BAB8C.7874D45B-ON86256E8D.0063CAD5-86256E8D.006739BA@
 us.ibm.com>
References: <s09b759f.039@sinclair.provo.novell.com>
 <OFAB1BAB8C.7874D45B-ON86256E8D.0063CAD5-86256E8D.006739BA@us.ibm.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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 11:47 AM 5/7/2004, John McMeeking wrote:
>Is this any better?  It still uses defined, but I'm hoping in a way that
>the differences between defined, specified, and known that have been
>discussed don't come into play.  Maybe some examples should be included.
>English leaves a lot to be desired as a precise language.
>
><start of text>
>Controls are not to be combined (with other controls of same or different
>types) unless the semantics of the combination have been defined and are
>supported by the implementation.  When an implementation (client or server)
>encounters a combination of controls whose semantics are not supported by
>that implementation, the implementation MUST treat the request as a
>protocol error.
><end of text>

I dislike use of "supported" here and, in particular,  I do not consider
it appropriate for an implementation to treat a well-defined combination
as a protocol error. 

>If the implementation supports the combination, honor the controls.  If the
>implementation does not support the combination, return protocolError.

unwillingToPerform would be more appropriate in this case.

>A server could implement both the page control and the sort control, but in
>such a way that they cannot be used in conjunction.  The VLV + paged search
>combination previously cited clearly makes no sense.  In both cases, the
>implementation should return protocolError.

I disagree.  In the former case, unwillingToPeform is more appropriate
as the semantics of the combination are well defined (as you note below).

>The desired behavior of sort + paged search is well defined by RFC.  Other
>examples have been cited where the correct behavior seems clear but is not
>explicitly defined (sort + signed op).  If the implementation supports the
>combination, it should honor the request.
>
>Examples have been cited of control combinations that clearly make no sense
>(VLV + paged).  In these cases, the implementation should also return
>protocolError.
>
>
>John  McMeeking
>
>
>"Jim Sermersheim" <jimse@novell.com> wrote on 05/07/2004 12:39:49 PM:
>
>> If there are only two cases (defined and undefined), then we need to
>> state what 'defined' means.
>>
>> The whole point of this is to arrive at wording that promotes
>> interoperability. So if one implementation twists 'defined' to mean
>> one thing, and another twists it a different way, I think we failed.
>>
>> If 'defined' means that it is documented in one or more of the
>> control specifications, that's good * it means the behavior is well
>> documented. If it means something else (like it's defined in the
>> implementor's mind), it's not so good.
>>
>> Futhermore, if 'defined' means that it is documented in one or more
>> of the control specifications, then I think Hallvard hasa point * we
>> need to allow for non-error behavior for combinations of controls
>> that are not defined, but happen to make sense and likely work
>> together in some current implementations. Otherwise, someone will
>> need to update those control specifications to define combination
>> semantics in order to make the combination valid.
>>
>> Jim
>>
>> >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 11:04:45 AM >>>
>> At 08:51 AM 5/7/2004, Jim Sermersheim wrote:
>> >So it seems there are three cases for a combination of controls:
>>
>> I think there are only two cases relevant to protocol semantics:
>>   Are the semantics of the combination of controls defined or not?
>>
>> The issue of where those semantics, when defined, are or should be
>> specified is orthonogal.
>>
>> I think looking at it from the cases you outline may
>> be problematic, for instance:
>>
>> >1) the combination is documented in a specification
>>   A specification can document that a combination of controls
>>   doesn't have a defined semantic.
>>
>>
>> >For #3, I think we are saying an error is returned.
>>
>> I think we also need to state more clearly that the
>> combinations of undefined (or otherwise ambiguous) semantics
>> are not to be provided and, if provided, treated as a
>> protocol error.
>>
>> >For #2, I think we need to state that behavior is undefined. This is
>> >because the lack of a specification can cause two implementations to act
>> >differently.
>>
>> Here we're stating more what specifications of controls should
>> provide and how those specifications are to be interpreted if
>> they fail to provide it.  I think we need to separate this
>> issue from the above issue.
>>
>> >If this is true, then we can use something like the following:
>> >
>> >"When a combination of controls is encountered whose semantics are not
>> >defined (or not known), the operation SHOULD fail with protocolError,
>> >otherwise the results are undefined."
>> >
>> >>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/7/04 9:24:44 AM >>>
>> >There is a subtle difference in the suggested text from the
>> >current text that might be, well, a bit too subtle.
>> >
>> >The current text talks about avoiding combinations whose
>> >semantics are not SPECFIED while the suggested talks about
>> >avoiding combinations which are not DEFINED.  While defined
>> >and specified are synonyms of each other, the latter can
>> >be viewed as implying there is a specification (e.g., document)
>> >where the semantics are defined, the former only can be viewed
>> >only as implying the semantics are defined (without regard
>> >to where they are specified).
>> >
>> >In the example of Sort+SignedOp, I think it can be argued that
>> >the semantics are defined even though they are not explicitly
>> >specified.  The intent of the text is not to prohibit such
>> >combinations.
>> >
>> >The text is intended to disallow use of combinations where the
>> >semantics are undefined, such as a combination of PagedResults
>> >[RFC2696] and VLV [draft-ietf-ldapext-ldapv3-vlv-08.txt].
>> >
>> >If I reading everyone's comment well, I think we have consensus
>> >on what we want to say but just haven't found the words that say
>> >it well enough.  Specific suggestions welcomed.
>> >
>> >Kurt
>> >
>> >At 06:02 AM 5/7/2004, Hallvard B Furuseth wrote:
>> >>Kurt D. Zeilenga writes:
>> >>>At 08:55 PM 5/5/2004, Jim Sermersheim wrote:
>> >>>
>> >>>> "server MUST NOT make use of a combination of controls whose
>> >semantics
>> >>>> are not defined (or not known to it). When such a combination of
>> >>>> controls is encountered, it is RECOMMENDED that the server return
>> >>>> protocolError. Otherwise behavior is undefined.
>> >>>
>> >>> I dislike the wording as it could be taken as allowing the server
>> >>> not to return an error (as opposed to suggesting which code to
>> >>> return in this case).
>> >>
>> >>I thought that was the intent, which looked reasonable to me.
>> >>
>> >>> How about?
>> >>>   Controls are not to be combined (with other controls
>> >>>   of same or different types) unless the semantics of the
>> >>>   combination have been defined.  When an implementation
>> >>>   (client or server) encounters a combination of controls
>> >>>   whose semantics are not defined (or not known to that
>> >>>   implementation), the implementation MUST treat the
>> >>>   request as a protocol error.
>> >>
>> >>Sounds too strict to me.  Or at least, it can be interpreted too
>> >strict.
>> >>For example, does that forbid the combination of the rfc2649
>> >Operation
>> >>Signature control with e.g. the rfc2891 Server Side Sorting control?
>> >>Neither document explicitly states how the combination should work,
>> >but
>> >>rfc2649 does say how to apply that control to LDAPMessages in
>> >general,
>> >>and the combination seems to make sense to me.
>> >>
>> >>Also, I wonder about the combination of controls defined in different
>> >>"standards repositories" or whatever one should call it.  If all
>> >>controls were RFCs, one control spec could list all previously
>> >defined
>> >>controls.  However, in the previous discussions of controls, people
>> >were
>> >>referring to controls that I could not find RFCs for.
>> >>
>> >>Finally, one detail: If we stick to RFC controls, each control author
>> >>will need to check all previous RFC controls.  It might be easy to
>> >miss
>> >>one, and make a control combination with an obvious semantics
>> >invalid.
>> >>We could fix that with a requirement that all LDAP control RFCs must
>> >>have the phrase "LDAP control" in its title.  Or someone (IANA?)
>> >could
>> >>maintain an official list of published controls.  However, it seems
>> >>simpler to me to allow controls that obviously do not interfere with
>> >>each other, to be combined even if their specs do not say so.
>> >>
>> >>> (Note: I generalized this for both clients and servers,
>> >>> and for requests which don't have responses.)
>> >>
>> >>--
>> >>Hallvard
>>
>>



From owner-ietf-ldapbis@OpenLDAP.org  Sun May  9 15:13:35 2004
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 PAA17873
	for <ldapbis-archive@lists.ietf.org>; Sun, 9 May 2004 15:13:34 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i49JCQbD040186;
	Sun, 9 May 2004 19:12:30 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i49JAp95040146;
	Sun, 9 May 2004 19:10:51 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); Sun, 9 May 2004 19:10:51 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i49JAkCT040114;
	Sun, 9 May 2004 19:10:48 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BMthD-0007Vj-G1; Sun, 09 May 2004 21:10:43 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BMtan-0004Kn-8m; Sun, 09 May 2004 21:04:05 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BMtam-0005Q2-00; Sun, 9 May 2004 21:04:04 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040509qtns@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: control combination was: Re: protocol-22 comments)
In-Reply-To: <6.0.1.1.0.20040507112402.04e6e078@127.0.0.1>
References: <s09b759f.039@sinclair.provo.novell.com>
	<6.0.1.1.0.20040507112402.04e6e078@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Sun, 9 May 2004 21:04:04 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 10:39 AM 5/7/2004, Jim Sermersheim wrote:
>> If there are only two cases (defined and undefined), then we need to
>> state what 'defined' means.
> 
> I think we can and should rely on the dictionary meaning of the word.

Which shifts the question to: defined by what?  'defined by a control
spec' seems a quite reasonable interpretation in this context, but
that's too strict if we forbid everything else.  We could spell out
'Defined by a control spec or the implementation', which is permissive
enough - perhaps too permissive, but what does it mean?  'documented by
the implementation'?  I suggested to require that about something else
once, and it was shot down.

Maybe a better distinction is that the implementation should not give an
ambiguous control combination arbitrary semantics; it should either
return an error or give it deliberatly chosen semantics.  And perhaps
error should be RECOMMENDED.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun May  9 21:22:55 2004
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 VAA02841
	for <ldapbis-archive@lists.ietf.org>; Sun, 9 May 2004 21:22:55 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4A1IdON048243;
	Mon, 10 May 2004 01:20:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4A1DWWh048079;
	Mon, 10 May 2004 01:13:32 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, 10 May 2004 01:13:32 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4A1DQO4048068
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 May 2004 01:13:27 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4A1CcnC054754;
	Mon, 10 May 2004 01:12:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040509174815.04bb18a0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sun, 09 May 2004 18:12:32 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040509qtns@bombur.uio.no>
References: <s09b759f.039@sinclair.provo.novell.com>
 <6.0.1.1.0.20040507112402.04e6e078@127.0.0.1>
 <HBF.20040509qtns@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 12:04 PM 5/9/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 10:39 AM 5/7/2004, Jim Sermersheim wrote:
>>> If there are only two cases (defined and undefined), then we need to
>>> state what 'defined' means.
>> 
>> I think we can and should rely on the dictionary meaning of the word.
>
>Which shifts the question to: defined by what?

Does it matter how it's defined?  It seems to me that all that
matters is that it is defined. 

>'defined by a control
>spec' seems a quite reasonable interpretation in this context, but
>that's too strict if we forbid everything else.

Exactly.  Maybe it's implicitly agreed to by the implementors
of the client and server (maybe they are the same implementor).

>Maybe a better distinction is that the implementation should not give an
>ambiguous control combination arbitrary semantics; it should either
>return an error or give it deliberatly chosen semantics.  And perhaps
>error should be RECOMMENDED.

One could argue that it would be impossible to implement
a combination of controls unless the semantics of that
control were defined.  That is, how does one implement
undefined behavior.  And by implementing it, it could be
considered defined.  So maybe we're just splitting hairs
here.

My view is that an implementation should not attach control
A to message X unless A is appropriate for X, that is:
X+A has well defined semantics.  And one should not attach
B to X+A unless B is appropriate for X+A, that is X+A+B has
well defined semantics.  Etc..

The processing of X+A+B is complicated by the fact that
A or B or both could be non-critical.  I suspect most
implementations act as follows on receipt of X+A+B:
  is X well formed? if not return protocolError.
  is A recognized and appropriate (for X)?
     If not and critical, return unavailableCriticalExtension
     If not and non-critical, ignore A
     Otherwise, is A well-formed?  If not return protocolError.
  is B recognized and appropriate (for X or X+A, depending on above)
     If not and critical, return unavailableCriticalExtension
     If not and non-critical, ignore B
     Otherwise, is B well-formed?  If not return protocolError.

Do implementations actually return protocolError for something
like search+A+B?  Or do they either ignore B if non-critical
or return unavailableCriticalExtension otherwise.

(Note that the above is note intended to be sequence order
dependent, but dependent on the order of examination (not
necessarily processing) by the implementation.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 03:29:45 2004
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 DAA14626
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 03:29:44 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4A7PF5n057033;
	Mon, 10 May 2004 07:26:47 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4A7KdGK056914;
	Mon, 10 May 2004 07:20: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); Mon, 10 May 2004 07:20:39 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4A7KZ30056893
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 May 2004 07:20:37 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B000256cfd>; Mon, 10 May 2004 17:09:00 +1000
Received: (qmail 10977 invoked from network); 10 May 2004 07:20:08 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 10 May 2004 07:20:08 -0000
Message-ID: <409F2D27.5020306@adacel.com.au>
Date: Mon, 10 May 2004 17:20:07 +1000
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: which syntax for which assertions?
References: <s09a9734.069@sinclair.provo.novell.com> <6.0.1.1.0.20040506193848.04e0a490@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040506193848.04e0a490@127.0.0.1>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 06:50 PM 5/6/2004, Jim Sermersheim wrote:
> 
>>I can't find it documented which syntax (the attribute syntax or the
>>matching rule syntax) is used for which assertions in various
>>operations.
> 
> 
> Well, I think the models and X.501 is pretty clear that value in an
> AVA is to conform to the assertion syntax, and an attribute value
> is to conform to syntax of the attribute type. 
> 
> And I think [Protocol] is fairly clear as it uses AttributeValueAssertion
> (AVA) and AssertionValue for the former and PartialAttribute (PA) and
> AttributeValue for the latter.
> 
> 
>>I'll list what I think, but it may be wrong:
>>
>>AVAs in:                 (A)ttr or (M)atchRule
> 
> 
> s/AVA/AVA or PA/ here.
> 
> 
>>equality filter          M(of equality mr)
>>ge and le filters        M(of ordering mr)
>>substring filters        M(of equality mr)
>>extensible filter        M(of extensible mr)
>>compare                  M(of equality mr)
>>add/mod                  A(of equality mr)
>>DNs                      A(of equality mr)
> 
> 
> DNs clearly are sequences of AVAs.

DNs are sequences of AttributeTypeAndValue, as given in draft-ietf-ldapbis-dn-xx.txt
and X.501:1993. IIRC, DNs were sequences of AVAs only in X.501:1988. Subsequent editions
have imposed a condition on naming attributes that their equality matching rules
have an assertion syntax identical to the attribute syntax, so that the distinction
isn't critical.

Regards,
Steven

> 
> 
>>So for example, a compare operation which specifies 'attributeTypes'
>>will send an 'OID' and not an 'Attribute Type Description'.
> 
> 
> Yes.  The assertion syntax of the AttributeType's equality matching
> rule is OID.
> 
> 
>>Whereas if
>>the same attribute were passed in an add operation, it would send an
>>'Attribute Type Description', rather than an 'OID'.
> 
> 
> Yes, The attribute syntax of the AttributeTYpe is Attribute Type Description.
> 
> 
>>It's important to make this distinction because LDAP doesn't provide
>>syntax knowledge in AVAs.
> 
> 
> In either cases (AVAs or PAs), one has to have schema knowledge to know
> the assertion and attribute syntaxes of the attribute type.
> 
> 
>>If an AVA also carried with it the syntax used
>>for the assertion value, we could derive the 'OID' from the 'Attribute
>>Type Description' in the compare example above.  But because we don't
>>have this ability, we must state which syntax is used for each operation
>>so the server can know how to interpret it.
> 
> 
> I don't follow this.  It's clear which attribute type is involved
> and its clear from the context whether the value is an assertion
> value or an attribute value.  So, with schema knowledge, the
> syntax of value can be determined.
> 
> Kurt 
> 
> 
> 



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 10:22:10 2004
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 KAA07447
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 10:22:10 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AEJKjf074429;
	Mon, 10 May 2004 14:19:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4AECHF9073961;
	Mon, 10 May 2004 14:12:17 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, 10 May 2004 14:12:17 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AEC4BK073918;
	Mon, 10 May 2004 14:12:09 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx1.uio.no ([129.240.10.29])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BNBVg-0002kd-93; Mon, 10 May 2004 16:12:00 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BNBR6-0005Xx-W0; Mon, 10 May 2004 16:07:16 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BNBR6-0000P5-00; Mon, 10 May 2004 16:07:16 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040510xpmo@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: control combination was: Re: protocol-22 comments)
In-Reply-To: <6.0.1.1.0.20040509174815.04bb18a0@127.0.0.1>
References: <s09b759f.039@sinclair.provo.novell.com>
	<6.0.1.1.0.20040507112402.04e6e078@127.0.0.1>
	<HBF.20040509qtns@bombur.uio.no>
	<6.0.1.1.0.20040509174815.04bb18a0@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 10 May 2004 16:07:16 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 12:04 PM 5/9/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:
>>>At 10:39 AM 5/7/2004, Jim Sermersheim wrote:
>>>> If there are only two cases (defined and undefined), then we need to
>>>> state what 'defined' means.
>>> 
>>> I think we can and should rely on the dictionary meaning of the word.
>> 
>> Which shifts the question to: defined by what?
> 
> Does it matter how it's defined?

If [Protocol] states what to do about '(un)defind' control combinations,
it should also clarify what '(un)defined' means, since there are several
equally reasonable but very different interpretations.

> It seems to me that all that matters is that it is defined. 

Then it's pointless for [Protocol] to specify what to do if a control
combination is undefined.  As you said below, an implementor could say
that by implementing it, it could be considered defined.  That reduces
anything [Protocol] says about it to mere word games, and the
implementor can simply ignore the paragraph about control combinations.

So if we are going to say something about control combinations, I'd
prefer other - or additional - criteria to defined/undefined.  As my
suggestion below:

>> Maybe a better distinction is that the implementation should not give an
>> ambiguous control combination arbitrary semantics; it should either
>> return an error or give it deliberately chosen semantics.  And perhaps
>> error should be RECOMMENDED.


> My view is that an implementation should not attach control
> A to message X unless A is appropriate for X, that is:
> X+A has well defined semantics.  And one should not attach
> B to X+A unless B is appropriate for X+A, that is X+A+B has
> well defined semantics.  Etc..

Well, yes.  But now you are right back to 'defined' again.  So I think
'unless ... X+A+B either has unambiguous semantics, or how to best
resolve an ambiguity has been considered by the implementor' is a more
useful criterion.

> The processing of X+A+B is complicated by the fact that
> A or B or both could be non-critical.  I suspect most
> implementations act as follows on receipt of X+A+B:
>   is X well formed? if not return protocolError.
>   is A recognized and appropriate (for X)?
>      If not and critical, return unavailableCriticalExtension
>      If not and non-critical, ignore A
>      Otherwise, is A well-formed?  If not return protocolError.
>   is B recognized and appropriate (for X or X+A, depending on above)
>      If not and critical, return unavailableCriticalExtension
>      If not and non-critical, ignore B
>      Otherwise, is B well-formed?  If not return protocolError.

Good point.  However, we'd get more predictable results (for someone who
does not known the particular implementation) if the implementation
ignores all non-critical controls which are incompatible with some other
control in the message.  Maybe implementations MAY ignore selected
non-critical controls that conflict with other controls, and SHOULD if
so ignore _all_ non-critical controls that conflict with some other
controls?  OTOH, we are talking about control combinations that either
fail or are unpredictable in any case, so maybe not...


One other detail: I don't think it fits the definition of protocolError
in section A.2 to return that for a control combination which MAY be
treated either as defined or undefined:

        protocolError (2)
           Indicates the server received data which has incorrect
           structure.

If servers are to return protocolError for such control combinations,
that must be added to the list of exceptions to the basic definition of
protocolError in A.2.

I already dislike the length of that list, though.  Maybe
unwillingToPerform or unavailableCriticalExtension is better.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 10:58:14 2004
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 KAA09362
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 10:58:14 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AEmT4N076280;
	Mon, 10 May 2004 14:56:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4AEhQqZ076025;
	Mon, 10 May 2004 14:43:26 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, 10 May 2004 14:43:26 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AEhI48075973;
	Mon, 10 May 2004 14:43:19 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BNBzv-0007Wu-92; Mon, 10 May 2004 16:43:15 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BNBzs-00077b-OX; Mon, 10 May 2004 16:43:12 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BNBzs-0000Va-00; Mon, 10 May 2004 16:43:12 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040510x3zo@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: control combination was: Re: protocol-22 comments)
In-Reply-To: <6.0.1.1.0.20040505212054.02c89e38@127.0.0.1>
References: <s09962de.074@sinclair.provo.novell.com>
	<6.0.1.1.0.20040505212054.02c89e38@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 10 May 2004 16:43:12 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> How about?
>   Controls are not to be combined (with other controls
>   of same or different types) unless the semantics of the
>   combination have been defined.  When an implementation
>   (client or server) encounters a combination of controls
>   whose semantics are not defined (or not known to that
>   implementation), the implementation MUST treat the
>   request as a protocol error.
> 
> (Note: I generalized this for both clients and servers,
> and for requests which don't have responses.)

If we keep the MUST, I disagree with a MUST for the client.
Clients should be free to trust the server to produce correct
data, except when security dictates otherwise.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 14:01:46 2004
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 OAA20400
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 14:01:45 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AHt2XB090166;
	Mon, 10 May 2004 17:57:56 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4AHrNuK090001;
	Mon, 10 May 2004 17:53:23 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, 10 May 2004 17:53:23 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AHrEjl089964;
	Mon, 10 May 2004 17:53:16 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 10 May 2004 11:52:54 -0600
Message-Id: <s09f6d16.050@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 10 May 2004 11:52:38 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/9/04 7:12:32 PM >>>

>Does it matter how it's defined?  It seems to me that all that
>matters is that it is defined. 

I think I'm missing something fundamental here. The semantics of LAP
operations are defined in documents like Internet-Drafts, RFCS, and ITU
recommendations. Up until now, I think people consider semantics not
documented in this way as undefined (even if two implementations
bilaterally agree upon semantics out of band).

For purposes of interoperability, we talk about operation semantics in
terms of definitions found in the above documents. If we are not worried
about operation semantics defined outside the scope of these documents,
then for this type of operation, it seems we're not worried about
interoperability. 

If we're not worried about this kind of interoperability (which is a
valid option), I prefer to use language like "behavior is undefined".
This language has been used in the past and I think is understood by the
reader. Using the term "defined" to allow less than documented in the
above documents I think invites surprises.

Let me know where I'm getting derailed.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 14:54:58 2004
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 OAA24286
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 14:54:57 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AImdKX092899;
	Mon, 10 May 2004 18:51:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4AIm7wn092852;
	Mon, 10 May 2004 18:48:07 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, 10 May 2004 18:48:07 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AIlxXY092819
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 May 2004 18:48:00 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4AIlrnC059945;
	Mon, 10 May 2004 18:47:53 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040510101352.0521c4c0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 10 May 2004 11:47:45 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040510xpmo@bombur.uio.no>
References: <s09b759f.039@sinclair.provo.novell.com>
 <6.0.1.1.0.20040507112402.04e6e078@127.0.0.1>
 <HBF.20040509qtns@bombur.uio.no>
 <6.0.1.1.0.20040509174815.04bb18a0@127.0.0.1>
 <HBF.20040510xpmo@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

In chewing about this more, I'm now thinking that text I suggested
is a bit problematic, mainly because it is at odds with current
implementations.  I am not aware of any implementation which treats
a combination of mutually exclusive controls as a protocol error.
As hinted at in my previous comment, I'm thinking that RFC 2251
actually handles this issue in its use of the term 'appropriate
for the operation'.

I think we need to look at ways of clarify the RFC 2251 text to
note that, in face of sequence of controls which are inappropriate
for the operation, the server is free to either treat the message as not
being well constructed (e.g, protocol error) OR to ignore any
number of the non-critical control so that the remaining controls
are recognized and appropriate for the operation OR, if to
arrive at a sequence of recognized and appropriate controls for
the operation would require ignoring a critical control, to
return unavailableCriticalExtension.

Kurt

Below are a few comments I wrote while chewing on this.  The
above is more reflective of where I am presently at on this issue.
I've attached them as there are a few related or tangential issues
I felt the need to comment on.


At 07:07 AM 5/10/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 12:04 PM 5/9/2004, Hallvard B Furuseth wrote:
>>>Kurt D. Zeilenga writes:
>>>>At 10:39 AM 5/7/2004, Jim Sermersheim wrote:
>>>>> If there are only two cases (defined and undefined), then we need to
>>>>> state what 'defined' means.
>>>> 
>>>> I think we can and should rely on the dictionary meaning of the word.
>>> 
>>> Which shifts the question to: defined by what?
>> 
>> Does it matter how it's defined?
>
>If [Protocol] states what to do about '(un)defind' control combinations,
>it should also clarify what '(un)defined' means, since there are several
>equally reasonable but very different interpretations.

Maybe we need to move away from the term 'defined'.

RFC 2251, when describing message construct/deconstruction, used the
term: "appropriate for the operation".  In this thread, when we said
the semantics of the combination of the controls should be
defined, I think we mean the combination of the controls should
be appropriate for the operation.

Of course, this leads to the question "what's appropriate".
well, that's for the control's specification (whether it written,
or in other form) to say.

>> It seems to me that all that matters is that it is defined. 
>
>Then it's pointless for [Protocol] to specify what to do if a control
>combination is undefined.  As you said below, an implementor could say
>that by implementing it, it could be considered defined.  That reduces
>anything [Protocol] says about it to mere word games, and the
>implementor can simply ignore the paragraph about control combinations.

I think there will always be room for word games.

I think it reasonable for the protocol specification how implementations
are to respond when faced with constructs they do not recognize or they
do not otherwise think are appropriate.

This is completely orthogonal, in my mind, to how and where those
constructs are specified.

>> My view is that an implementation should not attach control
>> A to message X unless A is appropriate for X, that is:
>> X+A has well defined semantics.  And one should not attach
>> B to X+A unless B is appropriate for X+A, that is X+A+B has
>> well defined semantics.  Etc..
>
>Well, yes.  But now you are right back to 'defined' again.

Or back to 'appropriate'.  Note that problem is not just with
combinations, but also with controls when used individually.

What's 'defined'?  What's appropriate?... To this, I say, look
at the (definitive) specification of that construct.  However,
I cannot guarantee that there will a specification, let alone
a definitive specification.

>So I think 'unless ... X+A+B either has unambiguous semantics, or how to best
>resolve an ambiguity has been considered by the implementor' is a more
>useful criterion.
>
>> The processing of X+A+B is complicated by the fact that
>> A or B or both could be non-critical.  I suspect most
>> implementations act as follows on receipt of X+A+B:
>>   is X well formed? if not return protocolError.
>>   is A recognized and appropriate (for X)?
>>      If not and critical, return unavailableCriticalExtension
>>      If not and non-critical, ignore A
>>      Otherwise, is A well-formed?  If not return protocolError.
>>   is B recognized and appropriate (for X or X+A, depending on above)
>>      If not and critical, return unavailableCriticalExtension
>>      If not and non-critical, ignore B
>>      Otherwise, is B well-formed?  If not return protocolError.
>
>Good point.  However, we'd get more predictable results (for someone who
>does not known the particular implementation) if the implementation
>ignores all non-critical controls which are incompatible with some other
>control in the message.

I argue that more predictable results are not desirable here.  If a
set of controls are marked non-critical, then no real harm is by the
server ignoring any subset (including complete and empty sets) of the
controls.  I would argue instead that it more desirable to have the
implementation do "best effort" processing.

But note that I was attempting to describe what is the currently
implemented behavior.  My concern with "MUST treat as protocol error"
is that this isn't what current implementations behave.

>Maybe implementations MAY ignore selected
>non-critical controls that conflict with other controls,

RFC 2251 actually said:
   If the control is unrecognized or inappropriate but the criticality
   field is FALSE, the server MUST ignore the control.

If a non-critical control conflicts with some number of other controls,
the non-critical control may be viewed as inappropriate.  If so, it
MUST be ignored.

>and SHOULD if
>so ignore _all_ non-critical controls that conflict with some other
>controls?

Besides that not being what implementations do today, I don't see your
reason for this imperative as enough justification for the SHOULD.

>OTOH, we are talking about control combinations that either
>fail or are unpredictable in any case, so maybe not...

Note that I am not talking at all about the performance of the operation
as extended by the controls (e.g., which might fail or be unpredictable),
but whether the message is well constructed and its semantics are clear.

>One other detail: I don't think it fits the definition of protocolError
>in section A.2 to return that for a control combination which MAY be
>treated either as defined or undefined:
>        protocolError (2)
>           Indicates the server received data which has incorrect
>           structure.
>If servers are to return protocolError for such control combinations,
>that must be added to the list of exceptions to the basic definition of
>protocolError in A.2.

I think, 'incorrect structure' is meant to broadly refer to
any invalid construct.

>I already dislike the length of that list, though.  Maybe
>unwillingToPerform or unavailableCriticalExtension is better.

Both of these, in my opinion, are inappropriate here.

The question of willingness to perform of an operation is generally
made after one de-constructs the message semantics.  While certainly
a server could be unwilling to de-construct (parse) the message,
this should not be confused with a de-construction error.

And, unavailableCriticalExtension is only applicable where the
unrecognized and inappropriate control is critical.



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 15:31:02 2004
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 PAA27656
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 15:31:02 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AJOhWe094472;
	Mon, 10 May 2004 19:27:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4AJOQxx094462;
	Mon, 10 May 2004 19:24:26 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, 10 May 2004 19:24:26 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AJOM33094452
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 May 2004 19:24:24 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4AJOGnC060107;
	Mon, 10 May 2004 19:24:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040510120651.052288c0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 10 May 2004 12:24:08 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: control combination was: Re: protocol-22 comments)
Cc: <h.b.furuseth@usit.uio.no>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s09f6d16.050@sinclair.provo.novell.com>
References: <s09f6d16.050@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:52 AM 5/10/2004, Jim Sermersheim wrote:
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/9/04 7:12:32 PM >>>
>>Does it matter how it's defined?  It seems to me that all that
>>matters is that it is defined. 
>I think I'm missing something fundamental here.

I think you are confusing whether semantics have been defined
with whether the defined semantics are known, or could be known,
to an implementation.

>The semantics of LAP
>operations are defined in documents like Internet-Drafts, RFCS, and ITU
>recommendations. Up until now, I think people consider semantics not
>documented in this way as undefined (even if two implementations
>bilaterally agree upon semantics out of band).

No, they are simply not openly specified semantics.  However, the
semantics are still defined.  Regardless of whether the semantics
are defined openly or in some closed fashion, those semantics may
not be known to a particular implementation.

>For purposes of interoperability,

between whom?

Some extensions are designed for broad adoption, others are not.

>we talk about operation semantics in
>terms of definitions found in the above documents.

For extensions we define, yes.  But we do not preclude others from
designing and implementing private extensions.

>If we are not worried
>about operation semantics defined outside the scope of these documents,
>then for this type of operation, it seems we're not worried about
>interoperability. 

We need to worry about interoperability of base protocol, of extensions
we define, and of mechanisms used to negotiate and make use of
extensions (whether private or public).

>If we're not worried about this kind of interoperability (which is a
>valid option), I prefer to use language like "behavior is undefined".
>This language has been used in the past and I think is understood by the
>reader. Using the term "defined" to allow less than documented in the
>above documents I think invites surprises.

I think we need to avoid '(un)defined' here and use the term
"(in)appropriate for the operation".  When we say a control is
"appropriate for the operation" we assume that there is some
agreement between the peers in this area.  Interoperability
between the peers doesn't depend on how the agreement was
reached, only in that there is an agreement.

Of course, open standard documents is how we reach agreement
between independently developed implementations.  However, nothing
in LDAP should be viewed as precluding extensions which preclude
(or hinder) independently developed implementation of these
extensions.

>Let me know where I'm getting derailed.



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 18:08:52 2004
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 SAA10617
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 18:08:52 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4ALmWZp003137;
	Mon, 10 May 2004 22:05:23 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4ALjN0E002844;
	Mon, 10 May 2004 21:45:23 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, 10 May 2004 21:45:23 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4ALjLQN002834
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 May 2004 21:45:22 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4ALjLnC061091
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 May 2004 21:45:21 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040510132955.02c89128@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 10 May 2004 14:45:13 -0700
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: appropriateness of combination of controls (new suggestion)
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I offer the following for WG consideration:

0)  Add to end of the first paragraph of 4.1.11.
 Implementations SHOULD only attach controls which are
 appropriate for the operation (as discussed in applicable
 specifications).

1) Insert new paragraph above the one which starts with
"The controlValue may contain information":

 When considering whether a control is appropriate for the
 operation, the implementation is not only to consider whether the
 control is attached to a message it was intended to be used
 with, but whether the control is being used appropriately
 in combination with other controls (of same or different
 controlType).

 When a server is faced with a sequence
 of controls which are not appropriate for the operation,
 the server may attempt, by ignoring any number of
 non-critical controls (including controls whose criticality
 field is to be ignored as discussed above), a sequence which
 is appropriate for the operation.  If such a sequence is found,
 the server is to make use of it when performing the
 operation.  Otherwise, servers are to fail the operation
 and, and for operations which have a response, indicate so by
 returning unavailableCriticalExtension (if any of the controls
 were marked critical) or protocolError (if the message is
 considered not well structured) or other appropriate result
 code.

 When a client is faced with a sequence of controls which
 are not appropriate for the operation, the client may
 attempt, by ignoring any number of controls, in order
 to make use of the response in its processing.  Alternatively,
 the client may treat the response as not well structured.

2) Remove the existing paragraph which starts with "Controls SHOULD NOT
be combined".

3) Replace as last bullet with:
	- optionally, semantics regarding combination of the
       control with other controls (of same or different
	controlType).  These semantics may rely on ordering
       of the controls in the sequence of controls attached
       to the message.

  It is noted that semantics of a combination of controls
  is generally found in the control specification most
  recently published.  In absence of a specification of
  a control combination semantics, implementors should
  generally regard use of the control in combination
  with other controls  as not appropriate for use in the same
  operation.  In presence of a specification which does not
  detail any order dependent semantics, the implementor is
  to regard the semantics as being independent on the
  order of controls.



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 18:48:34 2004
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 SAA13944
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 18:48:33 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AMghYL006657;
	Mon, 10 May 2004 22:45:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4AMaUhI006346;
	Mon, 10 May 2004 22:36:30 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, 10 May 2004 22:36:29 +0000
Received: from ithilien.qualcomm.com (ithilien.qualcomm.com [129.46.51.59])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AMaQLl006314;
	Mon, 10 May 2004 22:36:27 GMT
	(envelope-from hardie@qualcomm.com)
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151])
	by ithilien.qualcomm.com (8.12.10/8.12.5/1.0) with ESMTP id i4AMa4U9029245;
	Mon, 10 May 2004 15:36:04 -0700 (PDT)
Received: from [205.214.163.14] (vpn-10-50-16-28.qualcomm.com [10.50.16.28])
	by crowley.qualcomm.com (8.12.10/8.12.5/1.0) with ESMTP id i4AMZw3P003682;
	Mon, 10 May 2004 15:36:01 -0700 (PDT)
Mime-Version: 1.0
X-Sender: hardie@mage.qualcomm.com
Message-Id: <p06100502bcc5b3ed12f0@[205.214.163.14]>
In-Reply-To: <6.0.1.1.0.20040510132955.02c89128@127.0.0.1>
References: <6.0.1.1.0.20040510132955.02c89128@127.0.0.1>
Date: Mon, 10 May 2004 15:35:57 -0700
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org
From: Ted Hardie <hardie@qualcomm.com>
Subject: Re: appropriateness of combination of controls (new suggestion)
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 2:45 PM -0700 05/10/2004, Kurt D. Zeilenga wrote:
>
>  When considering whether a control is appropriate for the
>  operation, the implementation is not only to consider whether the
>  control is attached to a message it was intended to be used
>  with, but whether the control is being used appropriately
>  in combination with other controls (of same or different
>  controlType).
>
>  When a server is faced with a sequence
>  of controls which are not appropriate for the operation,
>  the server may attempt, by ignoring any number of
>  non-critical controls (including controls whose criticality
>  field is to be ignored as discussed above), a sequence which
>  is appropriate for the operation.

What does it do if there is more than one potential result,
depending on which of the non-critical controls it ignores?
Does it then fail the operation as ambiguous?  And does this
impose a burden on servers for a combinatorial calculation?

			regards,
				Ted Hardie


From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 19:13:12 2004
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 TAA15697
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 19:13:11 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AN6d8i007405;
	Mon, 10 May 2004 23:09:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4AN5KT7007360;
	Mon, 10 May 2004 23:05: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, 10 May 2004 23:05:20 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4AN5Hdq007350
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 May 2004 23:05:18 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4AN5GnC061631;
	Mon, 10 May 2004 23:05:17 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040510153904.02caf438@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 10 May 2004 16:05:09 -0700
To: Ted Hardie <hardie@qualcomm.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new suggestion)
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <p06100502bcc5b3ed12f0@[205.214.163.14]>
References: <6.0.1.1.0.20040510132955.02c89128@127.0.0.1>
 <p06100502bcc5b3ed12f0@[205.214.163.14]>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 03:35 PM 5/10/2004, Ted Hardie wrote:
>At 2:45 PM -0700 05/10/2004, Kurt D. Zeilenga wrote:
>>
>> When considering whether a control is appropriate for the
>> operation, the implementation is not only to consider whether the
>> control is attached to a message it was intended to be used
>> with, but whether the control is being used appropriately
>> in combination with other controls (of same or different
>> controlType).
>>
>> When a server is faced with a sequence
>> of controls which are not appropriate for the operation,
>> the server may attempt, by ignoring any number of
>> non-critical controls (including controls whose criticality
>> field is to be ignored as discussed above), a sequence which
>> is appropriate for the operation.
>
>What does it do if there is more than one potential result,
>depending on which of the non-critical controls it ignores?
>Does it then fail the operation as ambiguous?

Server's choice.  It the client requests X+A+B (X being a base
request, the client is asking that either:
        X+A+B
        X+A
        X+B
        X
be performed.  Otherwise, it should have marked either A or
B or both as being critical.  As it didn't, it specifically
requested the server to ignore controls are not approrpriate.

As A and B being non-critical controls, the server which
doesn't view A+B as appropriate for X can perform
        X+A
        X+B
        X

or fail to perform.  Note that, from an interoperability stand point,
failing is likely worse response as it not any of the four behaviors
the client asked to be performed.

>And does this impose a burden on servers for a combinatorial calculation?

No.  The servers is not obligated to attempt to find such a
sequence, and if the server does choose to attempt to find such
a sequence, it can use any algorithm (which doesn't cause
critical controls to be ignored).  Existing servers use simple linear
algorithm.

        operation = base semantics
        foreach attached control
          if control is recognized and appropriate for operation
           then operation += control semantics
           else ignore control if non-critical
           otherwise fail.
        perform operation

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 21:31:41 2004
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 VAA21218
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 21:31:41 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B1OxOl014142;
	Tue, 11 May 2004 01:27:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4B1LalI014083;
	Tue, 11 May 2004 01:21: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); Tue, 11 May 2004 01:21:36 +0000
Received: from ausyms50.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B1KgtH014024;
	Tue, 11 May 2004 01:21:30 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Tue, 11 May 2004 11:20:15 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: appropriateness of combination of controls (new suggestion)
Date: Tue, 11 May 2004 11:20:15 +1000
Message-ID: <1395B4B334FCC143B36AF788E68B6381015690E4@ausyms21.ca.com>
Thread-Topic: appropriateness of combination of controls (new suggestion)
Thread-Index: AcQ220e6VNdHBw19SNOom8UXznTrDQAGTCiA
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 11 May 2004 01:20:15.0945 (UTC) FILETIME=[1D962390:01C436F6]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4B1LUtH014052
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Hi Kurt,

I disagree with this because you have changed the control semantics from:

- If you recognise this control you must honour it

to

- You may choose to ignore this control.

In general, I agree with Jim's remarks. Certain control combinations can be specified in RFCs.

However, where a novel combination of controls is received by a server, I think it would be OK for the server to process it, rather than respond in a technical way with an error result. Note that once you specify the a server MUST respond with an error, there is no way to subsequently legitimise the control choice.

On a personal note, I found the whole discussion of 'defined' very silly. Behaviour is either 'specified' in the usual places, or it remains unspecified. It cannot be 'defined' locally. That simply makes each server self-documenting, in a way.

Ron

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Kurt D. Zeilenga
Sent: Tuesday, 11 May 2004 07:45
To: ietf-ldapbis@OpenLDAP.org
Subject: appropriateness of combination of controls (new suggestion)


I offer the following for WG consideration:

0)  Add to end of the first paragraph of 4.1.11.
 Implementations SHOULD only attach controls which are
 appropriate for the operation (as discussed in applicable
 specifications).

1) Insert new paragraph above the one which starts with
"The controlValue may contain information":

 When considering whether a control is appropriate for the
 operation, the implementation is not only to consider whether the
 control is attached to a message it was intended to be used
 with, but whether the control is being used appropriately
 in combination with other controls (of same or different
 controlType).

 When a server is faced with a sequence
 of controls which are not appropriate for the operation,
 the server may attempt, by ignoring any number of
 non-critical controls (including controls whose criticality
 field is to be ignored as discussed above), a sequence which
 is appropriate for the operation.  If such a sequence is found,
 the server is to make use of it when performing the
 operation.  Otherwise, servers are to fail the operation
 and, and for operations which have a response, indicate so by
 returning unavailableCriticalExtension (if any of the controls
 were marked critical) or protocolError (if the message is
 considered not well structured) or other appropriate result
 code.

 When a client is faced with a sequence of controls which
 are not appropriate for the operation, the client may
 attempt, by ignoring any number of controls, in order
 to make use of the response in its processing.  Alternatively,
 the client may treat the response as not well structured.

2) Remove the existing paragraph which starts with "Controls SHOULD NOT
be combined".

3) Replace as last bullet with:
	- optionally, semantics regarding combination of the
       control with other controls (of same or different
	controlType).  These semantics may rely on ordering
       of the controls in the sequence of controls attached
       to the message.

  It is noted that semantics of a combination of controls
  is generally found in the control specification most
  recently published.  In absence of a specification of
  a control combination semantics, implementors should
  generally regard use of the control in combination
  with other controls  as not appropriate for use in the same
  operation.  In presence of a specification which does not
  detail any order dependent semantics, the implementor is
  to regard the semantics as being independent on the
  order of controls.





From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 22:19:14 2004
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 WAA24153
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 22:19:12 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B2Cc7P016414;
	Tue, 11 May 2004 02:15:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4B29XQa015984;
	Tue, 11 May 2004 02:09:33 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, 11 May 2004 02:09:33 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B29PeM015952;
	Tue, 11 May 2004 02:09:26 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 10 May 2004 20:09:04 -0600
Message-Id: <s09fe160.020@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 10 May 2004 20:08:53 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new
	suggestion)
Mime-Version: 1.0
Content-Type: text/plain; charset=Windows-1256
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4B29QeM015955
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

So now what is being brought up is the definition of 'appropriate'.

I've always had a limited view of what this means * it's either appropriate or not at an operation level. This has caused confusion though (and not just in the face of multiple controls). For example, it was never known whether it was appropriate to send a persistent search control with a search operation which had a size or time limit specified. Servers implemented the behavior in different ways (though I don't think any treat it as inappropriate, and allow a false criticality to cause the control to be ignored).

So Kurt is just saying, "let's define the term appropriate to mean ...". Since the term has never been defined before, I think it's a worthwhile exercise, if it answers the combination of controls question, then it's even better.

If we are going to say that controls can affect the appropriateness of an operation, then I believe any variable of an operation should be allowed to determine whether the attachment of a control is appropriate. Furthermore, it makes sense that if one states that control A is appropriate for operation X, then all variations of operation X are appropriate * one should list the known inappropriate states of an operation's variables, not all permutations of appropriate one. If this is the rule, then clearly we have some control definitions that need to be updated * which is fine.

I think this may lead to different results from Kurt's suggestion. If both controls A and B are appropriate for operation X, then neither can be ignored (or error with unavailableCriticalExtension) due to being inappropriate. But if control B states that it is inappropriate to be used on operation X.A, then it (but not A) can be ignored (if criticality is false). If the specification for B makes a statement regarding the appropriateness of A attached to X.B, it is considered an update to the specification of A.

Jim

>>> "Ramsay, Ron" <Ron.Ramsay@ca.com> 5/10/04 7:20:15 PM >>>
Hi Kurt,

I disagree with this because you have changed the control semantics from:

- If you recognise this control you must honour it

to

- You may choose to ignore this control.

In general, I agree with Jim's remarks. Certain control combinations can be specified in RFCs.

However, where a novel combination of controls is received by a server, I think it would be OK for the server to process it, rather than respond in a technical way with an error result. Note that once you specify the a server MUST respond with an error, there is no way to subsequently legitimise the control choice.

On a personal note, I found the whole discussion of 'defined' very silly. Behaviour is either 'specified' in the usual places, or it remains unspecified. It cannot be 'defined' locally. That simply makes each server self-documenting, in a way.

Ron

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org 
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Kurt D. Zeilenga
Sent: Tuesday, 11 May 2004 07:45
To: ietf-ldapbis@OpenLDAP.org 
Subject: appropriateness of combination of controls (new suggestion)


I offer the following for WG consideration:

0)  Add to end of the first paragraph of 4.1.11.
 Implementations SHOULD only attach controls which are
 appropriate for the operation (as discussed in applicable
 specifications).

1) Insert new paragraph above the one which starts with
"The controlValue may contain information":

 When considering whether a control is appropriate for the
 operation, the implementation is not only to consider whether the
 control is attached to a message it was intended to be used
 with, but whether the control is being used appropriately
 in combination with other controls (of same or different
 controlType).

 When a server is faced with a sequence
 of controls which are not appropriate for the operation,
 the server may attempt, by ignoring any number of
 non-critical controls (including controls whose criticality
 field is to be ignored as discussed above), a sequence which
 is appropriate for the operation.  If such a sequence is found,
 the server is to make use of it when performing the
 operation.  Otherwise, servers are to fail the operation
 and, and for operations which have a response, indicate so by
 returning unavailableCriticalExtension (if any of the controls
 were marked critical) or protocolError (if the message is
 considered not well structured) or other appropriate result
 code.

 When a client is faced with a sequence of controls which
 are not appropriate for the operation, the client may
 attempt, by ignoring any number of controls, in order
 to make use of the response in its processing.  Alternatively,
 the client may treat the response as not well structured.

2) Remove the existing paragraph which starts with "Controls SHOULD NOT
be combined".

3) Replace as last bullet with:
	- optionally, semantics regarding combination of the
       control with other controls (of same or different
	controlType).  These semantics may rely on ordering
       of the controls in the sequence of controls attached
       to the message.

  It is noted that semantics of a combination of controls
  is generally found in the control specification most
  recently published.  In absence of a specification of
  a control combination semantics, implementors should
  generally regard use of the control in combination
  with other controls  as not appropriate for use in the same
  operation.  In presence of a specification which does not
  detail any order dependent semantics, the implementor is
  to regard the semantics as being independent on the
  order of controls.






From owner-ietf-ldapbis@OpenLDAP.org  Mon May 10 23:19:34 2004
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 XAA27285
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 May 2004 23:19:33 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B3Chp2021460;
	Tue, 11 May 2004 03:15:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4B3BGnJ021412;
	Tue, 11 May 2004 03:11:16 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, 11 May 2004 03:11:16 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B3BC32021401
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 May 2004 03:11:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4B3AlnC063475;
	Tue, 11 May 2004 03:10:47 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040510182916.05210888@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 10 May 2004 20:10:39 -0700
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new suggestion)
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <1395B4B334FCC143B36AF788E68B6381015690E4@ausyms21.ca.com>
References: <1395B4B334FCC143B36AF788E68B6381015690E4@ausyms21.ca.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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:20 PM 5/10/2004, Ramsay, Ron wrote:
>I disagree with this because you have changed the control semantics from:

I argue that I am only clarifying what "appropriate to
the operation" means, a phrase which wasn't well defined
in RFC 2251.

>- If you recognise this control you must honour it

RFC 2251 actually said "recognized and appropriate for the
operation" and directed the server to ignore non-critical
extensions which were not appropriate for the operation.

>to
>- You may choose to ignore this control.

Based upon whether the control is appropriate or not.   But if
it is appropriate, then server must "make use" of the control.

The issue comes down to "what did RFC 2251 mean when it
said 'appropriate to the operation'?".

I agree that 'appropriate' did not mean "server is willing to
perform" (as we've discussed on this list previously).  But I
disagree that 'appropriate' was simply a question of whether
the control was specified for use with the message it was
attached to.  I argue that 'appropriate' also encompasses
whether the control is used in a combination specified for
use with the operation.

That is, "appropriate to the operation" means more than
merely "attached to an appropriate message".  The server
has to consider how the control is used in total, not
just itself.

I believe this is precisely how server implementors have
interpreted RFC 2251.  I would be interested to hear if
anyone has knowledge of a server returning an error for
a request which contains a pair of mutually exclusive,
but otherwise appropriate, controls.  VLV+PagedResults,
LCUP+PersistentSearch, LCUP+LDAPSync, ...  If they do
return an error, which error do they return.  And how do
they distinguish use that code from its normal meaning.

>In general, I agree with Jim's remarks. Certain control combinations can be specified in RFCs.

Cannot controls and combinations of controls be specified
privately?

>However, where a novel combination of controls is received by a server, I think it would be OK for the server to process it, rather than respond in a technical way with an error result.

If the server is able to "make use" of the combination,
the I'd argue that the server must have recognized each
control and believed not only the individual controls
were appropriately attached to the message, but believed
that the combination of controls was appropriate for the
operation.

I find it odd however that you suggest that while one server
can perform X+A+B, but that another server cannot perform X+A
(finding that X+A+B is not appropriate for the operation)
simply because it happens to recognize and find appropriate
X+B (or vice-versa).  While a server which recognized only
X+A or only X+B could process that.

>Note that once you specify the a server MUST respond with an error, there is no way to subsequently legitimise the control choice.

My current suggestion doesn't mandate an error response.

>On a personal note, I found the whole discussion of 'defined' very silly. Behaviour is either 'specified' in the usual places, or it remains unspecified.  It cannot be 'defined' locally. That simply makes each server self-documenting, in a way.

I didn't mean to imply the semantics could be locally defined,
but that they can be privately defined.  While a private control
may be defined in terms of an implementation (e.g., "The semantics
of the X control are as implemented in server Y."), but that's
quite different from saying the defined locally (e.g., "The
semantics of the X control are local to the implementation").

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 00:49:40 2004
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 AAA01282
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 00:49:40 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B4govI023918;
	Tue, 11 May 2004 04:45:30 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4B4axsT023765;
	Tue, 11 May 2004 04:36: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); Tue, 11 May 2004 04:36:59 +0000
Received: from ausyms50.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B4aqHF023729;
	Tue, 11 May 2004 04:36:55 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Tue, 11 May 2004 14:36:31 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: appropriateness of combination of controls (new suggestion)
Date: Tue, 11 May 2004 14:36:31 +1000
Message-ID: <1395B4B334FCC143B36AF788E68B63810156945B@ausyms21.ca.com>
Thread-Topic: appropriateness of combination of controls (new suggestion)
Thread-Index: AcQ3BaBYricdtwtuQzOj/uNpvNs9JAACxt6Q
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 11 May 2004 04:36:31.0778 (UTC) FILETIME=[8887A820:01C43711]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4B4atHF023735
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

1. I think "appropriate to the operation" is pretty clear. To imply appropriate the the operation as modified by controls, you would have to say just that?

I can't understand

"I find it odd however that you suggest that while one server
can perform X+A+B, but that another server cannot perform X+A
(finding that X+A+B is not appropriate for the operation)
simply because it happens to recognize and find appropriate
X+B (or vice-versa).  While a server which recognized only
X+A or only X+B could process that."

- did I say that??

It is certainly clear that different servers will give different results, unless all controls are marked critical. Fact.

"Cannot controls and combinations of controls be specified
privately?"

What ACTUALLY does "specified" mean here? You can certainly use private controls provately, but this is not an issue for the IETF. Once you "specify" a control, presumably it is no longer private? Or do you mean one scratches a meaning on a table napkin?

Ron

-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Sent: Tuesday, 11 May 2004 13:11
To: Ramsay, Ron
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: appropriateness of combination of controls (new suggestion)


At 06:20 PM 5/10/2004, Ramsay, Ron wrote:
>I disagree with this because you have changed the control semantics from:

I argue that I am only clarifying what "appropriate to
the operation" means, a phrase which wasn't well defined
in RFC 2251.

>- If you recognise this control you must honour it

RFC 2251 actually said "recognized and appropriate for the
operation" and directed the server to ignore non-critical
extensions which were not appropriate for the operation.

>to
>- You may choose to ignore this control.

Based upon whether the control is appropriate or not.   But if
it is appropriate, then server must "make use" of the control.

The issue comes down to "what did RFC 2251 mean when it
said 'appropriate to the operation'?".

I agree that 'appropriate' did not mean "server is willing to
perform" (as we've discussed on this list previously).  But I
disagree that 'appropriate' was simply a question of whether
the control was specified for use with the message it was
attached to.  I argue that 'appropriate' also encompasses
whether the control is used in a combination specified for
use with the operation.

That is, "appropriate to the operation" means more than
merely "attached to an appropriate message".  The server
has to consider how the control is used in total, not
just itself.

I believe this is precisely how server implementors have
interpreted RFC 2251.  I would be interested to hear if
anyone has knowledge of a server returning an error for
a request which contains a pair of mutually exclusive,
but otherwise appropriate, controls.  VLV+PagedResults,
LCUP+PersistentSearch, LCUP+LDAPSync, ...  If they do
return an error, which error do they return.  And how do
they distinguish use that code from its normal meaning.

>In general, I agree with Jim's remarks. Certain control combinations can be specified in RFCs.

Cannot controls and combinations of controls be specified
privately?

>However, where a novel combination of controls is received by a server, I think it would be OK for the server to process it, rather than respond in a technical way with an error result.

If the server is able to "make use" of the combination,
the I'd argue that the server must have recognized each
control and believed not only the individual controls
were appropriately attached to the message, but believed
that the combination of controls was appropriate for the
operation.

I find it odd however that you suggest that while one server
can perform X+A+B, but that another server cannot perform X+A
(finding that X+A+B is not appropriate for the operation)
simply because it happens to recognize and find appropriate
X+B (or vice-versa).  While a server which recognized only
X+A or only X+B could process that.

>Note that once you specify the a server MUST respond with an error, there is no way to subsequently legitimise the control choice.

My current suggestion doesn't mandate an error response.

>On a personal note, I found the whole discussion of 'defined' very silly. Behaviour is either 'specified' in the usual places, or it remains unspecified.  It cannot be 'defined' locally. That simply makes each server self-documenting, in a way.

I didn't mean to imply the semantics could be locally defined,
but that they can be privately defined.  While a private control
may be defined in terms of an implementation (e.g., "The semantics
of the X control are as implemented in server Y."), but that's
quite different from saying the defined locally (e.g., "The
semantics of the X control are local to the implementation").

Kurt 





From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 01:55:05 2004
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 BAA03741
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 01:55:04 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B5mmiD027189;
	Tue, 11 May 2004 05:51:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4B5kR6X027141;
	Tue, 11 May 2004 05:46:27 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, 11 May 2004 05:46:27 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4B5kMhB027131
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 May 2004 05:46:23 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4B5k0nC064309;
	Tue, 11 May 2004 05:46:00 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040510221433.05343240@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 10 May 2004 22:45:13 -0700
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new suggestion)
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <1395B4B334FCC143B36AF788E68B63810156945B@ausyms21.ca.com>
References: <1395B4B334FCC143B36AF788E68B63810156945B@ausyms21.ca.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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:36 PM 5/10/2004, Ramsay, Ron wrote:
>1. I think "appropriate to the operation" is pretty clear.

This discussion is evidence to the contrary.

>To imply appropriate the the operation as modified by controls, you would have to say just that?

I suggest you offer specific text for WG consideration.

>I can't understand
>
>"I find it odd however that you suggest that while one server
>can perform X+A+B, but that another server cannot perform X+A
>(finding that X+A+B is not appropriate for the operation)
>simply because it happens to recognize and find appropriate
>X+B (or vice-versa).  While a server which recognized only
>X+A or only X+B could process that."
>
>- did I say that??

You imlied this when you said "If you recognise this control
you must honour it".

>It is certainly clear that different servers will give different results, unless all controls are marked critical. Fact.

Just a nit: but different servers clearly give different
results even when all controls are marked critical.  I
assume you mean to say that different servers may perform
different operations unless all controls are marked
critical.

>"Cannot controls and combinations of controls be specified
>privately?"
>
>What ACTUALLY does "specified" mean here?

Dictionary definition:
  clearly and explicitly stated

>You can certainly use private controls provately, but this is not an issue for the IETF.

Specification of private control is a private matter, but the
ability to support to support private extensions is an issue
for the IETF.

Whether a specification is privately or openly specified is
not particularly relevant to the question of whether a
control (or combination of controls) is "recognized and
appropriate for the operation".

>Once you "specify" a control, presumably it is no longer private?

No.  Once you "specify" a control, a specification for the
control exists.  Private reflects upon the availability of
that specification, not its existence.

>Or do you mean one scratches a meaning on a table napkin?

If the scratches clearly and explicitly state the meaning,
then that napkin holds a specification of that meaning.

Kurt


>-----Original Message-----
>From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
>Sent: Tuesday, 11 May 2004 13:11
>To: Ramsay, Ron
>Cc: ietf-ldapbis@OpenLDAP.org
>Subject: RE: appropriateness of combination of controls (new suggestion)
>
>
>At 06:20 PM 5/10/2004, Ramsay, Ron wrote:
>>I disagree with this because you have changed the control semantics from:
>
>I argue that I am only clarifying what "appropriate to
>the operation" means, a phrase which wasn't well defined
>in RFC 2251.
>
>>- If you recognise this control you must honour it
>
>RFC 2251 actually said "recognized and appropriate for the
>operation" and directed the server to ignore non-critical
>extensions which were not appropriate for the operation.
>
>>to
>>- You may choose to ignore this control.
>
>Based upon whether the control is appropriate or not.   But if
>it is appropriate, then server must "make use" of the control.
>
>The issue comes down to "what did RFC 2251 mean when it
>said 'appropriate to the operation'?".
>
>I agree that 'appropriate' did not mean "server is willing to
>perform" (as we've discussed on this list previously).  But I
>disagree that 'appropriate' was simply a question of whether
>the control was specified for use with the message it was
>attached to.  I argue that 'appropriate' also encompasses
>whether the control is used in a combination specified for
>use with the operation.
>
>That is, "appropriate to the operation" means more than
>merely "attached to an appropriate message".  The server
>has to consider how the control is used in total, not
>just itself.
>
>I believe this is precisely how server implementors have
>interpreted RFC 2251.  I would be interested to hear if
>anyone has knowledge of a server returning an error for
>a request which contains a pair of mutually exclusive,
>but otherwise appropriate, controls.  VLV+PagedResults,
>LCUP+PersistentSearch, LCUP+LDAPSync, ...  If they do
>return an error, which error do they return.  And how do
>they distinguish use that code from its normal meaning.
>
>>In general, I agree with Jim's remarks. Certain control combinations can be specified in RFCs.
>
>Cannot controls and combinations of controls be specified
>privately?
>
>>However, where a novel combination of controls is received by a server, I think it would be OK for the server to process it, rather than respond in a technical way with an error result.
>
>If the server is able to "make use" of the combination,
>the I'd argue that the server must have recognized each
>control and believed not only the individual controls
>were appropriately attached to the message, but believed
>that the combination of controls was appropriate for the
>operation.
>
>I find it odd however that you suggest that while one server
>can perform X+A+B, but that another server cannot perform X+A
>(finding that X+A+B is not appropriate for the operation)
>simply because it happens to recognize and find appropriate
>X+B (or vice-versa).  While a server which recognized only
>X+A or only X+B could process that.
>
>>Note that once you specify the a server MUST respond with an error, there is no way to subsequently legitimise the control choice.
>
>My current suggestion doesn't mandate an error response.
>
>>On a personal note, I found the whole discussion of 'defined' very silly. Behaviour is either 'specified' in the usual places, or it remains unspecified.  It cannot be 'defined' locally. That simply makes each server self-documenting, in a way.
>
>I didn't mean to imply the semantics could be locally defined,
>but that they can be privately defined.  While a private control
>may be defined in terms of an implementation (e.g., "The semantics
>of the X control are as implemented in server Y."), but that's
>quite different from saying the defined locally (e.g., "The
>semantics of the X control are local to the implementation").
>
>Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 10:49:34 2004
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 KAA00928
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 10:49:33 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BEOZSZ085458;
	Tue, 11 May 2004 14:45:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4BEM0Hd085088;
	Tue, 11 May 2004 14:22: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); Tue, 11 May 2004 14:22:00 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BELbng085003;
	Tue, 11 May 2004 14:21:47 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 11 May 2004 08:21:17 -0600
Message-Id: <s0a08cfd.070@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Tue, 11 May 2004 08:21:00 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Ron.Ramsay@ca.com>, <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new
	suggestion)
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> "Ramsay, Ron" <Ron.Ramsay@ca.com> 5/10/04 10:36:31 PM >>>
>1. I think "appropriate to the operation" is pretty clear. To imply
appropriate the the operation as modified by controls, you would have to
say just that?

I don't think it's very clear. Or if it is, it's not sufficient. 

I think it's valid to say that a sorted search is different enough from
a non-sorted search, that one is appropriate for some control and
another is not. I also think the same thing for a search which is really
only a read, a timed search, a sized search, a search where aliases are
being dereferenced, etc.

I don't think it's a good idea to move LDAP to draft standard without
being clear on what it means for an operation to be appropriate, and I
also don't think it's good to limit the definition to the coarse level
of an operation.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 10:50:06 2004
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 KAA01002
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 10:50:06 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BEUaiH086244;
	Tue, 11 May 2004 14:46:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4BETVrB086091;
	Tue, 11 May 2004 14:29:31 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, 11 May 2004 14:29:31 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BETFQi086024;
	Tue, 11 May 2004 14:29:17 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BNYFo-0005OT-10; Tue, 11 May 2004 16:29:08 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BNYBc-0007G4-Ja; Tue, 11 May 2004 16:24:48 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BNYBc-0003te-00; Tue, 11 May 2004 16:24:48 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040511jv6e@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, ietf-ldapbis@OpenLDAP.org
Subject: RE: appropriateness of combination of controls (new suggestion)
In-Reply-To: <6.0.1.1.0.20040510221433.05343240@127.0.0.1>
References: <1395B4B334FCC143B36AF788E68B63810156945B@ausyms21.ca.com>
	<6.0.1.1.0.20040510221433.05343240@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 11 May 2004 16:24:48 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> At 09:36 PM 5/10/2004, Ramsay, Ron wrote:
>> 1. I think "appropriate to the operation" is pretty clear.
>> To imply appropriate the the operation as modified by controls, you
>> would have to say just that?

Actually, it's "the operation as modified by the controls picked by the
server (from the controls in the LDAPMessage)".  That does look rather
different from the two interpretations of rfc2251 which seem most
obvious to me: the LDAPMessage without controls, or the LDAPMessage with
all its controls.  Though I don't mind the change, if it is a change.

>> "Cannot controls and combinations of controls be specified
>> privately?"
>> 
>> What ACTUALLY does "specified" mean here?
> 
> Dictionary definition:
>   clearly and explicitly stated

As I've mentioned several times in this discussion, the point is:
Specified (or previously, defined/documented) by what?  By the control
specs, or also by the implementation (when the control specs say
nothing about the combination)?

> Whether a specification is privately or openly specified is
> not particularly relevant to the question of whether a
> control (or combination of controls) is "recognized and
> appropriate for the operation".

If you mean that an implementation may privately define a control
combination as being appropriate when their control specs say nothing
about the combination, that's good (but see below).  But it is not the
natural way to interpret the wording you offered, so implementors who
want to do this may believe they are not allowed to, and client
implementors may trust servers to obey the "wrong" interpretation.
Why do you keep insisting on ambiguous or even misleading wordings
about this?  I've offered several suggestions of how to clarify.

On the other hand, with this interpretation, any recommendation to
return a failure for bad control combinations effectively disappears.
I thought that was a major point of what prompted this discussion.

>> -----Original Message-----
>> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]

>>> On a personal note, I found the whole discussion of 'defined' very
>>> silly. Behaviour is either 'specified' in the usual places, or it
>>> remains unspecified.  It cannot be 'defined' locally. That simply
>>> makes each server self-documenting, in a way.
>> 
>> I didn't mean to imply the semantics could be locally defined,
>> but that they can be privately defined.  While a private control
>> may be defined in terms of an implementation (e.g., "The semantics
>> of the X control are as implemented in server Y."), but that's
>> quite different from saying the defined locally (e.g., "The
>> semantics of the X control are local to the implementation").

That was not about private controls, but about local - or private -
definitions of control combinations that the control specs leave
undefined.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 14:05:45 2004
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 OAA12967
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 14:05:45 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BHmp5o010990;
	Tue, 11 May 2004 18:04:51 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4BHjNEb010731;
	Tue, 11 May 2004 17:45:23 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, 11 May 2004 17:45:23 +0000
Received: from cantor.openldap.org (root@cantor.openldap.org [204.152.186.52])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BHj6rR010637
	for <ietf-ldapbis@mail.OpenLDAP.org>; Tue, 11 May 2004 17:45:18 GMT
	(envelope-from Kurt@openldap.org)
Received: from pretender.boolean.net (root@foobarlabs-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::797] (may be forged))
	by cantor.openldap.org (8.12.11/8.12.11) with ESMTP id i4BGDYHj081481
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 May 2004 16:13:35 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4BGCBnC067777;
	Tue, 11 May 2004 16:12:11 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040511073721.02cbb198@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 11 May 2004 09:12:02 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new suggestion)
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040511jv6e@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810156945B@ausyms21.ca.com>
 <6.0.1.1.0.20040510221433.05343240@127.0.0.1>
 <HBF.20040511jv6e@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:24 AM 5/11/2004, Hallvard B Furuseth wrote:
>> Dictionary definition:
>>   clearly and explicitly stated
>
>As I've mentioned several times in this discussion, the point is:
>Specified (or previously, defined/documented) by what?

Answer: by a specification.  (This answer is purposely circular.)
And as I responded, I don't see how it matters to this text
what form the specification takes.

To the server making the appropriate determination, what matters
is the knowledge of appropriateness of controls and combination
of controls for operations.  While certainly the developer might
care what, why, where, who questions about specifications in
determining whether to implement a particular specification,
once the developer chooses to implement that specification,
the developer then codes the server with the knowledge of
appropriateness that specifications indicates the server
should have.  The server should then act on that knowledge as
described in the text.

>By the control specs, or also by the implementation (when the
>control specs say nothing about the combination)?

Well, the latter can be viewed as implied that the specification
is a local matter and, I as I noted before, that not my intent.

I would say the former.  But note that I do not equate
"specification" with "document" (and, in particular, with RFC).
The "specification" may be organized as multiple documents, or
as I indicated in response to Ron, might be made on the back of
a napkin, or stated in wide variety of other mediums.

>> Whether a specification is privately or openly specified is
>> not particularly relevant to the question of whether a
>> control (or combination of controls) is "recognized and
>> appropriate for the operation".
>
>If you mean that an implementation may privately define a control
>combination as being appropriate when their control specs say nothing
>about the combination, that's good (but see below).

Privately, not locally.  The distinct is that locally implies that
the client is unaware of the server's semantic, privately implies
that the client and server have a private agreement of the semantic...
and that implies that a specification of those semantics exists.

If we assume that the semantics of the combination of two controls
could be specified independently of two control specifications, then
certainly it would be possible for the specification of those
semantics could be private (even though one or both of the control
specifications weren't).  Even if we explicitly state semantics
of combinations are part of the specifications of the controls
involved, some one could privately extend those specifications.

That is, no matter how you word it, implementors can play word games.

Our goal should be produce a wording that doesn't require
word games to do generally acceptable things, and is reasonable
clear that word games are being played when unacceptable things
are done.  That's easier said than done.

>But it is not the natural way to interpret the wording you offered, so implementors who want to do this may believe they are not allowed to, and client
>implementors may trust servers to obey the "wrong" interpretation.

Well, the wording is intended to discourage local semantics,
but encourage (privately or openly) specified semantics.

>Why do you keep insisting on ambiguous or even misleading wordings
>about this?  I've offered several suggestions of how to clarify.

In my mind, I suggesting language which I believe is not ambiguous
and not misleading.  And I find your suggestions to be a bit
confused.

>On the other hand, with this interpretation, any recommendation to
>return a failure for bad control combinations effectively disappears.
>I thought that was a major point of what prompted this discussion.

That might have been what prompted the discussion.  I am about to
post a message in response to Jim's comment which highlights some
of the problems with recommending (or mandating) return of failures
in such cases.


>>> -----Original Message-----
>>> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
>
>>>> On a personal note, I found the whole discussion of 'defined' very
>>>> silly. Behaviour is either 'specified' in the usual places, or it
>>>> remains unspecified.  It cannot be 'defined' locally. That simply
>>>> makes each server self-documenting, in a way.
>>> 
>>> I didn't mean to imply the semantics could be locally defined,
>>> but that they can be privately defined.  While a private control
>>> may be defined in terms of an implementation (e.g., "The semantics
>>> of the X control are as implemented in server Y."), but that's
>>> quite different from saying the defined locally (e.g., "The
>>> semantics of the X control are local to the implementation").
>
>That was not about private controls, but about local - or private -
>definitions of control combinations that the control specs leave
>undefined.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 14:05:46 2004
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 OAA12985
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 14:05:46 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BHsaA8011422;
	Tue, 11 May 2004 18:04:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4BHjNYQ010721;
	Tue, 11 May 2004 17:45:23 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, 11 May 2004 17:45:22 +0000
Received: from cantor.openldap.org (root@cantor.openldap.org [204.152.186.52])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BHj6rJ010637
	for <ietf-ldapbis@mail.OpenLDAP.org>; Tue, 11 May 2004 17:45:17 GMT
	(envelope-from Kurt@openldap.org)
Received: from pretender.boolean.net (root@foobarlabs-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::797] (may be forged))
	by cantor.openldap.org (8.12.11/8.12.11) with ESMTP id i4BGLC6i081503
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 May 2004 16:21:12 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4BGJfnC067844;
	Tue, 11 May 2004 16:19:41 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040510201635.05202698@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 11 May 2004 09:19:32 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new suggestion)
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s09fe160.020@sinclair.provo.novell.com>
References: <s09fe160.020@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:08 PM 5/10/2004, Jim Sermersheim wrote:
>So now what is being brought up is the definition of 'appropriate'.

I define "appropriate" here to mean that the semantics of
the operation, as extended by the controls, are understood
(presumably both client and server).  I do not define
"appropriate" to mean that the implementation is willing
and able to perform the operation.

My view on this is that when you have X+A+B, the operation
should be either treated as:
        X extended by A, extended by B,
or:
        X extended by B, extended by A,

and not:
        X extended by A and B.

The former treatment leads to processing consistent with
the client requested (assuming A and B are not critical)
either X+A+B, X+A, X+B, or X is to be performed.  One
of my primary reasons for support this treatment is that
it is consistent with how I believe existing servers
behave.  (Again, I'd very much like to hear from those
with knowledge of servers that behave differently).

The latter approach leads to error which is not easily
recovered from.  If the server doesn't recognize X+A+B,
but does recognize X+A and X+B, the server is forced to
return an error even though server is quite capable of
performing X+A, X+B, or  X.   The error is not easily
recovered from because there is no particular result code
that indicates the nature of this failure.  Hence, the
client cannot realistic be expected to know if it should
reissue the operation less one controls (or both), or
view the server as not being able to perform the
operation as generally indicated whatever error code was
returned.  I am not aware of any servers which
behaves this way.

A few additional comments below:

>I've always had a limited view of what this means * it's either appropriate or not at an operation level.

I view it at the semantic level versus the processing level.
That is, if the server is able to understands the use of
the control, then it is appropriate regardless of whether
the user is willing and able to perform the operation as
understood.

>This has caused confusion though (and not just in the face of multiple controls). For example, it was never known whether it was appropriate to send a persistent search control with a search operation which had a size or time limit specified.

Since the decision is made in the context of a particular
implementation, ambiguity of the control specification does
enter into 'appropriateness' decision.  The decision is
made based upon the servers understanding of the specifications,
as imparted by the developer.  That said, assume that the
specification explicitly stated it when the control was attached,
the size/time limits should be unlimited.  If the client violates
this, I'd argue that this is an error that would commonly be
detected while performing of the operation (as oppose to
determining what operation to perform).

>Servers implemented the behavior in different ways (though I don't think any treat it as inappropriate, and allow a false criticality to cause the control to be ignored).

Right, they treat it as an error detected while performing
the operation.

>So Kurt is just saying, "let's define the term appropriate to mean ...". Since the term has never been defined before, I think it's a worthwhile exercise, if it answers the combination of controls question, then it's even better.
>
>If we are going to say that controls can affect the appropriateness of an operation, then I believe any variable of an operation should be allowed to determine whether the attachment of a control is appropriate.

By variable, I presume you mean protocol field.  If you meant
factor instead, then I would strongly disagree.  With any protocol
field, my concern is that any protocol field might overly complicate
server determination of appropriateness.  I would prefer to
limit determination to consideration of protocolOp and controlTypes.

>Furthermore, it makes sense that if one states that control A is appropriate for operation X, then all variations of operation X are appropriate * one should list the known inappropriate states of an operation's variables, not all permutations of appropriate one. If this is the rule, then clearly we have some control definitions that need to be updated * which is fine.

I would rather treat these controls as appropriate for the
operation, but that the operation is not well formed...
which is what I believe current implementations do.

>I think this may lead to different results from Kurt's suggestion.

I think whatever clarification we make has to lead to
specification which most (if not all) existing implementations
are consistent with.

>If both controls A and B are appropriate for operation X, then neither can be ignored (or error with unavailableCriticalExtension) due to being inappropriate. But if control B states that it is inappropriate to be used on operation X.A, then it (but not A) can be ignored (if criticality is false).  If the specification for B makes a statement regarding the appropriateness of A attached to X.B, it is considered an update to the specification of A.

It would be better to say that this statement is part of
specification of A.  In determination of appropriateness of A,
organization of the specification of A is irrelevant.


>Jim
>
>>>> "Ramsay, Ron" <Ron.Ramsay@ca.com> 5/10/04 7:20:15 PM >>>
>Hi Kurt,
>
>I disagree with this because you have changed the control semantics from:
>
>- If you recognise this control you must honour it
>
>to
>
>- You may choose to ignore this control.
>
>In general, I agree with Jim's remarks. Certain control combinations can be specified in RFCs.
>
>However, where a novel combination of controls is received by a server, I think it would be OK for the server to process it, rather than respond in a technical way with an error result. Note that once you specify the a server MUST respond with an error, there is no way to subsequently legitimise the control choice.
>
>On a personal note, I found the whole discussion of 'defined' very silly. Behaviour is either 'specified' in the usual places, or it remains unspecified. It cannot be 'defined' locally. That simply makes each server self-documenting, in a way.
>
>Ron
>
>-----Original Message-----
>From: owner-ietf-ldapbis@OpenLDAP.org 
>[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Kurt D. Zeilenga
>Sent: Tuesday, 11 May 2004 07:45
>To: ietf-ldapbis@OpenLDAP.org 
>Subject: appropriateness of combination of controls (new suggestion)
>
>
>I offer the following for WG consideration:
>
>0)  Add to end of the first paragraph of 4.1.11.
> Implementations SHOULD only attach controls which are
> appropriate for the operation (as discussed in applicable
> specifications).
>
>1) Insert new paragraph above the one which starts with
>"The controlValue may contain information":
>
> When considering whether a control is appropriate for the
> operation, the implementation is not only to consider whether the
> control is attached to a message it was intended to be used
> with, but whether the control is being used appropriately
> in combination with other controls (of same or different
> controlType).
>
> When a server is faced with a sequence
> of controls which are not appropriate for the operation,
> the server may attempt, by ignoring any number of
> non-critical controls (including controls whose criticality
> field is to be ignored as discussed above), a sequence which
> is appropriate for the operation.  If such a sequence is found,
> the server is to make use of it when performing the
> operation.  Otherwise, servers are to fail the operation
> and, and for operations which have a response, indicate so by
> returning unavailableCriticalExtension (if any of the controls
> were marked critical) or protocolError (if the message is
> considered not well structured) or other appropriate result
> code.
>
> When a client is faced with a sequence of controls which
> are not appropriate for the operation, the client may
> attempt, by ignoring any number of controls, in order
> to make use of the response in its processing.  Alternatively,
> the client may treat the response as not well structured.
>
>2) Remove the existing paragraph which starts with "Controls SHOULD NOT
>be combined".
>
>3) Replace as last bullet with:
>        - optionally, semantics regarding combination of the
>       control with other controls (of same or different
>        controlType).  These semantics may rely on ordering
>       of the controls in the sequence of controls attached
>       to the message.
>
>  It is noted that semantics of a combination of controls
>  is generally found in the control specification most
>  recently published.  In absence of a specification of
>  a control combination semantics, implementors should
>  generally regard use of the control in combination
>  with other controls  as not appropriate for use in the same
>  operation.  In presence of a specification which does not
>  detail any order dependent semantics, the implementor is
>  to regard the semantics as being independent on the
>  order of controls.



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 17:29:27 2004
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 RAA27157
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 17:29:27 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BLPOZc034495;
	Tue, 11 May 2004 21:26:58 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4BLK038034033;
	Tue, 11 May 2004 21:20: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); Tue, 11 May 2004 21:20:00 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4BLJu6J033987;
	Tue, 11 May 2004 21:19:57 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 11 May 2004 15:19:36 -0600
Message-Id: <s0a0ef08.099@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Tue, 11 May 2004 15:19:18 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new
	suggestion)
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/11/04 10:19:32 AM >>>
<snip>

>By variable, I presume you mean protocol field.  

Yes, I'm saying an LDAP operation is made up of all of the fields in
the LDAPMessage.

>If you meant
>factor instead, then I would strongly disagree.  With any protocol
>field, my concern is that any protocol field might overly complicate
>server determination of appropriateness.  

I don't think it complicates things any more than the control
specification wishes it to. If the control specification says that
control X is appropriate to be used with any search operation, then
there is no complication. 

It is no more complex to exclude search operations with a critical sort
control, than to exclude search operations with a time limit. 

If LDAP had defined time limit as a control, you would agree that it
may be used to affect the appropriateness of the operation, yet because
it's 'built-in' to the base operation, you argue that it cannot. I
disagree with this.

>I would prefer to
>limit determination to consideration of protocolOp and controlTypes.

I disagree. See above. Furthermore, one immediately questions the
extendedReq and extendedResp protocolOps. It seems extremely limiting to
lump all extendedReq definitions together and say that a control can or
cannot be attached to them all. I hope that wasn't the intent of 2251.

<snip>


From owner-ietf-ldapbis@OpenLDAP.org  Tue May 11 20:53:45 2004
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 UAA10865
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 May 2004 20:53:44 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4C0mxot048998;
	Wed, 12 May 2004 00:50:26 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4C0m7Ww048923;
	Wed, 12 May 2004 00:48:07 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); Wed, 12 May 2004 00:48:07 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4C0m4se048908
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 May 2004 00:48:06 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4C0m3nC070476;
	Wed, 12 May 2004 00:48:03 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040511172125.04864750@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 11 May 2004 17:47:53 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new suggestion)
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s0a0ef08.099@sinclair.provo.novell.com>
References: <s0a0ef08.099@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 02:19 PM 5/11/2004, Jim Sermersheim wrote:
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/11/04 10:19:32 AM >>>
><snip>
>
>>By variable, I presume you mean protocol field.  
>
>Yes, I'm saying an LDAP operation is made up of all of the fields in
>the LDAPMessage.
>
>>If you meant
>>factor instead, then I would strongly disagree.  With any protocol
>>field, my concern is that any protocol field might overly complicate
>>server determination of appropriateness.  
>
>I don't think it complicates things any more than the control
>specification wishes it to. If the control specification says that
>control X is appropriate to be used with any search operation, then
>there is no complication. 
>
>It is no more complex to exclude search operations with a critical sort
>control, than to exclude search operations with a time limit. 

Your example is misleading.  Your change would allow something like:
   This control is approrpiate for search operations of scope
   baseObject and any sizeLimit OR of scope oneLevel and sizeLimit
   of 1 OR scope of subtree and timeLimit of 2.

By allowing appropriate can be based on any field, the appropriateness
check cannot effectively no longer be table driven.   Implementations
instead would have to a custom appropriateness check function for
each control, instead of using a table-driven common appropriateness
check function.

And if you allow that, you might as well allow:
  "This control is appropriate when the sky is blue."

I'm not sure that is necessarily a bad thing, but I do think it beyond
what RFC 2251 intended when it said "appropriate for the operation".

I wonder whether any implementation utilizes custom appropriate
check functions... or are all implementations table driven?

>If LDAP had defined time limit as a control, you would agree that it
>may be used to affect the appropriateness of the operation, yet because
>it's 'built-in' to the base operation, you argue that it cannot. I
>disagree with this.
>
>>I would prefer to
>>limit determination to consideration of protocolOp and controlTypes.
>
>I disagree. See above. Furthermore, one immediately questions the
>extendedReq and extendedResp protocolOps.

An oversight on my part:  protocol operation type, extended request/response
names (where applicable), and control types.

>It seems extremely limiting to
>lump all extendedReq definitions together and say that a control can or
>cannot be attached to them all. I hope that wasn't the intent of 2251.



From owner-ietf-ldapbis@OpenLDAP.org  Wed May 12 08:23:30 2004
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 IAA27685
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 May 2004 08:23:30 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CCIth2098798;
	Wed, 12 May 2004 12:20:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4CCGLFw098695;
	Wed, 12 May 2004 12:16:21 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); Wed, 12 May 2004 12:16:21 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CCF9ev098639;
	Wed, 12 May 2004 12:16:13 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BNsdd-0000gT-KG; Wed, 12 May 2004 14:15:05 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BNsdb-0003OY-7w; Wed, 12 May 2004 14:15:03 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BNsda-00009G-00; Wed, 12 May 2004 14:15:02 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040512yhd3@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, ietf-ldapbis@OpenLDAP.org
Subject: RE: appropriateness of combination of controls (new suggestion)
In-Reply-To: <6.0.1.1.0.20040511073721.02cbb198@127.0.0.1>
References: <1395B4B334FCC143B36AF788E68B63810156945B@ausyms21.ca.com>
	<6.0.1.1.0.20040510221433.05343240@127.0.0.1>
	<HBF.20040511jv6e@bombur.uio.no>
	<6.0.1.1.0.20040511073721.02cbb198@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 12 May 2004 14:15:02 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 07:24 AM 5/11/2004, Hallvard B Furuseth wrote:
>>As I've mentioned several times in this discussion, the point is:
>>Specified (or previously, defined/documented) by what?
> 
> Answer: by a specification.  (This answer is purposely circular.)
> And as I responded, I don't see how it matters to this text
> what form the specification takes.

I didn't mean the _form_ of the spec (if you still mean 'written
vs. something else' with 'form'), though that can come into play too.
Hm.  I seem to have hijacked the question from Ron:-)
Anyway, I meant what I said in the sentence following that question:

>> By the control specs, or also by the implementation (when the
>> control specs say nothing about the combination)?
> 
> Well, the latter can be viewed as implied that the specification
> is a local matter and, I as I noted before, that not my intent.
> 
> I would say the former.

OK, then ignore my complaints about ambiguity in your latest offered
text.

But now we are back to the problem of controls that are quite reasonable
to combine, and which were OK to combine by rfc2251, but no longer may
be combined.  E.g. Sort+SignedOp or Sort+ManageDSAIT.  (Well, the server
can ignore one of them if it is not critical, but it may not implement
the combination.)  I think that's wrong.

Except, a later part of your reply makes me wonder whether or not that's
what you mean anyway, see below.

> But note that I do not equate
> "specification" with "document" (and, in particular, with RFC).
> The "specification" may be organized as multiple documents, or
> as I indicated in response to Ron, might be made on the back of
> a napkin, or stated in wide variety of other mediums.

That's OK with your current meaning.  The "form" of a spec only seems
relevant if [Protocol] says that how the implementation may combine two
controls depends on whether or not there is a spec for the combination,
and that the implementation may specify how to combine two such controls
(whose control specs do not say how to combine them).

>>> Whether a specification is privately or openly specified is
>>> not particularly relevant to the question of whether a
>>> control (or combination of controls) is "recognized and
>>> appropriate for the operation".
>>
>> If you mean that an implementation may privately define a control
>> combination as being appropriate when their control specs say nothing
>> about the combination, that's good (but see below).
> 
> Privately, not locally.  The distinct is that locally implies that
> the client is unaware of the server's semantic, privately implies
> that the client and server have a private agreement of the semantic...
> and that implies that a specification of those semantics exists.
> 
> If we assume that the semantics of the combination of two controls
> could be specified independently of two control specifications, then
> certainly it would be possible for the specification of those
> semantics could be private (even though one or both of the control
> specifications weren't).  Even if we explicitly state semantics
> of combinations are part of the specifications of the controls
> involved, some one could privately extend those specifications.

That's what I want to nail down: Given two preexisting control
specifications, may or may not the implementation (or something else,
for that matter) specify how to combine them - when the two control
specs do not themselves say anything about it?  A moment ago I thought
you meant 'no', but your above text seems to say 'yes'.

I do not want [Protocol] to say that servers should behave differently
depending on whether or not a combination is specified, unless it also
makes clear whether or not the implementation may add such a
specification of the control combination.

> That is, no matter how you word it, implementors can play word games.

Only where the standard makes several interpretations possible, or at
least reasonable.

> Our goal should be produce a wording that doesn't require
> word games to do generally acceptable things, and is reasonable
> clear that word games are being played when unacceptable things
> are done.

Exactly.

> That's easier said than done.

True, but it will be a lot easier if we just _clarify whether or not the
implementation may privately specify how to combine predefined
controls_.

>> But it is not the natural way to interpret the wording you offered,
>> so implementors who want to do this may believe they are not allowed
>> to, and client implementors may trust servers to obey the "wrong"
>> interpretation.
>
> Well, the wording is intended to discourage local semantics,
> but encourage (privately or openly) specified semantics.

That's fine, but irrelevant to my point.

>> Why do you keep insisting on ambiguous or even misleading wordings
>> about this?  I've offered several suggestions of how to clarify.
> 
> In my mind, I suggesting language which I believe is not ambiguous
> and not misleading.

No, it doesn't look ambiguous.  It looks like it means the two control
specifications for two controls are the complete specification of how to
combine them.  It's just that you keep implying that this is not what it
means.  If so, it _is_ ambiguous.

> And I find your suggestions to be a bit confused.

Maybe you confused the 'form' of the specification with whether or not
the implementation may add to previously existing specifications?  Or
maybe because I was confused about what was intended with the wordings I
suggested clarifications for.

>> On the other hand, with this interpretation, any recommendation to
>> return a failure for bad control combinations effectively disappears.
>> I thought that was a major point of what prompted this discussion.
> 
> That might have been what prompted the discussion.  I am about to
> post a message in response to Jim's comment which highlights some
> of the problems with recommending (or mandating) return of failures
> in such cases.

Yet your text - with the most natural interpretation - mandates failure
for 'unspecified' combinations of critical controls, since the
combination must be deemed inappropriate and therefore must fail.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed May 12 09:17:41 2004
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 JAA00760
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 May 2004 09:17:41 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CDCoDf001787;
	Wed, 12 May 2004 13:14:07 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4CD72K9001506;
	Wed, 12 May 2004 13:07:02 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); Wed, 12 May 2004 13:07:02 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CD5jPt001383;
	Wed, 12 May 2004 13:06:52 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BNtQW-0007XJ-CJ; Wed, 12 May 2004 15:05:36 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BNtOY-00049s-VK; Wed, 12 May 2004 15:03:34 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BNtOY-0000GH-00; Wed, 12 May 2004 15:03:34 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040512xo5i@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: appropriateness of combination of controls (new suggestion)
In-Reply-To: <6.0.1.1.0.20040510132955.02c89128@127.0.0.1>
References: <6.0.1.1.0.20040510132955.02c89128@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 12 May 2004 15:03:34 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> I offer the following for WG consideration:
> (...)
>  When a client is faced with a sequence of controls which
>  are not appropriate for the operation, the client may
>  attempt, by ignoring any number of controls, in order
>  to make use of the response in its processing.  Alternatively,
>  the client may treat the response as not well structured.

I've been thinking more about inappropriate response controls, and I
think even that text is too limiting.  Maybe we should say nothing about
them at all.  rfc2251 has no such concept, it only has inappropriate
request controls.

The client should be free to ignore any response control, whether or not
it is appropriate.  It should certainly be free to ignore unsolicited
response controls, and presumably it knows what it wants to do about
solicited response controls.

We could RECOMMEND to not act on ambiguous, unspecified response control
combinations, and to instead ignore one or more of the controls.

If we keep 'inappropriate for the operation', I think that should be
'inappropriate for the response', since an operation can get several
responses.  Also, remember to distinguish between different intermediate
responses as well as different extended responses.  BTW, in this context
it does make a difference whether the 'kind' of IntermediateResponse is
determined only by the responseName or also by information in the
responseValue, as previously discussed about IntermediateResponse.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed May 12 10:07:56 2004
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 KAA06200
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 May 2004 10:07:55 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CDh2Rc003736;
	Wed, 12 May 2004 14:05:07 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4CDfitq003633;
	Wed, 12 May 2004 13:41:44 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); Wed, 12 May 2004 13:41:44 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CDec4B003496
	for <ietf-ldapbis@openldap.org>; Wed, 12 May 2004 13:41:42 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 JAA02566;
	Wed, 12 May 2004 09:40:36 -0400 (EDT)
Message-Id: <200405121340.JAA02566@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-protocol-24.txt
Date: Wed, 12 May 2004 09:40:36 -0400
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-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: The Protocol
	Author(s)	: J. Sermersheim
	Filename	: draft-ietf-ldapbis-protocol-24.txt
	Pages		: 61
	Date		: 2004-5-11
	
This document describes the protocol elements, along with their 
semantics and encodings, for the Lightweight Directory Access 
Protocol (LDAP). LDAP provides access to distributed directory 
services that act in accordance with X.500 data and service models. 
These protocol elements are based on those described in the X.500 
Directory Access Protocol (DAP).

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-protocol-24.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-protocol-24.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-protocol-24.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:	<2004-5-12094147.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-protocol-24.txt

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

Content-Type: text/plain
Content-ID:	<2004-5-12094147.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Wed May 12 11:15:56 2004
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 LAA15957
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 May 2004 11:15:55 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CEsnv8011291;
	Wed, 12 May 2004 15:12:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4CEnmrP010685;
	Wed, 12 May 2004 14:49: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); Wed, 12 May 2004 14:49:48 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CEnbpa010660
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 May 2004 14:49:43 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4CEn7nC075227;
	Wed, 12 May 2004 14:49:07 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040512062455.02c96708@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 12 May 2004 07:48:57 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: appropriateness of combination of controls (new suggestion)
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040512yhd3@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810156945B@ausyms21.ca.com>
 <6.0.1.1.0.20040510221433.05343240@127.0.0.1>
 <HBF.20040511jv6e@bombur.uio.no>
 <6.0.1.1.0.20040511073721.02cbb198@127.0.0.1>
 <HBF.20040512yhd3@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:15 AM 5/12/2004, Hallvard B Furuseth wrote:
>OK, then ignore my complaints about ambiguity in your latest offered
>text.

okay.

>But now we are back to the problem of controls that are quite reasonable
>to combine, and which were OK to combine by rfc2251, but no longer may
>be combined.  E.g. Sort+SignedOp or Sort+ManageDSAIT.  (Well, the server
>can ignore one of them if it is not critical, but it may not implement
>the combination.)  I think that's wrong.

It's proper if the semantics of those combination are not clear to it.
Maybe the developer wasn't able to read between the lines.

>Except, a later part of your reply makes me wonder whether or not that's
>what you mean anyway, see below.

What I tried to do was separate what implementations are to
do when they have knowledge that a combination is inappropriate
from who the implementor should interpret specifications necessary
to code knowledge into the implementation.

The first part of the section is talks about implementations,
the second part talks about making of specifications, and
the last part talks about interpretation of specification.

>> But note that I do not equate
>> "specification" with "document" (and, in particular, with RFC).
>> The "specification" may be organized as multiple documents, or
>> as I indicated in response to Ron, might be made on the back of
>> a napkin, or stated in wide variety of other mediums.
>
>That's OK with your current meaning.  The "form" of a spec only seems
>relevant if [Protocol] says that how the implementation may combine two
>controls depends on whether or not there is a spec for the combination,
>and that the implementation may specify how to combine two such controls
>(whose control specs do not say how to combine them).

What matters to the developer (who has to code the implementation
with knowledge of appropriateness) is whether the semantics are
clear.  To that end, those semantics should be specified (clearly
and explicitly stated).  In some cases, they may not be.  This why
the guidance to the developer is "should generally" instead of
"are to always".

>>>> Whether a specification is privately or openly specified is
>>>> not particularly relevant to the question of whether a
>>>> control (or combination of controls) is "recognized and
>>>> appropriate for the operation".
>>>
>>> If you mean that an implementation may privately define a control
>>> combination as being appropriate when their control specs say nothing
>>> about the combination, that's good (but see below).
>> 
>> Privately, not locally.  The distinct is that locally implies that
>> the client is unaware of the server's semantic, privately implies
>> that the client and server have a private agreement of the semantic...
>> and that implies that a specification of those semantics exists.
>> 
>> If we assume that the semantics of the combination of two controls
>> could be specified independently of two control specifications, then
>> certainly it would be possible for the specification of those
>> semantics could be private (even though one or both of the control
>> specifications weren't).  Even if we explicitly state semantics
>> of combinations are part of the specifications of the controls
>> involved, some one could privately extend those specifications.
>
>That's what I want to nail down: Given two preexisting control
>specifications, may or may not the implementation (or something else,
>for that matter) specify how to combine them - when the two control
>specs do not themselves say anything about it? A moment ago I thought
>you meant 'no', but your above text seems to say 'yes'.

Any person can specify (clearly and explicitly state) what the
semantics are, in either a private or open specification.  Once
a specification of those semantics has been made, developers
may code knowledge of those semantics into implementations and,
hence, implementations can support those semantics.

>I do not want [Protocol] to say that servers should behave differently
>depending on whether or not a combination is specified, unless it also
>makes clear whether or not the implementation may add such a
>specification of the control combination.

I think we need to discourage separate specification of combinations
from the controls involved in those combinations.  The current
text tries to encourages a particular placement.  It certainly
doesn't preclude other placements.

>> That is, no matter how you word it, implementors can play word games.
>
>Only where the standard makes several interpretations possible, or at
>least reasonable.

By 'word games', I presume you mean an unreasonable interpretation.
Unreasonable interpretations are always possible.

>> Our goal should be produce a wording that doesn't require
>> word games to do generally acceptable things, and is reasonable
>> clear that word games are being played when unacceptable things
>> are done.
>
>Exactly.
>
>> That's easier said than done.
>
>True, but it will be a lot easier if we just _clarify whether or not the
>implementation may privately specify how to combine predefined
>controls_.

I could live with (adding a however to my previous suggestion).

  It is noted that semantics of a combination of controls
  is generally found in the control specification most
  recently published, however they could be separately
  specified.

I rather avoid discussion of private v. open specifications.

>>> But it is not the natural way to interpret the wording you offered,
>>> so implementors who want to do this may believe they are not allowed
>>> to, and client implementors may trust servers to obey the "wrong"
>>> interpretation.
>>
>> Well, the wording is intended to discourage local semantics,
>> but encourage (privately or openly) specified semantics.
>
>That's fine, but irrelevant to my point.
>
>>> Why do you keep insisting on ambiguous or even misleading wordings
>>> about this?  I've offered several suggestions of how to clarify.
>> 
>> In my mind, I suggesting language which I believe is not ambiguous
>> and not misleading.
>
>No, it doesn't look ambiguous.  It looks like it means the two control
>specifications for two controls are the complete specification of how to
>combine them.

Guess you missed the word 'generally' used in the text that
describes were a developer can find the specification of the
control combination semantics.

>It's just that you keep implying that this is not what it
>means.

Yes, I mean 'generally' when I said it.

>If so, it _is_ ambiguous.

No, the language I used was not ambiguous as to its meaning.

Yes, I didn't say where all specifications of these kind of
semantics can be found.  I assume it is obvious that they
can be found in the universe of specifications.  As it
should be obvious that all specifications can be found in
the universe of specifications, I don't see any point in
stating that explicitly.

>> And I find your suggestions to be a bit confused.
>
>Maybe you confused the 'form' of the specification with whether or not
>the implementation may add to previously existing specifications?
>Or maybe because I was confused about what was intended with the wordings I
>suggested clarifications for.

I find you use of language that implies an implementation can
create and/or revise a specification to be quite odd.

Humans create and revise specifications of semantics
Humans create and revise implementations of those semantics based
   upon their interpretation of the specifications.

>>> On the other hand, with this interpretation, any recommendation to
>>> return a failure for bad control combinations effectively disappears.
>>> I thought that was a major point of what prompted this discussion.
>> 
>> That might have been what prompted the discussion.  I am about to
>> post a message in response to Jim's comment which highlights some
>> of the problems with recommending (or mandating) return of failures
>> in such cases.
>
>Yet your text - with the most natural interpretation - mandates failure
>for 'unspecified' combinations of critical controls, since the
>combination must be deemed inappropriate and therefore must fail.

If the semantics of the combinations are not specified, how
could a human implement them?  And, if the combination was
implemented, then would not that imply that semantics must
have been specified?

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed May 12 13:05:57 2004
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 NAA26897
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 May 2004 13:05:56 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CH15d1034817;
	Wed, 12 May 2004 17:02:40 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4CGt2e9033664;
	Wed, 12 May 2004 16:55:02 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); Wed, 12 May 2004 16:55:02 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4CGstoe033630
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 May 2004 16:54:56 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4CGstnC076110;
	Wed, 12 May 2004 16:54:55 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040512075447.02c994e0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 12 May 2004 09:54:44 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new suggestion)
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040512xo5i@bombur.uio.no>
References: <6.0.1.1.0.20040510132955.02c89128@127.0.0.1>
 <HBF.20040512xo5i@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:03 AM 5/12/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> I offer the following for WG consideration:
>> (...)
>>  When a client is faced with a sequence of controls which
>>  are not appropriate for the operation, the client may
>>  attempt, by ignoring any number of controls, in order
>>  to make use of the response in its processing.  Alternatively,
>>  the client may treat the response as not well structured.
>
>I've been thinking more about inappropriate response controls, and I
>think even that text is too limiting.  Maybe we should say nothing about
>them at all.  rfc2251 has no such concept, it only has inappropriate
>request controls.
>
>The client should be free to ignore any response control, whether or not
>it is appropriate.

Exactly, re-read the suggested text. It allows any number
(including zero) of response controls to be ignored and,
unlike the text for the server, there is no requirement the
resulting sequence to be "appropriate for the operation".

>It should certainly be free to ignore unsolicited
>response controls, and presumably it knows what it wants to do about
>solicited response controls.

The text applies equally well to unsolicited notifications (as
they are messages belonging to an operation form).

>We could RECOMMEND to not act on ambiguous, unspecified response control
>combinations, and to instead ignore one or more of the controls.

Act in regards to the protocol?  or act outside the protocol?

>If we keep 'inappropriate for the operation', I think that should be
>'inappropriate for the response', since an operation can get several
>responses.

A response is part of the operation.  The control alters the
extends the response in a manner appropriate for the operation.

>Also, remember to distinguish between different intermediate
>responses as well as different extended responses.

Why?  Aren't they all part of some kind of operation?
(Again, I think of unsolicited notifications as being part
of an operation, in particular a request-less operation.) 



From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 00:45:47 2004
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 AAA10047
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 00:45:46 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E4hWA4036517;
	Fri, 14 May 2004 04:44:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4E4e52k036453;
	Fri, 14 May 2004 04:40: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); Fri, 14 May 2004 04:40:05 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E4e0kn036440
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 May 2004 04:40:01 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 13 May 2004 22:39:39 -0600
Message-Id: <s0a3f92b.077@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 May 2004 22:39:18 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Summary of changes in protocol-24
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=__PartA7864E66.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-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.

--=__PartA7864E66.0__=
Content-Type: text/plain; charset=Windows-1256
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Kurt asked me to take time to create a summary of the changes to the most =
recent doc followed by the remaining issues. If you want to skip this (I =
know I do), just continue to pay attention to the substantive changes =
sections at the end of the document.

Changes:

- changed [LIMR] to RFC 3771 and removed associated RFC editor notes =
(editorial)

- changed 'stream' to 'connection' and 'connection' to 'LDAP exchange' =
(editorial)

- updated the control combination instructions which will change again, so =
I'm not going to bother summarizing. (substantive)

- required that clients not send async operations during a bind operation, =
and suggested that servers not process or respond to async messages while =
a bind is in process. (substantive)

- updated the compare operation section as agreed on list (distilled down =
to say that the comparison results in true, false, or an appropriate =
error) (substantive * well not really when compared to 2251)

- updated Appendix C with the three substantive changes listed above in a =
much more readable and friendly way than in this email. (editorial)

- minor editorial changes (punctuation, parenthesis changes, etc.) =
(editorial)


Unresolved Issues:

- control combinations with unknown semantics, or appropriate controls =
(whatever we're calling the discussion these days)

- definition of "outstanding operations" http://www.openldap.org/lists/ietf=
-ldapbis/200405/msg00014.html=20

- review http://www.openldap.org/lists/ietf-ldapbis/200405/msg00021.html=20=


- review a mail from Hallvard (attached)

Jim

p.s. I'm taking a vacation beginning Tuesday April 18th and ending =
Wednesday June 2nd (two weeks). If we reach consensus on any of the above =
issues in the next couple days, I can update and submit, otherwise my next =
submission won't likely be until the second week of June.

--=__PartA7864E66.0__=
Content-Type: message/rfc822

Return-path: <hbf@bombur.uio.no>
Received: from NAXOS.novell.com [130.57.1.13]
	by sinclair.provo.novell.com; Fri, 07 May 2004 14:10:12 -0600
Received: from pat.uio.no (unverified [129.240.130.16]) by NAXOS.novell.com
 (Vircom SMTPRS 3.0.287) with ESMTP id <B0011349992@NAXOS.novell.com> for <jimse@novell.com>;
 Fri, 7 May 2004 14:13:35 -0600
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BMBfT-0004Pp-OD
	for jimse@novell.com; Fri, 07 May 2004 22:09:59 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.30)
	id 1BMBfQ-0008Vg-HU; Fri, 07 May 2004 22:09:56 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BMBfO-0006bZ-00; Fri, 7 May 2004 22:09:54 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040507qtu2@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Subject: protocol-23
Sender: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Date: Fri, 7 May 2004 22:09:54 +0200
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=-5, required 12,
	UIO_MAIL_IS_INTERNAL -5.00)
MIME-Version: 1.0

protocol-23 says:

> 4.14.3. Removal of the TLS Layer

>    Two forms of TLS layer

removal

>    -- graceful and abrupt -- are supported.


> 5. Protocol Encoding, Connection, and Transfer
>
>    This protocol is designed to run over connection-oriented, reliable
>    transports, where the data stream is divided into octets (8-bit
>    units), with each octet being significant.
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This change since protocol-22 goes against message
<http://www.openldap.org/lists/ietf-ldapbis/200404/msg00022.html>:

>From: "Jim Sermersheim" <jimse@novell.com>
>> That all bits in an octet are significant need not be stated; that's
>> what anyone would assume unless the opposite was specified.
>
> One would think so but...
>
> We added this because some implementations are wrongly truncating
> attribute values as they come off the wire, and subsequent client
> complaints spurred many hours of discussion on the topic.

Maybe it should be "with each bit in each octet being significant"?


>    Implementations of LDAP over TCP MUST implement the mapping as
>    described in Section 5.3
                            ^^^
Missing period.


About placement of section 5.1: Did you lose the end of this message, or
do you just disagree?
<http://www.openldap.org/lists/ietf-ldapbis/200403/msg00093.html>
> Message-Id: <HBF.20040313inru@bombur.uio.no>
> From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
> Date: Sat, 13 Mar 2004 12:40:06 +0100
> Subject: Re: protocol-22 comments
>
> (...)
>
>>>> 5.2. Transfer Protocols
> 
>>> I think the rest of
>>> the paragraph belongs in a separate section '5.2.2 Connection Closure
>>> Effects'.
>
> Um... on second thought, it fits better as section 4.2 or 4.15.  This
> text is about which directory operations to perform in a particular
> situation.  The rest of section 5 is about transfer protocols and has
> nothing to do with directory operations.
>
>>>>    Protocol operations are tied to a connection, thus if the
>>>>    connection is closed or dropped, the operation is aborted. When this
>>>>    happens, any outstanding operations on the server are, when possible,
>>>>    abandoned, and when not possible, completed without transmission of
>>>>    the response.

-- 
Hallvard

--=__PartA7864E66.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 01:08:35 2004
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 BAA12241
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 01:08:35 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E56xr4037073;
	Fri, 14 May 2004 05:07:01 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4E565HY037061;
	Fri, 14 May 2004 05:06: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); Fri, 14 May 2004 05:06:04 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E55vgH037008;
	Fri, 14 May 2004 05:05:59 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 13 May 2004 23:05:37 -0600
Message-Id: <s0a3ff41.045@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 May 2004 23:05:13 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new
	suggestion)
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/10/04 3:45:13 PM >>>
>I offer the following for WG consideration:
>
>0)  Add to end of the first paragraph of 4.1.11.
> Implementations SHOULD only attach controls which are
> appropriate for the operation (as discussed in applicable
> specifications).

yes

>1) Insert new paragraph above the one which starts with
>"The controlValue may contain information":
>
> When considering whether a control is appropriate for the
> operation, the implementation is not only to consider whether the
> control is attached to a message it was intended to be used
> with, but whether the control is being used appropriately
> in combination with other controls (of same or different
> controlType).

To me, this goes beyond the general understanding of the wording in
RFC2251, but not so far as to allow operation appropriateness to
consider things that likely should have been controls in the first place
(size & time limits, alias dereferencing). But if no one else in the WG
cares, I'll stop raising the issue.

> When a server is faced with a sequence
> of controls which are not appropriate for the operation,
> the server may attempt, by ignoring any number of
> non-critical controls (including controls whose criticality
> field is to be ignored as discussed above), a sequence which
> is appropriate for the operation.  If such a sequence is found,
> the server is to make use of it when performing the
> operation.  Otherwise, servers are to fail the operation
> and, and for operations which have a response, indicate so by
> returning unavailableCriticalExtension (if any of the controls
> were marked critical) or protocolError (if the message is
> considered not well structured) or other appropriate result
> code.

The statement about protocolError and other appropriate result code is
redundant and not needed here, otherwise, this fits well with the
intended flow started above.

> When a client is faced with a sequence of controls which
> are not appropriate for the operation, the client may
> attempt, by ignoring any number of controls, in order
> to make use of the response in its processing.  Alternatively,
> the client may treat the response as not well structured.

I'm not exactly sure why this is needed, but I also can't see that it
detracts from the specifiecation.

>2) Remove the existing paragraph which starts with "Controls SHOULD
NOT
>be combined".
>
>3) Replace as last bullet with:
>	- optionally, semantics regarding combination of the
>       control with other controls (of same or different
>	controlType).  These semantics may rely on ordering
>       of the controls in the sequence of controls attached
>       to the message.

or how about:
- optionally, semantics regarding the sequencing of this control with
other controls (of same or different controlType)

>  It is noted that semantics of a combination of controls
>  is generally found in the control specification most
>  recently published.

ok

>  In absence of a specification of
>  a control combination semantics, implementors should
>  generally regard use of the control in combination
>  with other controls  as not appropriate for use in the same
>  operation. 

Depending on the popular controls de jour, 'generally' likely does not
reflect reality. For example, clients that combine controls today are
likely only combining controls which work just fine together (e.g.
manageDsaIT + other). It's probably more fitting to /s/should
generaly/may here.

>  In presence of a specification which does not
>  detail any order dependent semantics, the implementor is
>  to regard the semantics as being independent on the
>  order of controls.

yes.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 01:19:55 2004
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 BAA12540
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 01:19:55 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E5J0Rc037485;
	Fri, 14 May 2004 05:19:02 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4E5G3cP037401;
	Fri, 14 May 2004 05:16:03 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, 14 May 2004 05:16:03 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E5G16D037387
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 May 2004 05:16:02 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 13 May 2004 23:15:31 -0600
Message-Id: <s0a40193.017@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 May 2004 23:15:15 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Updating control specifications to add combination semantics
Mime-Version: 1.0
Content-Type: text/plain; charset=Windows-1256
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4E5G36D037391
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

This has been brought up among the discussions of control combinations.

Many (most) existing control specifications don't discuss very well which other controls they may be combined with. One suggestion has been that a third specification could be drafted which defines the semantics of the combination of two existing controls (call them A and B).

I don't like this idea unless the new specification defines new OIDs for the controlTypes of A and B (or defines a third control for the purposes of soliciting the combination of A and B). Otherwise, an implementation supporting A and B created prior to the third specification will behave one way while another implementation (created after the third specification) will behave another way. Both implementations will advertise support for the A and B, yet behave differently.

This discussion probably belongs on the ldapext list * not here, but it seemed important to this particular topic.

Jim




From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 01:32:13 2004
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 BAA13089
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 01:32:13 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E5UwsR037912;
	Fri, 14 May 2004 05:31:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4E5UimH037904;
	Fri, 14 May 2004 05:30:44 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, 14 May 2004 05:30:44 +0000
Received: from ausyms50.ca.com ([155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E5UcQk037861;
	Fri, 14 May 2004 05:30:40 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Fri, 14 May 2004 15:30:21 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: appropriateness of combination of controls (newsuggestion)
Date: Fri, 14 May 2004 15:30:20 +1000
Message-ID: <1395B4B334FCC143B36AF788E68B63810159D631@ausyms21.ca.com>
Thread-Topic: appropriateness of combination of controls (newsuggestion)
Thread-Index: AcQ5cWVgFKxHcDIjQROEm6vlWavnaQAAXXVw
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>,
        <Kurt@OpenLDAP.org>
X-OriginalArrivalTime: 14 May 2004 05:30:21.0298 (UTC) FILETIME=[8CB68D20:01C43974]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4E5UeQk037875
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Hi,

I have a bit of trouble with all this. See <RR> inline.

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Jim Sermersheim
Sent: Friday, 14 May 2004 15:05
To: ietf-ldapbis@OpenLDAP.org; Kurt@OpenLDAP.org
Subject: Re: appropriateness of combination of controls (newsuggestion)


>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/10/04 3:45:13 PM >>>
>I offer the following for WG consideration:
>
>0)  Add to end of the first paragraph of 4.1.11.
> Implementations SHOULD only attach controls which are
> appropriate for the operation (as discussed in applicable
> specifications).

yes

>1) Insert new paragraph above the one which starts with
>"The controlValue may contain information":
>
> When considering whether a control is appropriate for the
> operation, the implementation is not only to consider whether the
> control is attached to a message it was intended to be used
> with, but whether the control is being used appropriately
> in combination with other controls (of same or different
> controlType).

To me, this goes beyond the general understanding of the wording in
RFC2251, but not so far as to allow operation appropriateness to
consider things that likely should have been controls in the first place
(size & time limits, alias dereferencing). But if no one else in the WG
cares, I'll stop raising the issue.

<RR> The statement imposes no requirements so it is of little consequence.

> When a server is faced with a sequence
> of controls which are not appropriate for the operation,
> the server may attempt, by ignoring any number of
> non-critical controls (including controls whose criticality
> field is to be ignored as discussed above), a sequence which
> is appropriate for the operation.  If such a sequence is found,
> the server is to make use of it when performing the
> operation.  Otherwise, servers are to fail the operation
> and, and for operations which have a response, indicate so by
> returning unavailableCriticalExtension (if any of the controls
> were marked critical) or protocolError (if the message is
> considered not well structured) or other appropriate result
> code.

The statement about protocolError and other appropriate result code is
redundant and not needed here, otherwise, this fits well with the
intended flow started above.

<RR> If you are going to allow the server to choose which controls it will honour, then you have broken the rule that ANY control that is recognised, must be performed. This seems like a small step for one man but a giant leap for mankind.

> When a client is faced with a sequence of controls which
> are not appropriate for the operation, the client may
> attempt, by ignoring any number of controls, in order
> to make use of the response in its processing.  Alternatively,
> the client may treat the response as not well structured.

I'm not exactly sure why this is needed, but I also can't see that it
detracts from the specifiecation.

<RR> It doesn't matter what the client does. This issue is just silly.

>2) Remove the existing paragraph which starts with "Controls SHOULD
NOT
>be combined".
>
>3) Replace as last bullet with:
>	- optionally, semantics regarding combination of the
>       control with other controls (of same or different
>	controlType).  These semantics may rely on ordering
>       of the controls in the sequence of controls attached
>       to the message.

or how about:
- optionally, semantics regarding the sequencing of this control with
other controls (of same or different controlType)

>  It is noted that semantics of a combination of controls
>  is generally found in the control specification most
>  recently published.

<RR> What is meant by 'published'? A previous thread rattled on about controls being specified on napkins. Surely having specified a control on a napkin you must now specify how it can be used in conjunction with other controls on a napkin. In fact, on the SAME [RFC 2216] napkin.

ok

>  In absence of a specification of
>  a control combination semantics, implementors should
>  generally regard use of the control in combination
>  with other controls  as not appropriate for use in the same
>  operation. 

Depending on the popular controls de jour, 'generally' likely does not
reflect reality. For example, clients that combine controls today are
likely only combining controls which work just fine together (e.g.
manageDsaIT + other). It's probably more fitting to /s/should
generaly/may here.

<RR> Surely any implementor could write the required semantics on a napkin?

>  In presence of a specification which does not
>  detail any order dependent semantics, the implementor is
>  to regard the semantics as being independent on the
>  order of controls.

yes.

Jim




From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 02:02:35 2004
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 CAA17470
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 02:02:35 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E61JAr038822;
	Fri, 14 May 2004 06:01:26 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4E60tsq038814;
	Fri, 14 May 2004 06:00:55 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, 14 May 2004 06:00:55 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4E60ox5038804
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 May 2004 06:00:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4E60mnC089838;
	Fri, 14 May 2004 06:00:48 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040513221018.02cb8c98@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 13 May 2004 23:00:53 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new suggestion)
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s0a3ff41.045@sinclair.provo.novell.com>
References: <s0a3ff41.045@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:05 PM 5/13/2004, Jim Sermersheim wrote:
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/10/04 3:45:13 PM >>>
>>I offer the following for WG consideration:
>>
>>0)  Add to end of the first paragraph of 4.1.11.
>> Implementations SHOULD only attach controls which are
>> appropriate for the operation (as discussed in applicable
>> specifications).
>
>yes
>
>>1) Insert new paragraph above the one which starts with
>>"The controlValue may contain information":
>>
>> When considering whether a control is appropriate for the
>> operation, the implementation is not only to consider whether the
>> control is attached to a message it was intended to be used
>> with, but whether the control is being used appropriately
>> in combination with other controls (of same or different
>> controlType).
>
>To me, this goes beyond the general understanding of the wording in
>RFC2251, but not so far as to allow operation appropriateness to
>consider things that likely should have been controls in the first place
>(size & time limits, alias dereferencing). But if no one else in the WG
>cares, I'll stop raising the issue.

I think there has been an understanding that "appropriate for the
operation" was a something that was straight forward to determine
and, in particular, didn't involve "performing the operation".
In most existing specifications, that was generally stated in
terms of the kinds of LDAPMessages (by protocoOp and, if appropriate,
request/response name) the control was appropriate for.  In
more recent specifications, specifications also include statements
regarding use with other controls, which implies an appropriateness
for operations extended by these other controls.

Maybe future control specifications will state appropriate in other
terms.  Maybe that's an issue for these specifications to deal with.

I think it important that [protocol] deal more explicitly
with combinations of controls and, in particular, that determining
whether a control is "appropriate for the operation" involves
consideration of what other controls which might be present.

>> When a server is faced with a sequence
>> of controls which are not appropriate for the operation,
>> the server may attempt, by ignoring any number of
>> non-critical controls (including controls whose criticality
>> field is to be ignored as discussed above), a sequence which
>> is appropriate for the operation.  If such a sequence is found,
>> the server is to make use of it when performing the
>> operation.  Otherwise, servers are to fail the operation
>> and, and for operations which have a response, indicate so by
>> returning unavailableCriticalExtension (if any of the controls
>> were marked critical) or protocolError (if the message is
>> considered not well structured) or other appropriate result
>> code.
>
>The statement about protocolError and other appropriate result code is
>redundant and not needed here, otherwise, this fits well with the
>intended flow started above.

I called out the these two codes (unavailableCriticalExtension
and protocolError) as they are to most appropriate to return here.
Most other codes indicate problems found during performing the
operation.  However, I didn't want to restrict servers to just
these two codes.

>> When a client is faced with a sequence of controls which
>> are not appropriate for the operation, the client may
>> attempt, by ignoring any number of controls, in order
>> to make use of the response in its processing.  Alternatively,
>> the client may treat the response as not well structured.
>
>I'm not exactly sure why this is needed, but I also can't see that it
>detracts from the specifiecation.

I added this for completeness.


>>2) Remove the existing paragraph which starts with "Controls SHOULD
>NOT
>>be combined".
>>
>>3) Replace as last bullet with:
>>       - optionally, semantics regarding combination of the
>>       control with other controls (of same or different
>>       controlType).  These semantics may rely on ordering
>>       of the controls in the sequence of controls attached
>>       to the message.
>
>or how about:
>- optionally, semantics regarding the sequencing of this control with
>other controls (of same or different controlType)

Because the semantics of the combination may not be in regard
to the sequencing of this control with others.

>>  It is noted that semantics of a combination of controls
>>  is generally found in the control specification most
>>  recently published.
>
>ok

In response to Hallvard's comments, I suggested added something
like:
        , but may be separately specified.


>>  In absence of a specification of
>>  a control combination semantics, implementors should
>>  generally regard use of the control in combination
>>  with other controls  as not appropriate for use in the same
>>  operation. 
>
>Depending on the popular controls de jour, 'generally' likely does not
>reflect reality.

I think it reflects how specifications should be interpreted.
While I would agree that implementations generally have
read into specifications semantics which was not explicitly
stated, implementators should not do that.

('should not' here implying unless they fully understand the
implications of doing so, including likelihood that other
implementors will read in other semantics and that specification
may later be updated to explicitly state different semantics).

>For example, clients that combine controls today are
>likely only combining controls which work just fine together (e.g.
>manageDsaIT + other).

And clients may not interop when clients which implement whatever
semantics are subsequent added to the manageDsaIT specification
in this area.

>It's probably more fitting to /s/should generaly/may here.

I disagree.

>>  In presence of a specification which does not
>>  detail any order dependent semantics, the implementor is
>>  to regard the semantics as being independent on the
>>  order of controls.
>
>yes.
>
>Jim



From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 13:03:08 2004
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 NAA05326
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 13:03:07 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4EH1OjF068233;
	Fri, 14 May 2004 17:01:50 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4EGvYDr068153;
	Fri, 14 May 2004 16:57:34 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, 14 May 2004 16:57:34 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4EGvTbX068137
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 May 2004 16:57:31 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Fri, 14 May 2004 10:57:09 -0600
Message-Id: <s0a4a605.072@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Fri, 14 May 2004 10:56:46 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new
	suggestion)
Mime-Version: 1.0
Content-Type: text/plain; charset=Windows-1256
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4EGvVbX068144
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/14/04 12:00:53 AM >>>
<snip>

>I think there has been an understanding that "appropriate for the
>operation" was a something that was straight forward to determine
>and, in particular, didn't involve "performing the operation".

Right.

>In most existing specifications, that was generally stated in
>terms of the kinds of LDAPMessages (by protocoOp and, if appropriate,
>request/response name) the control was appropriate for.  

Yes.

>In
>more recent specifications, specifications also include statements
>regarding use with other controls, which implies an appropriateness
>for operations extended by these other controls.

No. This doesn't imply appropriateness to me (or anyone else I've seen contribute to this thread other than you). I believe there are specifications which specify interactions with other controls, but I don't believe they instruct (either explicitly or implicitly) the combination with other controls to be treated as inappropriate. To me, this concept is a new feature. 

Furthermore, I believe these specifications are simply documenting semantics for combinations with other controls which are known have interesting effects on the operation. They completely ignore other controls which may fall into either category of benign and allowed, or crazy and impossible. Maybe I need to read more control specifications, can you provide references?

>I think it important that [protocol] deal more explicitly
>with combinations of controls and, in particular, that determining
>whether a control is "appropriate for the operation" involves
>consideration of what other controls which might be present.

Again, I'll echo that my interpretation says this is a new feature * I'm fine with it as long as the WG is.

>>The statement about protocolError and other appropriate result code is
>>redundant and not needed here, otherwise, this fits well with the
>>intended flow started above.
>
>I called out the these two codes (unavailableCriticalExtension
>and protocolError) as they are to most appropriate to return here.
>Most other codes indicate problems found during performing the
>operation.  However, I didn't want to restrict servers to just
>these two codes.

Why is protocolError more appropriate than any other error? Elsewhere we say that a malformed message can cause this error. Are you saying that certain control combinations can be treated as a malformed mesage?

>>or how about:
>>- optionally, semantics regarding the sequencing of this control with
>>other controls (of same or different controlType)
>
>Because the semantics of the combination may not be in regard
>to the sequencing of this control with others.

Any sequncing is also a combination. I mean sequencing is a superset of combining. If 'sequencing' is not informative enough, we can add informative redundancy by /s/sequencing/combination or sequencing.

>>>  It is noted that semantics of a combination of controls
>>>  is generally found in the control specification most
>>>  recently published.
>>
>>ok
>
>In response to Hallvard's comments, I suggested added something
>like:
>        , but may be separately specified.

Yuk. This just opens the door for my recently commented on worries to become reality. It's well-enough known in the IETF that an RFC can update in whole or in part another RFC, so I don't think this is needed. I think we're getting overly wordy with all this.

>>>  In absence of a specification of
>>>  a control combination semantics, implementors should
>>>  generally regard use of the control in combination
>>>  with other controls  as not appropriate for use in the same
>>>  operation. 
>>
>>Depending on the popular controls de jour, 'generally' likely does not
>>reflect reality.
>
>I think it reflects how specifications should be interpreted.
>While I would agree that implementations generally have
>read into specifications semantics which was not explicitly
>stated, implementators should not do that.

If a specification (like that of ManageDsaIT) says nothing of its combination with other controls, and other controls don't mention ManageDsaIT as a valid control to be combined, implementors will (and do) allow its combination. What I'm trying to say is that unspecified control combinations like this that actually get passed to LDAP servers will most likely be sane, and very appropriate (though not specified). Thus, implementations will do just the opposite of this statement. They will generally allow these combinations.

This is why I prefer to turn this whole around. If a specification says Control A is appropriate for Operation X, then it is allowed for all permutations of Operation X (unless some other specification disallows it). Then we would allow implementations to disallow combinations that are not understood, but suggest that this begs for an update of one or more of the problem controls.

>('should not' here implying unless they fully understand the
>implications of doing so, including likelihood that other
>implementors will read in other semantics and that specification
>may later be updated to explicitly state different semantics).

Yes, and this will always be a problem unless we forbid it * which is probably going too far. But by not forbiding it, and by adding the proposed language, all we've really done is to add a new feature that lets servers ignore non-critical controls in a combination even though they would process that control otherwise.

>>For example, clients that combine controls today are
>>likely only combining controls which work just fine together (e.g.
>>manageDsaIT + other).
>
>And clients may not interop when clients which implement whatever
>semantics are subsequent added to the manageDsaIT specification
>in this area.

I'm not sure I see the problem you are stating here.

<snip>

Jim



From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 17:57:32 2004
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 RAA00948
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 17:57:32 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4ELtLfx082105;
	Fri, 14 May 2004 21:55:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4ELo37n081982;
	Fri, 14 May 2004 21:50:03 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, 14 May 2004 21:50:03 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4ELnVom081959
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 May 2004 21:50:00 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Fri, 14 May 2004 15:49:11 -0600
Message-Id: <s0a4ea77.064@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Fri, 14 May 2004 15:48:58 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: current control combination proposals
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I'm having a hard time gauging consensus on this. Maybe distilling it to
the core changes will help:

Problem:

What behavior is to be followed when encountering a combination of
controls which is not speficied?

Proposal A:

Treat any such combination as an error.

Proposal B

Allow such combinations to be treated as an error, or to be handled in
a non-standard way.

Proposal C:

Allow certain control combinations  (including those in the problem
statement) to be considered as 'innapropriate'. This allows servers to
ignore non-critical controls and/or return unavailableCriticalExtension
for these innapropriate combinations.

Proposal D:

Same as proposal C, except allow any field of an LDAP message
(including controls) to cause the operation to be considered as
'innapropriate'. Also, stating that operation X is appropriate indicates
that all combinations of operation X are appropriate (unless otherwise
specified).

Do these capture the essence of the current proposals? If so, which do
people prefer?

For me, if we are strictly avoiding the addition of new features, I
prefer B, otherwise I prefer D.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 18:55:19 2004
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 SAA04767
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 18:55:18 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4EMbKmV083004;
	Fri, 14 May 2004 22:53:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4EMaHWh082969;
	Fri, 14 May 2004 22:36:17 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, 14 May 2004 22:36:17 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4EMaEnt082959
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 May 2004 22:36:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4EMa2nC095115;
	Fri, 14 May 2004 22:36:02 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040514153347.02ca37a8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 14 May 2004 15:36:06 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: current control combination proposals
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s0a4ea77.064@sinclair.provo.novell.com>
References: <s0a4ea77.064@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 02:48 PM 5/14/2004, Jim Sermersheim wrote:
>I'm having a hard time gauging consensus on this. Maybe distilling it to
>the core changes will help:

I think it would also help if we surveyed developers of existing
implementations to ask them how they handle various combinations
of controls.


>Problem:
>
>What behavior is to be followed when encountering a combination of
>controls which is not speficied?
>
>Proposal A:
>
>Treat any such combination as an error.
>
>Proposal B
>
>Allow such combinations to be treated as an error, or to be handled in
>a non-standard way.
>
>Proposal C:
>
>Allow certain control combinations  (including those in the problem
>statement) to be considered as 'innapropriate'. This allows servers to
>ignore non-critical controls and/or return unavailableCriticalExtension
>for these innapropriate combinations.
>
>Proposal D:
>
>Same as proposal C, except allow any field of an LDAP message
>(including controls) to cause the operation to be considered as
>'innapropriate'. Also, stating that operation X is appropriate indicates
>that all combinations of operation X are appropriate (unless otherwise
>specified).
>
>Do these capture the essence of the current proposals? If so, which do
>people prefer?
>
>For me, if we are strictly avoiding the addition of new features, I
>prefer B, otherwise I prefer D.
>
>Jim



From owner-ietf-ldapbis@OpenLDAP.org  Fri May 14 23:09:14 2004
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 XAA14691
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 May 2004 23:09:13 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4F37IoZ003525;
	Sat, 15 May 2004 03:07:37 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4F34PVo003350;
	Sat, 15 May 2004 03:04: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); Sat, 15 May 2004 03:04:25 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4F34LsF003335
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 15 May 2004 03:04:22 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4F34GnC096692;
	Sat, 15 May 2004 03:04:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040514183613.02c77c18@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 14 May 2004 20:04:20 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new suggestion)
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s0a4a605.072@sinclair.provo.novell.com>
References: <s0a4a605.072@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

The semantics of most combinations of controls are unspecified.
While I would agree that existing implementations do implement
some combinations of controls whose semantics are unspecified, I
hope they have done so only after fully considering the implications.
In particular, I would hope servers only viewed a control
appropriate for the operation if the semantics of the operation
(as extended by that and other controls) were clear to the
implementors of the server and the clients the server was intended
to interact with.

I believe that existing implementations, when faced with a
combination of two non-critical controls they believe to have
mutually-exclusive semantics, will ignore one or both of the
controls instead of failing the operation.  It's my view this is
what RFC 2251 intended servers to do when it repeatedly used the
language "appropriate for the operation".  (If you know of servers
which behave differently, I'd be interested in details.)

My view is that the most reasonable answer to:
  When is a control "appropriate for the operation"?
is:
  When the specification of the control states that it is.

The question as to whether a particular specification is clear
enough and/or explicit enough it this statement, or otherwise
adheres to current practices, should be discussed in review of
document detailing it... and possibly as part of a review of
a document detailing best current practices in this area.
(And where we find existing specifications not to be up to
snuff here, we should revise them.)

At 09:56 AM 5/14/2004, Jim Sermersheim wrote:
>I think we're getting overly wordy with all this.

Though you said this in a particular context, I believe it applies
generally here.  I'm going to try to produce a less wordy text.



From owner-ietf-ldapbis@OpenLDAP.org  Sat May 15 01:41:49 2004
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 BAA21112
	for <ldapbis-archive@lists.ietf.org>; Sat, 15 May 2004 01:41:48 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4F5bfqU021836;
	Sat, 15 May 2004 05:39:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4F5XHQ5021332;
	Sat, 15 May 2004 05:33:17 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); Sat, 15 May 2004 05:33:17 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4F5X4q0021237;
	Sat, 15 May 2004 05:33:08 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Fri, 14 May 2004 23:32:44 -0600
Message-Id: <s0a5571c.046@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Fri, 14 May 2004 23:32:23 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: "Vithalprasad Gaitonde" <GVithalprasad@novell.com>, <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new
	suggestion)
Mime-Version: 1.0
Content-Type: text/plain; charset=Windows-1256
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4F5X9q0021285
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Here's what I can offer regarding Novell's interpretation and behavior:

Novell's eDirectory/NDS only considers the operation when evaluating whether a given control is appropriate.

It allows some combinations of controls where that combination is unspecified yet makes sense (manageDSAIT + SSS)

It disallows combinations of other controls (like VLV and PSearch) and returns an error if these are combined. I don't have code available right now or I could tell you what the error is (I assume it's unwillingToPerform). directory implements a very strict interpretation of the criticality language in RFC 2251 * it only talks about a control being appropriate for an operation, not an operation while also considering controls.

I also think until now, most other people interpreted 'appropriate for the operation' as being only concerned with the operation (disregarding fields (including controls) of the operation). I'm not aware of any current control definitions that say a control is considered inappropriate if combined with this other control, so I assume no one else has interpreted it this way. But I could be wrong.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/14/04 9:04:20 PM >>>
The semantics of most combinations of controls are unspecified.
While I would agree that existing implementations do implement
some combinations of controls whose semantics are unspecified, I
hope they have done so only after fully considering the implications.
In particular, I would hope servers only viewed a control
appropriate for the operation if the semantics of the operation
(as extended by that and other controls) were clear to the
implementors of the server and the clients the server was intended
to interact with.

I believe that existing implementations, when faced with a
combination of two non-critical controls they believe to have
mutually-exclusive semantics, will ignore one or both of the
controls instead of failing the operation.  It's my view this is
what RFC 2251 intended servers to do when it repeatedly used the
language "appropriate for the operation".  (If you know of servers
which behave differently, I'd be interested in details.)

My view is that the most reasonable answer to:
  When is a control "appropriate for the operation"?
is:
  When the specification of the control states that it is.

The question as to whether a particular specification is clear
enough and/or explicit enough it this statement, or otherwise
adheres to current practices, should be discussed in review of
document detailing it... and possibly as part of a review of
a document detailing best current practices in this area.
(And where we find existing specifications not to be up to
snuff here, we should revise them.)

At 09:56 AM 5/14/2004, Jim Sermersheim wrote:
>I think we're getting overly wordy with all this.

Though you said this in a particular context, I believe it applies
generally here.  I'm going to try to produce a less wordy text.





From owner-ietf-ldapbis@OpenLDAP.org  Sat May 15 10:00:02 2004
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 KAA21883
	for <ldapbis-archive@lists.ietf.org>; Sat, 15 May 2004 10:00:02 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FDtO6H082162;
	Sat, 15 May 2004 13:57:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4FDt0F1082128;
	Sat, 15 May 2004 13:55: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); Sat, 15 May 2004 13:55:00 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FDsqkN082109
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 15 May 2004 13:54:54 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4FDsknC002370;
	Sat, 15 May 2004 13:54:46 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040515065415.02ca7778@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sat, 15 May 2004 06:54:50 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new suggestion)
Cc: "Vithalprasad Gaitonde" <GVithalprasad@novell.com>,
        <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s0a5571c.046@sinclair.provo.novell.com>
References: <s0a5571c.046@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:32 PM 5/14/2004, Jim Sermersheim wrote:
>It disallows combinations of other controls (like VLV and PSearch) and returns an error if these are combined. I don't have code available right now or I could tell you what the error is (I assume it's unwillingToPerform). 

Question: if both VLV and Psearch were marked critical, would
the error you returned be different? 



From owner-ietf-ldapbis@OpenLDAP.org  Sat May 15 11:11:15 2004
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 LAA26177
	for <ldapbis-archive@lists.ietf.org>; Sat, 15 May 2004 11:11:15 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FF7W8g083579;
	Sat, 15 May 2004 15:08:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4FF3Dw6083515;
	Sat, 15 May 2004 15:03:13 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); Sat, 15 May 2004 15:03:13 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FF37Hu083480;
	Sat, 15 May 2004 15:03:08 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sat, 15 May 2004 09:02:46 -0600
Message-Id: <s0a5dcb6.049@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Sat, 15 May 2004 09:02:25 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: "Vithalprasad Gaitonde" <GVithalprasad.BLR3.BANGALORE@novell.com>,
        <ietf-ldapbis@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new
	suggestion)
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/15/04 7:54:50 AM >>>
>At 10:32 PM 5/14/2004, Jim Sermersheim wrote:
>>It disallows combinations of other controls (like VLV and PSearch)
and returns an error if these are combined. I don't have code available
right now or I could tell you what >the error is (I assume it's
unwillingToPerform). 
>
>Question: if both VLV and Psearch were marked critical, would
>the error you returned be different? 

No, the routine that checks for known/appropriate controls is different
from the routine(s) which will return errors for invalid combinations.
We kept the former very simple (do we understand this control, and is it
appropriate for this operation). At this point of checking, we don't
even know if there are more controls in the message.

It would be good to know what other implementations do. I know there
are some others that support VLV and PSearch. I wonder how they handle
the combination?

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Sat May 15 11:53:45 2004
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 LAA27999
	for <ldapbis-archive@lists.ietf.org>; Sat, 15 May 2004 11:53:45 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FFoEI1084585;
	Sat, 15 May 2004 15:51:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4FFlVk7084544;
	Sat, 15 May 2004 15:47:31 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); Sat, 15 May 2004 15:47:31 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FFlP0j084534
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 15 May 2004 15:47:27 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4FFlInC002926;
	Sat, 15 May 2004 15:47:18 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040515081032.02c75cd8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sat, 15 May 2004 08:47:22 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new suggestion)
Cc: "Vithalprasad Gaitonde" <GVithalprasad.BLR3.BANGALORE@novell.com>,
        <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s0a5dcb6.049@sinclair.provo.novell.com>
References: <s0a5dcb6.049@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:02 AM 5/15/2004, Jim Sermersheim wrote:
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/15/04 7:54:50 AM >>>
>>At 10:32 PM 5/14/2004, Jim Sermersheim wrote:
>>>It disallows combinations of other controls (like VLV and PSearch)
>and returns an error if these are combined. I don't have code available
>right now or I could tell you what >the error is (I assume it's
>unwillingToPerform). 
>>
>>Question: if both VLV and Psearch were marked critical, would
>>the error you returned be different? 
>
>No, the routine that checks for known/appropriate controls is different
>from the routine(s) which will return errors for invalid combinations.
>We kept the former very simple (do we understand this control, and is it
>appropriate for this operation).  At this point of checking, we don't
>even know if there are more controls in the message.

Do you also handle a message with two critical manageDsaIT
controls in the same fashion?

Do you also handle a message with two (different) critical
Psearch controls in the same fashion?

>It would be good to know what other implementations do. I know there
>are some others that support VLV and PSearch. I wonder how they handle
>the combination?

Well, I checked our code and, to my surpise, it wasn't as
I previously described.  OpenLDAP slapd(8) response of say:
        search+ManageDsaIT+manageDsaIT
        search+subentries+subentries

would be to return protocolError.  Given this, I retract my
suggested text.

If we're going to recommend returning an error here, I think
we should specifically recommend return of protocolError over
a code like unwillingToPerform.

unwillingToPerform implies that the operation can be performed,
but that this particular server is unwilling or unable to perform
the operation (at this time).  protocolError more accurately
reflects that the server cannot make sense of the request.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Sat May 15 11:57:29 2004
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 LAA26176
	for <ldapbis-archive@lists.ietf.org>; Sat, 15 May 2004 11:11:15 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FF7W8i083579;
	Sat, 15 May 2004 15:10:08 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4FF1cpo083444;
	Sat, 15 May 2004 15:01:38 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); Sat, 15 May 2004 15:01:37 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FF1UVV083413;
	Sat, 15 May 2004 15:01:33 GMT
	(envelope-from chris.ridd@isode.com)
Received: from [192.168.1.10] (82-43-138-40.cable.ubr01.newm.blueyonder.co.uk [82.43.138.40]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Sat, 15 May 2004 16:01:26 +0100
User-Agent: Microsoft-Entourage/10.1.4.030702.0
Date: Sat, 15 May 2004 16:01:21 +0100
Subject: Re: current control combination proposals
From: Chris Ridd <chris.ridd@isode.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, Jim Sermersheim <jimse@novell.com>
CC: <ietf-ldapbis@OpenLDAP.org>
Message-ID: <BCCBEF51.10390C%chris.ridd@isode.com>
In-Reply-To: <6.0.1.1.0.20040514153347.02ca37a8@127.0.0.1>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

On 14/5/04 11:36 pm, Kurt D. Zeilenga <Kurt@OpenLDAP.org> wrote:

> At 02:48 PM 5/14/2004, Jim Sermersheim wrote:
>> I'm having a hard time gauging consensus on this. Maybe distilling it to
>> the core changes will help:
> 
> I think it would also help if we surveyed developers of existing
> implementations to ask them how they handle various combinations
> of controls.

Not sure I want to contribute to this thread, but here goes anyway...

Since controls are sent ordered, ie in a SEQUENCE OF, surely we need to
discuss the *permutations* of controls rather than the combinations? In
other words, does a server allow operation X with controls A+B, or with
controls B+A?

If incompatible controls are sent, but one is marked critical and one isn't,
the ordering of the encoded controls may well be significant.

I'd also suggest that an error code that's perhaps appropriate for
signalling "incompatible" controls would be constraintViolation. Sending a
protocolError seems a bit harsh.

Cheers,

Chris



From owner-ietf-ldapbis@OpenLDAP.org  Sat May 15 12:10:34 2004
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 MAA28554
	for <ldapbis-archive@lists.ietf.org>; Sat, 15 May 2004 12:10:34 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FG7BKn085163;
	Sat, 15 May 2004 16:08:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4FG732j085156;
	Sat, 15 May 2004 16:07:03 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); Sat, 15 May 2004 16:07:03 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FG6wBo085126;
	Sat, 15 May 2004 16:06:59 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sat, 15 May 2004 10:06:38 -0600
Message-Id: <s0a5ebae.028@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Sat, 15 May 2004 10:06:16 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: "Vithalprasad Gaitonde" <GVithalprasad.BLR3.BANGALORE@novell.com>,
        <ietf-ldapbis@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new
	suggestion)
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/15/04 9:47:22 AM >>>
>At 08:02 AM 5/15/2004, Jim Sermersheim wrote:
>>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/15/04 7:54:50 AM >>>
>>>At 10:32 PM 5/14/2004, Jim Sermersheim wrote:
>>>>It disallows combinations of other controls (like VLV and PSearch)
>>and returns an error if these are combined. I don't have code
available
>>right now or I could tell you what >the error is (I assume it's
>>unwillingToPerform). 
>>>
>>>Question: if both VLV and Psearch were marked critical, would
>>>the error you returned be different? 
>>
>>No, the routine that checks for known/appropriate controls is
different
>>from the routine(s) which will return errors for invalid
combinations.
>>We kept the former very simple (do we understand this control, and is
it
>>appropriate for this operation).  At this point of checking, we
don't
>>even know if there are more controls in the message.
>
>Do you also handle a message with two critical manageDsaIT
>controls in the same fashion?

Two manageDsaIT controls will result in a "last one wins" behavior
(regardless of criticality). The criticality is *only ever* checked when
we don't understand the control, or it's not allowed on an operation
(with no regard to other fields of the operation (including other
controls).

>Do you also handle a message with two (different) critical
>Psearch controls in the same fashion?

I'd have to look at the code to report on the exact behavior of this.
From memory, we return an error. I _can_ say that the behavior is the
same regardless of criticality.

>>It would be good to know what other implementations do. I know there
>>are some others that support VLV and PSearch. I wonder how they
handle
>>the combination?
>
>Well, I checked our code and, to my surpise, it wasn't as
>I previously described.  OpenLDAP slapd(8) response of say:
>        search+ManageDsaIT+manageDsaIT
>        search+subentries+subentries
>
>would be to return protocolError.  Given this, I retract my
>suggested text.
>
>If we're going to recommend returning an error here, I think
>we should specifically recommend return of protocol error over
>a code like unwillingToPerform.
>
>unwillingToPerform implies that the operation can be performed,
>but that this particular server is unwilling or unable to perform
>the operation (at this time).  protocol error more accurately
>reflects that the server cannot make sense of the request.

I could go either way on this. One server may be unwilling to support
controls A and B because there are undefined yet seemingly obvious
semantics which it cannot perform, while another server is able to
perform the seemingly obvious combination.

I Believe eDirectory returns unwillingToPerform since the message is
well-formed as per the ASN.1. I still need to get at the code and
check.

However, returning protocol error might nudge participants (control
specification writers) to be more careful.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Sat May 15 12:41:05 2004
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 MAA29567
	for <ldapbis-archive@lists.ietf.org>; Sat, 15 May 2004 12:41:04 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FGbC3U085903;
	Sat, 15 May 2004 16:38:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4FGZZVo085854;
	Sat, 15 May 2004 16:35:35 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); Sat, 15 May 2004 16:35:35 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4FGZUtt085793;
	Sat, 15 May 2004 16:35:32 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sat, 15 May 2004 10:35:10 -0600
Message-Id: <s0a5f25e.066@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Sat, 15 May 2004 10:34:48 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: "Jim Sermersheim" <JIMSE@novell.com>, <Kurt@OpenLDAP.org>
Cc: "Vithalprasad Gaitonde" <GVithalprasad.BLR3.BANGALORE@novell.com>,
        <ietf-ldapbis@OpenLDAP.org>
Subject: Re: appropriateness of combination of controls (new
	suggestion)
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Ok, my turn to be surprised. eDirectrory will return an error as I
thought when it determines there is an invalid control combination (of
the same or different type) (criticality is ignored at this point). But
the error is protocolError (not unwillingToPerform as I previously
assumed).

Actually (in case someone tests my claim on ldap.novell.com), some
combinations erroneously return invalidAttributeSyntax. This is
obviously a defect and should be fixed.

Jim

>>> "Jim Sermersheim" <jimse@novell.com> 5/15/04 10:06:16 AM >>>
>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/15/04 9:47:22 AM >>>
>At 08:02 AM 5/15/2004, Jim Sermersheim wrote:
>>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/15/04 7:54:50 AM >>>
>>>At 10:32 PM 5/14/2004, Jim Sermersheim wrote:
>>>>It disallows combinations of other controls (like VLV and PSearch)
>>and returns an error if these are combined. I don't have code
available
>>right now or I could tell you what >the error is (I assume it's
>>unwillingToPerform). 
>>>
>>>Question: if both VLV and Psearch were marked critical, would
>>>the error you returned be different? 
>>
>>No, the routine that checks for known/appropriate controls is
different
>>from the routine(s) which will return errors for invalid
combinations.
>>We kept the former very simple (do we understand this control, and
is
it
>>appropriate for this operation).  At this point of checking, we
don't
>>even know if there are more controls in the message.
>
>Do you also handle a message with two critical manageDsaIT
>controls in the same fashion?

Two manageDsaIT controls will result in a "last one wins" behavior
(regardless of criticality). The criticality is *only ever* checked
when
we don't understand the control, or it's not allowed on an operation
(with no regard to other fields of the operation (including other
controls).

>Do you also handle a message with two (different) critical
>Psearch controls in the same fashion?

I'd have to look at the code to report on the exact behavior of this.
From memory, we return an error. I _can_ say that the behavior is the
same regardless of criticality.

>>It would be good to know what other implementations do. I know there
>>are some others that support VLV and PSearch. I wonder how they
handle
>>the combination?
>
>Well, I checked our code and, to my surpise, it wasn't as
>I previously described.  OpenLDAP slapd(8) response of say:
>        search+ManageDsaIT+manageDsaIT
>        search+subentries+subentries
>
>would be to return protocolError.  Given this, I retract my
>suggested text.
>
>If we're going to recommend returning an error here, I think
>we should specifically recommend return of protocol error over
>a code like unwillingToPerform.
>
>unwillingToPerform implies that the operation can be performed,
>but that this particular server is unwilling or unable to perform
>the operation (at this time).  protocol error more accurately
>reflects that the server cannot make sense of the request.

I could go either way on this. One server may be unwilling to support
controls A and B because there are undefined yet seemingly obvious
semantics which it cannot perform, while another server is able to
perform the seemingly obvious combination.

I Believe eDirectory returns unwillingToPerform since the message is
well-formed as per the ASN.1. I still need to get at the code and
check.

However, returning protocol error might nudge participants (control
specification writers) to be more careful.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Sun May 16 21:49:21 2004
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 VAA04164
	for <ldapbis-archive@lists.ietf.org>; Sun, 16 May 2004 21:49:21 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H1hxJ2028475;
	Mon, 17 May 2004 01:46:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4H1h3Fi028460;
	Mon, 17 May 2004 01:43:03 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, 17 May 2004 01:43:03 +0000
Received: from ausyms50.ca.com ([155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H1gxUq028448
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 17 May 2004 01:43:02 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Mon, 17 May 2004 11:42:38 +1000
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: current control combination proposals
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
Date: Mon, 17 May 2004 11:42:38 +1000
Message-ID: <1395B4B334FCC143B36AF788E68B6381015BFA3E@ausyms21.ca.com>
Thread-Topic: current control combination proposals
Thread-Index: AcQ5/kDDwQFMMOT5SuG06IFWzrlwJgBsM/dg
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 17 May 2004 01:42:38.0468 (UTC) FILETIME=[3C456440:01C43BB0]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4H1h2Uq028451
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Hi Jim,

I think you have to be careful in assigning an error to a particular combination of controls as this error would stick even if you subsequently wanted to use the controls together.

I don't think return of errors should be prescribed or specified. The greatest direction I would give would be, say, "if a particular combination of controls could not be performed because the implementation deemed the combination to be (inappropriate?), the error protocolError should be returned."

Ron

PS I appreciate the plain text; my mail system won't allow me to respond to messages whose encoding is Arabic.

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Jim Sermersheim
Sent: Saturday, 15 May 2004 07:49
To: ietf-ldapbis@OpenLDAP.org
Subject: current control combination proposals


I'm having a hard time gauging consensus on this. Maybe distilling it to
the core changes will help:

Problem:

What behavior is to be followed when encountering a combination of
controls which is not speficied?

Proposal A:

Treat any such combination as an error.

Proposal B

Allow such combinations to be treated as an error, or to be handled in
a non-standard way.

Proposal C:

Allow certain control combinations  (including those in the problem
statement) to be considered as 'innapropriate'. This allows servers to
ignore non-critical controls and/or return unavailableCriticalExtension
for these innapropriate combinations.

Proposal D:

Same as proposal C, except allow any field of an LDAP message
(including controls) to cause the operation to be considered as
'innapropriate'. Also, stating that operation X is appropriate indicates
that all combinations of operation X are appropriate (unless otherwise
specified).

Do these capture the essence of the current proposals? If so, which do
people prefer?

For me, if we are strictly avoiding the addition of new features, I
prefer B, otherwise I prefer D.

Jim




From owner-ietf-ldapbis@OpenLDAP.org  Sun May 16 21:53:06 2004
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 VAA04298
	for <ldapbis-archive@lists.ietf.org>; Sun, 16 May 2004 21:53:06 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H1nYYF028653;
	Mon, 17 May 2004 01:50:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4H1j20T028538;
	Mon, 17 May 2004 01:45:02 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, 17 May 2004 01:45:02 +0000
Received: from ausyms50.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H1iukZ028482
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 17 May 2004 01:45:01 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Mon, 17 May 2004 11:44:35 +1000
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: current control combination proposals
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
Date: Mon, 17 May 2004 11:44:35 +1000
Message-ID: <1395B4B334FCC143B36AF788E68B6381015BFA46@ausyms21.ca.com>
Thread-Topic: current control combination proposals
Thread-Index: AcQ6jr4cgLVY6UaAQOKA+y2A0JIjGwBIZupg
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Chris Ridd" <chris.ridd@isode.com>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 17 May 2004 01:44:35.0609 (UTC) FILETIME=[8217B090:01C43BB0]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4H1j1kZ028529
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

constrainViolation is only appropriate for update operations.

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Chris Ridd
Sent: Sunday, 16 May 2004 01:01
To: Kurt D. Zeilenga; Jim Sermersheim
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: current control combination proposals


On 14/5/04 11:36 pm, Kurt D. Zeilenga <Kurt@OpenLDAP.org> wrote:

> At 02:48 PM 5/14/2004, Jim Sermersheim wrote:
>> I'm having a hard time gauging consensus on this. Maybe distilling it to
>> the core changes will help:
> 
> I think it would also help if we surveyed developers of existing
> implementations to ask them how they handle various combinations
> of controls.

Not sure I want to contribute to this thread, but here goes anyway...

Since controls are sent ordered, ie in a SEQUENCE OF, surely we need to
discuss the *permutations* of controls rather than the combinations? In
other words, does a server allow operation X with controls A+B, or with
controls B+A?

If incompatible controls are sent, but one is marked critical and one isn't,
the ordering of the encoded controls may well be significant.

I'd also suggest that an error code that's perhaps appropriate for
signalling "incompatible" controls would be constraintViolation. Sending a
protocolError seems a bit harsh.

Cheers,

Chris





From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 02:21:44 2004
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 CAA00893
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 02:21:43 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H6Hclr035474;
	Mon, 17 May 2004 06:19:23 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4H68qZG035221;
	Mon, 17 May 2004 06:08:52 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, 17 May 2004 06:08:52 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H68mXS035210
	for <ietf-ldapbis@openldap.org>; Mon, 17 May 2004 06:08:51 GMT
	(envelope-from chris.ridd@isode.com)
Received: from [192.168.1.10] (82-43-138-40.cable.ubr01.newm.blueyonder.co.uk [82.43.138.40]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Mon, 17 May 2004 07:08:27 +0100
User-Agent: Microsoft-Entourage/10.1.4.030702.0
Date: Mon, 17 May 2004 07:08:25 +0100
Subject: Re: current control combination proposals
From: Chris Ridd <chris.ridd@isode.com>
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
CC: <ietf-ldapbis@OpenLDAP.org>
Message-ID: <BCCE1569.1045C3%chris.ridd@isode.com>
In-Reply-To: <1395B4B334FCC143B36AF788E68B6381015BFA46@ausyms21.ca.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

On 17/5/04 2:44 am, Ramsay, Ron <Ron.Ramsay@ca.com> wrote:

> constrainViolation is only appropriate for update operations.

So far.

Cheers,

Chris



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 03:15:17 2004
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 DAA03557
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 03:15:16 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H7Cg0K037012;
	Mon, 17 May 2004 07:12:42 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4H73YvG036717;
	Mon, 17 May 2004 07:03:34 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, 17 May 2004 07:03:34 +0000
Received: from ausyms50.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H73Utm036699
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 17 May 2004 07:03:33 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Mon, 17 May 2004 17:03:09 +1000
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: current control combination proposals
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
Date: Mon, 17 May 2004 17:03:09 +1000
Message-ID: <1395B4B334FCC143B36AF788E68B6381015BFFEB@ausyms21.ca.com>
Thread-Topic: current control combination proposals
Thread-Index: AcQ71XQt35qGfYimS6SR9UdGkT4L/AAB1iZQ
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Chris Ridd" <chris.ridd@isode.com>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 17 May 2004 07:03:09.0929 (UTC) FILETIME=[031D7590:01C43BDD]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i4H73Xtm036708
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

No, not "so far".

If LDAP is to remain aligned with, or at least interoperable with, X.500, then constraintViolation has to remain an update problem.

Ron

-----Original Message-----
From: Chris Ridd [mailto:chris.ridd@isode.com]
Sent: Monday, 17 May 2004 16:08
To: Ramsay, Ron
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: current control combination proposals


On 17/5/04 2:44 am, Ramsay, Ron <Ron.Ramsay@ca.com> wrote:

> constrainViolation is only appropriate for update operations.

So far.

Cheers,

Chris





From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 03:50:19 2004
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 DAA05089
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 03:50:18 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H7gWmO038551;
	Mon, 17 May 2004 07:47:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4H7T1cY037709;
	Mon, 17 May 2004 07:29:01 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, 17 May 2004 07:29:01 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4H7Sutx037697
	for <ietf-ldapbis@openldap.org>; Mon, 17 May 2004 07:28:58 GMT
	(envelope-from chris.ridd@isode.com)
Received: from [192.168.1.10] (82-43-138-40.cable.ubr01.newm.blueyonder.co.uk [82.43.138.40]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Mon, 17 May 2004 08:28:39 +0100
User-Agent: Microsoft-Entourage/10.1.4.030702.0
Date: Mon, 17 May 2004 08:28:37 +0100
Subject: Re: current control combination proposals
From: Chris Ridd <chris.ridd@isode.com>
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
CC: <ietf-ldapbis@OpenLDAP.org>
Message-ID: <BCCE2835.1046F3%chris.ridd@isode.com>
In-Reply-To: <1395B4B334FCC143B36AF788E68B6381015BFFEB@ausyms21.ca.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

On 17/5/04 8:03 am, Ramsay, Ron <Ron.Ramsay@ca.com> wrote:

> No, not "so far".
> 
> If LDAP is to remain aligned with, or at least interoperable with, X.500, then
> constraintViolation has to remain an update problem.
> 
> Ron

Of course since X.500 doesn't really have controls like LDAPv3, there's no
real possibility of having incompatible controls in X.500. Using
constraintViolation to report incompatible LDAP control permutations
wouldn't break interworking.

It would be much nicer of course if result codes were somehow extensible,
but that's another problem altogether :-)

Cheers,

Chris



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 11:19:09 2004
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 LAA27926
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 11:19:08 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HFDsRY069840;
	Mon, 17 May 2004 15:15:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HFD2tZ069786;
	Mon, 17 May 2004 15:13:02 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, 17 May 2004 15:13:02 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HFCe4s069772
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 17 May 2004 15:12:57 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4HFBoKl015900;
	Mon, 17 May 2004 15:11:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040517075247.04fea398@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 17 May 2004 08:11:50 -0700
To: Chris Ridd <chris.ridd@isode.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: current control combination proposals
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <BCCE1569.1045C3%chris.ridd@isode.com>
References: <1395B4B334FCC143B36AF788E68B6381015BFA46@ausyms21.ca.com>
 <BCCE1569.1045C3%chris.ridd@isode.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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 11:08 PM 5/16/2004, Chris Ridd wrote:
>On 17/5/04 2:44 am, Ramsay, Ron <Ron.Ramsay@ca.com> wrote:
>> constrainViolation is only appropriate for update operations.
>
>So far.

Which is a good reason not to do that.

But Ron's point is quite valid.  ConstraintViolation has a well
established meaning and expanding it to include other error
conditions would cause problems.  A client would have no way
to determine if the error indicated an update problem or
indicated a control problem.  Likewise for most other existing
result codes.

>It would be much nicer of course if result codes were somehow extensible,
>but that's another problem altogether :-)

The resultCode enumeration is extensible.  However, we should
attempt to revise the specification to resolve whatever
issues exist without resorting to adding a new code.

It has been reported that existing implementations return
protocolError here.  What's broke with that?

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 11:48:27 2004
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 LAA29997
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 11:48:26 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HFfSpx071539;
	Mon, 17 May 2004 15:45:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HFYaTr071058;
	Mon, 17 May 2004 15:34: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); Mon, 17 May 2004 15:34:36 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HFY9Dc071019;
	Mon, 17 May 2004 15:34:17 GMT
	(envelope-from chris.ridd@isode.com)
Received: from [172.16.0.114] (shiny.isode.com [62.3.217.250]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Mon, 17 May 2004 16:34:06 +0100
User-Agent: Microsoft-Entourage/10.1.4.030702.0
Date: Mon, 17 May 2004 16:34:04 +0100
Subject: Re: current control combination proposals
From: Chris Ridd <chris.ridd@isode.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: "Ramsay, Ron" <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Message-ID: <BCCE99FC.10481C%chris.ridd@isode.com>
In-Reply-To: <6.0.1.1.0.20040517075247.04fea398@127.0.0.1>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

On 17/5/04 4:11 pm, Kurt D. Zeilenga <Kurt@OpenLDAP.org> wrote:

> At 11:08 PM 5/16/2004, Chris Ridd wrote:
>> On 17/5/04 2:44 am, Ramsay, Ron <Ron.Ramsay@ca.com> wrote:
>>> constrainViolation is only appropriate for update operations.
>> 
>> So far.
> 
> Which is a good reason not to do that.
> 
> But Ron's point is quite valid.  ConstraintViolation has a well
> established meaning and expanding it to include other error
> conditions would cause problems.  A client would have no way
> to determine if the error indicated an update problem or
> indicated a control problem.  Likewise for most other existing
> result codes.

Well, I'm not going to defend this to death. The discussion is interesting
enough without thinking about the error code :-)

>> It would be much nicer of course if result codes were somehow extensible,
>> but that's another problem altogether :-)
> 
> The resultCode enumeration is extensible.  However, we should

Not flexibly - there's only a flat number space so different implementations
could easily collide their resultCode extensions.

> attempt to revise the specification to resolve whatever
> issues exist without resorting to adding a new code.

Agreed.

> It has been reported that existing implementations return
> protocolError here.  What's broke with that?

Well, for one thing no protocol's being broken. It seems a bit severe.
 
Cheers,

Chris



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 14:12:16 2004
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 OAA09875
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 14:12:15 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HI7n0n077066;
	Mon, 17 May 2004 18:09:38 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HI1wo3076710;
	Mon, 17 May 2004 18:01:58 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, 17 May 2004 18:01:58 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HI1fKY076671;
	Mon, 17 May 2004 18:01:49 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 17 May 2004 12:01:21 -0600
Message-Id: <s0a8a991.004@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 17 May 2004 12:00:59 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <chris.ridd@isode.com>, <Kurt@OpenLDAP.org>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: current control combination proposals
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Chris Ridd <chris.ridd@isode.com> 5/17/04 9:34:04 AM >>>
>> The resultCode enumeration is extensible.  However, we should
>
>Not flexibly - there's only a flat number space so different
implementations
>could easily collide their resultCode extensions.

To make sure collisions don't occur, one has to register new result
codes with IANA. The current set is here:
http://www.iana.org/assignments/ldap-parameters


From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 14:47:30 2004
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 OAA13924
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 14:47:30 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HIhlkv078113;
	Mon, 17 May 2004 18:45:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HIdpbr078058;
	Mon, 17 May 2004 18:39:51 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, 17 May 2004 18:39:51 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HIdhPr078047
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 17 May 2004 18:39:48 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4HIdRKl016879;
	Mon, 17 May 2004 18:39:27 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040517101950.04fbe730@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 17 May 2004 11:39:26 -0700
To: Chris Ridd <chris.ridd@isode.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: current control combination proposals
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <BCCE99FC.10481C%chris.ridd@isode.com>
References: <6.0.1.1.0.20040517075247.04fea398@127.0.0.1>
 <BCCE99FC.10481C%chris.ridd@isode.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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:34 AM 5/17/2004, Chris Ridd wrote:
>> It has been reported that existing implementations return
>> protocolError here.  What's broke with that?
>
>Well, for one thing no protocol's being broken. It seems a bit severe.

Realizing that some implementors may have taken a narrow view
over what kinds of errors are indicated by protocolError and the
fact that some existing implementations are using protocolError
here, my question is more intended to ask what problems exist
today (or could exist in the future) due to difference.

If no real problems exist, then its simply a matter of clarifying
the specification to return of protocolError is accectable here.
(Likely be refining both the general description of the code
as well as the text regarding treatment of nonsensical control
combinations.)

If problems exist, then we need to determine how best to resolve
those problems.  Without a description of those problems, I and
others cannot begin to engineer an appropriate fix.

- Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 14:57:51 2004
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 OAA09874
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 14:12:15 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HI7n0p077066;
	Mon, 17 May 2004 18:10:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HI6g9P076968;
	Mon, 17 May 2004 18:06:42 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, 17 May 2004 18:06:42 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HI6Vri076930;
	Mon, 17 May 2004 18:06:34 GMT
	(envelope-from chris.ridd@isode.com)
Received: from [192.168.1.10] (82-43-138-40.cable.ubr01.newm.blueyonder.co.uk [82.43.138.40]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Mon, 17 May 2004 19:06:23 +0100
User-Agent: Microsoft-Entourage/10.1.4.030702.0
Date: Mon, 17 May 2004 19:06:18 +0100
Subject: Re: current control combination proposals
From: Chris Ridd <chris.ridd@isode.com>
To: Jim Sermersheim <jimse@novell.com>, <Kurt@OpenLDAP.org>
CC: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Message-ID: <BCCEBDAA.10496B%chris.ridd@isode.com>
In-Reply-To: <s0a8a991.003@sinclair.provo.novell.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

On 17/5/04 7:00 pm, Jim Sermersheim <jimse@novell.com> wrote:

>>>> Chris Ridd <chris.ridd@isode.com> 5/17/04 9:34:04 AM >>>
>>> The resultCode enumeration is extensible.  However, we should
>> 
>> Not flexibly - there's only a flat number space so different
> implementations
>> could easily collide their resultCode extensions.
> 
> To make sure collisions don't occur, one has to register new result
> codes with IANA. The current set is here:
> http://www.iana.org/assignments/ldap-parameters

Ah, thanks for that URL.

Cheers,

Chris



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 16:37:00 2004
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 QAA24391
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 16:37:00 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HKPokj083734;
	Mon, 17 May 2004 20:34:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HKPRYD083699;
	Mon, 17 May 2004 20:25:27 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, 17 May 2004 20:25:27 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HKP8X2083654;
	Mon, 17 May 2004 20:25:23 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 17 May 2004 14:24:47 -0600
Message-Id: <s0a8cb2f.023@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 17 May 2004 14:24:25 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <chris.ridd@isode.com>, <Kurt@OpenLDAP.org>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: current control combination proposals
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

My worry would be those places where protocolError means something
special. Here's the current (24) language:

protocolError (2)
Indicates the server received data which has incorrect structure.

For bind operation only, this code is also used to indicate that the
server does not support the requested protocol version.

For the extended operation only, this code indicates that the server
does not recognize the requestName.

For the Start TLS operation, this code may also indicate that the
server does not currently support Start TLS (even though it may
recognize the requestName).

For request operations specifying multiple controls, this may be used
to indicate that the server cannot ignore the order of the controls as
specified, or that the combination of the specified controls is not
supported.

So when it's returned with a  bind response, the client doesn't know if
it was due to an unsupported protocol version, a problem with multiple
controls, or an incorrect structure (though I guess a bad sequence of
controls can be considered as "incorrect structure")

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/17/04 12:39:26 PM >>>
At 08:34 AM 5/17/2004, Chris Ridd wrote:
>> It has been reported that existing implementations return
>> protocolError here.  What's broke with that?
>
>Well, for one thing no protocol's being broken. It seems a bit
severe.

Realizing that some implementors may have taken a narrow view
over what kinds of errors are indicated by protocolError and the
fact that some existing implementations are using protocolError
here, my question is more intended to ask what problems exist
today (or could exist in the future) due to difference.

If no real problems exist, then its simply a matter of clarifying
the specification to return of protocolError is accectable here.
(Likely be refining both the general description of the code
as well as the text regarding treatment of nonsensical control
combinations.)

If problems exist, then we need to determine how best to resolve
those problems.  Without a description of those problems, I and
others cannot begin to engineer an appropriate fix.

- Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 16:57:59 2004
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 QAA26586
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 16:57:58 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HKnjjW085466;
	Mon, 17 May 2004 20:54:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HKjSLM085286;
	Mon, 17 May 2004 20:45:28 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, 17 May 2004 20:45:28 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HKjNgQ085238;
	Mon, 17 May 2004 20:45:26 GMT
	(envelope-from chris.ridd@isode.com)
Received: from [192.168.1.10] (82-43-138-40.cable.ubr01.newm.blueyonder.co.uk [82.43.138.40]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Mon, 17 May 2004 21:45:14 +0100
User-Agent: Microsoft-Entourage/10.1.4.030702.0
Date: Mon, 17 May 2004 21:45:11 +0100
Subject: Re: current control combination proposals
From: Chris Ridd <chris.ridd@isode.com>
To: Jim Sermersheim <jimse@novell.com>, <Kurt@OpenLDAP.org>
CC: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Message-ID: <BCCEE2E7.104A73%chris.ridd@isode.com>
In-Reply-To: <s0a8cb2f.022@sinclair.provo.novell.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

On 17/5/04 9:24 pm, Jim Sermersheim <jimse@novell.com> wrote:

> So when it's returned with a  bind response, the client doesn't know if
> it was due to an unsupported protocol version, a problem with multiple
> controls, or an incorrect structure (though I guess a bad sequence of
> controls can be considered as "incorrect structure")

The "incorrect structure" text doesn't suggest that to me at all. RFC 2251
notes in a couple of places that protocolError is returned when the server
is unable to parse the LDAPMessage/request, and that's just a different
problem than not being to operate on the permutation of controls offered by
the client.

Cheers,

Chris

PS apologies to the rest of the list - Alan, emails to you are being
bounced.



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 19:00:07 2004
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 TAA11501
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 19:00:07 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HMtsxm091522;
	Mon, 17 May 2004 22:57:23 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HMoFWF091409;
	Mon, 17 May 2004 22:50: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); Mon, 17 May 2004 22:50:15 +0000
Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HMo7Y2091372;
	Mon, 17 May 2004 22:50:12 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 17 May 2004 16:49:47 -0600
Message-Id: <s0a8ed2b.096@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 17 May 2004 16:49:29 -0600
From: "Jim Sermersheim" <jimse@novell.com>
To: <chris.ridd@isode.com>, <Kurt@OpenLDAP.org>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: current control combination proposals
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I guess it's all in the eye of the reader. But even if 'incorrect
structure' has the rigid meaning you assign to it, note that the other
uses of protocolError have as little (or less) to do with malformed
packets than this example.

Also note that the StartTLS operation updated RFC 2251 to allow
protocolError (for non-malformed messages) as it was seen as a fitting
error.

I see the proposal to allow protocolError as a response to an invalid
control combination as warranted. In essence, we're simply clarifying an
aspect of RFC 2251 which was undocumented. We have also discovered that
there are existing implementations which interpreted (or maybe
extrapolated from) RFC 2251 as it applies to this condition, and both
implementations followed the same path. That path is in accord with the
proposed change.

Jim

>>> Chris Ridd <chris.ridd@isode.com> 5/17/04 2:45:11 PM >>>
On 17/5/04 9:24 pm, Jim Sermersheim <jimse@novell.com> wrote:

> So when it's returned with a  bind response, the client doesn't know
if
> it was due to an unsupported protocol version, a problem with
multiple
> controls, or an incorrect structure (though I guess a bad sequence
of
> controls can be considered as "incorrect structure")

The "incorrect structure" text doesn't suggest that to me at all. RFC
2251
notes in a couple of places that protocolError is returned when the
server
is unable to parse the LDAPMessage/request, and that's just a
different
problem than not being to operate on the permutation of controls
offered by
the client.

Cheers,

Chris

PS apologies to the rest of the list - Alan, emails to you are being
bounced.



From owner-ietf-ldapbis@OpenLDAP.org  Mon May 17 19:05:19 2004
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 TAA11867
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 May 2004 19:05:18 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HN1f9D091686;
	Mon, 17 May 2004 23:02:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4HMtilw091517;
	Mon, 17 May 2004 22:55:44 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, 17 May 2004 22:55:44 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4HMtbYo091505
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 17 May 2004 22:55:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4HMsqKl018239;
	Mon, 17 May 2004 22:54:53 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040517150613.05005bf0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 17 May 2004 15:54:52 -0700
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: current control combination proposals
Cc: <chris.ridd@isode.com>, <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s0a8cb2f.023@sinclair.provo.novell.com>
References: <s0a8cb2f.023@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:24 PM 5/17/2004, Jim Sermersheim wrote:
>My worry would be those places where protocolError means something
>special.

My worry is the language in too narrow, see below.

>Here's the current (24) language:
>
>protocolError (2)
>Indicates the server received data which has incorrect structure.

This is too narrow.  Better would be say:
        Indicates the request is not well formed.

Then in 4.1.11 controls section state the a message containing
a sequence of controls whose semantics are unspecified is
considered not well formed.

The key here is that protocolError is not just for simple parsing
errors (such as when the encoding rules are violated, or when an
ASN.1 constraint is violated), but also is used when request is
otherwise invalid.



>For bind operation only, this code is also used to indicate that the
>server does not support the requested protocol version.
>
>For the extended operation only, this code indicates that the server
>does not recognize the requestName.

Recongize here generally means more than understand to know that
the some OID identifies a particular extended request.  It implies
the server is also capable of parsing the requestValue and respond
in a manner consistent with the specification of the extended
operation associated with that extended request.  That is, recognize
the requestName here implies the server implements the specification
of the extended operation that request is part of.

That is, this should be changed to:
        For extended operations only, this code indicates that the
        server does not support (by design or configuration) the
        extended operation associated with the requestName.

Likewise to the section regarding extended operations.

>For the Start TLS operation, this code may also indicate that the
>server does not currently support Start TLS (even though it may
>recognize the requestName).

I think this is unnecessary (collapses into the previous paragraph)
with the above clarification and like clarifications to sections
discussion Start TLS.

>For request operations specifying multiple controls, this may be used
>to indicate that the server cannot ignore the order of the controls as
>specified, or that the combination of the specified controls is not
>supported.

"not supported" is incorrect.  If the combination could be supported,
then a service error is more appropriate.  If however the combination
cannot be supported, because it is invalid or unspecified, then protocol
error.

>So when it's returned with a  bind response, the client doesn't know if
>it was due to an unsupported protocol version, a problem with multiple
>controls, or an incorrect structure (though I guess a bad sequence of
>controls can be considered as "incorrect structure")

Maybe it would be nice for distinguish the first case from the last
two, but under what circumstance would a client care about
distinguishing the last two cases from each other?


>Jim
>
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 5/17/04 12:39:26 PM >>>
>At 08:34 AM 5/17/2004, Chris Ridd wrote:
>>> It has been reported that existing implementations return
>>> protocolError here.  What's broke with that?
>>
>>Well, for one thing no protocol's being broken. It seems a bit
>severe.
>
>Realizing that some implementors may have taken a narrow view
>over what kinds of errors are indicated by protocolError and the
>fact that some existing implementations are using protocolError
>here, my question is more intended to ask what problems exist
>today (or could exist in the future) due to difference.
>
>If no real problems exist, then its simply a matter of clarifying
>the specification to return of protocolError is accectable here.
>(Likely be refining both the general description of the code
>as well as the text regarding treatment of nonsensical control
>combinations.)
>
>If problems exist, then we need to determine how best to resolve
>those problems.  Without a description of those problems, I and
>others cannot begin to engineer an appropriate fix.
>
>- Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 18 00:15:59 2004
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 AAA28090
	for <ldapbis-archive@lists.ietf.org>; Tue, 18 May 2004 00:15:59 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I4EImU000905;
	Tue, 18 May 2004 04:14:45 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4I48KFw000779;
	Tue, 18 May 2004 04:08: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); Tue, 18 May 2004 04:08:20 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I48DPk000758
	for <ietf-ldapbis@openldap.org>; Tue, 18 May 2004 04:08:19 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B00025cd54>; Tue, 18 May 2004 13:56:36 +1000
Received: (qmail 26404 invoked from network); 18 May 2004 04:07:40 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 18 May 2004 04:07:40 -0000
Message-ID: <40A98C0B.8020801@adacel.com.au>
Date: Tue, 18 May 2004 14:07:39 +1000
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: jimse@novell.com
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-protocol-24.txt
References: <200405121340.JAA02566@ietf.org>
In-Reply-To: <200405121340.JAA02566@ietf.org>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Jim,

Just a minor ASN.1 detail. The LDAPMessage.protocolOp CHOICE in RFC 2251 did not
include the intermediateResponse alternative so the extension ellipsis should
probably go before the intermediateResponse alternative rather than after it,
i.e.
     extendedResp          ExtendedResponse,
     ...,
     intermediateResponse  IntermediateResponse },

Regards,
Steven

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: The Protocol
> 	Author(s)	: J. Sermersheim
> 	Filename	: draft-ietf-ldapbis-protocol-24.txt
> 	Pages		: 61
> 	Date		: 2004-5-11



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 18 01:51:20 2004
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 BAA02395
	for <ldapbis-archive@lists.ietf.org>; Tue, 18 May 2004 01:51:19 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I5ns1W002625;
	Tue, 18 May 2004 05:50:01 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4I5jh4C002497;
	Tue, 18 May 2004 05:45:43 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, 18 May 2004 05:45:43 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I5jcJU002474
	for <ietf-ldapbis@openldap.org>; Tue, 18 May 2004 05:45:41 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B00025ce4f>; Tue, 18 May 2004 15:33:56 +1000
Received: (qmail 28342 invoked from network); 18 May 2004 05:45:01 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 18 May 2004 05:45:01 -0000
Message-ID: <40A9A2DB.1080606@adacel.com.au>
Date: Tue, 18 May 2004 15:44:59 +1000
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-protocol-24.txt
References: <s0a9473a.050@sinclair.provo.novell.com>
In-Reply-To: <s0a9473a.050@sinclair.provo.novell.com>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Jim,

Jim Sermersheim wrote:
> I'm curious, what's the difference (since it's a CHOICE and only one
> element can appear in the field)? Is it just some ASN.1 thing?

The difference only matters if one is using PER. PER encodes an element
that is before the ellipsis differently from an element that is after
the ellipsis. If the encoder and decoder don't agree on what is before
and what is after then they won't interwork.

All the other ASN.1 encoding rules encode an element the same way regardless
of whether it is before or after an ellipsis, so it doesn't really matter
where it is for them.

Regards,
Steven

> 
> Jim
> 
> 
>>>>Steven Legg <steven.legg@adacel.com.au> 5/17/04 10:07:39 PM >>>
> 
> 
> Jim,
> 
> Just a minor ASN.1 detail. The LDAPMessage.protocolOp CHOICE in RFC
> 2251 did not
> include the intermediateResponse alternative so the extension ellipsis
> should
> probably go before the intermediateResponse alternative rather than
> after it,
> i.e.
>      extendedResp          ExtendedResponse,
>      ...,
>      intermediateResponse  IntermediateResponse },
> 
> Regards,
> Steven
> 
> 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: The Protocol
>>	Author(s)	: J. Sermersheim
>>	Filename	: draft-ietf-ldapbis-protocol-24.txt
>>	Pages		: 61
>>	Date		: 2004-5-11
> 
> 
> 
> 



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 18 04:40:24 2004
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 EAA24664
	for <ldapbis-archive@lists.ietf.org>; Tue, 18 May 2004 04:40:23 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I8cPvW008336;
	Tue, 18 May 2004 08:38:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4I8XYud008179;
	Tue, 18 May 2004 08:33:34 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, 18 May 2004 08:33:34 +0000
Received: from nb2.stroeder.com (d1-226.dsl.easysurfnet.de [83.121.1.226])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I8XP3t008149
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 18 May 2004 08:33:33 GMT
	(envelope-from michael@stroeder.com)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP id 66D23B8C30
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 18 May 2004 10:32:17 +0200 (CEST)
Message-ID: <40A85AB7.1020807@stroeder.com>
Date: Mon, 17 May 2004 08:24:55 +0200
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: appropriateness of combination of controls (new suggestion)
References: <s0a5dcb6.049@sinclair.provo.novell.com> <6.0.1.1.0.20040515081032.02c75cd8@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040515081032.02c75cd8@127.0.0.1>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:>
> Well, I checked our code and, to my surpise, it wasn't as
> I previously described.  OpenLDAP slapd(8) response of say:
>         search+ManageDsaIT+manageDsaIT
>         search+subentries+subentries
> 
> would be to return protocolError.  Given this, I retract my
> suggested text.
> 
> If we're going to recommend returning an error here, I think
> we should specifically recommend return of protocolError over
> a code like unwillingToPerform.
 >
 > unwillingToPerform implies that the operation can be performed,
 > but that this particular server is unwilling or unable to perform
 > the operation (at this time).  protocolError more accurately
 > reflects that the server cannot make sense of the request.

+1

protocolError would signal the LDAP client developer that there's really 
something going wrong in the client implementation which must be fixed to work.

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 18 04:40:28 2004
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 EAA24682
	for <ldapbis-archive@lists.ietf.org>; Tue, 18 May 2004 04:40:27 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I8cPvU008336;
	Tue, 18 May 2004 08:38:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4I8XYVj008186;
	Tue, 18 May 2004 08:33:34 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, 18 May 2004 08:33:34 +0000
Received: from nb2.stroeder.com (d1-226.dsl.easysurfnet.de [83.121.1.226])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4I8XP41008150
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 18 May 2004 08:33:33 GMT
	(envelope-from michael@stroeder.com)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP id 24B32B8D13
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 18 May 2004 10:32:18 +0200 (CEST)
Message-ID: <40A85BD3.2090806@stroeder.com>
Date: Mon, 17 May 2004 08:29:39 +0200
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: appropriateness of combination of controls (new	suggestion)
References: <s0a5ebae.028@sinclair.provo.novell.com>
In-Reply-To: <s0a5ebae.028@sinclair.provo.novell.com>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Jim Sermersheim wrote:
>>
>>Do you also handle a message with two critical manageDsaIT
>>controls in the same fashion?
> 
> Two manageDsaIT controls will result in a "last one wins" behavior
> (regardless of criticality).

I think a "last one wins" behavior is bad. This leads to poorly written LDAP 
clients not interoperable with different LDAP servers.

Please, be strict in cases where requests are obviously ambigous. LDAP 
clients sending those kind of requests should be treated to get fixed. IMO 
returning protocolError is appropriate in this situation.

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Wed May 19 05:44:14 2004
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 FAA25339
	for <ldapbis-archive@lists.ietf.org>; Wed, 19 May 2004 05:44:14 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4J9ffQ5060969;
	Wed, 19 May 2004 09:42:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4J9Xhkt060665;
	Wed, 19 May 2004 09:33:43 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); Wed, 19 May 2004 09:33:43 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4J9XUY8060638
	for <ietf-ldapbis@openldap.org>; Wed, 19 May 2004 09:33:40 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx6.uio.no ([129.240.10.47])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BQNRo-0003W6-Vz; Wed, 19 May 2004 11:33:13 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1BQNRj-0003uO-Lb; Wed, 19 May 2004 11:33:07 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BQNRa-0000nP-00; Wed, 19 May 2004 11:32:58 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040519erb1@bombur.uio.no>
To: Steven Legg <steven.legg@adacel.com.au>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-protocol-24.txt
In-Reply-To: <40A9A2DB.1080606@adacel.com.au>
References: <s0a9473a.050@sinclair.provo.novell.com>
	<40A9A2DB.1080606@adacel.com.au>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 19 May 2004 11:32:58 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven Legg writes:
>Jim Sermersheim wrote:
>> I'm curious, what's the difference (since it's a CHOICE and only one
>> element can appear in the field)? Is it just some ASN.1 thing?
> 
> The difference only matters if one is using PER. PER encodes an element
> that is before the ellipsis differently from an element that is after
> the ellipsis.

If intermediateResponse is added after the ellipsis, and a future LDAP
standard adds yet another LDAPMessage type, where should that be added?
Between the ellipsis and intermediateResponse?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed May 19 07:15:48 2004
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 HAA01864
	for <ldapbis-archive@lists.ietf.org>; Wed, 19 May 2004 07:15:47 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JBEDmj063656;
	Wed, 19 May 2004 11:14:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4JB74ij063524;
	Wed, 19 May 2004 11:07: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); Wed, 19 May 2004 11:07:04 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JB6bJp063478;
	Wed, 19 May 2004 11:06:58 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BQOu9-0004eT-SM; Wed, 19 May 2004 13:06:33 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1BQOts-0004Eb-6n; Wed, 19 May 2004 13:06:16 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BQOtf-0000zv-00; Wed, 19 May 2004 13:06:03 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040519d7a7@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Active Directory question
In-Reply-To: <6.0.1.1.0.20040507124605.04e6e078@127.0.0.1>
References: <s084ef11.032@sinclair.provo.novell.com>
	<HBF.20040420bp2v@bombur.uio.no>
	<6.0.1.1.0.20040420101716.04932358@127.0.0.1>
	<6.0.1.1.0.20040420102949.04a38248@127.0.0.1>
	<HBF.20040507taid@bombur.uio.no>
	<6.0.1.1.0.20040507110931.04e47e20@127.0.0.1>
	<HBF.20040507sag5@bombur.uio.no>
	<6.0.1.1.0.20040507124605.04e6e078@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 19 May 2004 13:06:03 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> I've added:
> 
> Clarifications to these portions include:
> 
> - Attribute descriptions with options, while generally treated as    
> subtypes of the attribute type, do not necessarily refer to
> actual subtypes of the attribute type.
> 
> to A.1.2.

Sorry to be going on about this, but I still don't get it.  That is not
what [Models] says.

- I can find no text in [Models] which implies that attribute
  descriptions with options are 'generally treated as subtypes' of the
  attribute type.  Only tagging options are defined to do so.  For other
  options to produce subtypes, these options' specifications would have
  to say so.  So I maintain that this is a change, not a clarification.
 
- Attribute descriptions with tagging options _are_ (description)
  subtypes (section 2.5.2.1), not merely _treated as_ subtypes, whatever
  the practical difference is.  Unless the "(description)" part reflects
  "treated as", somehow.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed May 19 07:34:18 2004
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 HAA02661
	for <ldapbis-archive@lists.ietf.org>; Wed, 19 May 2004 07:34:18 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JBWm7R064335;
	Wed, 19 May 2004 11:32:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4JBLfml063951;
	Wed, 19 May 2004 11:21: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); Wed, 19 May 2004 11:21:41 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JBLVS2063902
	for <ietf-ldapbis@openldap.org>; Wed, 19 May 2004 11:21:38 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BQP8V-0006gG-1K
	for ietf-ldapbis@openldap.org; Wed, 19 May 2004 13:21:23 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1BQP0c-0001yQ-1L
	for ietf-ldapbis@openldap.org; Wed, 19 May 2004 13:13:14 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BQP0Y-00011U-00
	for ietf-ldapbis@OpenLDAP.org; Wed, 19 May 2004 13:13:10 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040519d2zz@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol: "outstanding" operations
In-Reply-To: <HBF.20040507tkuc@bombur.uio.no>
References: <HBF.20040507tkuc@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 19 May 2004 13:13:10 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I wrote:
> A recent poster to the OpenLDAP-software list had not understood what an
> outstanding operation is.  Maybe [protocol] should define it at the time
> of first use.  Something like this:
>   
>   at the server: a request which is being or waiting to be processed.
>   at the client: as above,

including requests sent by the client which the server has not yet
received,

>   , or an operation for which the server has
>   sent a response which the client has not yet received.

It gets a bit cumbersome, I'm afraid.  Improvements are welcome:-)
And maybe I should have done s/request/operation/ above.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed May 19 10:16:18 2004
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 KAA13606
	for <ldapbis-archive@lists.ietf.org>; Wed, 19 May 2004 10:16:17 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JEE4Pr071661;
	Wed, 19 May 2004 14:14:22 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4JEBLPF071566;
	Wed, 19 May 2004 14:11:21 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); Wed, 19 May 2004 14:11:21 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JEAL3H071533
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 19 May 2004 14:11:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4JEALKl028469;
	Wed, 19 May 2004 14:10:21 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040519070743.02ca6d08@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 19 May 2004 07:10:17 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Active Directory question
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040519d7a7@bombur.uio.no>
References: <s084ef11.032@sinclair.provo.novell.com>
 <HBF.20040420bp2v@bombur.uio.no>
 <6.0.1.1.0.20040420101716.04932358@127.0.0.1>
 <6.0.1.1.0.20040420102949.04a38248@127.0.0.1>
 <HBF.20040507taid@bombur.uio.no>
 <6.0.1.1.0.20040507110931.04e47e20@127.0.0.1>
 <HBF.20040507sag5@bombur.uio.no>
 <6.0.1.1.0.20040507124605.04e6e078@127.0.0.1>
 <HBF.20040519d7a7@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 04:06 AM 5/19/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> I've added:
>> 
>> Clarifications to these portions include:
>> 
>> - Attribute descriptions with options, while generally treated as    
>> subtypes of the attribute type, do not necessarily refer to
>> actual subtypes of the attribute type.
>> 
>> to A.1.2.
>Sorry to be going on about this, but I still don't get it.  That is not
>what [Models] says.

Okay, I'll change the bullet to:

- Subtyping and AttributeDescriptions with options.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed May 19 10:27:45 2004
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 KAA14891
	for <ldapbis-archive@lists.ietf.org>; Wed, 19 May 2004 10:27:44 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JEPuAX072306;
	Wed, 19 May 2004 14:25:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4JEOv1M072168;
	Wed, 19 May 2004 14:24:57 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); Wed, 19 May 2004 14:24:57 +0000
Received: from cantor.openldap.org (root@cantor.openldap.org [204.152.186.52])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4JEOmPR072137
	for <ietf-ldapbis@mail.OpenLDAP.org>; Wed, 19 May 2004 14:24:50 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from pretender.boolean.net (root@foobarlabs-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::797] (may be forged))
	by cantor.openldap.org (8.12.11/8.12.11) with ESMTP id i4JEOcZL062165
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 19 May 2004 14:24:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4JENWKl028603;
	Wed, 19 May 2004 14:23:32 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040519071448.02ca8108@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 19 May 2004 07:23:29 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: protocol: "outstanding" operations
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040519d2zz@bombur.uio.no>
References: <HBF.20040507tkuc@bombur.uio.no>
 <HBF.20040519d2zz@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 04:13 AM 5/19/2004, Hallvard B Furuseth wrote:
>I wrote:
>> A recent poster to the OpenLDAP-software list had not understood what an
>> outstanding operation is.  Maybe [protocol] should define it at the time
>> of first use.  Something like this:
>>   
>>   at the server: a request which is being or waiting to be processed.
>>   at the client: as above,
>
>including requests sent by the client which the server has not yet
>received,
>
>>   , or an operation for which the server has
>>   sent a response which the client has not yet received.
>
>It gets a bit cumbersome, I'm afraid.

That's my fear.  Are such clarifications going cause more
confusion? 

>Improvements are welcome:-)

My suggestion would be avoiding the need to define the
term.  Instead, I would try to reword any sentence which
used the phrase "outstanding operation" (or "outstanding
request") to be reasonable clear without having to
rely on separately stated terminology definitions.

>And maybe I should have done s/request/operation/ above.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Wed May 19 20:22:26 2004
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 UAA00788
	for <ldapbis-archive@lists.ietf.org>; Wed, 19 May 2004 20:22:24 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4K0KGPe004595;
	Thu, 20 May 2004 00:20:33 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4K0FSf0004502;
	Thu, 20 May 2004 00:15:28 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 May 2004 00:15:28 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4K0FG25004484
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 20 May 2004 00:15:26 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B00025ea78>; Thu, 20 May 2004 10:03:27 +1000
Received: (qmail 24674 invoked from network); 20 May 2004 00:14:44 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 20 May 2004 00:14:44 -0000
Message-ID: <40ABF873.60804@adacel.com.au>
Date: Thu, 20 May 2004 10:14:43 +1000
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
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: I-D ACTION:draft-ietf-ldapbis-protocol-24.txt
References: <s0a9473a.050@sinclair.provo.novell.com>	<40A9A2DB.1080606@adacel.com.au> <HBF.20040519erb1@bombur.uio.no>
In-Reply-To: <HBF.20040519erb1@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> Steven Legg writes:
> 
>>Jim Sermersheim wrote:
>>
>>>I'm curious, what's the difference (since it's a CHOICE and only one
>>>element can appear in the field)? Is it just some ASN.1 thing?
>>
>>The difference only matters if one is using PER. PER encodes an element
>>that is before the ellipsis differently from an element that is after
>>the ellipsis.
> 
> 
> If intermediateResponse is added after the ellipsis, and a future LDAP
> standard adds yet another LDAPMessage type, where should that be added?

After intermediateResponse. The ellipsis is placed at the end of the alternatives
in the original base definition (which I would take to be the one in RFC 2251).
Each extension thereafter is appended to the end.

Regards,
Steven



From owner-ietf-ldapbis@OpenLDAP.org  Fri May 21 16:05:30 2004
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 QAA26302
	for <ldapbis-archive@lists.ietf.org>; Fri, 21 May 2004 16:05:30 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4LJuojJ096638;
	Fri, 21 May 2004 20:04:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4LJrB8w096425;
	Fri, 21 May 2004 19:53:11 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 May 2004 19:53:11 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4LJr435096412
	for <ietf-ldapbis@openldap.org>; Fri, 21 May 2004 19:53:06 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 PAA25659;
	Fri, 21 May 2004 15:53:01 -0400 (EDT)
Message-Id: <200405211953.PAA25659@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-syntaxes-08.txt
Date: Fri, 21 May 2004 15:53:01 -0400
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-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		: Lightweight Directory Access Protocol (LDAP): Syntaxes and Matching Rules
	Author(s)	: K. Dally, S. Legg
	Filename	: draft-ietf-ldapbis-syntaxes-08.txt
	Pages		: 48
	Date		: 2004-5-21
	
Each attribute stored in a Lightweight Directory Access Protocol
(LDAP) directory, and whose values may be transfered in the LDAP
protocol, has a defined syntax which constrains the structure and
format of its values.  The comparison semantics for values of a
syntax are not part of the syntax definition but are instead provided
through separately defined matching rules.  Matching rules specify an
argument, an assertion value, which also has a defined syntax.  This
document defines a base set of syntaxes and matching rules for use in
defining attributes for LDAP directories.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-syntaxes-08.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-syntaxes-08.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-syntaxes-08.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:	<2004-5-21155655.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-syntaxes-08.txt

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

Content-Type: text/plain
Content-ID:	<2004-5-21155655.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Fri May 21 16:57:40 2004
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 QAA02569
	for <ldapbis-archive@lists.ietf.org>; Fri, 21 May 2004 16:57:39 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4LKuHdD002515;
	Fri, 21 May 2004 20:56:22 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4LKorBY002375;
	Fri, 21 May 2004 20:50: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); Fri, 21 May 2004 20:50:53 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4LKonjc002364
	for <ietf-ldapbis@openldap.org>; Fri, 21 May 2004 20:50:51 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.30)
	id 1BRGyX-0002oN-PC
	for ietf-ldapbis@openldap.org; Fri, 21 May 2004 22:50:41 +0200
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1BRGxL-00065A-7D; Fri, 21 May 2004 22:49:27 +0200
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1BRGxK-0001PP-00; Fri, 21 May 2004 22:49:26 +0200
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040521scd2@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: OID attribute values with unknown names
Date: Fri, 21 May 2004 22:49:26 +0200
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=-5, required 12,
	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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

[Syntaxes] 3.3.26 (OID) says:

>   A value of the OID syntax is an object identifier; a sequence of two
>   or more non-negative integers that uniquely identify some object or
>   item of specification.

This seems to imply that the server MUST NOT store a name in an OID
attribute unless it knows which numericoid the name represents (and
therefore also knows what kind of OID the attribute values represent -
e.g. object classes, matching rules, or whatever).  That does not
seem to be the intent of rfc2252 section 6.25 (OID syntax).

The rest of the section does allow for names, but it says nothing about
unknown names, so it doesn't seem to override the text above:

>                           Many of the object identifiers used in LDAP
>   also have IANA registered names [RFC3383].
>
>   The LDAP-specific encoding of a value of this syntax is defined by
>   the <oid> rule in [MODELS].

If the above restriction is intentional, we can remove some of the text
which resulted from the 'objectIdentifierMatch on ambiguous name' thread
in 2003.

Otherwise, MAY the server refuse to store such names?  Maybe [Syntaxes]
or [Models] should answer that.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sat May 22 06:28:26 2004
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 GAA26639
	for <ldapbis-archive@lists.ietf.org>; Sat, 22 May 2004 06:28:25 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4MAQWXx020050;
	Sat, 22 May 2004 10:26:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4MALgJD020002;
	Sat, 22 May 2004 10:21:42 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); Sat, 22 May 2004 10:21:42 +0000
Received: from smtp.pspl.co.in (www.pspl.co.in [202.54.11.65] (may be forged))
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4MALc8u019992
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 22 May 2004 10:21:40 GMT
	(envelope-from manish_baid@persistent.co.in)
Received: from ps0174 (gateway.pspl.co.in [203.199.147.2])
	(authenticated bits=0)
	by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id i4MAOGGT019025
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 22 May 2004 15:54:16 +0530
Message-ID: <007001c43fe6$7aba8a90$a702a8c0@persistent.co.in>
From: "Manish Baid" <manish_baid@persistent.co.in>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Attribute value syntax in draft-ietf-ldapbis-protocol-22.txt
Date: Sat, 22 May 2004 15:50:56 +0530
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_006D_01C44014.91FD59C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Brightmail-Tracker: AAAAAQAAAAQ=
X-White-List-Member: TRUE
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.

------=_NextPart_000_006D_01C44014.91FD59C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
Last section of 4.1.5 of draft-ldap-protocol document is:

Clients MUST only send attribute values in a request that are valid =
according to the syntax defined for the attributes.=20
Does it implies, attribute syntax must be similar to the value syntax =
(used in assertion).

According to X.500, (X.501 8.7.1=20
A matching rule is defined through the specification of: =20
--- the range of attribute syntaxes supported by the rule;
  --- the specific types of matches supported by the rule;=20
 --- the syntax required to express an assertion of each specific type =
of match; =20
--- rules for deriving a value of the assertion syntax from a value of =
the attribute syntax, if required.
Which means, a matching rule can define the attribute value syntax it =
can match for associated attribute syntax.

I am fairly new to X.500 and LDAP, please correct me if I am missing out =
anything.

Regards,
Manish Baid


------=_NextPart_000_006D_01C44014.91FD59C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>Hi,</DIV>
<DIV>Last section of 4.1.5 of draft-ldap-protocol document is:</DIV>
<DIV>&nbsp;</DIV>
<DIV><PRE><FONT face=3DArial>Clients MUST only send attribute values in =
a request that are valid according to the syntax defined for the =
attributes. </FONT></PRE><PRE>Does it implies, attribute syntax must be =
similar to the value syntax (used in =
assertion).</PRE><PRE>&nbsp;</PRE><PRE>According to X.500, (X.501 8.7.1 =
</PRE><PRE><SPAN style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New =
Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: =
EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">A matching =
rule is defined through the specification of:<SPAN =
style=3D"mso-spacerun: yes">&nbsp; </SPAN></SPAN></PRE><PRE><SPAN =
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN =
style=3D"mso-spacerun: yes"></SPAN>--- the range of attribute syntaxes =
supported by the rule;</SPAN></PRE><PRE><SPAN style=3D"FONT-SIZE: 12pt; =
FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New =
Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA"><SPAN style=3D"mso-spacerun: yes">&nbsp; =
</SPAN>--- the specific types of matches supported by the rule;<SPAN =
style=3D"mso-spacerun: yes">&nbsp;</SPAN></SPAN></PRE><PRE><SPAN =
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN =
style=3D"mso-spacerun: yes"> </SPAN>--- the syntax required to express =
an assertion of each specific type of match; <SPAN =
style=3D"mso-spacerun: yes">&nbsp;</SPAN></SPAN></PRE><PRE><SPAN =
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN =
style=3D"mso-spacerun: yes"></SPAN>--- rules for deriving a value of the =
assertion syntax from a value of the attribute syntax, if =
required.</SPAN></PRE><PRE>Which means, a matching rule can define the =
attribute value syntax it can match for associated attribute =
syntax.</PRE><PRE>&nbsp;</PRE><PRE>I am fairly new to X.500 and LDAP, =
please correct me if I am missing out =
anything.</PRE><PRE>&nbsp;</PRE><PRE>Regards,</PRE><PRE>Manish =
Baid</PRE></DIV></BODY></HTML>

------=_NextPart_000_006D_01C44014.91FD59C0--



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 25 12:10:07 2004
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 MAA23274
	for <ldapbis-archive@lists.ietf.org>; Tue, 25 May 2004 12:10:07 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4PG74GA050293;
	Tue, 25 May 2004 16:07:46 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4PG1HWn049978;
	Tue, 25 May 2004 16:01:17 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, 25 May 2004 16:01:17 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4PG0jx9049962
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 25 May 2004 16:01:07 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4PG0iKl069398;
	Tue, 25 May 2004 16:00:45 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040525075142.02cab6b0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 25 May 2004 09:00:57 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: OID attribute values with unknown names
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040521scd2@bombur.uio.no>
References: <HBF.20040521scd2@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:49 PM 5/21/2004, Hallvard B Furuseth wrote:
>[Syntaxes] 3.3.26 (OID) says:
>
>>   A value of the OID syntax is an object identifier; a sequence of two
>>   or more non-negative integers that uniquely identify some object or
>>   item of specification.

This is a description of the abstract data type 'object identifier,
not a description of its representation in LDAP (the syntax).

A short name (descriptor) is not an OID, it refers to (or can
be viewed as representing) an OID.

>This seems to imply that the server MUST NOT store a name in an OID
>attribute unless it knows which numericoid the name represents (and
>therefore also knows what kind of OID the attribute values represent -
>e.g. object classes, matching rules, or whatever).

Unless the server knows which abstract value the transferred value
represents, the server cannot do much with it.  With numericoid,
the abstract value represented is obvious.  With short names,
the abstract value represented requires other knowledge.

>That does not
>seem to be the intent of rfc2252 section 6.25 (OID syntax).

The intent of RFC 2252 was simply to allow transfer of either
representation.  It said little about the need for the server
to understand which abstract value the transferred value
represented.

>The rest of the section does allow for names, but it says nothing about
>unknown names, so it doesn't seem to override the text above:
>
>>                           Many of the object identifiers used in LDAP
>>   also have IANA registered names [RFC3383].
>>
>>   The LDAP-specific encoding of a value of this syntax is defined by
>>   the <oid> rule in [MODELS].
>
>If the above restriction is intentional, we can remove some of the text
>which resulted from the 'objectIdentifierMatch on ambiguous name' thread
>in 2003.

The key here is that matching is defined in terms of abstract
values, not how they might be represented.  If the representation
of either the asserted value or stored value is ambiguous, then
the match should be Undefined.

>Otherwise, MAY the server refuse to store such names?

The server is to store an OID (in a representation of its
choosing).  If the transferred name does not convey(*)
unambiguously which OID to store, the server should not
attempt to store an OID (because it doesn't know which OID
to store).

>Maybe [Syntaxes] or [Models] should answer that.

What I describe above seems more of a [Protocol]
(Section 4.1.5) issue than a [Models] or [Syntaxes]
issue (but...).

(*) in the server's eye.  If we consider other syntaxes,
such as directory string, the client has no clue as
to which CHOICE the value "foo" conveys.  A CHOICE
printableString "foo" is a different abstract
value than CHOICE universalString "foo", they are
are equivalent.

I note that this as it implies we would need to be
very careful in adding a general clarification in
[Protocol].  Addressing this in [Syntaxes] may be
more appropriate.

In reading [Syntaxes] again, I am a bit concerned
that it describes syntaxes in terms of the LDAP
string encoding instead of in terms of the
underlying ASN.1 data type (which the LDAP
string encoding is just one of many possible
representations of).  This may be part of the
problem.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Tue May 25 12:55:53 2004
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 MAA28925
	for <ldapbis-archive@lists.ietf.org>; Tue, 25 May 2004 12:55:53 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4PGsZDc052237;
	Tue, 25 May 2004 16:54:42 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4PGlA4p052083;
	Tue, 25 May 2004 16:47:10 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, 25 May 2004 16:47:10 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4PGkhwB052070
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 25 May 2004 16:47:01 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4PGkgKl069630;
	Tue, 25 May 2004 16:46:43 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040525093852.02cb2450@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 25 May 2004 09:46:54 -0700
To: "Manish Baid" <manish_baid@persistent.co.in>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Attribute value syntax in
  draft-ietf-ldapbis-protocol-22.txt
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <007001c43fe6$7aba8a90$a702a8c0@persistent.co.in>
References: <007001c43fe6$7aba8a90$a702a8c0@persistent.co.in>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 03:20 AM 5/22/2004, Manish Baid wrote:
>Hi,
>Last section of 4.1.5 of draft-ldap-protocol document is:
> 
>
>Clients MUST only send attribute values in a request that are valid according to the syntax defined for the attributes. 
>
>Does it implies, attribute syntax must be similar to the value syntax (used in assertion).

I don't think the sentence implies anything in this area.

>According to X.500, (X.501 8.7.1 
>
>A matching rule is defined through the specification of:  
>
>--- the range of attribute syntaxes supported by the rule;
>
>  --- the specific types of matches supported by the rule; 
>
> --- the syntax required to express an assertion of each specific type of match;  
>
>--- rules for deriving a value of the assertion syntax from a value of the attribute syntax, if required.
>
>Which means, a matching rule can define the attribute value syntax it can match for associated attribute syntax.

The matching rule specification states which attribute syntaxes
the rule is applicable to and how that rule is applied to those
values of those syntaxes.

There is no requirement that the assertion syntax and attribute
syntax of a matching rule be "similar".
 
Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed May 26 03:33:12 2004
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 DAA26537
	for <ldapbis-archive@lists.ietf.org>; Wed, 26 May 2004 03:33:12 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4Q7RBNM085676;
	Wed, 26 May 2004 07:31:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4Q7MBws085291;
	Wed, 26 May 2004 07:22:11 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); Wed, 26 May 2004 07:22:11 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4Q7Lw3w085195
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 26 May 2004 07:22:09 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B0002645ba>; Wed, 26 May 2004 17:09:32 +1000
Received: (qmail 25763 invoked from network); 26 May 2004 07:21:36 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 26 May 2004 07:21:36 -0000
Message-ID: <40B4457E.4030603@adacel.com.au>
Date: Wed, 26 May 2004 17:21:34 +1000
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
Subject: Re: OID attribute values with unknown names
References: <HBF.20040521scd2@bombur.uio.no> <6.0.1.1.0.20040525075142.02cab6b0@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040525075142.02cab6b0@127.0.0.1>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 01:49 PM 5/21/2004, Hallvard B Furuseth wrote:
> 
>>[Syntaxes] 3.3.26 (OID) says:
>>
>>
>>>  A value of the OID syntax is an object identifier; a sequence of two
>>>  or more non-negative integers that uniquely identify some object or
>>>  item of specification.
> 
> 
> This is a description of the abstract data type 'object identifier,
> not a description of its representation in LDAP (the syntax).

I would say that the abstract data type is "the syntax".
The representation in LDAP (in protocol messages) is an encoding
for the syntax.

> 
> A short name (descriptor) is not an OID, it refers to (or can
> be viewed as representing) an OID.

A short name can also be said to be an encoding of the OID
abstract value.

> 
> 
>>This seems to imply that the server MUST NOT store a name in an OID
>>attribute unless it knows which numericoid the name represents (and
>>therefore also knows what kind of OID the attribute values represent -
>>e.g. object classes, matching rules, or whatever).
> 
> 
> Unless the server knows which abstract value the transferred value
> represents, the server cannot do much with it.  With numericoid,
> the abstract value represented is obvious.  With short names,
> the abstract value represented requires other knowledge.
> 
> 
>>That does not
>>seem to be the intent of rfc2252 section 6.25 (OID syntax).
> 
> 
> The intent of RFC 2252 was simply to allow transfer of either
> representation.  It said little about the need for the server
> to understand which abstract value the transferred value
> represented.
> 
> 
>>The rest of the section does allow for names, but it says nothing about
>>unknown names, so it doesn't seem to override the text above:
>>
>>
>>>                          Many of the object identifiers used in LDAP
>>>  also have IANA registered names [RFC3383].
>>>
>>>  The LDAP-specific encoding of a value of this syntax is defined by
>>>  the <oid> rule in [MODELS].
>>
>>If the above restriction is intentional, we can remove some of the text
>>which resulted from the 'objectIdentifierMatch on ambiguous name' thread
>>in 2003.
> 
> 
> The key here is that matching is defined in terms of abstract
> values, not how they might be represented.  If the representation
> of either the asserted value or stored value is ambiguous, then
> the match should be Undefined.
> 
> 
>>Otherwise, MAY the server refuse to store such names?
> 
> 
> The server is to store an OID (in a representation of its
> choosing).  If the transferred name does not convey(*)
> unambiguously which OID to store, the server should not
> attempt to store an OID (because it doesn't know which OID
> to store).
> 
> 
>>Maybe [Syntaxes] or [Models] should answer that.
> 
> 
> What I describe above seems more of a [Protocol]
> (Section 4.1.5) issue than a [Models] or [Syntaxes]
> issue (but...).
> 
> (*) in the server's eye.  If we consider other syntaxes,
> such as directory string, the client has no clue as
> to which CHOICE the value "foo" conveys.  A CHOICE
> printableString "foo" is a different abstract
> value than CHOICE universalString "foo", they are
> are equivalent.
> 
> I note that this as it implies we would need to be
> very careful in adding a general clarification in
> [Protocol].  Addressing this in [Syntaxes] may be
> more appropriate.
> 
> In reading [Syntaxes] again, I am a bit concerned
> that it describes syntaxes in terms of the LDAP
> string encoding

I have been very careful in making a distinction between the abstract syntax
and the LDAP string encoding in the syntaxes draft. Firstly, section 3.1
makes the point that the encodings are something distinct from the
syntax, and that multiple encodings exist:

    The description of each syntax specifies how attribute or assertion
    values conforming to the syntax are to be represented when transferred
    in the LDAP protocol [PROT]. This representation is referred to as
    the LDAP-specific encoding to distinguish it from other methods of
    encoding attribute values (e.g., the Basic Encoding Rules (BER)
    encoding used by X.500 [X.500] directories).

Each syntax description starts by describing the syntax in abstract terms:

    A value of the Foo syntax is ...

without reference to any particular protocol representation. That description
is then followed by a description of the encoding used by LDAP (which is
explicitly called out as being LDAP-specific):

   The LDAP-specific encoding of a value of this syntax is ...

 > instead of in terms of the
> underlying ASN.1 data type (which the LDAP
> string encoding is just one of many possible
> representations of).

The underlying ASN.1 type is mentioned in each syntax description but I
didn't put that up front because when you get right down to it, X.680
doesn't actually tell you what abstract syntaxes really are. Deferring
to ASN.1 isn't going to help the average punter to understand what
attribute syntaxes in LDAP are all about.

 > This may be part of the
> problem.

Or they are reading their own assumptions into what is actually written.

Regards,
Steven

> 
> Kurt
> 
> 
> 



From owner-ietf-ldapbis@OpenLDAP.org  Wed May 26 14:59:09 2004
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 OAA05686
	for <ldapbis-archive@lists.ietf.org>; Wed, 26 May 2004 14:59:08 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4QId1l5024123;
	Wed, 26 May 2004 18:57:46 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4QIZKNo023807;
	Wed, 26 May 2004 18:35: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); Wed, 26 May 2004 18:35:20 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4QIZ2tQ023790
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 26 May 2004 18:35:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4QIYwKl077383;
	Wed, 26 May 2004 18:34:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040526110633.048e1e78@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 26 May 2004 11:35:09 -0700
To: Steven Legg <steven.legg@adacel.com.au>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: OID attribute values with unknown names
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <40B4457E.4030603@adacel.com.au>
References: <HBF.20040521scd2@bombur.uio.no>
 <6.0.1.1.0.20040525075142.02cab6b0@127.0.0.1>
 <40B4457E.4030603@adacel.com.au>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 12:21 AM 5/26/2004, Steven Legg wrote:
>Kurt D. Zeilenga wrote:
>>In reading [Syntaxes] again, I am a bit concerned
>>that it describes syntaxes in terms of the LDAP
>>string encoding
>I have been very careful in making a distinction between the abstract syntax
>and the LDAP string encoding in the syntaxes draft.

For your information, the one instance initiated my bit of concern
was Directory String.
   A value of the Directory String syntax is a string of one or more
   arbitrary characters from the Universal Character Set (UCS) [UCS].

The abstract syntax is actually a sequence of arbitrary characters,
commonly of UCS but could be of T.61 or other character sets.  The
restriction to UCS is peculiarity of the LDAP string encoding, not
of the abstract syntax.

However, after toying around with some alternative wordings, I
couldn't come up with anything better.  So I'm fine with letting
this be.

>Or they are reading their own assumptions into what is actually written.

Yes.  Overall, I think [Syntaxes] is quite clear and "good enough".
Regardless of what we do, there will be some odd readings.

Kurt




From owner-ietf-ldapbis@OpenLDAP.org  Thu May 27 02:51:58 2004
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 CAA03432
	for <ldapbis-archive@lists.ietf.org>; Thu, 27 May 2004 02:51:57 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4R6j1Ox059724;
	Thu, 27 May 2004 06:50:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4R6hD4D059667;
	Thu, 27 May 2004 06:43:13 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, 27 May 2004 06:43:13 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4R6hAI4059633
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 27 May 2004 06:43:11 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B0002657ae>; Thu, 27 May 2004 16:31:37 +1000
Received: (qmail 14224 invoked from network); 27 May 2004 06:42:48 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 27 May 2004 06:42:48 -0000
Message-ID: <40B58DE6.8060805@adacel.com.au>
Date: Thu, 27 May 2004 16:42:46 +1000
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: OID attribute values with unknown names
References: <HBF.20040521scd2@bombur.uio.no> <6.0.1.1.0.20040525075142.02cab6b0@127.0.0.1> <40B4457E.4030603@adacel.com.au> <6.0.1.1.0.20040526110633.048e1e78@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040526110633.048e1e78@127.0.0.1>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 12:21 AM 5/26/2004, Steven Legg wrote:
> 
>>Kurt D. Zeilenga wrote:
>>
>>>In reading [Syntaxes] again, I am a bit concerned
>>>that it describes syntaxes in terms of the LDAP
>>>string encoding
>>
>>I have been very careful in making a distinction between the abstract syntax
>>and the LDAP string encoding in the syntaxes draft.
> 
> 
> For your information, the one instance initiated my bit of concern
> was Directory String.
>    A value of the Directory String syntax is a string of one or more
>    arbitrary characters from the Universal Character Set (UCS) [UCS].
> 
> The abstract syntax is actually a sequence of arbitrary characters,
> commonly of UCS but could be of T.61 or other character sets.  The
> restriction to UCS is peculiarity of the LDAP string encoding, not
> of the abstract syntax.

Since we talk about transliterating T.61 to UCS to do matching in the
directory (LDAP and X.500), and since XER, RXER and GSER all depend on
a notion of equivalence between T.61 characters and UCS characters,
one could almost make the case that the different ASN.1 string types
are just different ways to encode UCS characters :-) .

> 
> However, after toying around with some alternative wordings, I
> couldn't come up with anything better.

Me neither. I decided that being pedantic on this wouldn't be
helpful to the reader since the choice of character encoding carries
no semantic weight in LDAP or X.500, and most LDAP users will never see
that it makes any difference.

 > So I'm fine with letting
> this be.

Okay.

Regards,
Steven



From owner-ietf-ldapbis@OpenLDAP.org  Fri May 28 02:42:13 2004
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 CAA07471
	for <ldapbis-archive@lists.ietf.org>; Fri, 28 May 2004 02:42:13 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4S6df10029620;
	Fri, 28 May 2004 06:40:23 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4S6bUro029590;
	Fri, 28 May 2004 06:37:30 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, 28 May 2004 06:37:30 +0000
Received: from lucius.provo.novell.com (lucius.provo.novell.com [137.65.81.172])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4S6bPHc029567
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 28 May 2004 06:37:26 GMT
	(envelope-from gvithalprasad@novell.com)
Received: from INET-PRV1-MTA by lucius.provo.novell.com
	with Novell_GroupWise; Fri, 28 May 2004 00:37:05 -0600
Message-Id: <s0b689b1.079@lucius.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Fri, 28 May 2004 00:36:43 -0600
From: "Vithalprasad Gaitonde" <gvithalprasad@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: [Models] X- options on schema elements
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Section 4.1 of [Models] says:
"Implementors should note that future versions of this document may
  expand these definitions to include additional terms.  Terms whose
  identifier begins with "X-" are reserved for private experiments,
and
  are followed by <SP> and <qdstrings> tokens."

Why is there a restriction  that the X-<tag> be followed by qdstrings
alone. Shouldnt implementations be allowed to return binary values as
well here.

Thanks,
Prasad


From owner-ietf-ldapbis@OpenLDAP.org  Mon May 31 13:38:36 2004
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 NAA02585
	for <ldapbis-archive@lists.ietf.org>; Mon, 31 May 2004 13:38:36 -0400 (EDT)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4VHaLSq057457;
	Mon, 31 May 2004 17:36:58 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.11/8.12.11/Submit) with SMTP id i4VHVGG5057364;
	Mon, 31 May 2004 17:31:16 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, 31 May 2004 17:31:16 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i4VHV8tB057354
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 31 May 2004 17:31:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.11) with ESMTP id i4VHV6qf011925;
	Mon, 31 May 2004 17:31:06 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040531100747.04a89c40@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 31 May 2004 10:31:07 -0700
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: OIDs (was: [ldapext] Object class for untyped object)
Cc: ldapext@ietf.org, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040531b765@bombur.uio.no>
References: <HBF.20040531btpl@bombur.uio.no>
 <HBF.20040531b765@bombur.uio.no>
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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:22 AM 5/31/2004, Hallvard B Furuseth wrote:
>I wrote:
>
>> Finally, I'm not sure if the proper way to get an OID for such an object
>> class is to use our own OID space or to get one from IANA.  BCP64
>> (RFC3383) section 3.1 says
>> 
>>    For IETF developed elements, specifications SHOULD use OIDs under
>>    "Internet Directory Numbers" (1.3.6.1.1.x).
>
>Um.  Maybe I should add that the reason I think this might apply at all
>is because I'll be develop it through Internet-Drafts in order to become
>an RFC, not just to publish an already existing schema element.

A couple of notes regarding this BCP 64 text...

First note that text says "For IETF developed elements" as opposed
to "elements described in IETF documents".  This because IETF
documents often describe elements developed by others (e.g.,
other SDOs, individuals).  Second note that IETF work can be done
by individuals as well as by working groups.

That said, I don't think this sentence was intended to exclude
others from requesting assignment of an Internet Directory
Number for use in an LDAP specification.  This is evident
because the assignment practice is "Expert Review
with Specification Required" and not "IETF Consensus". 
A simple rewording/reordering of the section would likely be
more clear here.  I intend to incorporate such a change in
the next revision of the BCP64bis I-D.

Kurt 



