From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  2 09:52: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 JAA25988
	for <ldapbis-archive@lists.ietf.org>; Tue, 2 Nov 2004 09:52:33 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA2Eo3AL089614;
	Tue, 2 Nov 2004 14:50: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 iA2Emoue089455;
	Tue, 2 Nov 2004 14:48:50 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, 2 Nov 2004 14:48:50 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA2EmjM8089414;
	Tue, 2 Nov 2004 14:48:46 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id C011A16D282; Tue,  2 Nov 2004 06:48:37 -0800 (PST)
Message-ID: <41879E43.7080302@pearlcrescent.com>
Date: Tue, 02 Nov 2004 09:48:35 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt
References: <200410252003.QAA29252@ietf.org> <6.1.2.0.0.20041025133504.033605a0@127.0.0.1> <6.1.2.0.0.20041029153144.02effdb0@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041029153144.02effdb0@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:

> I have completed my review of the I-D.  While it's my personal
> opinion that the revisions made are consistent with WG
> consensus, I did find a few minor problems which likely should
> be address prior to progression.  Most significantly, a few
> aspects of the I-D need updated to be consistent with the
> ASN.1 and ABNF definitions of [Protocol] and [Models] (as
> possibly revised per recent discussions).  I suggest the
> <extensible> rule be clarified and examples changed
> slightly to demonstrate case-insensitive.  I also make a
> few editorial suggestions to improve clarity and/or to
> remove nits.  See attachment for details.

Thanks for your careful review.  I added my responses inline below, 
prefaced with [mcs].



> ...
>>>>11.2.     Editorial Changes...........................................10
>>>>12.    Appendix B: Changes Since Previous Document Revision...........11
>>>>12.1.     Editorial Changes...........................................11
>>>>13.    Intellectual Property Rights...................................11
>>>>14.    Full Copyright.................................................12
>>>
>>>
>>>Last two sections should be unnumbered sections.

Good catch.  Easily fixed.


>>>
>>>>1.  Introduction
>>>
>>>
>>>I would like to see a reference to [Roadmap] on first use of LDAP
>>>(as [Roadmap] is the (LDAP TS).  Maybe a slight rewording would
>>>facilitate that.

[mcs] Good idea.  Perhaps just replaced the [Protocol] reference below 
with [Roadmap]?  Or do we need to keep this sentence too:

    This document is an integral part of the LDAP Technical Specification
    [Roadmap].

?


>>>>  The Lightweight Directory Access Protocol (LDAP) [Protocol] defines a
>>>>  network representation of a search filter transmitted to an LDAP
>>>>  server.  Some applications may find it useful to have a common way of
>>>>  representing these search filters in a human-readable form; LDAP URLs
>>>
>>>
>>>cite [LDAPURL].

[mcs] OK; I will add it.


>>>> ...
>>>>
>>>>       LDAPString ::= OCTET STRING -- UTF-8 encoded,
>>>>                                   -- [Unicode] characters
>>>>
>>>>  The AttributeDescription is a string representation of the attribute
>>>>  description and is defined in [Protocol].
>>>
>>>
>>>This might be better worded:
>>>	The AttributeDescription, as defined in [Protocol], is a string
>>>	representation of the attribute description [Models].
>>>
>>>to clarify that attribute descriptions are discussed in [Models].

[mcs] I like your suggestion.  I'd also like to add "that is discussed 
in" or "that is described in" before "[Models]" in your suggested 
re-wording.


>>>> ...
>>>>     lessorequal    = LANGLE EQUALS
>>>>     extensible     = attr [dnattrs]
>>>>                            [matchingrule] COLON EQUALS assertionvalue
>>>>                      / [dnattrs]
>>>>                             matchingrule COLON EQUALS assertionvalue
>>>>                      / COLON EQUALS assertionvalue
>>>
>>>
>>>The grouping notation should be used here to improve clarity.
>>>That is, ( ... ) / ( ... ) / ( ... ).  As presented, it
>>>appears that ":=value" would be a valid extensible production.

[mcs] Agreed.  I will add the ()s.


>>>> ...
>>>>  For AssertionValues that contain UTF-8 character data, each octet of
>>>>  the character to be escaped is replaced by a backslash and two hex
>>>>  digits, which form a single octet in the code of the character.
>>>>
>>>
>>>Delete this blank line (see below)
 >>>

[mcs] OK.


>>>>  For example, the filter checking whether the "cn" attribute contained
>>>>  a value with the character "*" anywhere in it would be represented as
>>>>  "(cn=*\2a*)".
>>>>
>>>>  As indicated by the valueencoding rule, implementations MUST escape
>>>
>>>
>>>wrap valueencoding in <>, as done for other rule appearance in
>>>the prose.

[mcs] Good catch.

 >>>> ...
>>>>  The following examples illustrate the use of extensible matching.
>>>>
>>>>       (cn:1.2.3.4.5:=Fred Flintstone)
>>>>       (cn:=Betty Rubble)
>>>>       (sn:dn:2.4.6.8.10:=Barney Rubble)
>>>>       (o:dn:=Ace Industry)
>>>>       (:1.2.3:=Wilma Flintstone)
>>>>       (:dn:2.4.6.8.10:=Dino)
>>>
>>>
>>>Please change one of the :dn examples to uses :DN to remind folks
>>>that its case insensitive, e.g.,
>>>	(:DN:2.4.6.8.10:=Dino)

[mcs] Good idea.


>>>
>>>Please change one of the :oid examples to use the descr form, e.g.
>>>	(cn:caseExactMatch:=Fred Flintstone)
>>>

[mcs] Another good suggestion.


>>>> ...
>>>>  The following examples illustrate the use of the escaping mechanism.
>>>>
>>>>       (o=Parens R Us \28for all your parenthetical needs\29)
>>>>       (cn=*\2A*)
>>>>       (filename=C:\5cMyFile)
>>>>       (bin=\00\00\00\04)
>>>>       (sn=Lu\c4\8di\c4\87)
>>>>       (1.3.6.1.4.1.1466.0=\04\02\48\69)
>>>>
>>>>  The first example shows the use of the escaping mechanism to
>>>>  represent parenthesis characters. The second shows how to represent a
>>>>  "*" in an assertion value, preventing it from being interpreted as a
>>>>  substring indicator. The third illustrates the escaping of the
>>>>  backslash character.
>>>>
>>>>  The fourth example shows a filter searching for the four-byte value
>>>>  0x00000004, illustrating the use of the escaping mechanism to
>>>>  represent arbitrary data, including NUL characters.
>>>
>>>
>>>Without knowing the byte order of 0x00000004, one cannot say
>>>that the \00\00\00\04 is the proper value encoding.  Suggest
>>>you instead use:
>>>	the four octet value 00 00 00 04 (hex).
>>>
>>>or:
>>>	0x00000004 (big-endian, hex).

[mcs] I prefer your first suggestion (four octet value).  I believe that 
is what was intended by the example originally.


 >>>> ...
>>>>  The fifth example illustrates the use of the escaping mechanism to
>>>>  represent various non-ASCII UTF-8 characters.
>>>
>>>
>>>Would be good to say what those characters are.

[mcs] OK.  I suggest we add the following text:

    Specifically, there are 5 characters in the <assertionvalue>
    portion of this example: LATIN CAPITAL LETTER L (U+004C),
    LATIN SMALL LETTER U (U+0075), LATIN SMALL LETTER C WITH CARON
    (U+010D), LATIN SMALL LETTER I (U+0069), and LATIN SMALL
    LETTER C WITH ACUTE (U+0107).


>>>> ...
>>>>[X.690]     Specification of ASN.1 encoding rules: Basic, Canonical, and
>>>>           Distinguished Encoding Rules, ITU-T Recommendation X.690,
>>>>           1994.
>>>
>>>
>>>As understanding of BER is not required to properly implement
>>>Filter string representation specification, this reference can
>>>be viewed as Informative.

[mcs] I agree.


>>>
>>>
>>>>8.  Informative References
>>>>
>>>>  None.
>>>
>>>
>>>Add [LDAPURL].

[mcs] Yes.


>>>
>>>
>>>>9.  Acknowledgments
>>>>
>>>>  This document replaces RFC 2254 by Tim Howes.
>>>
>>>
>>>Please add:
>>>	RFC 2254 was a product of the IETF ASID Working Group.
>>>
>>>and insert paragraph break here.

[mcs] OK.

-Mark




From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  2 10:45:25 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 KAA02494
	for <ldapbis-archive@lists.ietf.org>; Tue, 2 Nov 2004 10:45:24 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA2Fi3Dk092356;
	Tue, 2 Nov 2004 15:44: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 iA2Fcq7q092119;
	Tue, 2 Nov 2004 15:38: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); Tue, 2 Nov 2004 15:38: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 iA2FcVNt092107
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 2 Nov 2004 15:38:31 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 iA2FcRZv010083;
	Tue, 2 Nov 2004 15:38:31 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041102072727.02d441b8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 02 Nov 2004 07:38:22 -0800
To: Mark Smith <mcs@pearlcrescent.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <41879E43.7080302@pearlcrescent.com>
References: <200410252003.QAA29252@ietf.org>
 <6.1.2.0.0.20041025133504.033605a0@127.0.0.1>
 <6.1.2.0.0.20041029153144.02effdb0@127.0.0.1>
 <41879E43.7080302@pearlcrescent.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:48 AM 11/2/2004, Mark Smith wrote:

>>>>>1.  Introduction
>>>>
>>>>
>>>>I would like to see a reference to [Roadmap] on first use of LDAP
>>>>(as [Roadmap] is the (LDAP TS).  Maybe a slight rewording would
>>>>facilitate that.
>
>[mcs] Good idea.  Perhaps just replaced the [Protocol] reference below with [Roadmap]?  Or do we need to keep this sentence too:
>
>   This document is an integral part of the LDAP Technical Specification
>   [Roadmap]. 

Citing [Roadmap] on first use of LDAP is appropriate as
[Roadmap] defines what is LDAP.  This sentences makes it
clear that this I-D is integral part of LDAP, and was also
intended to be part of the I-D's description of how it
relates to other I-Ds (and obsoleted RFCs).  I note that in
many of the LDAPBIS I-Ds (see [Protocol] & [Models]), we're
now using the longer form:
   This document is a integral part of the LDAP technical
   specification [Roadmap] which obsoletes the previously
   defined LDAP technical specification, RFC 3377, in its
   entirety.
and immediately following this with the particular obsolete
information for this I-D.  I suggest you do likewise here.

(I just noticed that [LDAPDN] should use the long form, will
update that.) 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  3 12:11:25 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 MAA28417
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Nov 2004 12:11:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA3H8CgU056721;
	Wed, 3 Nov 2004 17:09:04 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 iA3H2aIQ056510;
	Wed, 3 Nov 2004 17:02: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); Wed, 3 Nov 2004 17:02:36 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA3H2WJo056467;
	Wed, 3 Nov 2004 17:02:32 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id D581016D2B7; Wed,  3 Nov 2004 09:02:26 -0800 (PST)
Message-ID: <41890F22.3090805@pearlcrescent.com>
Date: Wed, 03 Nov 2004 12:02:26 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-07.txt
References: <200410252003.QAA29281@ietf.org> <6.1.2.0.0.20041025133320.0347b3d8@127.0.0.1> <6.1.2.0.0.20041029154203.02f0fe88@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041029154203.02f0fe88@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:

> I have completed my review of the I-D.  While it's my personal
> opinion that the revisions made are consistent with WG
> consensus, I did find a few minor problems which likely
> should be addressed prior to progression.  Most significantly,
> a few aspects of the I-D need updated to be consistent with
> the ABNF definitions of [Protocol] and [Models].  I suggest
> the <extype> rule be clarified and examples changed slightly
> to demonstrate case-insensitive.  I also make a few editorial
> suggestions to improve clarity and/or to remove nits.  See
> attachment for details.

Thanks for your detailed review of this I-D as well.  My detailed 
replies are inline below, prefaced with [mcs].  I will likely revise and 
submit updated drafts for both this document (URL) and the filter 
document in the next couple of weeks, so if anyone else has comments 
please let me know.


> ...
>>>>Abstract
>>>>
>>>>  This document describes a format for an LDAP Uniform Resource Locator
>>>>  (URL).  An LDAP URL describes an LDAP search operation that is used
>>>
>>>
>>>Spell LDAP out of first use.

[mcs] OK.

 >>> ...
>>>>13.    Appendix B: Changes Since Previous Document Revision...........13
>>>>13.1.     Editorial Changes...........................................14
>>>>14.    Intellectual Property Rights...................................14
>>>>15.    Full Copyright.................................................14
>>>
>>>
>>>Last sections should be unnumbered.

[mcs] OK.


>>> ...
>>>>1.  Introduction
>>>>
>>>>  LDAP is the Lightweight Directory Access Protocol, defined in
>>>>  [Protocol].
>>>
>>>
>>>s/[Protocol]/[Roadmap]/

[mcs] OK.


>>>
>>>
>>>>              This document specifies the LDAP URL format for version
>>>>  3 of LDAP and clarifies how LDAP URLs are resolved. This document
>>>>  also defines an extension mechanism for LDAP URLs, so that future
>>>>  documents can extend their functionality, for example, to provide
>>>>  access to new LDAPv3 extensions as they are defined.
>>>
>>>
>>>s/their/the/  (extensions extend the base functionality)
>>>Actually, rewriting the sentence as follows may be appropriate.
>>>	This document also defines an extension mechanism for LDAP URLs.
>>>	This mechanism may be used to provide access to new LDAP
>>>	extensions.

[mcs] I like your suggested re-wording.  Let's use it.


>>>I suggest inserting a paragraph break here.

[mcs] Good idea.


 >>> ...
>>>>                                                        Note:  not all
>>>
>>>                                                                ^
>>>Remove extra space.  I also suggest s/Note:/Note that/.

[mcs] OK.
>>>
>>>
>>>>  of the parameters of the LDAP search operation described in
>>>>  [Protocol] can be expressed using the format defined in this
>>>>  document.
>>>
>>>
>>>It maybe appropriate to add the following to this paragraph:
>>>	Note also that URLs may be used to represent reference
>>>	knowledge, including for non-search operations.

[mcs] I am OK with adding this.  Any objections?  LDAP URLs are widely 
used to represent configuration information also, which is similar to 
the reference knowledge kind of use.

>>> ...
>>>>      attrdesc    = <AttributeDescription
>>>>                                      from Section 4.1.4 of [Protocol]>
>>>>                    / ASTERISK
>>>>                      ; See the "Escaping Using the % Method"
>>>>                      ; section below.
>>>
>>>
>>>This should be:
>>>		attributes  = selector *(COMMA selector)
>>>		selector    = <attributeSelector from Section 4.1.4 of [Protocol]>
>>>                       ; See the "Escaping Using the % Method"
>>>                       ; section below.

[mcs] You are correct.  Also, in protocol-27 the section is 4.5.1 
instead of 4.1.4.  I will make the appropriate changes.


>>> ...
>>>>      scope       = "base" / "one" / "sub"
>>>>      filter      = <filter from Section 4 of [Filters]>
>>>>                      ; See the "Escaping Using the % Method"
>>>>                      ; section below.
>>>>      extensions  = extension *(COMMA extension)
>>>>      extension   = [EXCLAMATION] extype [EQUALS exvalue]
>>>>      extype      = oid / oiddescr
>>>
>>>
>>>This should just be:
>>>	    extype		= <oid from section 1.4 of [Models]>

[mcs] Right.


>>>
>>>>      exvalue     = <LDAPString from section 4.1.2 of [Protocol]>
>>>>                      ; See the "Escaping Using the % Method"
>>>>                      ; section below.
>>>>      oid         = <LDAPOID from section 4.1.2 of [Protocol]>
>>>>      oiddescr    = <name from section 3.3 of [LDAPIANA]>
>>>
>>>
>>>With the above change, <oid> and <oiddescr> rules here can
>>>be deleted.

[mcs] Yes.  These were kind of ugly anyway, so it is nice to be able to 
just reference [Models].

>>>
>>>
>>>>      EXCLAMATION = %x21 ; exclamation mark ("!")
>>>>      ASTERISK    = %x2A ; asterisk ("*")
>>>
>>>
>>>Can be dropped if the above changes are implemented.

[mcs] I will drop ASTERISK.


>>> ...
>>>I suggest wrapping all ABNF rule names appearing in the prose
>>>using <>.

[mcs] Yes, that would be best.  I will do so.

 >>> ...
>>>>  The extension type (extype) MAY be specified using the oid form
>>>
>>>
>>>s/oid/numeric OID <numericoid> form/  (likewise below)
>>>
>>>>  (e.g., 1.2.3.4) or the oiddesc form (e.g., myLDAPURLExtension).  Use
>>>
>>>
>>>s/oiddesc/descriptor <descr> form/  (likewise below)
>>>
>>>s/./ of the <oid> production [Models]./

[mcs] Right.  I do not think we use <oid> or <oiddesc> anywhere else in 
the document.

>>> ...
>>>>
>>>>    ldap://ldap1.example.com/c=GB?objectClass?one
>>>
>>>
>>>Please s/ldap:/LDAP:/ and s/one/ONE/ to demonstrate case insensitive.

[mcs] Good idea.

 >>> ...
>>>>    ldap://ldap3.example.com/o=Babsco,c=US
>>>>            ???(four-octet=%5c00%5c00%5c00%5c04)
>>>>
>>>>  The filter in this example uses the LDAP escaping mechanism of \ to
>>>>  encode three zero or null bytes in the value. In LDAP, the filter
>>>>  would be written as (four-octet=\00\00\00\04). Because the \
>>>>  character must be escaped in a URL, the \'s are escaped as %5c in the
>>>>  URL encoding.
>>>
>>>
>>>s/%5c/%5c (or %5C)/
>>>
>>>I suggest that you use uppercase hex values in a subsequent
>>>example.

[mcs] OK.  That is easily done.


>>>>[LDAPIANA]  Zeilenga, K., "IANA Considerations for LDAP",
>>>>           draft-ietf-ldapbis-bcp64-xx.txt, a work in progress.
>>>
>>>
>>>With above changes, can be informative.

[mcs] Right.  Good catch!

Thanks!

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  3 13:53: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 NAA07775
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Nov 2004 13:53:24 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA3IoDAB064747;
	Wed, 3 Nov 2004 18:50:52 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 iA3Io8Ma064735;
	Wed, 3 Nov 2004 18:50: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); Wed, 3 Nov 2004 18:50:08 +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 iA3Io6Vr064722
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Nov 2004 18:50: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 iA3Io6Zv021073
	for <ietf-ldapbis@openldap.org>; Wed, 3 Nov 2004 18:50:06 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041103104757.02ded620@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 03 Nov 2004 10:50:23 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: draft-ietf-ldapbis-user-schema-08.txt
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Please review this I-D to ensure the changes made since WG
Last Call are consistent with WG consensus.  The chairs
intend to progress this revision to the AD within the next
week or so.

-- Kurt, LDAPBIS co-chair



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  3 18: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 SAA03336
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Nov 2004 18:34:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA3NWED9081209;
	Wed, 3 Nov 2004 23:33: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 iA3NU7NA081118;
	Wed, 3 Nov 2004 23:30: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, 3 Nov 2004 23:30: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 iA3NU5UF081108
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Nov 2004 23:30: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 iA3NTxZv022885;
	Wed, 3 Nov 2004 23:29:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041103152103.02f1c8c8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 03 Nov 2004 15:30:16 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Update restrictions (Was: protocol-27 comments)
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
In-Reply-To: <s18196e9.017@sinclair.provo.novell.com>
References: <s18196e9.017@sinclair.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:31 PM 10/28/2004, Jim Sermersheim wrote:
>>> 4.7. Add Operation
>>
>>> - attributes: the list of attributes that, along with those from the
>>> RDN, make up the content of the entry being added. Clients MAY or
>>> MAY NOT include the RDN attribute in this list. Clients MUST
>>> include the 'objectClass' attribute, and values of any mandatory
>>> attributes of the listed object classes.
>>
>>If the RDN is an objectClass, does that object class need to be
>>supplied? (Not that I care if it is addressed or not, it's just a weird
>>example which occurred to me:-)
>Hmm, well as long as we're being pedantic, do all entries which can be added by a cleint require the objectClass attribute? I've seen hints that some implementations allow DSE's of certain DSE types to exist without an objectClass attribute (I think this was a justification for the T/F filter specification). It would probably be better to say that the entry being added must conform to the data model.

[Models, 7.1]
  Servers MUST ensure that entries conform to user and system
  schema rules or other data model constraints.

Echoing this for each update operation may be appropriate.


>>> Server implementations SHOULD NOT restrict where entries can be
>>> located in the Directory unless DIT structure rules are in place.
>>> Some servers allow the administrator to restrict the classes of
>>> entries which can be added to the Directory.
>>
>>Seems to me this fits better in [Models] than [Protocol]. If left in
>>[Protocol], it really applies to Modify DN and Modify too (and extended
>>operations like Modify Password), so it's a bit misplaced under Add.

While I think general-purpose Server implementations should
not place arbitrary restrictions upon entry placement (they
certainly can and should enforce administrative restrictions
upon entry placement), I think it fine for an application-specific
to place application specific restrictions upon entry placement.

As this statement is only applicable to certain classes of
server implementations, I believe the statement is more
appropriate made in an applicability statement for "general
purpose" LDAP servers (or other ASs where such a requirement
is applicable).  Hence, I think the statement should be
deleted from the LDAP TS.

>I agree, my suggestion about 'conforming to the data model' above should be generic and should apply to all update operations. 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  3 18:51:43 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 SAA04393
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Nov 2004 18:51:42 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA3NoFmp081861;
	Wed, 3 Nov 2004 23:50: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 iA3Nn0v1081845;
	Wed, 3 Nov 2004 23:49: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); Wed, 3 Nov 2004 23:49: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 iA3NmxOK081834
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Nov 2004 23:49: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 iA3NmxZv023032
	for <ietf-ldapbis@openldap.org>; Wed, 3 Nov 2004 23:48:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041103154511.02fb1990@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 03 Nov 2004 15:49:16 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: draft-ietf-ldapbis-authmeth
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Please review I-D and comment as to any problem with it
prior to IETF#61, so that proposals to resolve these
problems can be discussed at the LDAPBIS session
(and, of course, on this list).

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov  4 17:52: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 RAA18495
	for <ldapbis-archive@lists.ietf.org>; Thu, 4 Nov 2004 17:52:58 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA4MoNut032452;
	Thu, 4 Nov 2004 22:51: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 iA4MiN0S032249;
	Thu, 4 Nov 2004 22:44: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); Thu, 4 Nov 2004 22:44:23 +0000
Received: from micah.software-aus.com.au ([210.8.119.70])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA4MiKPT032216;
	Thu, 4 Nov 2004 22:44:21 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 416CB170000022E4; Fri, 5 Nov 2004 09:49:23 +1100
Message-ID: <418AB0A2.3090803@eb2bcom.com>
Date: Fri, 05 Nov 2004 09:43:46 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Smith <mcs@pearlcrescent.com>, "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-07.txt
References: <200410252003.QAA29281@ietf.org> <6.1.2.0.0.20041025133320.0347b3d8@127.0.0.1> <6.1.2.0.0.20041029154203.02f0fe88@127.0.0.1> <41890F22.3090805@pearlcrescent.com>
In-Reply-To: <41890F22.3090805@pearlcrescent.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Mark & Kurt,

>>>>>      scope       = "base" / "one" / "sub"
>>>>>      filter      = <filter from Section 4 of [Filters]>
>>>>>                      ; See the "Escaping Using the % Method"
>>>>>                      ; section below.
>>>>>      extensions  = extension *(COMMA extension)
>>>>>      extension   = [EXCLAMATION] extype [EQUALS exvalue]
>>>>>      extype      = oid / oiddescr
>>>>
>>>>
>>>>
>>>> This should just be:
>>>>         extype        = <oid from section 1.4 of [Models]>

This isn't ABNF. I much prefer this:

    extype = oid ; from section 1.4 of [Models]

or this:

    extype = oid

    The <oid> rule is defined in [Models].

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov  4 19:42: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 TAA27972
	for <ldapbis-archive@lists.ietf.org>; Thu, 4 Nov 2004 19:42:06 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA50cN3U035718;
	Fri, 5 Nov 2004 00:38: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 iA50ZZdI035621;
	Fri, 5 Nov 2004 00: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); Fri, 5 Nov 2004 00:35:35 +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 iA50ZX8U035611
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 5 Nov 2004 00:35: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 iA50XwZv031328;
	Fri, 5 Nov 2004 00:33:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041104161630.02daf530@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Thu, 04 Nov 2004 16:34:13 -0800
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-07.txt
Cc: Mark Smith <mcs@pearlcrescent.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <418AB0A2.3090803@eb2bcom.com>
References: <200410252003.QAA29281@ietf.org>
 <6.1.2.0.0.20041025133320.0347b3d8@127.0.0.1>
 <6.1.2.0.0.20041029154203.02f0fe88@127.0.0.1>
 <41890F22.3090805@pearlcrescent.com>
 <418AB0A2.3090803@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 02:43 PM 11/4/2004, Steven Legg wrote:
>>>>>>     scope       = "base" / "one" / "sub"
>>>>>>     filter      = <filter from Section 4 of [Filters]>
>>>>>>                     ; See the "Escaping Using the % Method"
>>>>>>                     ; section below.
>>>>>>     extensions  = extension *(COMMA extension)
>>>>>>     extension   = [EXCLAMATION] extype [EQUALS exvalue]
>>>>>>     extype      = oid / oiddescr
>>>>>
>>>>>
>>>>>
>>>>>This should just be:
>>>>>        extype        = <oid from section 1.4 of [Models]>
>
>This isn't ABNF.

Technically, this is a <prose-val> [RFC 2234]:
        prose-val      =  "<" *(%x20-3D / %x3F-7E) ">"
                               ; bracketed string of SP and VCHAR
                                  without angles
                               ; prose description, to be used as
                                  last resort

But I agree that we should avoid use of <prose-val> here
and elsewhere in this grammar.

>I much prefer this:
>
>   extype = oid ; from section 1.4 of [Models]
>
>or this:
>
>   extype = oid
>
>   The <oid> rule is defined in [Models].






From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov  5 04:34: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 EAA20078
	for <ldapbis-archive@lists.ietf.org>; Fri, 5 Nov 2004 04:34:14 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA59WRec054103;
	Fri, 5 Nov 2004 09:33: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 iA59QvPA053618;
	Fri, 5 Nov 2004 09:26: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, 5 Nov 2004 09:26:56 +0000
Received: from smtp8.clb.oleane.net (smtp8.clb.oleane.net [213.56.31.28])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA59QrWD053552
	for <ietf-ldapbis@openldap.org>; Fri, 5 Nov 2004 09:26:54 GMT
	(envelope-from g.palmer@dial.oleane.com)
Received: from Pavillonquatre (upperside.rain.fr [194.206.151.59] (may be forged)) 
	by smtp8.clb.oleane.net with ESMTP id iA59QVAD009665
	for <ietf-ldapbis@openldap.org>; Fri, 5 Nov 2004 10:26:31 +0100
Message-Id: <200411050926.iA59QVAD009665@smtp8.clb.oleane.net>
From: "Gunther Palmer" <g.palmer@dial.oleane.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: SSL VPN Conference: Call for proposals
Date: Fri, 5 Nov 2004 10:26:28 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00DE_01C4C321.E965B370"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index: AcTDGYdJSwTfsN4WRj+IiRfuPHvGbA==
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.

------=_NextPart_000_00DE_01C4C321.E965B370
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

. How to provide SSL-based remote access to a broad range of Web and legacy
applications? 
. What about application performance and requirements?
. Are encrypted application tunnelling issues solved? 
. What differences with IPsec VPNs?

These questions, among others, will be tackled by the most recognised
experts in this field during the SSL VPN Conference to be held in Paris from
April 5 to 8, 2005 

 

The call for proposal dead line has been extended to November 30.

 

Details at:

 

 <http://www.upperside.fr/sslvpn05/sslvpn05intro.htm>
http://www.upperside.fr/sslvpn05/sslvpn05intro.htm

 


------=_NextPart_000_00DE_01C4C321.E965B370
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Batang;
	panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
	{font-family:"\@Batang";}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DFR link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><strong><b><font size=3D2 face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial'>&#8226; =
</span></font></b></strong><font
size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial'>How
to provide SSL-based remote access to a broad range of Web and legacy
applications? <br>
<strong><b><font face=3DArial><span style=3D'font-family:Arial'>&#8226; =
</span></font></b></strong>What
about application performance and requirements?<br>
<strong><b><font face=3DArial><span style=3D'font-family:Arial'>&#8226; =
</span></font></b></strong>Are
encrypted application tunnelling issues solved? <br>
<strong><b><font face=3DArial><span style=3D'font-family:Arial'>&#8226; =
</span></font></b></strong>What
differences with IPsec VPNs?<br>
<br>
These questions, among others, will be tackled by the most recognised =
experts
in this field during the <span class=3Dtexteboldstyle26>SSL VPN =
Conference</span>
to be held in <st1:place w:st=3D"on"><st1:City =
w:st=3D"on">Paris</st1:City></st1:place>
from <strong><b><font face=3DArial><span =
style=3D'font-family:Arial'>April 5 to 8,
2005</span></font></b></strong> <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>The call for proposal dead line has been =
extended to
November 30.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><strong><b><font size=3D2 face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial'>Details =
at:</span></font></b></strong><font
size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a =
href=3D"http://www.upperside.fr/sslvpn05/sslvpn05intro.htm"
title=3D"http://www.upperside.fr/sslvpn05/sslvpn05intro.htm"><span =
lang=3DEN-GB>http://www.upperside.fr/sslvpn05/sslvpn05intro.htm</span></a=
></span></font><font
size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_00DE_01C4C321.E965B370--



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov  5 09:11: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 JAA14790
	for <ldapbis-archive@lists.ietf.org>; Fri, 5 Nov 2004 09:11:09 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA5E8TXZ068641;
	Fri, 5 Nov 2004 14: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 iA5E2bQE068307;
	Fri, 5 Nov 2004 14:02:37 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, 5 Nov 2004 14:02:37 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA5E2Vd3068271;
	Fri, 5 Nov 2004 14:02:35 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id E314316D28E; Fri,  5 Nov 2004 06:02:26 -0800 (PST)
Message-ID: <418B87A2.7060603@pearlcrescent.com>
Date: Fri, 05 Nov 2004 09:01:06 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Steven Legg <steven.legg@eb2bcom.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-07.txt
References: <200410252003.QAA29281@ietf.org> <6.1.2.0.0.20041025133320.0347b3d8@127.0.0.1> <6.1.2.0.0.20041029154203.02f0fe88@127.0.0.1> <41890F22.3090805@pearlcrescent.com> <418AB0A2.3090803@eb2bcom.com> <6.1.2.0.0.20041104161630.02daf530@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041104161630.02daf530@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:
> At 02:43 PM 11/4/2004, Steven Legg wrote:
> 
>>>>>>>    scope       = "base" / "one" / "sub"
>>>>>>>    filter      = <filter from Section 4 of [Filters]>
>>>>>>>                    ; See the "Escaping Using the % Method"
>>>>>>>                    ; section below.
>>>>>>>    extensions  = extension *(COMMA extension)
>>>>>>>    extension   = [EXCLAMATION] extype [EQUALS exvalue]
>>>>>>>    extype      = oid / oiddescr
>>>>>>
>>>>>>
>>>>>>
>>>>>>This should just be:
>>>>>>       extype        = <oid from section 1.4 of [Models]>
>>
>>This isn't ABNF.
> 
> 
> Technically, this is a <prose-val> [RFC 2234]:
>         prose-val      =  "<" *(%x20-3D / %x3F-7E) ">"
>                                ; bracketed string of SP and VCHAR
>                                   without angles
>                                ; prose description, to be used as
>                                   last resort
> 
> But I agree that we should avoid use of <prose-val> here
> and elsewhere in this grammar.

That would be a good thing.  I will switch to the form Steven suggests, 
e.g.,

    extype = oid ; from section 1.4 of [Models]

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov  5 15:28: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 PAA14539
	for <ldapbis-archive@lists.ietf.org>; Fri, 5 Nov 2004 15:28:57 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA5KQV2K091118;
	Fri, 5 Nov 2004 20:27: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 iA5KLr1J091045;
	Fri, 5 Nov 2004 20:21: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, 5 Nov 2004 20:21: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 iA5KLqUC091035
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 5 Nov 2004 20:21:52 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 iA5KLpZv038933
	for <ietf-ldapbis@openldap.org>; Fri, 5 Nov 2004 20:21:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041105114948.02d58d00@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Fri, 05 Nov 2004 12:22:03 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: progression of Filter/LDAPURL I-Ds
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

The Chairs have determined that subsequent revisions of the
[Filter] and [LDAPURL] drafts are necessary to address
concerns recently raised on the list:
 http://www.openldap.org/lists/ietf-ldapbis/200410/msg00101.html (Filter)
 http://www.openldap.org/lists/ietf-ldapbis/200410/msg00102.html (URL)
 http://www.openldap.org/lists/ietf-ldapbis/200411/msg00007.html (URL)

The Editor (Mark Smith) indicated how he believes each of these
concerns should be addressed:
http://www.openldap.org/lists/ietf-ldapbis/200411/msg00001.html (Filter)
http://www.openldap.org/lists/ietf-ldapbis/200411/msg00003.html (URL)
http://www.openldap.org/lists/ietf-ldapbis/200411/msg00010.html (URL)

The chairs believes WG consensus supports resolving these concerns
as indicated by the Editor's comments.  Hence, the Chairs direct
the Editor to prepare and submit revised [Filter] and [LDAPURL]
I-Ds as soon as possible.  The chairs intend to recommend the
revised I-Ds shortly after the announcements.  Hence, upon
announcement, the WG should review the revised I-Ds to ensure
the changes made resolve these concerns and, if not, comment
on list (or privately to the chairs) within one week of the
later announcement.

-- Kurt, LDAPBIS co-chair

PS: It is hoped that the revised I-Ds will be announced during
the week of 15 November.



From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov  6 11:32: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 LAA18974
	for <ldapbis-archive@lists.ietf.org>; Sat, 6 Nov 2004 11:32:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA6GQcr6019455;
	Sat, 6 Nov 2004 16:27: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 iA6GP59W019443;
	Sat, 6 Nov 2004 16:25: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); Sat, 6 Nov 2004 16:25: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 iA6GOxuM019420
	for <ietf-ldapbis@openldap.org>; Sat, 6 Nov 2004 16:25:04 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.34)
	id 1CQTMz-0007U5-0Y
	for ietf-ldapbis@openldap.org; Sat, 06 Nov 2004 17:24:53 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQTMp-0001XY-Gq; Sat, 06 Nov 2004 17:24:43 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQTMo-0003B3-00; Sat, 6 Nov 2004 17:24:42 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041106i3zs@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: ABNF of numericoid
Date: Sat, 6 Nov 2004 17:24:42 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I've discovered that I've lost this old thread again.

I had the impression that we landed on using the exact syntax for
numericoid, but maybe I confused the issue too much:-(
Anyway, [bcp64] and [models] say:

    numericoid = number 1*( DOT number )

I wonder if we could change that to Kurt's suggestion (3) in the old
thread, so the syntax expresses exactly which values are valid:

    numericoid = %x30-31 DOT [ %x31-33 ] DIGIT *( DOT number )
               / %x32 1*( DOT number )
               ; Starts with 0-1.0-39 or 2.number


BTW, I think I was not the only one who had the misconception that the
BER encoding's first component (40 * value1 + value2) can be only 1
octet, and therefore that value2 in the syntax was not unlimited even
with value1 = 2.  Where did others get that idea from?  I got it from
RSA's "A Layman's Guide to a Subset of ASN.1, BER, and DER".  On the
Asn1 mailinglist, I was told guide has a number of errors.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov  6 14:22: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 OAA29070
	for <ldapbis-archive@lists.ietf.org>; Sat, 6 Nov 2004 14:22:39 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA6JKiik022988;
	Sat, 6 Nov 2004 19:21: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 iA6JHTJE022924;
	Sat, 6 Nov 2004 19:17:29 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, 6 Nov 2004 19:17:29 +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 iA6JHQfk022914
	for <ietf-ldapbis@openldap.org>; Sat, 6 Nov 2004 19:17:27 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.34)
	id 1CQW3v-0001M1-Bm
	for ietf-ldapbis@openldap.org; Sat, 06 Nov 2004 20:17:23 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQW3s-00063z-CZ; Sat, 06 Nov 2004 20:17:20 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQW3r-0003av-00; Sat, 6 Nov 2004 20:17:19 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041106f83q@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: bcp64-04 notes
Date: Sat, 6 Nov 2004 20:17:19 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

> 3.4. Object Identifier Descriptors

>    LDAP allows short descriptive names (or descriptors) to be used
>    instead of a numeric Object Identifier to identify select protocol
>    extensions [Protocol],

Which extensions?  The extension OIDs I know of are all LDAPOIDs, which
[Protocol] 4.1.2 (String Types) constrains to <numericoid>:
Control.controlType, ExtendedRequest.requestName,
ExtendedResponse.responseName and IntermediateResponse.responseName.

Also, prepend "most" here since the following does not apply to
syntaxes:

>    schema elements [Models], LDAP URL [LDAPURL]
>    extensions, and other objects.

> 3.6. LDAP Message Types
>
>    Each protocol message is encapsulated in an LDAPMessage envelope
>    [Protocol].  The protocolOp CHOICE indicates the type of message
>    encapsulated.  Each message type consists of an ASN.1 identifier in
>    the form of a keyword and a non-negative choice number.  The choice
>    number is combined with the class (APPLICATION) and data type
>    (CONSTRUCTED or PRIMITIVE) to construct the BER tag in the message's
>    encoding.

Someone who knows ASN.1 terminology must check me on this, but I have
the impression that the above is wrong:

- I believe the 'tag' only is the number or a conceptual entity
  including the combination of the class and the number, and that it is
  the 'identifier octets' which also include the CONSTRUCTED bit.
  (Yes, I know this is not how the LDAP C API uses 'tag').

- CONSTRUCTED/PRIMITIVE sounds like the 'encoding type' rather than
  the 'data type'.  I thought the data type was what is described by the
  tag.
  
- 'tag number' (if that's the right term), not 'choice number'.
  As far as an ASN.1 parser knows, an extensible CHOICE could allow two
  different choices [APPLICATION 3] and [3], right?

Similar comments apply to Section 3.10 (LDAP Filter Choice).

> 3.7. LDAP Authentication Method
>
>    The LDAP Bind operation supports multiple authentication methods
>    [Protocol].  Each authentication choice consists of an ASN.1
>    identifier in the form of a keyword and a non-negative integer.

This wording is rather strange.  To me it looks like it is saying that
both identifier and integer is sent over the protocol.  I assume it
refers to how it is written in the grammar.  The same applies to several
similar wordings in the document.

Also, you don't say how the integer is used.  I assume it is the
method's tag number in the CHOICE AuthenticationChoice, and that the
class is CONTEXT-SPECIFIC.

> 3.10. LDAP Filter Choice

>    The choice number is combined with the class (APPLICATION) and data

No, class CONTEXT-SPECIFIC.

>    New values will be registered upon Standards Action.

Why no reserved number spaces filter types for private use and for
experiments?

> 4. Registration Procedure
>
>
>    The procedure given here MUST be used by anyone who wishes to use a
>    new value of a type described in Section 3 of this document.

Except with Private Use identifiers.

Please prepend a brief sentence for would-be internet-draft authors who
do not yet know the internet-draft->RFC procedure, explaining at which
point the registration form should be submitted to IANA.  Does one
always first discusses the draft on some mailinglist?  Then submit it to
IESG, and maybe with a note to IESG that publication as RFC must wait?

>    Prior to submission of the Internet Draft (I-D) to the RFC Editor but
>    after IESG review and tentative approval, the document editor SHOULD
>    revise the I-D to use registered values.

s/document editor/document author/?

> 9. References
>
>    [[Note to the RFC Editor: please replace the citation tags used in
>    referencing Internet-Drafts with tags of the form RFCnnnn.]]

> A.6.  LDAP Message Type Registration Template
>    LDAP Message Name:
> A.7.  LDAP Authentication Method Registration Template
>    Authentication Method Name:
> A.8.  LDAP Result Code Registration Template
>    Result Code Name:
> A.8.  LDAP Search Scope Registration Template
>    Search Scope Name:
> A.9.  LDAP Filter Choice Registration Template
>    Filter Choice Name:
> A.10.  LDAP ModifyRequest Operation Registration Template
>    ModifyRequest Operation Name:

I would think one must register both name and number, and that both must
be unique in the registry.  (One must check both the name and the value
to see if a new spec conflicts with an old one.)

========================================================================

Editorial comments:

> 3.5. AttributeDescription Options

>    An option SHALL be restricted to a
>    string

     of

>    UTF-8 encoded Unicode characters limited by the following
>    ABNF:

> 3.9. LDAP Search Scope
>
>    LDAP SearchRequest messages carry a scope enumerated value to
>    indicate the extend of search within the DIT [Protocol] Each search

s/extend/extent/?  Missing period after [Protocol].

> 3.12. LDAP authzId Prefixes
>
>
>    Authorization Identities in LDAP are strings conforming to the
>    <authzId> production [AuthMeth].  This production is extensible.
>    Each new specific authorization form is identified by a prefix string
>    conforming to the following ABNF:
>
>
>         prefix = keystring COLON
>         COLON = %x3A ; COLON (":" U+003A)
>
>
>    Prefixes are case-insensitive.
>
>
>    While the protocol places no maximum length restriction upon option
>    strings, they should be short.  Options longer than 12 characters may
>    be viewed as too long to register.  (...)

s/option/prefix/ here and in the rest of the section.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov  6 14:39: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 OAA00142
	for <ldapbis-archive@lists.ietf.org>; Sat, 6 Nov 2004 14:39:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA6Jci6A023406;
	Sat, 6 Nov 2004 19:38: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 iA6JZHCq023332;
	Sat, 6 Nov 2004 19:35: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, 6 Nov 2004 19:35: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 iA6JZF6q023322
	for <ietf-ldapbis@openldap.org>; Sat, 6 Nov 2004 19:35:16 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.34)
	id 1CQWLA-0003Ud-63
	for ietf-ldapbis@openldap.org; Sat, 06 Nov 2004 20:35:12 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQWL5-0007kN-UU; Sat, 06 Nov 2004 20:35:08 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQWL0-0003dp-00; Sat, 6 Nov 2004 20:35:03 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041106exfu@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: internal representation of tags/enums vs. bcp64bis
Date: Sat, 6 Nov 2004 20:35:03 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

How do various implementations represent BER tags internally (that is,
identifier octets - tag number + class + encoding)?  Or enumerations
like SearchRequest.scope?  I imagine it's common to inherit Umich LDAP's
way and stuff them into an integer in one way or another.

I think [Bcp64bis] and [Protocol] should RECOMMEND that extensions do
not define tags and enumerated values that are too large to be
represented in a 31-bit integer (not 32, in case the programming
language does not support unsigned integers).

With enums, it's simple: Use values <= 2**31-1 (maxInt from [Protocol]).

With tags, it depends on how various implementations map (tag number,
class, encoding bit) into an integer - if they do map them to an
integer, of course.  A BER element's identifier octets consist of:
- First octet:
  +    1 * (tag number <= 0x1E ? tag number : 0x1F)
  + 0x20 * (constructed encoding ? 1 : 0)
  + 0x40 * class (UNIVERSAL=0/APPLICATION=1/CONTEXT-SPECIFIC=2/PRIVATE=3)
- Next octets, if tag number > 0x1E:
  tag number in base128, most significant "digit" first,
  with 8.bit=1 except in the last octet.

So if the identifier octets are just copied into a 32-bit integer, the
max tag number is 128**3-1 = 2**21-1.  Treating the identifier octets as
an integer with the least significant octet first, that puts the class
and encoding values in a fixed place, and leaves bit 32 (the "sign bit"
of a 32-bit integer) as zero.  But maybe there are implementations that
use the bits of an integer even less efficiently?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 11:29: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 LAA01977
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 11:29:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7GQltb054874;
	Sun, 7 Nov 2004 16:28: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 iA7GMOMS054820;
	Sun, 7 Nov 2004 16:22: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); Sun, 7 Nov 2004 16:22:24 +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 iA7GMNls054806
	for <ietf-ldapbis@OpenLDAP.org>; Sun, 7 Nov 2004 16:22:23 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 09:22:02 -0700
Message-Id: <s18de93a.077@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 09:21:21 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: and/or (1..MAX) constraint (Was: protocol-27 comments)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part7D5DBF91.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

I've re-added these, and will wait for WG consensus to remove them.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/29/04 2:23:39 PM >>>
As chair, I note that the WG did specifically discussed adding
these constraints to the revised ASN.1 module, initially during
a [Filter] WGLC and then during a early [Protocol] WGLC. Based
on these prior discussions, and the fact that an issue was not
raised during the prior WGLC, I must assume that the consensus
of the WG is for the and/or Filter sets to explicitly include
SIZE (1..MAX) constraints in the ASN.1 module. Hence, I feel
obligated assume consensus supports keeping these constraints.

It seems however that some have raised "new" concerns supporting
dropping the SIZE (1..MAX) constraints, however, it not quite
clear what that concern is. Hence, I suggest that those who
support dropping these constraints based upon "new" concerns
detail those concerns to the WG and why it is necessary (or
appropriate) to drop these constraints. We'll discuss the "new"
concerns and see if consensus now clearly supports dropping
these constraints. In absence of a clear consensus to drop the
constraints, the chairs will direct the Editor to include
these constraints.

Kurt, as LDAPBIS co-chair


At 11:31 PM 10/28/2004, Jim Sermersheim wrote:
>>> 4.5.1. Search Request
>>
>>> Filter ::= CHOICE {
>>> and [0] SET OF filter Filter,
>>> or [1] SET OF filter Filter,
>>
>>Another change I do not remember from the list: The SIZE (1..MAX)
was
>>removed from the ASN.1 grammar (though the textual description still
>>requires at least one component). Why?
>This is the way it was in RFC 2251. At some point, [protocol] added
the SIZE (1..MAX) to the ASN.1 to make it consistent with the text. It
was then found that this prevents Kurt's T/F filter spec from working
without breaking protocol, so we removed the ASN.1 grammar. 


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">I've re-added =
these, and will wait for WG&nbsp;consensus to remove them.<BR><BR>&gt;&gt;&=
gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; 10/29/04 2:23:39 PM =
&gt;&gt;&gt;<BR>As chair, I note that the WG did specifically discussed =
adding<BR>these constraints to the revised ASN.1 module, initially =
during<BR>a [Filter] WGLC and then during a early [Protocol] WGLC. =
Based<BR>on these prior discussions, and the fact that an issue was =
not<BR>raised during the prior WGLC, I must assume that the consensus<BR>of=
 the WG is for the and/or Filter sets to explicitly include<BR>SIZE =
(1..MAX) constraints in the ASN.1 module. Hence, I feel<BR>obligated =
assume consensus supports keeping these constraints.<BR><BR>It seems =
however that some have raised "new" concerns supporting<BR>dropping the =
SIZE (1..MAX) constraints, however, it not quite<BR>clear what that =
concern is. Hence, I suggest that those who<BR>support dropping these =
constraints based upon "new" concerns<BR>detail those concerns to the WG =
and why it is necessary (or<BR>appropriate) to drop these constraints. =
We'll discuss the "new"<BR>concerns and see if consensus now clearly =
supports dropping<BR>these constraints. In absence of a clear consensus to =
drop the<BR>constraints, the chairs will direct the Editor to include<BR>th=
ese constraints.<BR><BR>Kurt, as LDAPBIS co-chair<BR><BR><BR>At 11:31 PM =
10/28/2004, Jim Sermersheim wrote:<BR>&gt;&gt;&gt; 4.5.1. Search Request<BR=
>&gt;&gt;<BR>&gt;&gt;&gt; Filter ::=3D CHOICE {<BR>&gt;&gt;&gt; and [0] =
SET OF filter Filter,<BR>&gt;&gt;&gt; or [1] SET OF filter Filter,<BR>&gt;&=
gt;<BR>&gt;&gt;Another change I do not remember from the list: The SIZE =
(1..MAX) was<BR>&gt;&gt;removed from the ASN.1 grammar (though the textual =
description still<BR>&gt;&gt;requires at least one component). Why?<BR>&gt;=
This is the way it was in RFC 2251. At some point, [protocol] added the =
SIZE (1..MAX) to the ASN.1 to make it consistent with the text. It was =
then found that this prevents Kurt's T/F filter spec from working without =
breaking protocol, so we removed the ASN.1 grammar. <BR><BR></BODY></HTML>

--=__Part7D5DBF91.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 11:51:33 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 LAA03839
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 11:51:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7GoklW055365;
	Sun, 7 Nov 2004 16:50: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 iA7GlZ0B055279;
	Sun, 7 Nov 2004 16:47: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); Sun, 7 Nov 2004 16:47: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 iA7GlVNk055246;
	Sun, 7 Nov 2004 16:47:31 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 09:47:11 -0700
Message-Id: <s18def1f.016@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 09:46:31 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Result code for invalidated associations
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part81A14377.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

I agree that the best course of action when credentials become invalid
is Notice of Disconnection, however, when the server chooses (for
whatever reason) to do this, I think (because the now invalidated
credentials have changed the authorization state) the proper result code
to return is insufficientAccessRights). This result code can be returned
for any operation requiring a certain level of authorization, is
typically indicative of the outcome of future (similar) operations, but
can come and go as one's authZ state changes.
 
There's nothing currently in [protocol] though, that would indicate to
the receiver of this error that the credentials have become invalid.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/31/04 10:03:29 PM >>>
At 09:27 AM 10/31/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>
>> It's my view that result codes are only indicative of
>> why the server was unwilling or unable to successfully
>> complete the requested operation. The result codes
>> are not indicative of the outcome of subsequently
>> requested operations.
>
>Well, the entire point of invalidated associations is that they do
>indicate to the client that future operations may fail unless it
takes
>appropriate action. Though if we could find some result code to use
for
>this, the definition of what the result code means to the client need
>not be a promise that future operation will fail, only advice that it
>cannot expect them to succeed (until it fixes the association), and
that
>it might need to check the current TLS and SASL layer state in case
the
>server invalidated the association due to e.g. a TLS cipher
>renegotiation.

Right, one could define some new result code which could be
indicative of the outcome of subsequent operations. Or
one could add controls (e.g., password policy controls), or
unsolicited notifications. But we cannot redefine existing
codes, nor can we (as part of the LDAPBIS work) add new codes.

>> One could return Notice of Disconnect with either an
>> strong[er]AuthRequired or invalidCredentials to indicate
>> the credentials are no longer considered valid.
>
>If you mean to close the connection afterwards, it seems a bit like
>surrender but maybe it is the cleanest solution (when it is not
handled
>by some extension).

Trying to continue after unexpected failures/compromises takes
special care. Termination is simple and often the best.

>If you mean to not close the connection,

I mean close the connection. 



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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I agree&nbsp;that the best course of action when credentials become =
invalid is Notice of Disconnection, however, when the server chooses (for =
whatever reason) to do this, I think (because the now invalidated =
credentials have changed the authorization state) the proper result code =
to return is insufficientAccessRights). This result code can be returned =
for any operation requiring a certain level of authorization, is typically =
indicative of the outcome of future (similar) operations, but can come and =
go as one's authZ state changes.</DIV>
<DIV>&nbsp;</DIV>
<DIV>There's nothing currently in [protocol] though, that would indicate =
to the receiver of this error that the credentials have become invalid.<BR>=
<BR>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; 10/31/04 =
10:03:29 PM &gt;&gt;&gt;<BR>At 09:27 AM 10/31/2004, Hallvard B Furuseth =
wrote:<BR>&gt;Kurt D. Zeilenga writes:<BR>&gt;<BR>&gt;&gt; It's my view =
that result codes are only indicative of<BR>&gt;&gt; why the server was =
unwilling or unable to successfully<BR>&gt;&gt; complete the requested =
operation. The result codes<BR>&gt;&gt; are not indicative of the outcome =
of subsequently<BR>&gt;&gt; requested operations.<BR>&gt;<BR>&gt;Well, the =
entire point of invalidated associations is that they do<BR>&gt;indicate =
to the client that future operations may fail unless it takes<BR>&gt;approp=
riate action. Though if we could find some result code to use for<BR>&gt;th=
is, the definition of what the result code means to the client need<BR>&gt;=
not be a promise that future operation will fail, only advice that =
it<BR>&gt;cannot expect them to succeed (until it fixes the association), =
and that<BR>&gt;it might need to check the current TLS and SASL layer =
state in case the<BR>&gt;server invalidated the association due to e.g. a =
TLS cipher<BR>&gt;renegotiation.<BR><BR>Right, one could define some new =
result code which could be<BR>indicative of the outcome of subsequent =
operations. Or<BR>one could add controls (e.g., password policy controls), =
or<BR>unsolicited notifications. But we cannot redefine existing<BR>codes, =
nor can we (as part of the LDAPBIS work) add new codes.<BR><BR>&gt;&gt; =
One could return Notice of Disconnect with either an<BR>&gt;&gt; strong[er]=
AuthRequired or invalidCredentials to indicate<BR>&gt;&gt; the credentials =
are no longer considered valid.<BR>&gt;<BR>&gt;If you mean to close the =
connection afterwards, it seems a bit like<BR>&gt;surrender but maybe it =
is the cleanest solution (when it is not handled<BR>&gt;by some extension).=
<BR><BR>Trying to continue after unexpected failures/compromises takes<BR>s=
pecial care. Termination is simple and often the best.<BR><BR>&gt;If you =
mean to not close the connection,<BR><BR>I mean close the connection. =
<BR><BR></DIV></BODY></HTML>

--=__Part81A14377.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 13:52: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 NAA12621
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 13:52:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7Iolgh061953;
	Sun, 7 Nov 2004 18:51: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 iA7IjxCu061842;
	Sun, 7 Nov 2004 18:45: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); Sun, 7 Nov 2004 18:45: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 iA7IjtAD061810;
	Sun, 7 Nov 2004 18:45:55 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 11:45:35 -0700
Message-Id: <s18e0adf.016@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 11:44:55 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: "Jim Sermersheim" <JIMSE@novell.com>, <Kurt@OpenLDAP.org>,
        <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Result code for invalidated associations
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartFDDD3F37.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

I meant "when the server chooses NOT to do this".

>>> "Jim Sermersheim" <jimse@novell.com> 11/7/04 11:46:31 AM >>>
I agree that the best course of action when credentials become invalid
is Notice of Disconnection, however, when the server chooses (for
whatever reason) to do this, I think (because the now invalidated
credentials have changed the authorization state) the proper result code
to return is insufficientAccessRights). This result code can be returned
for any operation requiring a certain level of authorization, is
typically indicative of the outcome of future (similar) operations, but
can come and go as one's authZ state changes.
 
There's nothing currently in [protocol] though, that would indicate to
the receiver of this error that the credentials have become invalid.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/31/04 10:03:29 PM >>>
At 09:27 AM 10/31/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>
>> It's my view that result codes are only indicative of
>> why the server was unwilling or unable to successfully
>> complete the requested operation. The result codes
>> are not indicative of the outcome of subsequently
>> requested operations.
>
>Well, the entire point of invalidated associations is that they do
>indicate to the client that future operations may fail unless it
takes
>appropriate action. Though if we could find some result code to use
for
>this, the definition of what the result code means to the client need
>not be a promise that future operation will fail, only advice that it
>cannot expect them to succeed (until it fixes the association), and
that
>it might need to check the current TLS and SASL layer state in case
the
>server invalidated the association due to e.g. a TLS cipher
>renegotiation.

Right, one could define some new result code which could be
indicative of the outcome of subsequent operations. Or
one could add controls (e.g., password policy controls), or
unsolicited notifications. But we cannot redefine existing
codes, nor can we (as part of the LDAPBIS work) add new codes.

>> One could return Notice of Disconnect with either an
>> strong[er]AuthRequired or invalidCredentials to indicate
>> the credentials are no longer considered valid.
>
>If you mean to close the connection afterwards, it seems a bit like
>surrender but maybe it is the cleanest solution (when it is not
handled
>by some extension).

Trying to continue after unexpected failures/compromises takes
special care. Termination is simple and often the best.

>If you mean to not close the connection,

I mean close the connection. 




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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">I meant "when the =
server chooses NOT to do this".<BR><BR>&gt;&gt;&gt; "Jim Sermersheim" =
&lt;jimse@novell.com&gt; 11/7/04 11:46:31 AM &gt;&gt;&gt;<BR>
<DIV style=3D"FONT: 10pt Tahoma; COLOR: #000000">
<DIV>I agree&nbsp;that the best course of action when credentials become =
invalid is Notice of Disconnection, however, when the server chooses (for =
whatever reason) to do this, I think (because the now invalidated =
credentials have changed the authorization state) the proper result code =
to return is insufficientAccessRights). This result code can be returned =
for any operation requiring a certain level of authorization, is typically =
indicative of the outcome of future (similar) operations, but can come and =
go as one's authZ state changes.</DIV>
<DIV>&nbsp;</DIV>
<DIV>There's nothing currently in [protocol] though, that would indicate =
to the receiver of this error that the credentials have become invalid.<BR>=
<BR>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; 10/31/04 =
10:03:29 PM &gt;&gt;&gt;<BR>At 09:27 AM 10/31/2004, Hallvard B Furuseth =
wrote:<BR>&gt;Kurt D. Zeilenga writes:<BR>&gt;<BR>&gt;&gt; It's my view =
that result codes are only indicative of<BR>&gt;&gt; why the server was =
unwilling or unable to successfully<BR>&gt;&gt; complete the requested =
operation. The result codes<BR>&gt;&gt; are not indicative of the outcome =
of subsequently<BR>&gt;&gt; requested operations.<BR>&gt;<BR>&gt;Well, the =
entire point of invalidated associations is that they do<BR>&gt;indicate =
to the client that future operations may fail unless it takes<BR>&gt;approp=
riate action. Though if we could find some result code to use for<BR>&gt;th=
is, the definition of what the result code means to the client need<BR>&gt;=
not be a promise that future operation will fail, only advice that =
it<BR>&gt;cannot expect them to succeed (until it fixes the association), =
and that<BR>&gt;it might need to check the current TLS and SASL layer =
state in case the<BR>&gt;server invalidated the association due to e.g. a =
TLS cipher<BR>&gt;renegotiation.<BR><BR>Right, one could define some new =
result code which could be<BR>indicative of the outcome of subsequent =
operations. Or<BR>one could add controls (e.g., password policy controls), =
or<BR>unsolicited notifications. But we cannot redefine existing<BR>codes, =
nor can we (as part of the LDAPBIS work) add new codes.<BR><BR>&gt;&gt; =
One could return Notice of Disconnect with either an<BR>&gt;&gt; strong[er]=
AuthRequired or invalidCredentials to indicate<BR>&gt;&gt; the credentials =
are no longer considered valid.<BR>&gt;<BR>&gt;If you mean to close the =
connection afterwards, it seems a bit like<BR>&gt;surrender but maybe it =
is the cleanest solution (when it is not handled<BR>&gt;by some extension).=
<BR><BR>Trying to continue after unexpected failures/compromises takes<BR>s=
pecial care. Termination is simple and often the best.<BR><BR>&gt;If you =
mean to not close the connection,<BR><BR>I mean close the connection. =
<BR><BR></DIV></DIV></BODY></HTML>

--=__PartFDDD3F37.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 14:34: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 OAA15741
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 14:34:13 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7JWv6S062898;
	Sun, 7 Nov 2004 19:33:31 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 iA7JU5GZ062873;
	Sun, 7 Nov 2004 19:30: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); Sun, 7 Nov 2004 19:30: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 iA7JU1QN062812;
	Sun, 7 Nov 2004 19:30:02 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 12:29:41 -0700
Message-Id: <s18e1535.006@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 12:29:01 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Update restrictions (Was: protocol-27 comments)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/3/04 6:30:16 PM >>>
>At 10:31 PM 10/28/2004, Jim Sermersheim wrote:
>>>> 4.7. Add Operation
>>>
>>>> - attributes: the list of attributes that, along with those from
the
>>>> RDN, make up the content of the entry being added. Clients MAY or
>>>> MAY NOT include the RDN attribute in this list. Clients MUST
>>>> include the 'objectClass' attribute, and values of any mandatory
>>>> attributes of the listed object classes.
>>>
>>>If the RDN is an objectClass, does that object class need to be
>>>supplied? (Not that I care if it is addressed or not, it's just a
weird
>>>example which occurred to me:-)
>>Hmm, well as long as we're being pedantic, do all entries which can
be added by a cleint require the objectClass attribute? I've seen hints
that some implementations allow DSE's of certain DSE types to exist
without an objectClass attribute (I think this was a justification for
the T/F filter specification). It would probably be better to say that
the entry being added must conform to the data model.
>
>[Models, 7.1]
>Servers MUST ensure that entries conform to user and system
>schema rules or other data model constraints.
>
>Echoing this for each update operation may be appropriate.

Unless others respond, I'll assume that consensus is to remove "Clients
MUST include the 'objectClass' attribute, and values of any mandatory
attributes of the listed object classes." and add the text from [Models]
7.1 to all update operations.

>>>> Server implementations SHOULD NOT restrict where entries can be
>>>> located in the Directory unless DIT structure rules are in place.
>>>> Some servers allow the administrator to restrict the classes of
>>>> entries which can be added to the Directory.
>>>
>>>Seems to me this fits better in [Models] than [Protocol]. If left
in
>>>[Protocol], it really applies to Modify DN and Modify too (and
extended
>>>operations like Modify Password), so it's a bit misplaced under
Add.
>
>While I think general-purpose Server implementations should
>not place arbitrary restrictions upon entry placement (they
>certainly can and should enforce administrative restrictions
>upon entry placement), I think it fine for an application-specific
>to place application specific restrictions upon entry placement.
>
>As this statement is only applicable to certain classes of
>server implementations, I believe the statement is more
>appropriate made in an applicability statement for "general
>purpose" LDAP servers (or other ASs where such a requirement
>is applicable). Hence, I think the statement should be
>deleted from the LDAP TS.

Unless others respond to this, I will assume this is consensus and
remove the paragraph (unless it turns out I cannot add the [Models] 7.1
text to each update operation).

>>I agree, my suggestion about 'conforming to the data model' above
should be generic and should apply to all update operations. 




From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 15:04: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 PAA18226
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 15:04:15 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7K2muX063492;
	Sun, 7 Nov 2004 20:03: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 iA7JvLs6063368;
	Sun, 7 Nov 2004 19:57: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); Sun, 7 Nov 2004 19:57: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 iA7JvHb8063337;
	Sun, 7 Nov 2004 19:57:18 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.34)
	id 1CQtA1-0004Px-Fj; Sun, 07 Nov 2004 20:57:13 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQt9x-0000pT-7w; Sun, 07 Nov 2004 20:57:09 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQt9w-0007Pf-00; Sun, 7 Nov 2004 20:57:08 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041107r08g@bombur.uio.no>
To: Jim Sermersheim <JIMSE@novell.com>
cc: Kurt@OpenLDAP.org, h.b.furuseth@usit.uio.no, ietf-ldapbis@OpenLDAP.org
Subject: Re: Result code for invalidated associations
In-Reply-To: <s18e0adf.017@sinclair.provo.novell.com>
References: <s18e0adf.017@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Sun, 7 Nov 2004 20:57:08 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:

> I agree that the best course of action when credentials become invalid
> is Notice of Disconnection,

I'm concerned that clients may not report such notices to the user.
How common is it to implement Notice of Disconnection on the client
side?

rfc2251 said Unsolicited Notifications are merely advisory, but it also
said this about Notice of Disconnection:
   After receiving this notice, the client MUST NOT transmit any further
   on the connection, and may abruptly close the connection.
It has been removed from [protocol] - do we need to reinstate that
clients SHOULD or MUST notice a Notice of Disconnection?

One unfortunate point is that there seems to be no 'natural' way for an
LDAP library to handle Notice of Disconnection without the client
explicitly asking for it.  So the client may instead have to handle the
"connection lost" error specially and explicitly ask about Notice of
Disconnection.  There will probably always be plenty of clients which
don't bother.

(I see several problems for the library, though I may be messing things
up a bit because I don't remember how TCP handles lost connections:

If the library gets "connection lost" to an attempt to send a
request, it can't always just read pending responses to see if there
is a Notice of Disconnection.  I expect the client could have another
thread which was reading responses.  In any case, it just doesn't
seem right to me to read anything in response to a "write" request.

Also, if the library does read the pending input, is there in practice
some absolute limit on how much input can be pending - both in TCP and
other transports which might implement LDAP?  Otherwise an attempt to
read it all could eat a lot of memory.

Finally, if the library does read the input and finds a Notice of
Disconnection, it needs to put the result code in some place which the
client will pay attention to.  Maybe the diagnosticMessage field would
be the best bet.  Or it could invent a bunch of private "connection
lost" result codes, indicating different result codes in the notice of
disconnection.)

> however, when the server chooses (for
> whatever reason) [NOT] to do this, I think (because the now invalidated
> credentials have changed the authorization state) the proper result code
> to return is insufficientAccessRights). This result code can be returned
> for any operation requiring a certain level of authorization, is
> typically indicative of the outcome of future (similar) operations, but
> can come and go as one's authZ state changes.

True, but it could be confusing if the sysadmin is not aware of having
configured the server to change the users' authZ states like that.  The
user complains that he has no access to an entry, the sysadmin says "yes
you have".  Though that could be fixed simply by sending an informative
diagnosticMessage.

> There's nothing currently in [protocol] though, that would indicate to
> the receiver of this error that the credentials have become invalid.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 15:09: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 PAA19108
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 15:09:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7K8lTW063720;
	Sun, 7 Nov 2004 20:08: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 iA7K7ijt063705;
	Sun, 7 Nov 2004 20:07: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); Sun, 7 Nov 2004 20:07: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 iA7K7eIX063651;
	Sun, 7 Nov 2004 20:07:40 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 13:07:20 -0700
Message-Id: <s18e1e08.043@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 13:05:54 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: clarifications (Was: protocol-27 comments#2)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part1535D732.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

I have either swapped out 'clarified' for 'specified' or 'disambiguated'
(as applicable), or left it where it mades sense, and added supporting
text to sentences containing 'clarified' which seemed to need it.
 
Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/29/04 7:26:13 PM >>>
At 10:09 AM 10/29/2004, Hallvard B Furuseth wrote:
>What is a "clarification"?

A clarification can be regarded as a change which makes clear
which of the many possible (reasonable) interpretations of the
original specification is the proper interpretation. That is,
a clarification can be regarded as removing some ambiguity found
in the previous specification. This is how I used the term in
[Models]. There can, of course, be disagreement as to whether
an interpretation of the original specification is reasonable
or not, hence to whether the use of the term clarification is
appropriate or not.

Anyways, if we were to apply this definition to say:
Clarified that the messageID of requests MUST be non-zero.

I would have to agree that addition of this MUST was not a
clarification but a substantive change. Hence, I would
rather this be worded:
Added a requirement that the messageID of requests be non-zero.

And it might be appropriate to say why the change was made:
Added an requirement that the messageID of requests be non-zero
to ensure clients can distinguish unsolicited notifications
from solicited responses.

Kurt

>I thought it meant it is not intended to
>change what the spec means, but it is used differently several places
>here. I remember Kurt insisted that something was a clarification
while
>I insisted it was a change some time ago, too. E.g. at least these
look
>like changes to me:
>
>> C.1 Changes made to RFC 2251: 
>> C.1.3 Section 4 
>> - Clarified where the extensibility features of ASN.1 apply to the 
>> protocol. This change also affected various ASN.1 types. 
>> C.1.4 Section 4.1.1 
>> - There was a mandatory requirement for the server to return a 
>> Notice of Disconnection and drop the connection when a PDU is 
>> malformed in a certain way. This has been clarified such that the 
>> server SHOULD return the Notice of Disconnection, and MUST drop 
>> the connection. 
>> C.1.5 Section 4.1.1.1 
>> - Clarified that the messageID of requests MUST be non-zero. 
>> - Clarified when it is and isn't appropriate to return an already 
>> used message id. RFC 2251 accidentally imposed synchronous server 
>> behavior in its wording of this. 



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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I have either swapped out 'clarified' for 'specified' or 'disambiguate=
d' (as applicable), or left it where it mades sense, and added supporting =
text to sentences containing 'clarified' which seemed to need it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; =
10/29/04 7:26:13 PM &gt;&gt;&gt;<BR>At 10:09 AM 10/29/2004, Hallvard B =
Furuseth wrote:<BR>&gt;What is a "clarification"?<BR><BR>A clarification =
can be regarded as a change which makes clear<BR>which of the many =
possible (reasonable) interpretations of the<BR>original specification is =
the proper interpretation. That is,<BR>a clarification can be regarded as =
removing some ambiguity found<BR>in the previous specification. This is =
how I used the term in<BR>[Models]. There can, of course, be disagreement =
as to whether<BR>an interpretation of the original specification is =
reasonable<BR>or not, hence to whether the use of the term clarification =
is<BR>appropriate or not.<BR><BR>Anyways, if we were to apply this =
definition to say:<BR>Clarified that the messageID of requests MUST be =
non-zero.<BR><BR>I would have to agree that addition of this MUST was not =
a<BR>clarification but a substantive change. Hence, I would<BR>rather this =
be worded:<BR>Added a requirement that the messageID of requests be =
non-zero.<BR><BR>And it might be appropriate to say why the change was =
made:<BR>Added an requirement that the messageID of requests be non-zero<BR=
>to ensure clients can distinguish unsolicited notifications<BR>from =
solicited responses.<BR><BR>Kurt<BR><BR>&gt;I thought it meant it is not =
intended to<BR>&gt;change what the spec means, but it is used differently =
several places<BR>&gt;here. I remember Kurt insisted that something was a =
clarification while<BR>&gt;I insisted it was a change some time ago, too. =
E.g. at least these look<BR>&gt;like changes to me:<BR>&gt;<BR>&gt;&gt; =
C.1 Changes made to RFC 2251: <BR>&gt;&gt; C.1.3 Section 4 <BR>&gt;&gt; - =
Clarified where the extensibility features of ASN.1 apply to the <BR>&gt;&g=
t; protocol. This change also affected various ASN.1 types. <BR>&gt;&gt; =
C.1.4 Section 4.1.1 <BR>&gt;&gt; - There was a mandatory requirement for =
the server to return a <BR>&gt;&gt; Notice of Disconnection and drop the =
connection when a PDU is <BR>&gt;&gt; malformed in a certain way. This has =
been clarified such that the <BR>&gt;&gt; server SHOULD return the Notice =
of Disconnection, and MUST drop <BR>&gt;&gt; the connection. <BR>&gt;&gt; =
C.1.5 Section 4.1.1.1 <BR>&gt;&gt; - Clarified that the messageID of =
requests MUST be non-zero. <BR>&gt;&gt; - Clarified when it is and isn't =
appropriate to return an already <BR>&gt;&gt; used message id. RFC 2251 =
accidentally imposed synchronous server <BR>&gt;&gt; behavior in its =
wording of this. <BR><BR></DIV></BODY></HTML>

--=__Part1535D732.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 15:15:33 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 PAA19999
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 15:15:33 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7KEm8Q063883;
	Sun, 7 Nov 2004 20:14: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 iA7K9Ucs063742;
	Sun, 7 Nov 2004 20:09: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); Sun, 7 Nov 2004 20:09:30 +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 iA7K9SkG063732
	for <ietf-ldapbis@openldap.org>; Sun, 7 Nov 2004 20:09:29 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.34)
	id 1CQtLp-000687-EG
	for ietf-ldapbis@openldap.org; Sun, 07 Nov 2004 21:09:25 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQtLl-0001XY-Qc; Sun, 07 Nov 2004 21:09:21 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQtLl-0007Qc-00; Sun, 7 Nov 2004 21:09:21 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041107qsvq@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: "LDAPv3"
In-Reply-To: <HBF.20031207we7q@bombur.uio.no>
References: <HBF.20031207we7q@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Sun, 7 Nov 2004 21:09:21 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Update of an old message (from 7 Dec 2003) which I think got no
responses:

Message http://www.OpenLDAP.org/lists/ietf-ldapbis/200310/msg00034.html
says:

  Suggest s/LDAPv3/LDAP/ throughout document for both consistency
  within document and across entire technical specification.

That has now been done in [authmeth], but not in [url] and [filter].

If it is done in [url], "(in LDAPv3)" below should be removed instead
of changed to "(in LDAP)":
   attributes
      If the attributes part is omitted, all user attributes of the
      entry or entries should be requested (e.g., by setting the
      attributes field AttributeDescriptionList in the LDAP search
      request to a NULL list, or (in LDAPv3) by requesting the special
      attribute name "*").

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 15:40: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 PAA22845
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 15:40:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7Kcmlv064380;
	Sun, 7 Nov 2004 20:39: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 iA7KcaYx064361;
	Sun, 7 Nov 2004 20:38: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); Sun, 7 Nov 2004 20:38:36 +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 iA7KcX37064330;
	Sun, 7 Nov 2004 20:38:34 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 13:38:13 -0700
Message-Id: <s18e2545.083@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 13:37:31 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: modify determination (Re: protocol-27 comments)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

True. I now propose:
"Whether the modification is applied or not cannot be determined by the
client if the Modify Response is not received (e.g. the LDAP exchange is
terminated or the Modify Operation is abandoned)."

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/29/04 6:02:21 PM >>>
The server is presumed to know whether it applied the update
or not (irregardless of whether it sent an response or not).
The text was intended to warn the client developer that
in absence of an update response, the client cannot assume
that the update was applied and cannot assume the update was
not applied.

At 08:13 AM 10/29/2004, Jim Sermersheim wrote:
>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 10/29/04 6:40:42
AM >>>
>>Jim Sermersheim writes:
><snip>
>>> How about: "Whether the modification was applied or not is
indeterminate..."?
>>> 
>>>>Also, I think s/received/sent/. This sentence is about what the
server
>>>>does, not about what the client knows.
>>> 
>>> Well, who is making the determination? The client. And the client
receives
>>> the response.
>>
>>Or rather it doesn't in this case. But that's implicit from the fact
>>that it receives no response.
>>
>>My point is, we need something which says that the _server_ may
either
>>perform the modification or not.
>I don't think it really matters, but I can change it to:
>"Whether the modification is applied or not is indeterminate if the
Modify Response is not sent or received (e.g. the LDA exchange is
terminated or the Modify Operation is abandoned)."
> 
>Note that the server may have sent the response, but it was never
received due to a communincations problem, so it's still indeterminate
from the client's point of view.
> 
>Of course this is true of any update operation, and maybe it belongs
somewhere else.
> 
>Jim




From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 15:45: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 PAA23211
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 15:45:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7KimPA064508;
	Sun, 7 Nov 2004 20:44: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 iA7Ki4OR064499;
	Sun, 7 Nov 2004 20:44: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); Sun, 7 Nov 2004 20:44: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 iA7Ki3os064487
	for <ietf-ldapbis@OpenLDAP.org>; Sun, 7 Nov 2004 20:44:03 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 13:43:43 -0700
Message-Id: <s18e268f.007@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 13:42:57 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: X.500 references
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartEECE2CC1.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

I noticed [Protocol] refers to X.5xx 'Sections' when it should refer to
'Clauses'. I'll fix, but I suspect there may be other I-Ds which also do
this.
 
Jim

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I noticed [Protocol] refers to X.5xx 'Sections' when it should refer =
to 'Clauses'. I'll fix, but I suspect there may be other I-Ds which also =
do this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__PartEECE2CC1.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 16:16: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 QAA26336
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 16:16:57 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7LEq3Y065338;
	Sun, 7 Nov 2004 21:15: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 iA7LDw45065327;
	Sun, 7 Nov 2004 21:13: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); Sun, 7 Nov 2004 21:13:58 +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 iA7LDr9G065316
	for <ietf-ldapbis@openldap.org>; Sun, 7 Nov 2004 21:13:57 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.34)
	id 1CQuM9-00001b-UK
	for ietf-ldapbis@openldap.org; Sun, 07 Nov 2004 22:13:50 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQuM6-0000OJ-Nh; Sun, 07 Nov 2004 22:13:46 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQuM5-0007at-00; Sun, 7 Nov 2004 22:13:45 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041107pq4q@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Cross-purpose SEQUENCE/CHOICE protocol extension fields
Date: Sun, 7 Nov 2004 22:13:45 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

There are two different ways to extend BindResponse and ModifyRequest.
I imagine this may lead to some sort of conflict or at least a rather
messy situation, in particular in which order the fields should occur:

1) If one defines a new BindRequest.AuthenticationChoice or
   ModifyRequest.changes.change.operation, one may need a new matching
   sequence element in BindResponse or ModifyRequest.changes.change.

2) One may define trailing SEQUENCE elements; [Protocol] section 4 says
   implementation must ignore unrecognized trailing SEQUENCE elements.

I don't know that works when there are several extra SEQUENCE elements
present:  Will an implementation pick up a known element following an
unknown element?  Can elements from different specifications be present
in any order?  Or must all specifications of such elements define where
in the SEQUENCE the element occurs in relation to all previous
specifications of other elements?

If this is not a problem, ignore the rest of this message.  Otherwise:
One fix might be to define (not in LDAPbis) two extensions to be used
with future specifications of Bind authentication choices and Modify
operation types:

        -- appended to BindResponse
        BindAuthData ::= [something] CHOICE {
             -- currently no choices are defined
        }

        -- appended to ModifyRequest.changes.change
        ModifyChangeData ::= [something] CHOICE {
             -- currently no choices are defined
        }

where each CHOICE tag number is reserved for the same
BindRequest.AuthenticationChoice tag number and
ModifyRequest.changes.change.operation value.

If this is desirable, I don't know if such a draft could - or should -
be rushed out quickly enough that [protocol] and [ldapiana] can add a
(maybe informative) reference to it?

For reference, here are the current ASN.1 definitions:

        BindResponse ::= [APPLICATION 1] SEQUENCE { 
             COMPONENTS OF LDAPResult, 
             serverSaslCreds    [7] OCTET STRING OPTIONAL }

        ModifyRequest ::= [APPLICATION 6] SEQUENCE { 
             object          LDAPDN, 
             changes         SEQUENCE OF change SEQUENCE { 
                  operation       ENUMERATED { 
                       add     (0), 
                       delete  (1), 
                       replace (2) }, 
                  modification    PartialAttribute } }

As far as I can tell there are no other protocol fields with similar
troubles, but I make no promises:-)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 16:21: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 QAA27076
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 16:21:30 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7LKm2h065564;
	Sun, 7 Nov 2004 21:20: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 iA7LJ7qk065508;
	Sun, 7 Nov 2004 21:19: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); Sun, 7 Nov 2004 21:19:07 +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 iA7LJ45o065476;
	Sun, 7 Nov 2004 21:19:05 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.34)
	id 1CQuRB-0000Ya-H7; Sun, 07 Nov 2004 22:19:01 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQuR7-0005wM-6m; Sun, 07 Nov 2004 22:18:57 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQuR6-0007bO-00; Sun, 7 Nov 2004 22:18:56 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041107pn0e@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: ModifyRequest OPTIONAL PartialAttribute (Was: protocol-27
  comments)
In-Reply-To: <6.1.2.0.0.20041029132026.0327f948@127.0.0.1>
References: <s18196e9.017@sinclair.provo.novell.com>
	<6.1.2.0.0.20041029132026.0327f948@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Sun, 7 Nov 2004 22:18:56 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>>> I wonder if the PartialAttribute [in ModifyRequest] should be
>>> OPTIONAL in the grammar and instead "REQUIRED unless otherwise
>>> specified" in the text, anticipating new ModifyRequest operation
>>> types (per [LDAPIANA]) that need a different data structure than
>>> PartialAttribute.
> (...)
> While I believe it unlikely that WG consensus would
> support making the modification component OPTIONAL, I
> will defer declaring consensus for a bit to allow
> on list discussion.  Those who support making this
> change should offer compelling reasons why it should
> be made.

For the record, since I brought it up: I have no preference on the
subject.  However, note my message 'Cross-purpose SEQUENCE/CHOICE
protocol extension fields'.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 16:40: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 QAA29457
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 16:40:03 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7LcmB3066047;
	Sun, 7 Nov 2004 21:38:52 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 iA7LYYXX065977;
	Sun, 7 Nov 2004 21:34: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); Sun, 7 Nov 2004 21:34:34 +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 iA7LYWK2065967
	for <ietf-ldapbis@openldap.org>; Sun, 7 Nov 2004 21:34:33 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.34)
	id 1CQug9-0002Rq-75
	for ietf-ldapbis@openldap.org; Sun, 07 Nov 2004 22:34:29 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQug7-0001GN-Ks; Sun, 07 Nov 2004 22:34:27 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQug7-0007eg-00; Sun, 7 Nov 2004 22:34:27 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041107pdo4@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
In-Reply-To: <HBF.20041107pq4q@bombur.uio.no>
References: <HBF.20041107pq4q@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Sun, 7 Nov 2004 22:34:27 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Hallvard B Furuseth writes:
> There are two different ways to extend BindResponse and ModifyRequest.
> I imagine this may lead to some sort of conflict or at least a rather
> messy situation, in particular in which order the fields should occur:
> 
> 1) If one defines a new BindRequest.AuthenticationChoice or
>    ModifyRequest.changes.change.operation, one may need a new matching
>    sequence element in BindResponse or ModifyRequest.changes.change.
> 
> 2) One may define trailing SEQUENCE elements; [Protocol] section 4 says
>    implementation must ignore unrecognized trailing SEQUENCE elements.

Sorry, that was unclear.
(1) of course employs what (2) says.
With (2) I meant to define such SEQUENCE elements for some different
purpose, independent of the AuthenticationChoice/operation.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 16:45: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 QAA00729
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 16:45:35 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7Limdm066254;
	Sun, 7 Nov 2004 21:44: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 iA7Lgum4066204;
	Sun, 7 Nov 2004 21:42:56 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, 7 Nov 2004 21:42:56 +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 iA7LgtwF066192
	for <ietf-ldapbis@openldap.org>; Sun, 7 Nov 2004 21:42:55 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.34)
	id 1CQuoG-0003dG-18
	for ietf-ldapbis@openldap.org; Sun, 07 Nov 2004 22:42:52 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQuoD-0008A6-L9; Sun, 07 Nov 2004 22:42:49 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQuoD-0007gN-00; Sun, 7 Nov 2004 22:42:49 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041107p8mt@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Empty IA5String
Date: Sun, 7 Nov 2004 22:42:49 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

[Syntaxes] section 3.3.15 says an IA5 String may be empty.

Why is that, when Directory String and Printable String may not?
If anyone knows, maybe a note should be added to explain.


[Strprep] section 2 says:

  This process is intended to act upon non-empty character strings.  If
  the string to prepare is empty, this process is not applied and the
  assertion is evaluated to Undefined.

Since an IA5 String can be empty, why shouldn't two empty IA5 Strings
match each other?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 17:47: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 RAA06986
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 17:47:11 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7MinY0067812;
	Sun, 7 Nov 2004 22:45: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 iA7MdIaE067653;
	Sun, 7 Nov 2004 22:39: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); Sun, 7 Nov 2004 22:39: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 iA7MdDsF067642
	for <ietf-ldapbis@openldap.org>; Sun, 7 Nov 2004 22:39:17 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.34)
	id 1CQvgk-0003c9-8D
	for ietf-ldapbis@openldap.org; Sun, 07 Nov 2004 23:39:10 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQvgd-0004rP-Np; Sun, 07 Nov 2004 23:39:03 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQvgd-00001L-00; Sun, 7 Nov 2004 23:39:03 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041107oase@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: T.61 -> Unicode conversion
Date: Sun, 7 Nov 2004 23:39:03 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

As far as I can tell, X.500/LDAP servers and X.500<->LDAP gateways may
use another mapping between T.61 and Unicode than the one in [Strprep]
Appendix A for transfer and storage of values, *except* for string
matching, for which [Strprep] section 2.1 says:

  TeletexString [X.680][T.61] values are transcoded to Unicode as
  described in Appendix A.

Though I don't quite understand when this sentence applies.  Only for
X.500/LDAP servers and when transferring values in binary format over
the protocol?

Can it happen that a Modify operation contains an UTF-8 value which
according to Appendix A does not match an existing value in the entry,
but which the server stores as a T.61 value which does match an existing
value?

Unless I'm confused about this, Appendix A shouldn't apply to just
string matching but to converting T.61 strings to Unicode in general.


Also,

I'm pretty sure that when I used X.500 and T.61 (10+ years ago?), at
least the T.61 Underline combining character could be combined with
other combining characters.  I don't know if Unicode allows that; the
strprep description of doing so at the end of Appendix A does not.

Also, I may remember wrong but there seems to be a lot more valid
character combinations (accent character + other character) than there
was in the T.61 I am used to.  Does the strprep algorithm accept any
T.61 character combination which can be mapped to Unicode, whether or
not the combination is valid in T.61?  If so, there are strings which
Stringprep will incorrectly will treat as valid.

I don't know where to find T.61 so I can check this, though.  At least
not on a Sunday:-)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 18:10: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 SAA08704
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 18:10:16 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA7N8sH8068267;
	Sun, 7 Nov 2004 23:08: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 iA7N7s8I068253;
	Sun, 7 Nov 2004 23:07:54 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, 7 Nov 2004 23:07:54 +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 iA7N7pcr068224
	for <ietf-ldapbis@OpenLDAP.org>; Sun, 7 Nov 2004 23:07:51 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 16:07:31 -0700
Message-Id: <s18e4843.011@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 16:06:45 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: protocol-27 comments#2
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 10/29/04 1:09:56 PM
>>>
>> 2. Conventions 
>
>> The term "SASL layer" refers to a layer inserted between the 
>> connection and the LDAP exchange that utilizes Simple Authentication

>> and Security Layer ([SASL]) to protect the exchange of LDAP PDUs. 
>
>s/connection/connection or TLS layer/?

got it

>> 4. Elements of Protocol 
>
>> ellipses (...) 
>> have been supplied in ASN.1 types that are explicitly extensible as

>> discussed in [LDAPIANA].
>
>With the latest [LDAPIANA], this is no longer true for Search Scope,
>Filter Choice and ModifyRequest Operation Type.

I need education... Why is this no longer true?

>> Clients may
>
>attempt to?
>
>([Models] section 5.1 says the server SHALL provide it, but only
"subject to
>access control and other restrictions".)
>
>> determine the protocol versions a server supports by 
>> reading the 'supportedLDAPVersion' attribute from the root DSE
(DSA-
>> Specific Entry) [Models]. 

ok

>> 4.1.1.1. Message ID 
>
>> after the final response is received, or a subsequent bind 
>> completes). Otherwise the behavior is undefined. For this purpose, 
>> note that abandon and abandoned operations do not send responses. 
>
>s/abandoned/successfully abandoned/? We - or maybe just I - used that
>phrase earlier, but I don't remember what happened.
>
>BTW, maybe capitalize 'abandon' and therefore also 'bind'.

got both

>> attribute values may be equivalent as described by Section 2.3 

was there a comment I missed on this?

>> 4.1.9. Result Message 
>> 
>> To various 
>> requests, servers will return responses of LDAPResult or responses 
>> containing the components of LDAPResult
>
>This is not quite right. There are no pure LDAPResult responses; the
>tag is different. I haven't thought of a brief and clear enough
>replacement text to be worth bothering with, though. Maybe "tagged
>LDAPResults", I'm not sure.

I think "will return responses containing the components of LDAPResult"
is sufficient.

>> to indicate the final status 
>> of a protocol operation request. 

>> The diagnosticMessage field of this construct may, at the server's 
>> option, be used to return a string containing a textual, human-
>> readable (terminal control and page formatting characters should be

>> avoided) diagnostic message.
>
>I may have mentioned this before, but I can't find it in the archive:
>It might be useful to suggest or RECOMMEND either to treat
>diagnosticMessages as supplements to the result code in error
messages,
>or to recommend the opposite (diagnosticMessages intended to stand
alone
>without displaying the result code). I think common practice is the
>former, but I don't really know.

I don't think you mean the disgnosticMessage should be used in addition
to resultCode in determining a course of action. So are you saying we
should describe behavior between a client application and a human user?

>> A.2 Result Codes 
>
>> protocolError (2) 
>> For extended operations only, this code indicates that the 
>> server does not support (by design or configuration) the 
>> extended operation associated with the requestName. 
>
>No, it can also mean that or one of the other things that can cause
>protocolError, has happened. Use e.g. "is also used to indicate".

right, and it's too bad too (IMO), there should have been an
unavailableExtension code for this.

>> insufficientAccessRights (50) 
>> Indicates that the client does not have sufficient access 
>> rights to perform the operation. 
>
>I suggest:
>Note that the client may not even have access to learn
>that, and might instead receive e.g. noSuchObject as if the
>operation's target object did not exist.

There must be a better way of putting this. How about a general
statement at the top of the result codes which says: "Some result codes
may not be disclosed to the client, or may be substituted due to access
control settings"?

>> Appendix C - Changes 
>
>What is a "clarification"? I thought it meant it is not intended to
>change what the spec means, but it is used differently several places
>here. I remember Kurt insisted that something was a clarification
while
>I insisted it was a change some time ago, too. E.g. at least these
look
>like changes to me:

See 'clarifications' thread
<snip>

>> C.1.13 Section 4.2.1 
>
>> Each SASL negotiation is, generally, independent of other SASL 
>> negotiations.
>
>No. [SASL] section 6.3 (Multiple authentications) says:
>
>If a security layer is in effect and a subsequent
>SASL negotiation selects no security layer, the original security
>layer remains in effect.

I can strike that sentence and still retain the justification for the
change (in the sentences that follow it)

>> C.1.15 Section 4.3 
>> 
>> - Required both peers to cease transmission and close the LDAP 
>> exchange for the unbind operation. 
>
>s/LDAP exchange/connection/.

right

>> C.1.21 Section 4.6 
>> 
>> - Removed restriction that required an EQUALITY matching rule in 
>> order to perform value delete modifications. It is sufficiently 
>> documented that in absence of an equality matching rule, octet 
>> equality is used. 
>
>No, [Models] 2.5.1. Attribute Types reverted to
>
>If no equality matching is specified for the attribute type:
>
>- individual values of a multi-valued attribute are not to be
>independently added or deleted;
>
>as in X.500. Come to think of it, while it is indeed documented, a
>reference from [protocol] 4.6 (Modify Operation) to that section in
>[Models] might be useful.

I'll fix the change appendix, and to Modify, Add, and Modify DN, I'll
add: "For attribute types which specify no equality matching, the rules
in Section 2.5.1 of [Models] are followed"

>> C.3 Changes made to RFC 3771: 
>> 
>> - In general, all technical language was transferred in whole. 
>
>We kept the semantics (I think), but we rewrote it, including
redefining
>what it means for two IntermediateResponses to have different type.

fixed.

>> Supporting and background language seen as redundant due to its 
>> presence in this document was omitted. 
>
>========================================================================
>
>Editorial comments:
>
>The draft has lost its form feeds.

will fix

>> 1.1. Relationship to Obsolete Specifications 
>> 
>> This document is an integral part of the LDAP Technical
Specification 
>> [Roadmap]
>
>Nitpick: This statement deserves a better heading than 'Relationship
to
>Obsolete Specifications'.

changed to "Relationship to Other LDAP Specifications"

>> which obsoletes the previously defined LDAP technical 
>> specification, RFC 3377, in its entirety. 
>
>> This document obsoletes RFC 2830, Sections 2 and 4 in entirety.
>
>'in entirety' looks strange here. Doesn't seem necessary below
either.
>
>> This document also obsoletes RFC 3771 in entirety. 

If so, we need to review this across other ldapbis documents (the same
wording exists in other docuemnts)

>> 4.1.7. Attribute and PartialAttribute 
>
>> No two
>
>Add "of the" for clarity?

ok, though it reads odd to me (but that's just me)

>> 4.7. Add Operation 
>
>> - attributes: the list of attributes that, along with those from the

>> RDN, make up the content of the entry being added. Clients MAY or 
>> MAY NOT include the RDN attribute in this list. Clients MUST 
>
>s/RDN attribute/RDN attribute(s)/.

right

>> Appendix C - Changes 
>
>> This appendix summarizes substantive changes made to RFC 2251 and
RFC 
>> 2830. 
>
>And RFC 3771.

yes

>BTW, it would be easier to check for changes to a specific thing if
each
>header was named "Section foo (section foo's title in the old RFC)".
Or
>a shortened title if the result would span multiple lines.
>(I can make the changes if you wish.)

oh bother...

>> C.1.23 Section 4.9 
>
>> - Specified what happens when the attributes of the newrdn are no 
>> present on the entry. 
>
>s/no/not/.

right

>> C.2 Changes made to RFC 2830: 
>> C.2.1 Section 2.3 
>> 
>> - Removed wording indicating that referrals can be returned from 
>> StartTLS 
>
>Missing period.

got it

>-- 
>Hallvard

Thanks,

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 19:04:39 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 TAA12725
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 19:04:38 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA802n29069178;
	Mon, 8 Nov 2004 00:03:11 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 iA800nIG069135;
	Mon, 8 Nov 2004 00:00: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); Mon, 8 Nov 2004 00:00:49 +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 iA800lQg069125
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 00:00:47 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.34)
	id 1CQwxf-0007Bn-Ti; Mon, 08 Nov 2004 01:00:44 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQwxa-0002Nb-0E; Mon, 08 Nov 2004 01:00:38 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQwxV-0000Dz-00; Mon, 8 Nov 2004 01:00:33 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108mxqw@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol-27 comments#2
In-Reply-To: <s18e4843.012@sinclair.provo.novell.com>
References: <s18e4843.012@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 01:00:33 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Hi Jim, it's a relief to see I'm not the only one in "absolutely have to
get this done now"-mode:-)  Now, if I only can get through the rest of
[protocol] before next IETF...

BTW, I should have said earlier: I know it's after Last Call.  Feel free
to reply "too late" to any still outstanding [protocol] comments.


Jim Sermersheim writes:
>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 10/29/04 1:09:56 PM

>>> 4. Elements of Protocol 
>>
>>> ellipses (...) 
>>> have been supplied in ASN.1 types that are explicitly extensible as
>>> discussed in [LDAPIANA].
>>
>>With the latest [LDAPIANA], this is no longer true for Search Scope,
>>Filter Choice and ModifyRequest Operation Type.
> 
> I need education... Why is this no longer true?

draft-ietf-ldapbis-protocol-27.txt does not contain '...' in the ASN.1
for SearchRequest.scope, Filter and ModifyRequest.changes.operation.
draft-ietf-ldapbis-bcp64-04.txt sections 3.9 to 3.11 explicitly say that
these are extensible.

>>> attribute values may be equivalent as described by Section 2.3 
> 
> was there a comment I missed on this?

No, I failed to delete it when moving an editorial comment.

>>> 4.1.9. Result Message 
>>> 
>>> To various 
>>> requests, servers will return responses of LDAPResult or responses 
>>> containing the components of LDAPResult
>>
>>This is not quite right. There are no pure LDAPResult responses; the
>>tag is different. I haven't thought of a brief and clear enough
>>replacement text to be worth bothering with, though. Maybe "tagged
>>LDAPResults", I'm not sure.
> 
> I think "will return responses containing the components of LDAPResult"
> is sufficient.

I thought of something like that, but wondered if there is an ASN.1
encoding where SEQUENCE { COMPONENTS OF LDAPResult } is encoded
differently from LDAPResult.  If so, that wording is a bit misleading
too.  But I suppose that's getting excessively paranoid about wordings.

>>> The diagnosticMessage field of this construct may, at the server's 
>>> option, be used to return a string containing a textual, human-
>>> readable (terminal control and page formatting characters should be
>>> avoided) diagnostic message.
>>
>> I may have mentioned this before, but I can't find it in the archive:
>> It might be useful to suggest or RECOMMEND either to treat
>> diagnosticMessages as supplements to the result code in error
>> messages, or to recommend the opposite (diagnosticMessages intended
>> to stand alone without displaying the result code). I think common
>> practice is the former, but I don't really know.
> 
> I don't think you mean the disgnosticMessage should be used in addition
> to resultCode in determining a course of action.  So are you saying we
> should describe behavior between a client application and a human user?

Right.  Inform clients that display disgnosticMessage if they
also need to display the resultCode (or preferably an explanation of it).

And therefore, also tell servers if the disgnosticMessage, if any, needs
to contain the information conveyed by the result code.

>>> insufficientAccessRights (50) 
>>> Indicates that the client does not have sufficient access 
>>> rights to perform the operation. 
>>
>>I suggest:
>>Note that the client may not even have access to learn
>>that, and might instead receive e.g. noSuchObject as if the
>>operation's target object did not exist.
> 
> There must be a better way of putting this. How about a general
> statement at the top of the result codes which says: "Some result codes
> may not be disclosed to the client, or may be substituted due to access
> control settings"?

Softening the words sounds OK in general, but I don't understand the
"or".  Do you mean something like this (somewhat cumbersome wording):

  Some result codes may be substituted because they may not be disclosed
  to the client, e.g. due to access control settings.

...assuming the "e.g." is needed.  I don't know any other reason.

>>> C.1.13 Section 4.2.1 
>>
>>> Each SASL negotiation is, generally, independent of other SASL 
>>> negotiations.
>>
>>No. [SASL] section 6.3 (Multiple authentications) says:
>>
>>If a security layer is in effect and a subsequent
>>SASL negotiation selects no security layer, the original security
>>layer remains in effect.
> 
> I can strike that sentence and still retain the justification for the
> change (in the sentences that follow it)

Actually that justification isn't clear to me in any case, but maybe
that's because I've gotten a bit lost on SASL.  But I think those
sentences will need some fixes too, like s/were/are/, s/had/has/.

>>> Appendix C - Changes 

>> BTW, it would be easier to check for changes to a specific thing if
>> each header was named "Section foo (section foo's title in the old
>> RFC)". Or a shortened title if the result would span multiple lines.
>> (I can make the changes if you wish.)
> 
> oh bother...

That's why I said I could do it.  (If you send me the nroff code or
whatever the source format is.)  At least with plaintext and nroff, I
think it should be a fairly simple Perl script.  Just have to edit any
too long resulting headers afterwards.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 19:33: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 TAA15111
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 19:33:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA80WnZt069731;
	Mon, 8 Nov 2004 00:32: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 iA80VnJO069719;
	Mon, 8 Nov 2004 00:31: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); Mon, 8 Nov 2004 00:31:49 +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 iA80VkTs069688;
	Mon, 8 Nov 2004 00:31:47 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.34)
	id 1CQxRf-0003SV-7S; Mon, 08 Nov 2004 01:31:43 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQxRc-00054d-Jd; Mon, 08 Nov 2004 01:31:40 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQxRa-0000Iq-00; Mon, 8 Nov 2004 01:31:38 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108mf11@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: Kurt@OpenLDAP.org, ietf-ldapbis@OpenLDAP.org
Subject: Re: registration of LDAP syntax OIDs
In-Reply-To: <s17ba450.068@sinclair.provo.novell.com>
References: <s17ba450.068@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 01:31:38 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/24/04 2:52:57 AM >>>
>> So, at this point, I guess I have to say I now
>> prefer option 1 and dislike both 2 and 3.
>>
>> I note that Option 1 doesn't preclude a future
>> extension from introducing 'syntax descriptors',
>> but it does (and I think properly so) defers the
>> introduction to a future extension specification.
> 
> I don't think harm will be introduced either way. I still favor 2, but
> it's not keeping me up at night.

I vote for 1 (a new table specifically for Syntaxes).  Partly to be sure
nobody thinks syntax descriptors can be used for OIDs in the protocol,
but also in case someone wants longer and more descriptive DESC strings
than the current ones, so they won't fit nicely into the table.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 21:35: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 VAA24517
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 21:35:56 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA82XPnr072227;
	Mon, 8 Nov 2004 02:34: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 iA82R0iX072139;
	Mon, 8 Nov 2004 02:27: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); Mon, 8 Nov 2004 02:27:00 +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 iA82Qwvs072129
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 02:26:58 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.34)
	id 1CQzF8-0001mt-PR
	for ietf-ldapbis@openldap.org; Mon, 08 Nov 2004 03:26:54 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQzF4-0003li-V5; Mon, 08 Nov 2004 03:26:50 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQzF3-0000ZW-00; Mon, 8 Nov 2004 03:26:49 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108khpd@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Unicode combining marks
Date: Mon, 8 Nov 2004 03:26:49 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

[models] 4.1.2. Attribute Types refers to "minimum upper bound on the
number of characters in a value with a string-based syntax...".

Is "a<Combining Accute Accent = U+0301>" 1 or 2 characters?  The Unicode
FAQ at <http://www.unicode.org/faq/char_combmark.html#2> seems to say
'that depends'.


I'm wondering a bit when character combinations that are illegal
according to Unicode (those exist, yes?) will cause failure and when
they will slip though.

E.g. what do these return - as extensibleMatch filters, and as
equality/substring filters:

- distinguishedNameMatch:
  assertion value "cn=\3a<Combining Accute Accent>", attrval "cn=foo".
  (I presume ":<Combining Accute Accent>" is invalid in Unicode while
  "a<Combining Accute Accent>" is valid.)

- caseIgnoreListSubstringsMatch:
  assertion value "de*<Combining Accute Accent>fg", attrval "foo".

  assertion value "x\5c<combining mark>y" where "c" can be followed by
  the combining mark but "\" cannot, or vice versa if possible.

Can an entry with DN "cn=\3a<Combining Accute Accent>" be added, or a
seeAlso attribute with that value?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 21:39: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 VAA24756
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 21:39:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA82co60072391;
	Mon, 8 Nov 2004 02:38: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 iA82a2IM072325;
	Mon, 8 Nov 2004 02:36: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, 8 Nov 2004 02:36:02 +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 iA82a06T072283
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 02:36:00 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 19:35:40 -0700
Message-Id: <s18e790c.087@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 19:34:59 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part3F1FFD43.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

Reading this, I also noticed that definitions which include COMPONENTS
OF LDAPResult add some buffer space for future expansion of LDAPResult,
but only a little. LDAPResult has assigned [3] to the last tag in the
SEQUENCE. BindResponse starts at [7], and ExtendedResponse starts at
[10]. Does this mean that LDAPResult can only be extended with 4 - 6, 8,
and 9?
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 4:13:45 PM
>>>
There are two different ways to extend BindResponse and ModifyRequest.
I imagine this may lead to some sort of conflict or at least a rather
messy situation, in particular in which order the fields should occur:

1) If one defines a new BindRequest.AuthenticationChoice or
ModifyRequest.changes.change.operation, one may need a new matching
sequence element in BindResponse or ModifyRequest.changes.change.

2) One may define trailing SEQUENCE elements; [Protocol] section 4
says
implementation must ignore unrecognized trailing SEQUENCE elements.

I don't know that works when there are several extra SEQUENCE elements
present: Will an implementation pick up a known element following an
unknown element? Can elements from different specifications be present
in any order? Or must all specifications of such elements define where
in the SEQUENCE the element occurs in relation to all previous
specifications of other elements?

If this is not a problem, ignore the rest of this message. Otherwise:
One fix might be to define (not in LDAPbis) two extensions to be used
with future specifications of Bind authentication choices and Modify
operation types:

-- appended to BindResponse
BindAuthData ::= [something] CHOICE {
-- currently no choices are defined
}

-- appended to ModifyRequest.changes.change
ModifyChangeData ::= [something] CHOICE {
-- currently no choices are defined
}

where each CHOICE tag number is reserved for the same
BindRequest.AuthenticationChoice tag number and
ModifyRequest.changes.change.operation value.

If this is desirable, I don't know if such a draft could - or should -
be rushed out quickly enough that [protocol] and [ldapiana] can add a
(maybe informative) reference to it?

For reference, here are the current ASN.1 definitions:

BindResponse ::= [APPLICATION 1] SEQUENCE { 
COMPONENTS OF LDAPResult, 
serverSaslCreds [7] OCTET STRING OPTIONAL }

ModifyRequest ::= [APPLICATION 6] SEQUENCE { 
object LDAPDN, 
changes SEQUENCE OF change SEQUENCE { 
operation ENUMERATED { 
add (0), 
delete (1), 
replace (2) }, 
modification PartialAttribute } }

As far as I can tell there are no other protocol fields with similar
troubles, but I make no promises:-)

-- 
Hallvard


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Reading this, I also noticed that definitions which include COMPONENTS=
 OF LDAPResult add some buffer space for future expansion of LDAPResult, =
but only a little. LDAPResult has assigned [3] to the last tag in the =
SEQUENCE. BindResponse starts at [7], and ExtendedResponse starts at [10]. =
Does this mean that LDAPResult can only be extended with 4 - 6, 8, and =
9?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.=
no&gt; 11/7/04 4:13:45 PM &gt;&gt;&gt;<BR>There are two different ways to =
extend BindResponse and ModifyRequest.<BR>I imagine this may lead to some =
sort of conflict or at least a rather<BR>messy situation, in particular in =
which order the fields should occur:<BR><BR>1) If one defines a new =
BindRequest.AuthenticationChoice or<BR>ModifyRequest.changes.change.operati=
on, one may need a new matching<BR>sequence element in BindResponse or =
ModifyRequest.changes.change.<BR><BR>2) One may define trailing SEQUENCE =
elements; [Protocol] section 4 says<BR>implementation must ignore =
unrecognized trailing SEQUENCE elements.<BR><BR>I don't know that works =
when there are several extra SEQUENCE elements<BR>present: Will an =
implementation pick up a known element following an<BR>unknown element? =
Can elements from different specifications be present<BR>in any order? Or =
must all specifications of such elements define where<BR>in the SEQUENCE =
the element occurs in relation to all previous<BR>specifications of other =
elements?<BR><BR>If this is not a problem, ignore the rest of this =
message. Otherwise:<BR>One fix might be to define (not in LDAPbis) two =
extensions to be used<BR>with future specifications of Bind authentication =
choices and Modify<BR>operation types:<BR><BR>-- appended to BindResponse<B=
R>BindAuthData ::=3D [something] CHOICE {<BR>-- currently no choices are =
defined<BR>}<BR><BR>-- appended to ModifyRequest.changes.change<BR>ModifyCh=
angeData ::=3D [something] CHOICE {<BR>-- currently no choices are =
defined<BR>}<BR><BR>where each CHOICE tag number is reserved for the =
same<BR>BindRequest.AuthenticationChoice tag number and<BR>ModifyRequest.ch=
anges.change.operation value.<BR><BR>If this is desirable, I don't know if =
such a draft could - or should -<BR>be rushed out quickly enough that =
[protocol] and [ldapiana] can add a<BR>(maybe informative) reference to =
it?<BR><BR>For reference, here are the current ASN.1 definitions:<BR><BR>Bi=
ndResponse ::=3D [APPLICATION 1] SEQUENCE { <BR>COMPONENTS OF LDAPResult, =
<BR>serverSaslCreds [7] OCTET STRING OPTIONAL }<BR><BR>ModifyRequest ::=3D =
[APPLICATION 6] SEQUENCE { <BR>object LDAPDN, <BR>changes SEQUENCE OF =
change SEQUENCE { <BR>operation ENUMERATED { <BR>add (0), <BR>delete (1), =
<BR>replace (2) }, <BR>modification PartialAttribute } }<BR><BR>As far as =
I can tell there are no other protocol fields with similar<BR>troubles, =
but I make no promises:-)<BR><BR>-- <BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part3F1FFD43.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 21:45: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 VAA25291
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 21:45:51 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA82ioqC072625;
	Mon, 8 Nov 2004 02:44: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 iA82iX2N072614;
	Mon, 8 Nov 2004 02:44: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); Mon, 8 Nov 2004 02:44:33 +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 iA82iS2Y072604
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 02:44:29 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.34)
	id 1CQzW5-0003ox-G8; Mon, 08 Nov 2004 03:44:25 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CQzW3-0003OI-OP; Mon, 08 Nov 2004 03:44:23 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CQzW2-0000pI-00; Mon, 8 Nov 2004 03:44:22 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108k75g@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
In-Reply-To: <s18e790c.087@sinclair.provo.novell.com>
References: <s18e790c.087@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 03:44:22 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> Reading this, I also noticed that definitions which include COMPONENTS
> OF LDAPResult add some buffer space for future expansion of LDAPResult,
> but only a little. LDAPResult has assigned [3] to the last tag in the
> SEQUENCE. BindResponse starts at [7], and ExtendedResponse starts at
> [10]. Does this mean that LDAPResult can only be extended with 4 - 6, 8,
> and 9?

Heh.  Clearly I have no idea how such extensions work.  I assumed any
unused tag could be used, including anything from [12] and up.  I expect
the true answer may reduce the problem my original posting suggested...

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 21:46: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 VAA25315
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 21:46:41 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA82ioqE072625;
	Mon, 8 Nov 2004 02:44: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 iA82hmWB072597;
	Mon, 8 Nov 2004 02:43: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); Mon, 8 Nov 2004 02:43:48 +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 iA82hkZR072580
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 02:43:46 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 19:43:26 -0700
Message-Id: <s18e7ade.096@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 19:42:46 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part4C6C8E36.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

It seems to me that (currently) any extension specification must be
cognizant of all previous extension specifications and the SEQUENCE
numbers they have set aside for their use. It would be better if we
could solve this in [LDAPIANA]. I don't know how to do that other than
to set up registrations for each protocol type which is extensible. That
seems like an ugly task, so hopefully someone else has a better idea.
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 4:13:45 PM
>>>
There are two different ways to extend BindResponse and ModifyRequest.
I imagine this may lead to some sort of conflict or at least a rather
messy situation, in particular in which order the fields should occur:

1) If one defines a new BindRequest.AuthenticationChoice or
ModifyRequest.changes.change.operation, one may need a new matching
sequence element in BindResponse or ModifyRequest.changes.change.

2) One may define trailing SEQUENCE elements; [Protocol] section 4
says
implementation must ignore unrecognized trailing SEQUENCE elements.

I don't know that works when there are several extra SEQUENCE elements
present: Will an implementation pick up a known element following an
unknown element? Can elements from different specifications be present
in any order? Or must all specifications of such elements define where
in the SEQUENCE the element occurs in relation to all previous
specifications of other elements?

If this is not a problem, ignore the rest of this message. Otherwise:
One fix might be to define (not in LDAPbis) two extensions to be used
with future specifications of Bind authentication choices and Modify
operation types:

-- appended to BindResponse
BindAuthData ::= [something] CHOICE {
-- currently no choices are defined
}

-- appended to ModifyRequest.changes.change
ModifyChangeData ::= [something] CHOICE {
-- currently no choices are defined
}

where each CHOICE tag number is reserved for the same
BindRequest.AuthenticationChoice tag number and
ModifyRequest.changes.change.operation value.

If this is desirable, I don't know if such a draft could - or should -
be rushed out quickly enough that [protocol] and [ldapiana] can add a
(maybe informative) reference to it?

For reference, here are the current ASN.1 definitions:

BindResponse ::= [APPLICATION 1] SEQUENCE { 
COMPONENTS OF LDAPResult, 
serverSaslCreds [7] OCTET STRING OPTIONAL }

ModifyRequest ::= [APPLICATION 6] SEQUENCE { 
object LDAPDN, 
changes SEQUENCE OF change SEQUENCE { 
operation ENUMERATED { 
add (0), 
delete (1), 
replace (2) }, 
modification PartialAttribute } }

As far as I can tell there are no other protocol fields with similar
troubles, but I make no promises:-)

-- 
Hallvard


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>It seems to me that (currently) any extension specification must be =
cognizant of all previous extension specifications and the SEQUENCE =
numbers they have set aside for their use. It would be better if we could =
solve this in [LDAPIANA]. I don't know how to do that other than to set up =
registrations for each protocol type which is extensible. That seems like =
an ugly task, so hopefully someone else has a better idea.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.=
no&gt; 11/7/04 4:13:45 PM &gt;&gt;&gt;<BR>There are two different ways to =
extend BindResponse and ModifyRequest.<BR>I imagine this may lead to some =
sort of conflict or at least a rather<BR>messy situation, in particular in =
which order the fields should occur:<BR><BR>1) If one defines a new =
BindRequest.AuthenticationChoice or<BR>ModifyRequest.changes.change.operati=
on, one may need a new matching<BR>sequence element in BindResponse or =
ModifyRequest.changes.change.<BR><BR>2) One may define trailing SEQUENCE =
elements; [Protocol] section 4 says<BR>implementation must ignore =
unrecognized trailing SEQUENCE elements.<BR><BR>I don't know that works =
when there are several extra SEQUENCE elements<BR>present: Will an =
implementation pick up a known element following an<BR>unknown element? =
Can elements from different specifications be present<BR>in any order? Or =
must all specifications of such elements define where<BR>in the SEQUENCE =
the element occurs in relation to all previous<BR>specifications of other =
elements?<BR><BR>If this is not a problem, ignore the rest of this =
message. Otherwise:<BR>One fix might be to define (not in LDAPbis) two =
extensions to be used<BR>with future specifications of Bind authentication =
choices and Modify<BR>operation types:<BR><BR>-- appended to BindResponse<B=
R>BindAuthData ::=3D [something] CHOICE {<BR>-- currently no choices are =
defined<BR>}<BR><BR>-- appended to ModifyRequest.changes.change<BR>ModifyCh=
angeData ::=3D [something] CHOICE {<BR>-- currently no choices are =
defined<BR>}<BR><BR>where each CHOICE tag number is reserved for the =
same<BR>BindRequest.AuthenticationChoice tag number and<BR>ModifyRequest.ch=
anges.change.operation value.<BR><BR>If this is desirable, I don't know if =
such a draft could - or should -<BR>be rushed out quickly enough that =
[protocol] and [ldapiana] can add a<BR>(maybe informative) reference to =
it?<BR><BR>For reference, here are the current ASN.1 definitions:<BR><BR>Bi=
ndResponse ::=3D [APPLICATION 1] SEQUENCE { <BR>COMPONENTS OF LDAPResult, =
<BR>serverSaslCreds [7] OCTET STRING OPTIONAL }<BR><BR>ModifyRequest ::=3D =
[APPLICATION 6] SEQUENCE { <BR>object LDAPDN, <BR>changes SEQUENCE OF =
change SEQUENCE { <BR>operation ENUMERATED { <BR>add (0), <BR>delete (1), =
<BR>replace (2) }, <BR>modification PartialAttribute } }<BR><BR>As far as =
I can tell there are no other protocol fields with similar<BR>troubles, =
but I make no promises:-)<BR><BR>-- <BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part4C6C8E36.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 21:57: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 VAA25839
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 21:57:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA82uoZp073162;
	Mon, 8 Nov 2004 02:56: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 iA82uOqm073147;
	Mon, 8 Nov 2004 02:56: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); Mon, 8 Nov 2004 02:56:24 +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 iA82uN3H073135
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 02:56:23 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 19:56:03 -0700
Message-Id: <s18e7dd3.037@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 19:55:25 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: extensibility of SearchRequest.derefAliases
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part4A6A880D.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

[LDAPIANA] sets up procedures for extending most CHOICE and ENUMERATED
fields in [Protocol], but misses SearchRequest.derefAliases. This
deserves to be as extensible as others. For example, I might want to
extend this to say 'derefFindingPenultimate'. I want to read an alias
entry, but I want all aliases leading up to that ultimate alias to be
dereferences.
 
Jim

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>[LDAPIANA] sets up procedures for extending most CHOICE and ENUMERATED=
 fields in [Protocol], but misses SearchRequest.derefAliases. This =
deserves to be as extensible as others. For example, I might want to =
extend this to say 'derefFindingPenultimate'. I want to read an alias =
entry, but I want all aliases leading up to that ultimate alias to be =
dereferences.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__Part4A6A880D.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 22:22: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 WAA28708
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 22:22:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA83KtDV074129;
	Mon, 8 Nov 2004 03:21:04 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 iA83FrNw074045;
	Mon, 8 Nov 2004 03:15: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); Mon, 8 Nov 2004 03:15:53 +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 iA83FpXN074035
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 03:15:52 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 20:15:31 -0700
Message-Id: <s18e8263.072@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 20:14:48 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: protocol-27 comments#2
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 7:00:33 PM
>>>
>Hi Jim, it's a relief to see I'm not the only one in "absolutely have
to
>get this done now"-mode:-) Now, if I only can get through the rest of
>[protocol] before next IETF...
>
>BTW, I should have said earlier: I know it's after Last Call. Feel
free
>to reply "too late" to any still outstanding [protocol] comments.

before next IETF? You mean in the next 10 hours?
 
All comments are welcome (very appreciated actualy). It's obvious there
are edits to be made, so lateness isn't an issue at this point.

>Jim Sermersheim writes:
>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 10/29/04 1:09:56
PM

>>>> 4. Elements of Protocol 
>>>
>>>> ellipses (...) 
>>>> have been supplied in ASN.1 types that are explicitly extensible
as
>>>> discussed in [LDAPIANA].
>>>
>>>With the latest [LDAPIANA], this is no longer true for Search
Scope,
>>>Filter Choice and ModifyRequest Operation Type.
>> 
>> I need education... Why is this no longer true?
>
>draft-ietf-ldapbis-protocol-27.txt does not contain '...' in the
ASN.1
>for SearchRequest.scope, Filter and ModifyRequest.changes.operation.
>draft-ietf-ldapbis-bcp64-04.txt sections 3.9 to 3.11 explicitly say
that
>these are extensible.

Oh, I see what you're saying now. Will fix.


>>>> 4.1.9. Result Message 
>>>> 
>>>> To various 
>>>> requests, servers will return responses of LDAPResult or responses

>>>> containing the components of LDAPResult
>>>
>>>This is not quite right. There are no pure LDAPResult responses;
the
>>>tag is different. I haven't thought of a brief and clear enough
>>>replacement text to be worth bothering with, though. Maybe "tagged
>>>LDAPResults", I'm not sure.
>> 
>> I think "will return responses containing the components of
LDAPResult"
>> is sufficient.
>
>I thought of something like that, but wondered if there is an ASN.1
>encoding where SEQUENCE { COMPONENTS OF LDAPResult } is encoded
>differently from LDAPResult. If so, that wording is a bit misleading
>too. But I suppose that's getting excessively paranoid about
wordings.

ok, I could say "will return responses containing the elements found in
LDAPResult"? Just trying to find a vague enough way to say it...

>>>> The diagnosticMessage field of this construct may, at the server's

>>>> option, be used to return a string containing a textual, human-
>>>> readable (terminal control and page formatting characters should
be
>>>> avoided) diagnostic message.
>>>
>>> I may have mentioned this before, but I can't find it in the
archive:
>>> It might be useful to suggest or RECOMMEND either to treat
>>> diagnosticMessages as supplements to the result code in error
>>> messages, or to recommend the opposite (diagnosticMessages
intended
>>> to stand alone without displaying the result code). I think common
>>> practice is the former, but I don't really know.
>> 
>> I don't think you mean the disgnosticMessage should be used in
addition
>> to resultCode in determining a course of action. So are you saying
we
>> should describe behavior between a client application and a human
user?
>
>Right. Inform clients that display disgnosticMessage if they
>also need to display the resultCode (or preferably an explanation of
it).
>
>And therefore, also tell servers if the disgnosticMessage, if any,
needs
>to contain the information conveyed by the result code.

I don't like the first comment. I think [Protocol] is in the business
of explaining how the protocol works rather than client applications.
Though I do note that it says "Implementations MUST NOT display nor
attempt to decode an attribute value if its syntax is not known"

For the second comment, how about: "Diagnostic messages typically
convey information pertaining to the value of resultCode"

>>> insufficientAccessRights (50) 
>>> Indicates that the client does not have sufficient access 
>>> rights to perform the operation. 
>>
>>I suggest:
>>Note that the client may not even have access to learn
>>that, and might instead receive e.g. noSuchObject as if the
>>operation's target object did not exist.
> 
> There must be a better way of putting this. How about a general
> statement at the top of the result codes which says: "Some result
codes
> may not be disclosed to the client, or may be substituted due to
access
> control settings"?

>Softening the words sounds OK in general, but I don't understand the
>"or". Do you mean something like this (somewhat cumbersome wording):
>
>Some result codes may be substituted because they may not be
disclosed
>to the client, e.g. due to access control settings.
>
>...assuming the "e.g." is needed. I don't know any other reason.

Ok, how about:

Servers may substitute some result codes due to access controls which
prevent their disclosure.

>>>> C.1.13 Section 4.2.1 
>>>
>>>> Each SASL negotiation is, generally, independent of other SASL 
>>>> negotiations.
>>>
>>>No. [SASL] section 6.3 (Multiple authentications) says:
>>>
>>>If a security layer is in effect and a subsequent
>>>SASL negotiation selects no security layer, the original security
>>>layer remains in effect.
>> 
>> I can strike that sentence and still retain the justification for
the
>> change (in the sentences that follow it)
>
>Actually that justification isn't clear to me in any case, but maybe
>that's because I've gotten a bit lost on SASL. But I think those
>sentences will need some fixes too, like s/were/are/, s/had/has/.

I cut it down to this:
If there are dependencies between multiple negotiations of a particular
SASL mechanism, the technical specification for that SASL mechanism
details how applications are to deal with them. LDAP should not require
any special handling.

>>>> Appendix C - Changes 
>
>>> BTW, it would be easier to check for changes to a specific thing
if
>>> each header was named "Section foo (section foo's title in the old
>>> RFC)". Or a shortened title if the result would span multiple
lines.
>>> (I can make the changes if you wish.)
>> 
>> oh bother...
>
>That's why I said I could do it. (If you send me the nroff code or
>whatever the source format is.) At least with plaintext and nroff, I
>think it should be a fairly simple Perl script. Just have to edit any
>too long resulting headers afterwards.

I already got it -- it was ok.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 22:40: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 WAA00808
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 22:40:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA83ctqa074688;
	Mon, 8 Nov 2004 03:39:12 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 iA83cMpg074680;
	Mon, 8 Nov 2004 03:38:22 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, 8 Nov 2004 03:38:22 +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 iA83cJk9074645;
	Mon, 8 Nov 2004 03:38:19 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Sun, 07 Nov 2004 20:37:59 -0700
Message-Id: <s18e87a7.012@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Sun, 07 Nov 2004 20:37:17 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: registration of LDAP syntax OIDs
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartB39371FD.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

ok, then I prefer option #1 but with a field for a short descr value as
well. But again, I don't care that much.

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 7:31:38 PM
>>>
Jim Sermersheim writes:
>>>> "Kurt D. Zeilenga" < Kurt@OpenLDAP.org > 10/24/04 2:52:57 AM >>>
>> So, at this point, I guess I have to say I now
>> prefer option 1 and dislike both 2 and 3.
>>
>> I note that Option 1 doesn't preclude a future
>> extension from introducing 'syntax descriptors',
>> but it does (and I think properly so) defers the
>> introduction to a future extension specification.
> 
> I don't think harm will be introduced either way. I still favor 2,
but
> it's not keeping me up at night.

I vote for 1 (a new table specifically for Syntaxes). Partly to be
sure
nobody thinks syntax descriptors can be used for OIDs in the protocol,
but also in case someone wants longer and more descriptive DESC
strings
than the current ones, so they won't fit nicely into the table.

-- 
Hallvard

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">ok, then I prefer =
option #1 but with a field for a short descr value as well. But again, I =
don't care that much.<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furus=
eth@usit.uio.no&gt; 11/7/04 7:31:38 PM &gt;&gt;&gt;<BR>Jim Sermersheim =
writes:<BR>&gt;&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;<U> <A href=3D"mailto:Ku=
rt@OpenLDAP.org">Kurt@OpenLDAP.org</A></U> &gt; 10/24/04 2:52:57 AM =
&gt;&gt;&gt;<BR>&gt;&gt; So, at this point, I guess I have to say I =
now<BR>&gt;&gt; prefer option 1 and dislike both 2 and 3.<BR>&gt;&gt;<BR>&g=
t;&gt; I note that Option 1 doesn't preclude a future<BR>&gt;&gt; =
extension from introducing 'syntax descriptors',<BR>&gt;&gt; but it does =
(and I think properly so) defers the<BR>&gt;&gt; introduction to a future =
extension specification.<BR>&gt; <BR>&gt; I don't think harm will be =
introduced either way. I still favor 2, but<BR>&gt; it's not keeping me up =
at night.<BR><BR>I vote for 1 (a new table specifically for Syntaxes). =
Partly to be sure<BR>nobody thinks syntax descriptors can be used for OIDs =
in the protocol,<BR>but also in case someone wants longer and more =
descriptive DESC strings<BR>than the current ones, so they won't fit =
nicely into the table.<BR><BR>-- <BR>Hallvard<BR></BODY></HTML>

--=__PartB39371FD.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 22: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 WAA02143
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 22:57:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA83uo87075214;
	Mon, 8 Nov 2004 03:56: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 iA83tjE4075201;
	Mon, 8 Nov 2004 03:55:45 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, 8 Nov 2004 03:55:45 +0000
Received: from mail17.ca.com ([155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA83thoi075161
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 03:55:44 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by mail17.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Mon, 8 Nov 2004 14:55:22 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: ABNF of numericoid
Date: Mon, 8 Nov 2004 14:55:22 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B638101FA557A@ausyms21.ca.com>
Thread-Topic: ABNF of numericoid
Thread-Index: AcTEHgrPOlPK4HSeTw6VcHllHmX1hwBKFztA
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Hallvard B Furuseth" <h.b.furuseth@usit.uio.no>,
        <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 08 Nov 2004 03:55:22.0382 (UTC) FILETIME=[C56C7AE0:01C4C546]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iA83tioi075192
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

So, how do you parse it? Eg, 44 44 44 (hex)?

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Hallvard B Furuseth
Sent: Sunday, 7 November 2004 03:25
To: ietf-ldapbis@OpenLDAP.org
Subject: ABNF of numericoid


I've discovered that I've lost this old thread again.

I had the impression that we landed on using the exact syntax for
numericoid, but maybe I confused the issue too much:-(
Anyway, [bcp64] and [models] say:

    numericoid = number 1*( DOT number )

I wonder if we could change that to Kurt's suggestion (3) in the old
thread, so the syntax expresses exactly which values are valid:

    numericoid = %x30-31 DOT [ %x31-33 ] DIGIT *( DOT number )
               / %x32 1*( DOT number )
               ; Starts with 0-1.0-39 or 2.number


BTW, I think I was not the only one who had the misconception that the
BER encoding's first component (40 * value1 + value2) can be only 1
octet, and therefore that value2 in the syntax was not unlimited even
with value1 = 2.  Where did others get that idea from?  I got it from
RSA's "A Layman's Guide to a Subset of ASN.1, BER, and DER".  On the
Asn1 mailinglist, I was told guide has a number of errors.

-- 
Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  7 23:05: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 XAA02679
	for <ldapbis-archive@lists.ietf.org>; Sun, 7 Nov 2004 23:05:03 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA842ofp075510;
	Mon, 8 Nov 2004 04:02:52 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 iA8412lI075494;
	Mon, 8 Nov 2004 04:01: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, 8 Nov 2004 04:01: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 iA840uNe075480
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 04:00:57 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.34)
	id 1CR0i5-0006J7-6o; Mon, 08 Nov 2004 05:00:53 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CR0i3-00026L-H8; Mon, 08 Nov 2004 05:00:51 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CR0i3-000178-00; Mon, 8 Nov 2004 05:00:51 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108ix3x@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: extensibility of SearchRequest.derefAliases
In-Reply-To: <s18e7dd3.037@sinclair.provo.novell.com>
References: <s18e7dd3.037@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 05:00:51 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> [LDAPIANA] sets up procedures for extending most CHOICE and ENUMERATED
> fields in [Protocol], but misses SearchRequest.derefAliases. This
> deserves to be as extensible as others. For example, I might want to
> extend this to say 'derefFindingPenultimate'. I want to read an alias
> entry, but I want all aliases leading up to that ultimate alias to be
> dereferences.

I'd like a deref option which means "don't deref when filtering, but do
deref when returning entries".

Though both that and your option look like they might be additional
fields controlling aliasing, so one could leave the original field to
specify whether to apply these options to the base object, the other
objects, or both.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 03:04: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 DAA07908
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 03:04:56 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA882vLC081964;
	Mon, 8 Nov 2004 08:03:28 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 iA881U6R081942;
	Mon, 8 Nov 2004 08:01: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, 8 Nov 2004 08:01:30 +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 iA881S89081932
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 08:01:29 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.34)
	id 1CR4Sr-0001yg-6i; Mon, 08 Nov 2004 09:01:25 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CR4Sh-00015W-HE; Mon, 08 Nov 2004 09:01:15 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CR4Sg-0001hR-00; Mon, 8 Nov 2004 09:01:14 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108ewfv@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
In-Reply-To: <s18e7ade.096@sinclair.provo.novell.com>
References: <s18e7ade.096@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 09:01:14 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> It seems to me that (currently) any extension specification must be
> cognizant of all previous extension specifications and the SEQUENCE
> numbers they have set aside for their use.

I wish someone had given a different answer to that:-)

> It would be better if we
> could solve this in [LDAPIANA]. I don't know how to do that other than
> to set up registrations for each protocol type which is extensible. That
> seems like an ugly task, so hopefully someone else has a better idea.

If we are to do that, I'm not sure what is ugly about the task.
Using existing [Protocol] fields as examples (pretend [Protocol]
does not define them), it could be just one table like this, even
with the fields [LDAPIANA] explicitly lists as extendable:

  ASN.1 field name                        tag or value    (extra info)
  --------------------------------------------------------------------
  LDAPMessage.protocolOp.bindRequest      [APPLICATION 0] 
  LDAPMessage.protocolOp.bindResponse     [APPLICATION 1]
          specification: [protocol] - or [roadmap]?
          contact: ...

  AuthenticationChoice.sasl               [3]           (usage COMMON)
          specification: ...
          contact: ...

  LDAPResult.resultCode.operationsError   1
          ...
  SearchRequest.scope.singleLevel         1       (LDAPURL name "one")
          ...
  Filter.and                              [0]
          ...
  ModifyRequest.changes.operation.delete  1
          ...

Though shorter field names would be nicer - i.e. if some fields in the
ASN.1 grammar are moved out from their surrounding SEQUENCE or whatever.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 03:09:43 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 DAA08453
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 03:09:42 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA888qMa082129;
	Mon, 8 Nov 2004 08:08: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 iA886AS8082044;
	Mon, 8 Nov 2004 08:06: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); Mon, 8 Nov 2004 08:06:10 +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 iA8868aR082034
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 08:06:08 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.34)
	id 1CR4XN-0002bm-16
	for ietf-ldapbis@openldap.org; Mon, 08 Nov 2004 09:06:05 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CR4XG-0007nU-BI; Mon, 08 Nov 2004 09:05:58 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CR4XG-0001hl-00; Mon, 8 Nov 2004 09:05:58 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108etla@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: bcp64bis: "Filter Scope String"
Date: Mon, 8 Nov 2004 09:05:58 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

bcp64bis says:

> A.8.  LDAP Search Scope Registration Template
>   Filter Scope String:

I haven't heard the term "Filter Scope String" before.  I suggest
"LDAPURL scope name" or something, if I'm guessing right about what
it means.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 06:05: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 GAA21704
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 06:05:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8B33B8090708;
	Mon, 8 Nov 2004 11:03: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 iA8Axnvn090564;
	Mon, 8 Nov 2004 10:59: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); Mon, 8 Nov 2004 10:59:49 +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 iA8Axiln090544
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 10:59:45 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.34)
	id 1CR7FN-0001kd-03
	for ietf-ldapbis@openldap.org; Mon, 08 Nov 2004 11:59:41 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CR7FG-0008Kv-2c; Mon, 08 Nov 2004 11:59:34 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CR7FA-00028C-00; Mon, 8 Nov 2004 11:59:28 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108bx61@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: protocol-27 comments #3
Date: Mon, 8 Nov 2004 11:59:28 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Final (hopefully:-) bunch of protocol comments:

> 4.1.10. Referral

>    If the client wishes to progress the operation, it MUST follow the
>    referral by contacting one of the supported services.

"if the client wishes, then it MUST" sounds strange to me.
I would s/MUST/can/.

>    Protocol peers (...) MUST NOT repeatedly contact the same
>    server for the same request with the same target entry name, scope
>    and filter.

How about different controls (maybe due to LDAPURL extensions) and other
extensions?  (Same question to continuation references in section 4.5.3.)

How about non-search operations?  Maybe this text should just be

     MUST NOT contact the same server for the same request with the
     same parameters.

>    - If an alias was dereferenced, the <dn> part of the URL MUST be
>      present, with the new target object name.

I would prepend "Note that" to the following, and move it below the list
of instructions:

>      UTF-8 encoded characters
>      appearing in the string representation of a DN or search filter
>      may not be legal for URLs (e.g. spaces) and MUST be escaped using
>      the % method in [URI].

>    - If the <dn> part is present, the client MUST use this name in its
>      next request to progress the operation, and if it is not present
>      the client will use the same name as in the original request.

s/will/MUST/ for consistency.

>    - If the <scope> part is missing, the scope of the original search
>      is used by the client to progress the operation.

s/is/MUST be/.  (Or go the other way, and remove MUSTs in this list.)

> 4.1.11. Controls

>    For controls attached to
>    response messages and the unbindRequest, the criticality field SHOULD
>    be FALSE,

Well, the protocol _field_ should not be FALSE but absent (since default
values MUST be absent, by Section 5.2).  The abstract _value_ sent by
the client should be FALSE.  The same applies to the rest of the text.

>    A value
>    of TRUE indicates that it is unacceptable to perform the operation
>    without applying the semantics of the control and FALSE otherwise.

"and FALSE otherwise" looks strange in this sentence - is it left over
from a different wording?

>    - whether information is to be present in the controlValue field,
>      and if so, the format of the controlValue contents,

I think that should be

       whether the controlValue field is to be present, and if so, ...

since if it is present, it does contain information.

> 4.2. Bind Operation

>    Authorization is the decision of which access an operation has to the
>    directory. 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).

Authorization can also - or instead - take as input information which is
not normally considered acts of authentication, such as the IP number of
time of day.

> 4.4. Unsolicited Notification

>    The unsolicited notification is structured as an LDAPMessage in which
>    the messageID is zero and protocolOp is of the extendedResp form (See
>    Section 4.12).

Actually, 4.12 defines ExtendedResponse.  extendedResp is defined in
4.1.1.

>    - the format of the contents (if any) of the responseValue,

move "(if any)" to the end of the sentence (to address an absent value,
not a present but empty value).

>    - the circumstances which will cause the notification to be
>      returned, and
>
>    - the semantics of the operation.

s/returned/sent/.  I think 'returned' means it is some request's return
value.  "operation" seems strange for the same reason.  "message",
maybe?

> 4.4.1. Notice of Disconnection

>    This notification may be used by the server to advise the client that
>    the server is about to close the connection due to an error
>    condition.

s/error condition/exceptional condition/ or something?  I wouldn't call
controlled shutdown of the server or idletimeout of the connection an
error.  Or maybe the question should be avoided:

     ... server is about to close the connection on its own initiative.

> 4.5.1. Search Request

>         SubstringFilter ::= SEQUENCE {
>              type           AttributeDescription,
>              -- initial and final can occur at most once
                                
s/once/once each/?  (I.e. twice:-)

>    - scope: Specifies the scope of the search to be performed. The
>      semantics (as described in [X.511]) of the possible values of this
>      field are:
>    - derefAliases: An indicator as to how alias entries (as defined in
>      [Models]) are to be handled in searching. The semantics of the
>      possible values of this field are:

s/possible/defined/ in these two, since other values can be defined
later.

>         derefInSearching: While searching, dereference any alias entry
>         subordinate to the base object which is also in the search
>         scope. The filter is applied to the dereferenced object(s). If
>         the search scope is wholeSubtree, the search continues in the
>         subtree of any dereferenced object. Aliases in that subtree are
>         also dereferenced.

This seems to say that recursive dereferencing stops at alias entries
that are not subordinate to the base object, and that onelevel searches
do not recursively dereference aliases.

>         derefAlways: Dereference aliases both in searching and in
>         locating the base object of the search.

Add a blank line.

>      The present match evaluates to TRUE where there is an attribute or
>      subtype of the specified attribute description present in an
>      entry, and FALSE otherwise (including a presence test with an
>      unrecognized attribute description.)

s/.)/)./ ?  Not sure how () and punctuation interact in English.

>      Note that the AssertionValue in a substrings filter item conforms

s/AssertionValue/AssertionValues/.

>         If the matchingRule field is absent, the type field MUST be
>         present, and an equality match is performed for that type.

Which means just (:dn:=foo) is not allowed.  Maybe the draft should
suggest that one can use (1.1:dn:=foo).

Also, is it an error to violate this "MUST"?  Most other invalid filters
just return Undefined.

>         If the type field is present and the matchingRule is present,
>         the matchValue is compared against entry attributes of the
>         specified type. In this case, the matchingRule MUST be one
>         suitable for use with the specified type (see [Syntaxes]),
>         otherwise the filter item is Undefined.

This "MUST" looks a bit strange, since it's well-defined what the filter
returns.  There might be a good reason to use a matching rule which one
doesn't know is suitable for use with the type.

> 4.5.2. Search Result

>    The results of the search operation are returned as zero or more
>    searchResultEntry messages, zero or more SearchResultReference
>    messages, followed by a single searchResultDone message.

replace "messages, zero or more" with "and/or" to clarify that the
entries need not precede the references.

>    Each entry returned in a SearchResultEntry will contain all
>    appropriate attributes as specified in the attributes field of the
>    Search Request. Return of attributes is subject to access control and
>    other administrative policy.

I would s/. Return of attributes is/,/

> 4.5.3. Continuation References in the Search Result

>    If the server was able to locate the entry referred to by the
>    baseObject but was unable to search one or more non-local entries,
>    the server may return one or more SearchResultReference entries, each
>    containing a reference to another set of servers for continuing the
>    operation.

It's not clear to me if "SearchResultReference entries" - which is wrong
since they are protocol elements, not entries - means to imply that each
SearchResultReference represents one entry.  Can NSSRs or something like
them be returned?  (Would that be if one has an entry - maybe a shadow
copy - but does not search (or return) any of its children?)

>    - If the originating search scope was singleLevel, the <scope> part
>      of the URL will be "base".
>
>    - It is RECOMMENDED that the <scope> part be present to avoid
>      ambiguity.

The text doesn't seem to say that the scope defaults to the original
value.  (Nor other aspects below, but I guess that would depend on these
aspects' definitions.)

>    - Other aspects of the new search request may be the same as or
>      different from the search request which generated the
>      SearchResultReference.

> 4.5.3.1. Examples

>    It
>    knows that either LDAP-capable servers (hostb) or (hostc) hold
>    <OU=People,DC=Example,DC=NET>

s/either...or/both...and/, I think.

>      SearchResultReference {
>        ldap://hostb/OU=People,DC=Example,DC=NET??sub
>        ldap://hostc/OU=People,DC=Example,DC=NET??sub }
>      SearchResultReference {
>        ldap://hostd/OU=Roles,DC=Example,DC=NET??sub }
>      SearchResultDone (success)

I suggest you change an example (and the matching text) so a DN on one
host is different from the original DN.

> 4.6. Modify Operation

>    - object: The name of the object to be modified. The value of this
>      field contains the DN of the entry to be modified.

Doesn't this say the same thing twice?  Mimicing the wording from add &
co, it should be

     - object: The name of the entry [not object] to be modified.

If you wish to imply that the name is a DN, I suggest 'The name (DN)
of...' both here and elsewhere.

>            delete: delete values listed from the modification attribute,
>            removing the entire attribute if no values are listed, or if
>            all current values of the attribute are listed for deletion;

Suggest /if no values are listed, or if/if either values are listed or/.

> 4.7. Add Operation

>    - attributes: (...)

>      Clients MUST
>      include the 'objectClass' attribute, and values of any mandatory
>      attributes of the listed object classes. Clients MUST NOT supply
>      NO-USER-MODIFICATION attributes such as the createTimestamp or
>      creatorsName attributes, since the server maintains these
>      automatically.

The same applies to Modify Operation.  Maybe factor that out and replace
with a reference to [Models], similar to what has been done with some
Modify Operation text?

> 4.9. Modify DN Operation

>    - newrdn: (...) If the operation moves the entry
>      to a new superior without changing its RDN, the value of the old
>      RDN is supplied for this parameter.

This sort of implies that Something (the server?) modifies this
parameter if one does that operation, instead of the other way around.
Maybe:

       To move the entry to a new superior without changing its RDN, the
       client can supply the value of the old RDN for this parameter.

> 4.13. IntermediateResponse Message

>    - the format of the contents of the responseValue, and

s/responseValue/responseValue (if any)/.

> 6. Security Considerations

>    This version of the protocol provides facilities for simple
>    authentication using a cleartext password, as well as any [SASL]
>    mechanism. Installing SASL

and TLS  [or did I say that before?]

>    layers can provide integrity and other
>    data security services.

> A.1 Non-Error Result Codes

>    The referral and saslBindInProgress result codes indicate the client
>    is required to take additional action to complete the operation.

s/is required/needs/, since the client is free to not follow referrals.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 06:40: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 GAA24016
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 06:40:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Bd3gw092031;
	Mon, 8 Nov 2004 11:39:12 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 iA8BXiIv091877;
	Mon, 8 Nov 2004 11:33: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, 8 Nov 2004 11:33:44 +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 iA8BXghE091866
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 11:33:43 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.34)
	id 1CR7mE-0000JQ-FM
	for ietf-ldapbis@openldap.org; Mon, 08 Nov 2004 12:33:38 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CR7lo-00081H-Tg
	for ietf-ldapbis@openldap.org; Mon, 08 Nov 2004 12:33:12 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CR7ll-0002Db-00
	for ietf-ldapbis@OpenLDAP.org; Mon, 8 Nov 2004 12:33:09 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108bcw6@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: RE: ABNF of numericoid
In-Reply-To: <1395B4B334FCC143B36AF788E68B638101FA557A@ausyms21.ca.com>
References: <1395B4B334FCC143B36AF788E68B638101FA557A@ausyms21.ca.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 12:33:09 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Ramsay, Ron writes:

> So, how do you parse it? Eg, 44 44 44 (hex)?

[Summary after a brief exchange with Ron]

a BER 'OBJECT IDENTIFIER' is represented as a list of integers
<(40*value1 + value2), (value3), (value4), ...>.  Each such integer is
represented as an octet sequence of base-128 digits, where 8. bit = 1
except in the last octet.  0x44 has 8.bit = 0, so 44 44 44 hex are 3
such integers.

So the OID is min(0x44/40, 2).(0x44 - 40*value1).0x44.0x44 = 1.28.68.68.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 08:05: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 IAA02256
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 08:05:20 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8D2sY0095770;
	Mon, 8 Nov 2004 13:03: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 iA8D13Pk095722;
	Mon, 8 Nov 2004 13:01: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, 8 Nov 2004 13:01:03 +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 iA8D0xbZ095710
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 13:01:00 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.34)
	id 1CR98i-00008e-JO
	for ietf-ldapbis@openldap.org; Mon, 08 Nov 2004 14:00:56 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CR98E-00062i-TU; Mon, 08 Nov 2004 14:00:26 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CR98D-0002QZ-00; Mon, 8 Nov 2004 14:00:25 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108wdc@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: syntaxes-09 notes
Date: Mon, 8 Nov 2004 14:00:25 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

> 3.3.11.  Facsimile Telephone Number

>    The <telephone-number> is a string of printable characters that
>    complies with the internationally agreed format for representing
>    international telephone numbers [E.123].

It would be nice if a description (maybe ABNF) of this syntax is added,
similar to the ABNF of GeneralizedTime.  (Or maybe put it under
telephoneNumber and refer to that.)

> 3.3.13.  Generalized Time
>
>    A value of the Generalized Time syntax is a character string
>    representing a date and time.  The LDAP-specific encoding of a value
>    of this syntax is a restriction of the format defined in [ISO8601],
>    and is described by the following ABNF:

I don't remember if anyone answered this: Is a date like 31.february an
error according to ISO8601?  If so, is it an error for a GeneraliedTime?
If so, the grammar does not fully describe the syntax, but only says how
to parse a correct value.  A similar question for leap seconds that
occur at a time when leap seconds may not occur, or even leap seconds at
a time when they could have occurred but didn't: MUST/MAY the server
return failure for these?  Also, how about pre-Gregorian years (whatever
that means, since the gregorian calendar was introduced at different
times) - MAY/MUST the server reject invalid dates in the Julian calendar?

>       GeneralizedTime = century year month day hour
>                            [ minute [ second ] ] [ fraction ]
>                            g-time-zone

I suggest to make this the first definition on the list of ABNF
definitions, in stead of putting it in the middle.

> 3.3.32.  Teletex Terminal Identifier

>       ttx-value-char = %x00-23

This does not seem to be a character - at least I don't know which
character set it would be from - so I suggest to call it ttx-value-octet
(or -byte).  I haven't yet checked the X.520 definition, though.

> 4.  Matching Rules

>    When modifying entries, matching rules are used to identify values to
>    be deleted and to prevent an attribute from containing two equal
>    values.

s/equal/equivalent/.  Same change in 4.2.15 (distinguishedNameMatch).

> 4.1.  General Considerations

>    The
>    conditions under which an AttributeValueAssertion or
>    MatchingRuleAssertion evaluates to Undefined are specified elsewhere
>    [PROT].

That may be true for filters, but I can't tell if it is true for other
cases, like looking up an entry via an LDAPDN which contains an AVA
where the value does not have the correct syntax.  And maybe stringprep
could turn such an invalid value into a valid one...  I need to check
that.

>    Note that the AssertionValue in a SubstringFilter
>    [PROT] MUST conform to the assertion syntax of the equality matching
>    rule

s/AssertionValue/AssertionValues/.
s/MUST conform/conform//?

Prepend "Conceptually," as in [protocol]:

>    The entire
>    SubstringFilter is converted into an assertion value of the
>    substrings matching rule prior to applying the rule.

> 4.2.  Matching Rule Definitions
>
>    When evaluating the numericStringMatch, numericStringSubstringsMatch,
>    caseExactMatch, caseExactOrderingMatch, caseExactSubstringsMatch,
>    caseExactIA5Match, caseIgnoreIA5Match, caseIgnoreIA5SubstringsMatch,
>    caseIgnoreListMatch, caseIgnoreListSubstringsMatch, caseIgnoreMatch,
>    caseIgnoreOrderingMatch, caseIgnoreSubstringsMatch,
>    directoryStringFirstComponentMatch, telephoneNumberMatch and
>    telephoneNumberSubstringsMatch matching rules the assertion value and
>    attribute value are prepared according to the string preparation
>    algorithms [PREP] for LDAP before being compared.

Also wordMatch (which employs caseIgnoreMatch).

That list is getting unwieldy.  I would reorder and tabulate a bit:

   When evaluating the matching rules:
    caseExactMatch,  caseExactOrderingMatch,  caseExactSubstringsMatch,
    caseIgnoreMatch, caseIgnoreOrderingMatch, caseIgnoreSubstringsMatch,
    caseExactIA5Match,
    caseIgnoreIA5Match,   caseIgnoreIA5SubstringsMatch,
    caseIgnoreListMatch,  caseIgnoreListSubstringsMatch,
    numericStringMatch,   numericStringSubstringsMatch,
    telephoneNumberMatch, telephoneNumberSubstringsMatch,
    directoryStringFirstComponentMatch,
    wordMatch,
   then the assertion value (...)

Also add something like:

     Note that some matching rules parse the input values somewhat before
     before applying [PREP] to them, e.g. substrings, word and
     caseIgnoreList matching urles.

> 4.2.1.  bitStringMatch

>    If the corresponding ASN.1 type does have a named bit list then
>    bitStringMatch operates as above except that trailing zero bits in
>    the attribute and assertion values are treated as absent.

What is a named bit list?  I can think of two meanings for which the
above would be wrong, and one where it would be right.  Given that, it's
a bit hard to review this rule:-)

> 4.2.21.  keywordMatch

Maybe this rule should RECOMMEND that the implementation applies [PREP]?

========================================================================

Editorial comments:

> 3.2.  Common Definitions

>    The <OCTET>, <ALPHA>, <DIGIT>, <SQUOTE>, <LPAREN>, <RPAREN>, <PLUS>,
>    <COMMA>, <HYPHEN>, <DOT>, <EQUALS> and <SPACE> rules are defined in
>    [MODELS].

<OCTET> is no longer used here.

> 3.3.1.  Attribute Type Description

Suggest to indent the example like other examples in the draft, with a
line break in front of this text:

>    For example, the following definition of the createTimestamp
>    attribute type from [MODELS] is also a value of the Attribute Type
>    Description syntax (note: line breaks have been added for readability
>    - they are not part of the value when transfered in protocol).
>
>       ( 2.5.18.1 NAME 'createTimestamp'
>          EQUALITY generalizedTimeMatch
>          ORDERING generalizedTimeOrderingMatch
>          SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
>          SINGLE-VALUE NO-USER-MODIFICATION
>          USAGE directoryOperation )

> 3.3.7.  DIT Content Rule Description

>       Example:
>          ( 2.5.6.4 DESC 'content rule for organization'
>             NOT ( x121Address $ telexNumber ) )
>
>    Note: a line break has been added for readability - it is not part of
>    the value.

Indent that paragraph to be aligned with "Example:".

> 3.3.28.  Postal Address

>    The <HEX-DIGIT>
>    rule is defined in Section 3.2.

...and it is not used anywhere in this draft.

> Appendix B. Changes from RFC 2252 & RFC 2256

No reference to RFC 3698?

>    This annex lists the significant differences between this
>    specification and RFC 2252 and Sections 6 and 8 of RFC 2256.

But parts of it is worded as a 'differences to RFC 2252' list:

>    2.  The major part of Sections 4, 5 and 7 has been moved to [MODELS]
>        and revised.

of rfc2252.

>    14. The Delivery Method, Enhanced Guide, Guide, Octet String, Teletex
>        Terminal Identifier and Telex Number syntaxes from RFC 2256 have
>        been incorporated.

...in 2252.  It was already in 2256, so this is no change to <2252+2256>.
Same with point 26.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 10: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 KAA16246
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 10:05:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Eust9001309;
	Mon, 8 Nov 2004 15:04:09 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 iA8EtpN5001246;
	Mon, 8 Nov 2004 14:55: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, 8 Nov 2004 14:55:51 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Etm8F001235
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 14:55:48 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id 40DBF16D251; Mon,  8 Nov 2004 06:55:44 -0800 (PST)
Message-ID: <418F88EC.3050204@pearlcrescent.com>
Date: Mon, 08 Nov 2004 09:55:40 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
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: "LDAPv3"
References: <HBF.20031207we7q@bombur.uio.no> <HBF.20041107qsvq@bombur.uio.no>
In-Reply-To: <HBF.20041107qsvq@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Hallvard B Furuseth wrote:
> Update of an old message (from 7 Dec 2003) which I think got no
> responses:
> 
> Message http://www.OpenLDAP.org/lists/ietf-ldapbis/200310/msg00034.html
> says:
> 
>   Suggest s/LDAPv3/LDAP/ throughout document for both consistency
>   within document and across entire technical specification.
> 
> That has now been done in [authmeth], but not in [url] and [filter].

I believe this should be done in [url] and [filter] (I just forgot about 
it).  Any objections?


> If it is done in [url], "(in LDAPv3)" below should be removed instead
> of changed to "(in LDAP)":
>    attributes
>       If the attributes part is omitted, all user attributes of the
>       entry or entries should be requested (e.g., by setting the
>       attributes field AttributeDescriptionList in the LDAP search
>       request to a NULL list, or (in LDAPv3) by requesting the special
>       attribute name "*").

Agreed.

-Mark




From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 11:43: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 LAA28830
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 11:43:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Gd0FC006579;
	Mon, 8 Nov 2004 16:42:14 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 iA8GX69j006011;
	Mon, 8 Nov 2004 16:33: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); Mon, 8 Nov 2004 16:33: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 iA8GX4aF006000
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 16:33:04 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.34)
	id 1CRCRw-0007Ox-Pv; Mon, 08 Nov 2004 17:33:00 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRCRk-0001FF-FL; Mon, 08 Nov 2004 17:32:48 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRCRk-0002zT-00; Mon, 8 Nov 2004 17:32:48 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108wcjx@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol-27 comments#2
In-Reply-To: <s18e8263.072@sinclair.provo.novell.com>
References: <s18e8263.072@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 17:32:48 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Partial reply:

Jim Sermersheim writes:
>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 7:00:33 PM
>>Jim Sermersheim writes:
>>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 10/29/04 1:09:56
>>>>
>>>> I may have mentioned this before, but I can't find it in the archive:
>>>> It might be useful to suggest or RECOMMEND either to treat
>>>> diagnosticMessages as supplements to the result code in error
>>>> messages, or to recommend the opposite (diagnosticMessages intended
>>>> to stand alone without displaying the result code). I think common
>>>> practice is the former, but I don't really know.
>>>
>>> I don't think you mean the disgnosticMessage should be used in addition
>>> to resultCode in determining a course of action. So are you saying we
>>> should describe behavior between a client application and a human user?
>>
>> Right. Inform clients that display disgnosticMessage if they
>> also need to display the resultCode (or preferably an explanation of it).
>>
>> And therefore, also tell servers if the disgnosticMessage, if any, needs
>> to contain the information conveyed by the result code.
>
> I don't like the first comment. I think [Protocol] is in the business
> of explaining how the protocol works rather than client applications.

Good point.

> Though I do note that it says "Implementations MUST NOT display nor
> attempt to decode an attribute value if its syntax is not known"

And a few "Client implementors should note...".

> For the second comment, how about: "Diagnostic messages typically
> convey information pertaining to the value of resultCode"

Better wording, wrong words:-) Information pertaining to the _value_ of
the result code sounds to me like explaining what that value means in
general.  I think I got that part right - information supplementing the
result code.

And I still wonder if it's worth to expand it to RECOMMEND "information
supplementing rather than including the result code" (a bit strange
wording, I admit).  Or "information which is intended to be displayed in
addition to rather than instead of an explanation of the result code",
if that doesn't get too close to what clients should do again.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 12:10: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 MAA02420
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 12:10:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8H8tjB008086;
	Mon, 8 Nov 2004 17:09: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 iA8H7urx008056;
	Mon, 8 Nov 2004 17:07:56 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, 8 Nov 2004 17:07:56 +0000
Received: from imf21aec.mail.bellsouth.net (imf21aec.mail.bellsouth.net [205.152.59.69])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8H7niv008043
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 17:07:50 GMT
	(envelope-from aok123@bellsouth.net)
Received: from [172.16.1.7] ([65.80.200.112])
          by imf21aec.mail.bellsouth.net
          (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP
          id <20041108170724.OAVF2451.imf21aec.mail.bellsouth.net@[172.16.1.7]>;
          Mon, 8 Nov 2004 12:07:24 -0500
Message-ID: <418FA7D7.3040706@bellsouth.net>
Date: Mon, 08 Nov 2004 12:07:35 -0500
From: Alex Karasulu <aok123@bellsouth.net>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
CC: Directory Developers List <directory-dev@incubator.apache.org>
Subject: [filter] interpretting presence verses substring with whitespace
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Hello,

I have some questions regarding the interpretation of LDAP search 
filters specifically differentiating between presence and substring 
items when whitespace is present.  According to the ABNF describing 
these rules in [FILTERS], and some additional rules in [MODELS] ,

      ...
      present        = attr EQUALS ASTERISK
      substring      = attr EQUALS [initial] any [final]
      initial        = assertionvalue
      any            = ASTERISK *(assertionvalue ASTERISK)
      final          = assertionvalue
      attr           = attributedescription
      ...,

the presence of whitespace is considered significant in the 
assertionvalue.  Please correct me if I'm wrong but this means that the 
following filter expressions are interpreted differently:

(for simplicity I'm equating whitespace to be a single space character, 
%x20)

1. (ou=*)
    - there is no whitespace at all
    - interpreted as a presence filter
    - matches all entries containing the ou attribute
2. (ou= *)
    - there is whitespace before the ASTERISK after the EQUALS
    - interpreted as a substring filter
    - the space is interpreted as the [initial]
    - matches all values of ou starting with a space, %x20
3. (ou=* )
    - there is whitespace after the ASTERISK before the RPAREN
    - interpreted as a substring filter
    - the space is interpreted as the [final]
    - matches all values of ou ending with a space, %x20
4. (ou= * )
    - there is whitespace before the ASTERISK and after the ASTERISK
    - interpreted as a substring filter
    - the first and last spaces are interpreted as the [initial] and 
[final] values respectively
    - matches all values of ou starting and ending with a space, %x20
5. there's another class where two or more ASTERISKS sandwich 
whitespace: (ou=* *)
    - although other forms would be a bit nonsensical this one may be 
valid and would match 
      all entires with ou values starting or ending with a space, %x20

Are these correct interpretations according to the ABNF and is the 
matching behavior correct?

Now I'd like to open for discussion whether or not these interpretations 
are intuitively correct.  As an end user issuing search filters to a 
directory I've come to expect the directory to be extra forgiving when 
it comes to things like whitespace.  Users have gotten this feeling 
regarding whitespace forgiveness from the way distinguished names are 
normalized by the directory.  It's intuitive for the user to presume 
some of this forgiving nature extends to filters which can match on 
attributes with the DN syntax.  So looking at the examples above I can 
see how a user may think that all these filters are in fact equal to one 
another.  The user is not thinking, "=* is a distinct atomic operator 
token to a parser and is inseparable where a space makes it no longer a 
presence ffilter."  The user thinks well I'm matching for anything.    
What if they just like to put spaces around parentheses in their filter 
expressions?  This space forgiving nature is "turned on" for matching 
normal equality expressions on attributes like ou and is especially 
forgiving if distinguishedNameMatch is in effect for respective attributes.

So would you agree that there is some mismatch between the hard ABNF 
interpretation and the mental interpolation of users writing filters?  
IMO I think all whitespace should be escaped if significant.  Otherwise 
whitespace should be trimmed from the edges of attributevalues.  Also 
whitespace within the interior of the value should be reduced to a 
single space to preserve tokenization order while matching.  With regard 
to substring items the 'any' pieces between two ASTERISKS  that are 
purely composed of whitespace should be discarded and the ASTERISKS 
consolidated into one.

This makes life tougher on those that really want to match based on 
whitespace.  However they can just escape out the whitespace in their 
filters like so:

1. (ou=*)
2. (ou=\20*)
3. (ou=*\20)
4. (ou=\20*\20)
5. (ou=*\20*)

Comments? Thoughts?

Thanks,
Alex

  [Filters]     Smith, M. (editor), LDAPbis WG, "LDAP: String
                Representation of Search Filters",
                draft-ietf-ldapbis-filter-xx.txt, a work in progress.

  [Models]      Zeilenga, K. (editor), "LDAP: Directory Information Models",
                draft-ietf-ldapbis-models-xx.txt, a work in progress.





From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 13:16:50 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 NAA08743
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 13:16:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8IEuOn010105;
	Mon, 8 Nov 2004 18:15:27 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 iA8IEmQ7010096;
	Mon, 8 Nov 2004 18:14: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); Mon, 8 Nov 2004 18:14:48 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8IEfqv010083
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 18:14:42 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.172.186
Received: from [192.168.1.65] (client-200.121.172.186.speedy.net.pe [200.121.172.186] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iA8JZbrJ024352
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 19:35:39 GMT
Mime-Version: 1.0 (Apple Message framework v619)
Content-Transfer-Encoding: 7bit
Message-Id: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Stringprep Considered Harmful
Date: Mon, 8 Nov 2004 13:14:37 -0500
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

draft-ietf-ldapbis-strprep-04.txt would define and require the use of a 
stringprep profile for many common LDAP attribute types. The stringprep 
algorithm may fail on certain input strings; if it fails, that input 
string becomes unmatchable.

If all such strings were obviously illegitimate, this would not be a 
problem, but many legitimate strings will fail, and this will create 
problems, some of them serious.

The clearest example of this is a string which fails the bidi check, 
which requires any string which contains right-to-left characters to 
both start and end with a right-to-left character. Consequently, a 
string which ends with a latin character and contains an arabic word 
will fail.

There are a number of potential examples of such strings which might 
usefully be found in a directory. These include:

-- a url starting with the latin string 'http' arabic domain-name or 
path component
-- an email address ending with a standard TLD which contains hebrew in 
the mailbox or in some domain component.
-- a full name in latin with a syriac nickname embedded in it.
-- a descriptive text field which contains some right-to-left words.

As I understand it, strprep's bidi rule was essentially designed for 
the nameprep profile, which is performed component by component on 
domain names and therefore will not fail a domain name which has both 
arabic and latin components (which, I believe, would be the normal case 
for a domain name including arabic components.) It is therefore 
suitable for the dc attribute, but would not be suitable for an 
attribute which could contain a sequence of domain components.

Aside from leading to the failure to return unique identifiers (such as 
the first three examples above), the use of the bidi-prohibition may 
cause substring matches to fail, even if the substring assertions pass. 
Consequently, a text description with a single arabic word in it would 
effectively be unmatchable even if the assertion and the substring to 
be matched were idential latin (or arabic) words.

Furthermore, it appears to me that unmatchable attribute values will be 
harder to Modify. If the attribute type were single valued, one could 
use replace rather than delete/add, but for a multi-valued attribute 
where the delete/add sequence would probably be the expected procedure, 
the delete will fail because the current attribute value cannot match 
the one specified in the delete operation. Also, an attempt to add a 
duplicate value -- that is a value which is octet-for-octet identical 
-- will silently and erroneously succeed.

While the bidi prohibition step seems to me to be the most likely 
source of problems, other prohibitions -- such as the prohibition of 
characters not in Unicode 3.2 -- may result in non-intuitive behaviour.
It would also prevent an enterprise from using private use area 
characters in an internal directory, although that would be low on my 
list of priorities.

The strprep document cites the importance to security of a predictable 
and consistent string comparison algorithm. This is certainly true, at 
least in the case of strings which are used in some security process 
(but it is worth noting that many strings entered in directories are 
not part of any security process). However, the strings in question 
are, in many cases, also being used and matched by systems outside of 
the directory, such as filesystems, email processors, web servers, and 
so on. It is necessary that all systems using a particular string for 
identification purposes perform the same matching algorithm on that 
string. If the string in question is a filepath on a Mac OS X HFS 
filesystem, for example, the canonicalization algorithm needs to be the 
one used (and extremely well documented) by HFS. Similarly, for NTFS. I 
don't believe that LDAP is (yet) in a position to impose a single 
canonicalization on every string used in every system in the world; 
this may indicate the need for more MatchingRules which correspond to 
those system's matching algorithms.

Rici



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 14:41: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 OAA19179
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 14:41:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8JcuZ2013466;
	Mon, 8 Nov 2004 19:39: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 iA8JYwWl013305;
	Mon, 8 Nov 2004 19:34: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, 8 Nov 2004 19:34: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 iA8JYvxU013278
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 19:34:57 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 12:34:37 -0700
Message-Id: <s18f67dd.047@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 12:34:14 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: LDAP URL instructions (was Re: protocol-27 comments #3)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>>
<snip>
>> UTF-8 encoded characters
>> appearing in the string representation of a DN or search filter
>> may not be legal for URLs (e.g. spaces) and MUST be escaped using
>> the % method in [URI].
>
>> - If the <dn> part is present, the client MUST use this name in its
>> next request to progress the operation, and if it is not present
>> the client will use the same name as in the original request.
>
>s/will/MUST/ for consistency.

I prefer to remove the other MUST. It's reasonable that URL extensions
or other mechanisms may be used in the future to specify a new target.
Also, while this MUST promotes interoperability between two clients, it
isn't needed for client server interaction.

>> - If the <scope> part is missing, the scope of the original search
>> is used by the client to progress the operation.
>
>s/is/MUST be/. (Or go the other way, and remove MUSTs in this list.)

Same as above.

<snip>
Jim


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 14:46: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 OAA19871
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 14:46:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Jiuno013759;
	Mon, 8 Nov 2004 19:44:59 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 iA8JgcAD013637;
	Mon, 8 Nov 2004 19:42: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); Mon, 8 Nov 2004 19:42:38 +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 iA8JgVCA013618
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 19:42:35 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 12:42:07 -0700
Message-Id: <s18f699f.020@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 12:41:32 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: derefInSearching (was Re: protocol-27 comments #3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part91B152FC.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>>
<snip>
>> derefInSearching: While searching, dereference any alias entry
>> subordinate to the base object which is also in the search
>> scope. The filter is applied to the dereferenced object(s). If
>> the search scope is wholeSubtree, the search continues in the
>> subtree of any dereferenced object. Aliases in that subtree are
>> also dereferenced.
>
>This seems to say that recursive dereferencing stops at alias entries
>that are not subordinate to the base object, and that onelevel
searches
>do not recursively dereference aliases.
 
How's this:
 
While searching subordinates of the base object, dereference any alias
within the search scope (the act of dereferencing an alias includes
recursively dereferencing aliases which refer to aliases). Dereferenced
objects become the vertices of further search scopes where the Search
operation continues. If the search scope is wholeSubtree, the Search
continues in the subtree(s) of any dereferenced object. If the search
scope is singleLevel, the search is applied to any dereferenced objects,
and is not applied to their subordinates.
<snip>
 
Jim

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.no&gt; =
11/8/04 5:59:28 AM &gt;&gt;&gt;<BR>&lt;snip&gt;</DIV>
<DIV>&gt;&gt; derefInSearching: While searching, dereference any alias =
entry<BR>&gt;&gt; subordinate to the base object which is also in the =
search<BR>&gt;&gt; scope. The filter is applied to the dereferenced =
object(s). If<BR>&gt;&gt; the search scope is wholeSubtree, the search =
continues in the<BR>&gt;&gt; subtree of any dereferenced object. Aliases =
in that subtree are<BR>&gt;&gt; also dereferenced.<BR>&gt;<BR>&gt;This =
seems to say that recursive dereferencing stops at alias entries<BR>&gt;tha=
t are not subordinate to the base object, and that onelevel searches<BR>&gt=
;do not recursively dereference aliases.</DIV>
<DIV>&nbsp;</DIV>
<DIV>How's this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>While searching subordinates of the base object, dereference any =
alias within the search scope (the act of dereferencing an alias includes =
recursively dereferencing aliases which refer to aliases). Dereferenced =
objects become the vertices of further search scopes where the Search =
operation continues. If the search scope is wholeSubtree, the Search =
continues in the subtree(s) of any dereferenced object. If the search =
scope is singleLevel, the search is applied to any dereferenced objects, =
and is not applied to their subordinates.</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__Part91B152FC.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 14:46: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 OAA19872
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 14:46:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Jiunm013759;
	Mon, 8 Nov 2004 19:44:59 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 iA8JdWhY013493;
	Mon, 8 Nov 2004 19:39: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, 8 Nov 2004 19:39:31 +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 iA8JdLV1013474
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 19:39:25 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 12:39:00 -0700
Message-Id: <s18f68e4.003@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 12:38:21 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Wording of Authorization deefinition (was Re: protocol-27
	comments #3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part5070933D.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

>>> Hallvard B Furuseth h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM >>
<snip>
>> 4.2. Bind Operation
>
>> Authorization is the decision of which access an operation has to
the
>> directory. 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).
>
>Authorization can also - or instead - take as input information which
is
>not normally considered acts of authentication, such as the IP number
of
>time of day.
 
"can also" = "among other things", and "or instead" = "and/or"
<snip>
 
Jim

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth <A href=3D"mailto:h.b.furuseth@usit.u=
io.no> 11/8/04 5:59:28 AM >>">h.b.furuseth@usit.uio.no&gt; 11/8/04 5:59:28 =
AM &gt;&gt;</A><BR>&lt;snip&gt;</DIV>
<DIV>&gt;&gt; 4.2. Bind Operation<BR>&gt;<BR>&gt;&gt; Authorization is the =
decision of which access an operation has to the<BR>&gt;&gt; directory. =
Among other things, the process of authorization takes as<BR>&gt;&gt; =
input authentication information obtained during the bind operation<BR>&gt;=
&gt; and/or other acts of authentication (such as lower layer security<BR>&=
gt;&gt; services).<BR>&gt;<BR>&gt;Authorization can also - or instead - =
take as input information which is<BR>&gt;not normally considered acts of =
authentication, such as the IP number of<BR>&gt;time of day.</DIV>
<DIV>&nbsp;</DIV>
<DIV>"can also" =3D "among other things", and "or instead" =3D "and/or"<BR>=
&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__Part5070933D.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 14:46: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 OAA19918
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 14:46:09 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Jiunk013759;
	Mon, 8 Nov 2004 19:44: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 iA8Jieak013747;
	Mon, 8 Nov 2004 19:44: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); Mon, 8 Nov 2004 19:44: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 iA8JicuO013736
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 19:44:39 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.34)
	id 1CRFRL-0007NY-48; Mon, 08 Nov 2004 20:44:35 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRFR8-0006LQ-8K; Mon, 08 Nov 2004 20:44:22 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRFR7-0003SO-00; Mon, 8 Nov 2004 20:44:21 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108t59m@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Wording of Authorization deefinition (was Re: protocol-27
	comments #3)
In-Reply-To: <s18f68e4.004@sinclair.provo.novell.com>
References: <s18f68e4.004@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 20:44:21 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> Hallvard B Furuseth h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM >>
>>> 4.2. Bind Operation
>>
>>> Authorization is the decision of which access an operation has to
>>> the directory. 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).
>>
>> Authorization can also - or instead - take as input information which
>> is not normally considered acts of authentication, such as the IP
>> number of time of day.

Heh.  I tied "Among other things," to the wrong part of the rest of the
sentence.  Can't see how I managed that...

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 15:22: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 PAA25687
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 15:22:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8KL1fM015344;
	Mon, 8 Nov 2004 20:21: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 iA8KIwqd015251;
	Mon, 8 Nov 2004 20:18: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, 8 Nov 2004 20:18: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 iA8KIuqx015228
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 20:18:57 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 13:18:36 -0700
Message-Id: <s18f722c.029@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 13:18:13 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: absent matchingRule (was Re: protocol-27 comments #3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartE7C72495.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>>
<snip>
>> If the matchingRule field is absent, the type field MUST be
>> present, and an equality match is performed for that type.
>
>Which means just (:dn:=foo) is not allowed. Maybe the draft should
>suggest that one can use (1.1:dn:=foo).
 
Well, what does (1.1:dn:=foo) mean? I think it means that this filter
will always evaluate to undefined.
 
>Also, is it an error to violate this "MUST"? Most other invalid
filters
>just return Undefined.
 
My read is that this is a protocol violations (and other protocol
violations in filters are not evaluated to undefiened, they return
protocolError)
<snip>
 
Jim

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.no&gt; =
11/8/04 5:59:28 AM &gt;&gt;&gt;<BR>&lt;snip&gt;</DIV>
<DIV>&gt;&gt; If the matchingRule field is absent, the type field MUST =
be<BR>&gt;&gt; present, and an equality match is performed for that =
type.<BR>&gt;<BR>&gt;Which means just (:dn:=3Dfoo) is not allowed. Maybe =
the draft should<BR>&gt;suggest that one can use (1.1:dn:=3Dfoo).</DIV>
<DIV>&nbsp;</DIV>
<DIV>Well, what does (1.1:dn:=3Dfoo) mean? I think it means that this =
filter will always evaluate to undefined.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;Also, is it an error to violate this "MUST"? Most other invalid =
filters<BR>&gt;just return Undefined.</DIV>
<DIV>&nbsp;</DIV>
<DIV>My read is that this is a protocol violations (and other protocol =
violations in filters are not evaluated to undefiened, they return =
protocolError)<BR>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__PartE7C72495.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 15:31: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 OAA19178
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 14:41:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8JcuZ4013466;
	Mon, 8 Nov 2004 19:39: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 iA8Javx4013386;
	Mon, 8 Nov 2004 19:36: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); Mon, 8 Nov 2004 19:36:57 +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 iA8JaoUU013372
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 19:36:53 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 12:36:30 -0700
Message-Id: <s18f684e.070@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 12:36:05 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: DEFAULT values (was: Re: protocol-27 comments #3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartD9F91AB5.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>>
<snip>
>> 4.1.11. Controls
>
>> For controls attached to
>> response messages and the unbindRequest, the criticality field
SHOULD
>> be FALSE,
>
>Well, the protocol _field_ should not be FALSE but absent (since
default
>values MUST be absent, by Section 5.2). The abstract _value_ sent by
>the client should be FALSE. The same applies to the rest of the text.
 
I think it reads better if we use the term FALSE here. I think the
implementor will understand that we are using the value in an abstract
sense.
<snip>
 
Jim

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;<A href=3D"mailto:h.b.furuseth@us=
it.uio.no">h.b.furuseth@usit.uio.no</A>&gt; 11/8/04 5:59:28 AM &gt;&gt;&gt;=
<BR>&lt;snip&gt;</DIV>
<DIV>&gt;&gt; 4.1.11. Controls<BR>&gt;<BR>&gt;&gt; For controls attached =
to<BR>&gt;&gt; response messages and the unbindRequest, the criticality =
field SHOULD<BR>&gt;&gt; be FALSE,<BR>&gt;<BR>&gt;Well, the protocol =
_field_ should not be FALSE but absent (since default<BR>&gt;values MUST =
be absent, by Section 5.2). The abstract _value_ sent by<BR>&gt;the client =
should be FALSE. The same applies to the rest of the text.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think it reads better if we use the term FALSE here. I think the =
implementor will understand that we are using the value in an abstract =
sense.<BR>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__PartD9F91AB5.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 15:34: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 PAA26966
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 15:34:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8KWuAM015962;
	Mon, 8 Nov 2004 20:33:03 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 iA8KVpif015919;
	Mon, 8 Nov 2004 20:31: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, 8 Nov 2004 20:31: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 iA8KVjC8015907
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 20:31:45 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.34)
	id 1CRGAw-0006VJ-4j; Mon, 08 Nov 2004 21:31:42 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRGAu-000871-8b; Mon, 08 Nov 2004 21:31:40 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRGAt-0003Zx-00; Mon, 8 Nov 2004 21:31:39 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108scsq@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: absent matchingRule (was Re: protocol-27 comments #3)
In-Reply-To: <s18f722c.030@sinclair.provo.novell.com>
References: <s18f722c.030@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 21:31:39 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>> If the matchingRule field is absent, the type field MUST be
>>> present, and an equality match is performed for that type.
>>
>>Which means just (:dn:=foo) is not allowed. Maybe the draft should
>>suggest that one can use (1.1:dn:=foo).
>  
> Well, what does (1.1:dn:=foo) mean? I think it means that this filter
> will always evaluate to undefined.

Looking at the description of dnAttributes under extensibleMatch in
4.5.1. Search Request, it returns TRUE if a DN attribute matches foo -
regardless of Undefined or False from the rest of the filter.  Though
maybe I'm just getting lost here - at the moment I can't see where the
draft says that matching an unknown attribute type returns Undefined,
and certainly not where it says that this overrides the dnAttributes
description.

>> Also, is it an error to violate this "MUST"? Most other invalid
>> filters just return Undefined.
>  
> My read is that this is a protocol violations (and other protocol
> violations in filters are not evaluated to undefiened, they return
> protocolError)

OK.  In that case I have a problem with the MUSTs for search requests
that it is not a protocol violation to violate, but I think we've been
there before.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 15:55: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 PAA00878
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 15:55:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8KpSqn016815;
	Mon, 8 Nov 2004 20:54: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 iA8KfWQL016340;
	Mon, 8 Nov 2004 20:41: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, 8 Nov 2004 20:41:32 +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 iA8KfUsB016326
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 20:41:31 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 13:41:08 -0700
Message-Id: <s18f7774.089@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 13:39:35 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: SearchResultReference examples (was Re: protocol-27 comments
	#3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartE8C82B97.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>>
<snip>
>> SearchResultReference {
>> ldap://hostb/OU=People,DC=Example,DC=NET??sub
>> ldap://hostc/OU=People,DC=Example,DC=NET??sub }
>> SearchResultReference {
>> ldap://hostd/OU=Roles,DC=Example,DC=NET??sub }
>> SearchResultDone (success)
>
>I suggest you change an example (and the matching text) so a DN on
one
>host is different from the original DN.
<snip>
 
I could add an alias object which points outside of the
DC=Example,DC=NET area, but I worry that it will just complicate the
examples. Do you think this is an area often misunderstood by
implementors?


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.no&gt; =
11/8/04 5:59:28 AM &gt;&gt;&gt;<BR>&lt;snip&gt;</DIV>
<DIV>&gt;&gt; SearchResultReference {<BR>&gt;&gt; <A href=3D"ldap://hostb/O=
U=3DPeople,DC=3DExample,DC=3DNET??sub">ldap://hostb/OU=3DPeople,DC=3DExampl=
e,DC=3DNET??sub</A><BR>&gt;&gt; <A href=3D"ldap://hostc/OU=3DPeople,DC=3DEx=
ample,DC=3DNET??sub">ldap://hostc/OU=3DPeople,DC=3DExample,DC=3DNET??sub</A=
> }<BR>&gt;&gt; SearchResultReference {<BR>&gt;&gt; <A href=3D"ldap://hostd=
/OU=3DRoles,DC=3DExample,DC=3DNET??sub">ldap://hostd/OU=3DRoles,DC=3DExampl=
e,DC=3DNET??sub</A> }<BR>&gt;&gt; SearchResultDone (success)<BR>&gt;<BR>&gt=
;I suggest you change an example (and the matching text) so a DN on =
one<BR>&gt;host is different from the original DN.</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I could add an alias object which points outside of the DC=3DExample,D=
C=3DNET area, but I worry that it will just complicate the examples. Do =
you think this is an area often misunderstood by implementors?<BR></DIV></B=
ODY></HTML>

--=__PartE8C82B97.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 15:56: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 PAA00902
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 15:56:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8KpSqp016815;
	Mon, 8 Nov 2004 20:54:27 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 iA8KfdpR016356;
	Mon, 8 Nov 2004 20:41:39 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 8 Nov 2004 20:41:39 +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 iA8KfZjX016327
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 20:41:35 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 13:41:15 -0700
Message-Id: <s18f777b.038@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 13:40:46 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: protocol-27 comments #3
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartA18162DE.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

Halvard, I'm replying to this with responses I see not needing
discussion. I've replies in other threads for issues which may require
more discussion.
 
>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>>
>Final (hopefully:-) bunch of protocol comments:
>
>> 4.1.10. Referral
>
>> If the client wishes to progress the operation, it MUST follow the
>> referral by contacting one of the supported services.
>
>"if the client wishes, then it MUST" sounds strange to me.
>I would s/MUST/can/.
 
new text proposal:
If the client wishes to progress the operation, it contacts one of the
supported services found in the referral
 
>> Protocol peers (...) MUST NOT repeatedly contact the same
>> server for the same request with the same target entry name, scope
>> and filter.
>
>How about different controls (maybe due to LDAPURL extensions) and
other
>extensions? (Same question to continuation references in section
4.5.3.)
>
>How about non-search operations? Maybe this text should just be
>
>MUST NOT contact the same server for the same request with the
>same parameters.
 
That's much better.
 
>> - If an alias was dereferenced, the <dn> part of the URL MUST be
>> present, with the new target object name.
>
>I would prepend "Note that" to the following, and move it below the
list
>of instructions:
 
right
 
<snip>
 
>> A value
>> of TRUE indicates that it is unacceptable to perform the operation
>> without applying the semantics of the control and FALSE otherwise.
>
>"and FALSE otherwise" looks strange in this sentence - is it left
over
>from a different wording?
 
I agree, I'm removing that.
 
>> - whether information is to be present in the controlValue field,
>> and if so, the format of the controlValue contents,
>
>I think that should be
>
>whether the controlValue field is to be present, and if so, ...
>
>since if it is present, it does contain information.
 
yes
 
<snip>
 
>> 4.4. Unsolicited Notification
>
>> The unsolicited notification is structured as an LDAPMessage in
which
>> the messageID is zero and protocolOp is of the extendedResp form
(See
>> Section 4.12).
>
>Actually, 4.12 defines ExtendedResponse. extendedResp is defined in
>4.1.1.
 
I left the reference, but changed the text to:
 
...and protocolOp is set to the extendedResp choice using the
ExtendedResponse type (See Section 4.12)
 
>> - the format of the contents (if any) of the responseValue,
>
>move "(if any)" to the end of the sentence (to address an absent
value,
>not a present but empty value).
 
right
 
>> - the circumstances which will cause the notification to be
>> returned, and
>>
>> - the semantics of the operation.
>
>s/returned/sent/. I think 'returned' means it is some request's
return
>value. "operation" seems strange for the same reason. "message",
>maybe?
 
yes on both.
 
>> 4.4.1. Notice of Disconnection
>
>> This notification may be used by the server to advise the client
that
>> the server is about to close the connection due to an error
>> condition.
>
>s/error condition/exceptional condition/ or something? I wouldn't
call
>controlled shutdown of the server or idletimeout of the connection an
>error. Or maybe the question should be avoided:
>
>... server is about to close the connection on its own initiative.
 
yes, also s/error/exceptional server condidtion in the next sentence.
 
>> 4.5.1. Search Request
>
>> SubstringFilter ::= SEQUENCE {
>> type AttributeDescription,
>> -- initial and final can occur at most once
>
>s/once/once each/? (I.e. twice:-)
 
I removed this and added "-- can occur at most once to the right of
initial and final"
 
>> - scope: Specifies the scope of the search to be performed. The
>> semantics (as described in [X.511]) of the possible values of this
>> field are:
>> - derefAliases: An indicator as to how alias entries (as defined in
>> [Models]) are to be handled in searching. The semantics of the
>> possible values of this field are:
>
>s/possible/defined/ in these two, since other values can be defined
>later.
 
yes
 
<snip>
 
>> derefAlways: Dereference aliases both in searching and in
>> locating the base object of the search.
>
>Add a blank line.
 
yes
 
>> The present match evaluates to TRUE where there is an attribute or
>> subtype of the specified attribute description present in an
>> entry, and FALSE otherwise (including a presence test with an
>> unrecognized attribute description.)
>
>s/.)/)./ ? Not sure how () and punctuation interact in English.
 
you're right.
 
>> Note that the AssertionValue in a substrings filter item conforms
>
>s/AssertionValue/AssertionValues/.
 
I think you mean to s/AssertionValues/an AssertionValue/ in the
previous sentence.
 
<snip>
 
>> 4.5.2. Search Result
>
>> The results of the search operation are returned as zero or more
>> searchResultEntry messages, zero or more SearchResultReference
>> messages, followed by a single searchResultDone message.
>
>replace "messages, zero or more" with "and/or" to clarify that the
>entries need not precede the references.
 
yes
 
>> Each entry returned in a SearchResultEntry will contain all
>> appropriate attributes as specified in the attributes field of the
>> Search Request. Return of attributes is subject to access control
and
>> other administrative policy.
>
>I would s/. Return of attributes is/,/
 
ok
 
<snip>
 
>> - If the originating search scope was singleLevel, the <scope> part
>> of the URL will be "base".
>>
>> - It is RECOMMENDED that the <scope> part be present to avoid
>> ambiguity.
>
>The text doesn't seem to say that the scope defaults to the original
>value. (Nor other aspects below, but I guess that would depend on
these
>aspects' definitions.)
 
will add: "In the absence of a <scope> part, the scope of the original
Search request is assumed."
 
>> 4.5.3.1. Examples
>
>> It
>> knows that either LDAP-capable servers (hostb) or (hostc) hold
>> <OU=People,DC=Example,DC=NET>
>
>s/either...or/both...and/, I think.
 
right
 
<snip>
 
>> 4.6. Modify Operation
>
>> - object: The name of the object to be modified. The value of this
>> field contains the DN of the entry to be modified.
>
>Doesn't this say the same thing twice? Mimicing the wording from add
&
>co, it should be
>
>- object: The name of the entry [not object] to be modified.
>
>If you wish to imply that the name is a DN, I suggest 'The name (DN)
>of...' both here and elsewhere.
 
I think just "name" works.
 
>> delete: delete values listed from the modification attribute,
>> removing the entire attribute if no values are listed, or if
>> all current values of the attribute are listed for deletion;
>
>Suggest /if no values are listed, or if/if either values are listed
or/.
 
how about:
 
delete: delete values listed from the modification attribute. If no
values are listed, or if all current values of the attribute are listed,
the entire attribute is removed;
 
>> 4.7. Add Operation
>
>> - attributes: (...)
>
>> Clients MUST
>> include the 'objectClass' attribute, and values of any mandatory
>> attributes of the listed object classes. Clients MUST NOT supply
>> NO-USER-MODIFICATION attributes such as the createTimestamp or
>> creatorsName attributes, since the server maintains these
>> automatically.
>
>The same applies to Modify Operation. Maybe factor that out and
replace
>with a reference to [Models], similar to what has been done with some
>Modify Operation text?
 
Already factored out as part of earlier edit
 
>> 4.9. Modify DN Operation
>
>> - newrdn: (...) If the operation moves the entry
>> to a new superior without changing its RDN, the value of the old
>> RDN is supplied for this parameter.
>
>This sort of implies that Something (the server?) modifies this
>parameter if one does that operation, instead of the other way
around.
>Maybe:
>
>To move the entry to a new superior without changing its RDN, the
>client can supply the value of the old RDN for this parameter.
 
changed to:
The value of the old RDN is supplied when moving the entry to a new
superior without changing its RDN.
 
>> 4.13. IntermediateResponse Message
>
>> - the format of the contents of the responseValue, and
>
>s/responseValue/responseValue (if any)/.
 
right
 
>> 6. Security Considerations
>
>> This version of the protocol provides facilities for simple
>> authentication using a cleartext password, as well as any [SASL]
>> mechanism. Installing SASL
>
>and TLS [or did I say that before?]
>
>> layers can provide integrity and other
>> data security services.
 
got it
 
>> A.1 Non-Error Result Codes
>
>> The referral and saslBindInProgress result codes indicate the
client
>> is required to take additional action to complete the operation.
>
>s/is required/needs/, since the client is free to not follow
referrals.
 
 yes
 
>-- 
>Hallvard
 
Thanks again,
 
Jim

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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Halvard, I'm replying to this with responses I see not needing =
discussion. I've replies in other threads for issues which may require =
more discussion.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;<A href=3D"mailto:h.b.furuseth@us=
it.uio.no">h.b.furuseth@usit.uio.no</A>&gt; 11/8/04 5:59:28 AM &gt;&gt;&gt;=
<BR>&gt;Final (hopefully:-) bunch of protocol comments:<BR>&gt;<BR>&gt;&gt;=
 4.1.10. Referral<BR>&gt;<BR>&gt;&gt; If the client wishes to progress the =
operation, it MUST follow the<BR>&gt;&gt; referral by contacting one of =
the supported services.<BR>&gt;<BR>&gt;"if the client wishes, then it =
MUST" sounds strange to me.<BR>&gt;I would s/MUST/can/.</DIV>
<DIV>&nbsp;</DIV>
<DIV>new text proposal:<BR>If the client wishes to progress the operation, =
it contacts one of the supported services found in the referral</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; Protocol peers (...) MUST NOT repeatedly contact the =
same<BR>&gt;&gt; server for the same request with the same target entry =
name, scope<BR>&gt;&gt; and filter.<BR>&gt;<BR>&gt;How about different =
controls (maybe due to LDAPURL extensions) and other<BR>&gt;extensions? =
(Same question to continuation references in section 4.5.3.)<BR>&gt;<BR>&gt=
;How about non-search operations? Maybe this text should just be<BR>&gt;<BR=
>&gt;MUST NOT contact the same server for the same request with the<BR>&gt;=
same parameters.</DIV>
<DIV>&nbsp;</DIV>
<DIV>That's much better.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; - If an alias was dereferenced, the &lt;dn&gt; part of the =
URL MUST be<BR>&gt;&gt; present, with the new target object name.<BR>&gt;<B=
R>&gt;I would prepend "Note that" to the following, and move it below the =
list<BR>&gt;of instructions:</DIV>
<DIV>&nbsp;</DIV>
<DIV>right</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; A value<BR>&gt;&gt; of TRUE indicates that it is unacceptable=
 to perform the operation<BR>&gt;&gt; without applying the semantics of =
the control and FALSE otherwise.<BR>&gt;<BR>&gt;"and FALSE otherwise" =
looks strange in this sentence - is it left over<BR>&gt;from a different =
wording?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I agree, I'm removing that.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; - whether information is to be present in the controlValue =
field,<BR>&gt;&gt; and if so, the format of the controlValue contents,<BR>&=
gt;<BR>&gt;I think that should be<BR>&gt;<BR>&gt;whether the controlValue =
field is to be present, and if so, ...<BR>&gt;<BR>&gt;since if it is =
present, it does contain information.</DIV>
<DIV>&nbsp;</DIV>
<DIV>yes</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.4. Unsolicited Notification<BR>&gt;<BR>&gt;&gt; The =
unsolicited notification is structured as an LDAPMessage in which<BR>&gt;&g=
t; the messageID is zero and protocolOp is of the extendedResp form =
(See<BR>&gt;&gt; Section 4.12).<BR>&gt;<BR>&gt;Actually, 4.12 defines =
ExtendedResponse. extendedResp is defined in<BR>&gt;4.1.1.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I left the reference, but changed the text to:</DIV>
<DIV>&nbsp;</DIV>
<DIV>...and protocolOp is set to the extendedResp choice using the =
ExtendedResponse type (See Section 4.12)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; - the format of the contents (if any) of the responseValue,<B=
R>&gt;<BR>&gt;move "(if any)" to the end of the sentence (to address an =
absent value,<BR>&gt;not a present but empty value).</DIV>
<DIV>&nbsp;</DIV>
<DIV>right</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; - the circumstances which will cause the notification to =
be<BR>&gt;&gt; returned, and<BR>&gt;&gt;<BR>&gt;&gt; - the semantics of =
the operation.<BR>&gt;<BR>&gt;s/returned/sent/. I think 'returned' means =
it is some request's return<BR>&gt;value. "operation" seems strange for =
the same reason. "message",<BR>&gt;maybe?</DIV>
<DIV>&nbsp;</DIV>
<DIV>yes on both.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.4.1. Notice of Disconnection<BR>&gt;<BR>&gt;&gt; This =
notification may be used by the server to advise the client that<BR>&gt;&gt=
; the server is about to close the connection due to an error<BR>&gt;&gt; =
condition.<BR>&gt;<BR>&gt;s/error condition/exceptional condition/ or =
something? I wouldn't call<BR>&gt;controlled shutdown of the server or =
idletimeout of the connection an<BR>&gt;error. Or maybe the question =
should be avoided:<BR>&gt;<BR>&gt;... server is about to close the =
connection on its own initiative.</DIV>
<DIV>&nbsp;</DIV>
<DIV>yes, also s/error/exceptional server condidtion in the next sentence.<=
/DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.5.1. Search Request<BR>&gt;<BR>&gt;&gt; SubstringFilter =
::=3D SEQUENCE {<BR>&gt;&gt; type AttributeDescription,<BR>&gt;&gt; -- =
initial and final can occur at most once<BR>&gt;<BR>&gt;s/once/once each/? =
(I.e. twice:-)</DIV>
<DIV>&nbsp;</DIV>
<DIV>I removed this and added "-- can occur at most once to the right of =
initial and final"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; - scope: Specifies the scope of the search to be performed. =
The<BR>&gt;&gt; semantics (as described in [X.511]) of the possible values =
of this<BR>&gt;&gt; field are:<BR>&gt;&gt; - derefAliases: An indicator as =
to how alias entries (as defined in<BR>&gt;&gt; [Models]) are to be =
handled in searching. The semantics of the<BR>&gt;&gt; possible values of =
this field are:<BR>&gt;<BR>&gt;s/possible/defined/ in these two, since =
other values can be defined<BR>&gt;later.</DIV>
<DIV>&nbsp;</DIV>
<DIV>yes</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; derefAlways: Dereference aliases both in searching and =
in<BR>&gt;&gt; locating the base object of the search.<BR>&gt;<BR>&gt;Add =
a blank line.</DIV>
<DIV>&nbsp;</DIV>
<DIV>yes</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; The present match evaluates to TRUE where there is an =
attribute or<BR>&gt;&gt; subtype of the specified attribute description =
present in an<BR>&gt;&gt; entry, and FALSE otherwise (including a presence =
test with an<BR>&gt;&gt; unrecognized attribute description.)<BR>&gt;<BR>&g=
t;s/.)/)./ ? Not sure how () and punctuation interact in English.</DIV>
<DIV>&nbsp;</DIV>
<DIV>you're right.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; Note that the AssertionValue in a substrings filter item =
conforms<BR>&gt;<BR>&gt;s/AssertionValue/AssertionValues/.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think you mean to s/AssertionValues/an AssertionValue/ in the =
previous sentence.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.5.2. Search Result<BR>&gt;<BR>&gt;&gt; The results of the =
search operation are returned as zero or more<BR>&gt;&gt; searchResultEntry=
 messages, zero or more SearchResultReference<BR>&gt;&gt; messages, =
followed by a single searchResultDone message.<BR>&gt;<BR>&gt;replace =
"messages, zero or more" with "and/or" to clarify that the<BR>&gt;entries =
need not precede the references.</DIV>
<DIV>&nbsp;</DIV>
<DIV>yes</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; Each entry returned in a SearchResultEntry will contain =
all<BR>&gt;&gt; appropriate attributes as specified in the attributes =
field of the<BR>&gt;&gt; Search Request. Return of attributes is subject =
to access control and<BR>&gt;&gt; other administrative policy.<BR>&gt;<BR>&=
gt;I would s/. Return of attributes is/,/</DIV>
<DIV>&nbsp;</DIV>
<DIV>ok</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; - If the originating search scope was singleLevel, the =
&lt;scope&gt; part<BR>&gt;&gt; of the URL will be "base".<BR>&gt;&gt;<BR>&g=
t;&gt; - It is RECOMMENDED that the &lt;scope&gt; part be present to =
avoid<BR>&gt;&gt; ambiguity.<BR>&gt;<BR>&gt;The text doesn't seem to say =
that the scope defaults to the original<BR>&gt;value. (Nor other aspects =
below, but I guess that would depend on these<BR>&gt;aspects' definitions.)=
</DIV>
<DIV>&nbsp;</DIV>
<DIV>will add: "In the absence of a &lt;scope&gt; part, the scope of the =
original Search request is assumed."</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.5.3.1. Examples<BR>&gt;<BR>&gt;&gt; It<BR>&gt;&gt; knows =
that either LDAP-capable servers (hostb) or (hostc) hold<BR>&gt;&gt; =
&lt;OU=3DPeople,DC=3DExample,DC=3DNET&gt;<BR>&gt;<BR>&gt;s/either...or/both=
...and/, I think.</DIV>
<DIV>&nbsp;</DIV>
<DIV>right</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.6. Modify Operation<BR>&gt;<BR>&gt;&gt; - object: The name =
of the object to be modified. The value of this<BR>&gt;&gt; field contains =
the DN of the entry to be modified.<BR>&gt;<BR>&gt;Doesn't this say the =
same thing twice? Mimicing the wording from add &amp;<BR>&gt;co, it should =
be<BR>&gt;<BR>&gt;- object: The name of the entry [not object] to be =
modified.<BR>&gt;<BR>&gt;If you wish to imply that the name is a DN, I =
suggest 'The name (DN)<BR>&gt;of...' both here and elsewhere.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think just "name" works.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; delete: delete values listed from the modification attribute,=
<BR>&gt;&gt; removing the entire attribute if no values are listed, or =
if<BR>&gt;&gt; all current values of the attribute are listed for =
deletion;<BR>&gt;<BR>&gt;Suggest /if no values are listed, or if/if either =
values are listed or/.</DIV>
<DIV>&nbsp;</DIV>
<DIV>how about:</DIV>
<DIV>&nbsp;</DIV>
<DIV>delete: delete values listed from the modification attribute. If no =
values are listed, or if all current values of the attribute are listed, =
the entire attribute is removed;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.7. Add Operation<BR>&gt;<BR>&gt;&gt; - attributes: =
(...)<BR>&gt;<BR>&gt;&gt; Clients MUST<BR>&gt;&gt; include the 'objectClass=
' attribute, and values of any mandatory<BR>&gt;&gt; attributes of the =
listed object classes. Clients MUST NOT supply<BR>&gt;&gt; NO-USER-MODIFICA=
TION attributes such as the createTimestamp or<BR>&gt;&gt; creatorsName =
attributes, since the server maintains these<BR>&gt;&gt; automatically.<BR>=
&gt;<BR>&gt;The same applies to Modify Operation. Maybe factor that out =
and replace<BR>&gt;with a reference to [Models], similar to what has been =
done with some<BR>&gt;Modify Operation text?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Already factored out as part of earlier edit</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.9. Modify DN Operation<BR>&gt;<BR>&gt;&gt; - newrdn: (...) =
If the operation moves the entry<BR>&gt;&gt; to a new superior without =
changing its RDN, the value of the old<BR>&gt;&gt; RDN is supplied for =
this parameter.<BR>&gt;<BR>&gt;This sort of implies that Something (the =
server?) modifies this<BR>&gt;parameter if one does that operation, =
instead of the other way around.<BR>&gt;Maybe:<BR>&gt;<BR>&gt;To move the =
entry to a new superior without changing its RDN, the<BR>&gt;client can =
supply the value of the old RDN for this parameter.</DIV>
<DIV>&nbsp;</DIV>
<DIV>changed to:<BR>The value of the old RDN is supplied when moving the =
entry to a new superior without changing its RDN.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 4.13. IntermediateResponse Message<BR>&gt;<BR>&gt;&gt; - the =
format of the contents of the responseValue, and<BR>&gt;<BR>&gt;s/responseV=
alue/responseValue (if any)/.</DIV>
<DIV>&nbsp;</DIV>
<DIV>right</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; 6. Security Considerations<BR>&gt;<BR>&gt;&gt; This version =
of the protocol provides facilities for simple<BR>&gt;&gt; authentication =
using a cleartext password, as well as any [SASL]<BR>&gt;&gt; mechanism. =
Installing SASL<BR>&gt;<BR>&gt;and TLS [or did I say that before?]<BR>&gt;<=
BR>&gt;&gt; layers can provide integrity and other<BR>&gt;&gt; data =
security services.</DIV>
<DIV>&nbsp;</DIV>
<DIV>got it</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt; A.1 Non-Error Result Codes<BR>&gt;<BR>&gt;&gt; The referral =
and saslBindInProgress result codes indicate the client<BR>&gt;&gt; is =
required to take additional action to complete the operation.<BR>&gt;<BR>&g=
t;s/is required/needs/, since the client is free to not follow referrals.</=
DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;yes</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;-- <BR>&gt;Hallvard</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks again,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__PartA18162DE.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 16:03: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 QAA01530
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 16:03:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8L2v8W017527;
	Mon, 8 Nov 2004 21:03: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 iA8KwUxn017239;
	Mon, 8 Nov 2004 20:58: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, 8 Nov 2004 20:58:30 +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 iA8KwSDQ017224
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 20:58:28 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 13:58:08 -0700
Message-Id: <s18f7b70.079@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 13:57:47 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: diagnosticMessage (was Re: protocol-27 comments#2)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

what about:
Diagnostic messages typically supplement the resultCode with additional
information.

Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 11:32:48 AM
>>>
Partial reply:

Jim Sermersheim writes:
>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 11/7/04 7:00:33
PM
>>Jim Sermersheim writes:
>>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 10/29/04
1:09:56
>>>>
>>>> I may have mentioned this before, but I can't find it in the
archive:
>>>> It might be useful to suggest or RECOMMEND either to treat
>>>> diagnosticMessages as supplements to the result code in error
>>>> messages, or to recommend the opposite (diagnosticMessages
intended
>>>> to stand alone without displaying the result code). I think
common
>>>> practice is the former, but I don't really know.
>>>
>>> I don't think you mean the disgnosticMessage should be used in
addition
>>> to resultCode in determining a course of action. So are you saying
we
>>> should describe behavior between a client application and a human
user?
>>
>> Right. Inform clients that display disgnosticMessage if they
>> also need to display the resultCode (or preferably an explanation of
it).
>>
>> And therefore, also tell servers if the disgnosticMessage, if any,
needs
>> to contain the information conveyed by the result code.
>
> I don't like the first comment. I think [Protocol] is in the
business
> of explaining how the protocol works rather than client
applications.

Good point.

> Though I do note that it says "Implementations MUST NOT display nor
> attempt to decode an attribute value if its syntax is not known"

And a few "Client implementors should note...".

> For the second comment, how about: "Diagnostic messages typically
> convey information pertaining to the value of resultCode"

Better wording, wrong words:-) Information pertaining to the _value_
of
the result code sounds to me like explaining what that value means in
general. I think I got that part right - information supplementing the
result code.

And I still wonder if it's worth to expand it to RECOMMEND
"information
supplementing rather than including the result code" (a bit strange
wording, I admit). Or "information which is intended to be displayed
in
addition to rather than instead of an explanation of the result code",
if that doesn't get too close to what clients should do again.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 16:16: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 QAA02629
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 16:16:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8LF2L5017928;
	Mon, 8 Nov 2004 21:15: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 iA8LB8kU017787;
	Mon, 8 Nov 2004 21:11:08 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 8 Nov 2004 21:11:08 +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 iA8LB6dk017776
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 21:11: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.34)
	id 1CRGn1-0004Fx-GO; Mon, 08 Nov 2004 22:11:03 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRGmx-00045h-T0; Mon, 08 Nov 2004 22:10:59 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRGmx-0003el-00; Mon, 8 Nov 2004 22:10:59 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108rp4g@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: SearchResultReference examples (was Re: protocol-27 comments
	#3)
In-Reply-To: <s18f7774.089@sinclair.provo.novell.com>
References: <s18f7774.089@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Nov 2004 22:10:59 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>> SearchResultReference {
>>> ldap://hostb/OU=People,DC=Example,DC=NET??sub
>>> ldap://hostc/OU=People,DC=Example,DC=NET??sub }
>>> SearchResultReference {
>>> ldap://hostd/OU=Roles,DC=Example,DC=NET??sub }
>>> SearchResultDone (success)
>>
>>I suggest you change an example (and the matching text) so a DN on one
>>host is different from the original DN.
>  
> I could add an alias object which points outside of the
> DC=Example,DC=NET area, but I worry that it will just complicate the
> examples. Do you think this is an area often misunderstood by
> implementors?

Not so much misunderstanding as forgetting or just disbelieving the
possibility.  OTOH, I don't like too complicated examples either...
I'll think about it when I have more time.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 16:16: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 QAA02705
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 16:16:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8LF2L7017928;
	Mon, 8 Nov 2004 21:15: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 iA8L9cpc017755;
	Mon, 8 Nov 2004 21:09: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); Mon, 8 Nov 2004 21:09:38 +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 iA8L9apB017740
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 21:09:36 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 14:09:16 -0700
Message-Id: <s18f7e0c.096@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 14:08:52 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Wording of Authorization deefinition (was Re: protocol-27
	comments #3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part3212F174.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

Is this less or more confusing?
The process of authorization may consider (among other things),
authentication information obtained during the bind operation, and/or
may consider other acts of authentication (such as lower layer security
services).
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 2:44:21 PM
>>>
Jim Sermersheim writes:
>>>> Hallvard B Furuseth h.b.furuseth@usit.uio.no > 11/8/04 5:59:28 AM
>>
>>> 4.2. Bind Operation
>>
>>> Authorization is the decision of which access an operation has to
>>> the directory. 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).
>>
>> Authorization can also - or instead - take as input information
which
>> is not normally considered acts of authentication, such as the IP
>> number of time of day.

Heh. I tied "Among other things," to the wrong part of the rest of the
sentence. Can't see how I managed that...

-- 
Hallvard


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Is this less or more confusing?</DIV>
<DIV>The process of authorization may consider (among other things), =
authentication information obtained during the bind operation, and/or may =
consider other acts of authentication (such as lower layer security =
services).</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.=
no&gt; 11/8/04 2:44:21 PM &gt;&gt;&gt;<BR>Jim Sermersheim writes:<BR>&gt;&g=
t;&gt;&gt; Hallvard B Furuseth <U><A href=3D"mailto:h.b.furuseth@usit.uio.n=
o">h.b.furuseth@usit.uio.no</A></U> &gt; 11/8/04 5:59:28 AM &gt;&gt;<BR>&gt=
;&gt;&gt; 4.2. Bind Operation<BR>&gt;&gt;<BR>&gt;&gt;&gt; Authorization is =
the decision of which access an operation has to<BR>&gt;&gt;&gt; the =
directory. Among other things, the process of authorization<BR>&gt;&gt;&gt;=
 takes as input authentication information obtained during the bind<BR>&gt;=
&gt;&gt; operation and/or other acts of authentication (such as lower =
layer<BR>&gt;&gt;&gt; security services).<BR>&gt;&gt;<BR>&gt;&gt; =
Authorization can also - or instead - take as input information which<BR>&g=
t;&gt; is not normally considered acts of authentication, such as the =
IP<BR>&gt;&gt; number of time of day.<BR><BR>Heh. I tied "Among other =
things," to the wrong part of the rest of the<BR>sentence. Can't see how I =
managed that...<BR><BR>-- <BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part3212F174.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 16:35: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 QAA04686
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 16:35:55 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8LWvFE018801;
	Mon, 8 Nov 2004 21:35: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 iA8LRKIV018574;
	Mon, 8 Nov 2004 21:27: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, 8 Nov 2004 21:27:20 +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 iA8LRIwK018558
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 21:27:18 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Mon, 08 Nov 2004 14:26:58 -0700
Message-Id: <s18f8232.008@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Mon, 08 Nov 2004 14:26:32 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: absent matchingRule (was Re: protocol-27 comments #3)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 3:31:39 PM
>>>
>Jim Sermersheim writes:
>>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 11/8/04 5:59:28
AM
>>>> If the matchingRule field is absent, the type field MUST be
>>>> present, and an equality match is performed for that type.
>>>
>>>>Which means just (:dn:=foo) is not allowed. Maybe the draft should
>>>suggest that one can use (1.1:dn:=foo).
>> 
>> Well, what does (1.1:dn:=foo) mean? I think it means that this
filter
>> will always evaluate to undefined.
>
>Looking at the description of dnAttributes under extensibleMatch in
>4.5.1. Search Request, it returns TRUE if a DN attribute matches foo
-
>regardless of Undefined or False from the rest of the filter. 

Hmm, to me it looks like the attribute type is unknown, thus the entire
filter item would be Undefined.

>Though
>maybe I'm just getting lost here - at the moment I can't see where
the
>draft says that matching an unknown attribute type returns Undefined,
>and certainly not where it says that this overrides the dnAttributes
>description.

A filter item evaluates to Undefined when...
- An attribute description in an equalityMatch, substrings,
greaterOrEqual, lessOrEqual, approxMatch or extensibleMatch
filter is not recognized by the server.

I don't think anything needs to be said to the effect that such a case
would override the dnAttributes description. On the contrary, if
dnAttributes was allowed to override this instruction, I think it would
have to be explained.

>>> Also, is it an error to violate this "MUST"? Most other invalid
>>> filters just return Undefined.
>> 
>> My read is that this is a protocol violations (and other protocol
>> violations in filters are not evaluated to undefiened, they return
>> protocolError)
>
>OK. In that case I have a problem with the MUSTs for search requests
>that it is not a protocol violation to violate, but I think we've
been
>there before.

In this specific example, the protocol specification is placing an
imperative on the format of the protocol. Not following the imperative
is violation of the protocol.

>
>-- 
>Hallvard

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 17:47: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 RAA12037
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 17:47:46 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8Mivk2021567;
	Mon, 8 Nov 2004 22:46:12 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 iA8MgKMH021420;
	Mon, 8 Nov 2004 22:42: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, 8 Nov 2004 22:42:20 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8MgI0p021405
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 22:42:19 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000234; Tue, 9 Nov 2004 09:47:11 +1100
Message-ID: <418FF619.8040508@eb2bcom.com>
Date: Tue, 09 Nov 2004 09:41:29 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no>
In-Reply-To: <HBF.20041107p8mt@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> [Syntaxes] section 3.3.15 says an IA5 String may be empty.
> 
> Why is that, when Directory String and Printable String may not?

The Directory String and Printable String syntaxes derive from syntaxes
in X.520 that have been constrained to have at least one character.
The IA5 String syntax does not have a counterpart in X.520 so it doesn't
need to be constrained for interoperability reasons.

> If anyone knows, maybe a note should be added to explain.
> 
> 
> [Strprep] section 2 says:
> 
>   This process is intended to act upon non-empty character strings.  If
>   the string to prepare is empty, this process is not applied and the
>   assertion is evaluated to Undefined.
> 
> Since an IA5 String can be empty, why shouldn't two empty IA5 Strings
> match each other?

Clearly there is an incompatibility. The working group needs to decide whether to
restrict IA5 String to at least one character, or to allow empty strings to
compare true.

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 17:55: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 RAA12980
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 17:55:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8MovVe022030;
	Mon, 8 Nov 2004 22:54: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 iA8MnNLK021962;
	Mon, 8 Nov 2004 22: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); Mon, 8 Nov 2004 22:49:22 +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 iA8MnLgn021947
	for <ietf-ldapbis@openldap.org>; Mon, 8 Nov 2004 22:49:21 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.34)
	id 1CRIK5-0001Dk-Rb
	for ietf-ldapbis@openldap.org; Mon, 08 Nov 2004 23:49:17 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRIK1-0000Bk-Cw; Mon, 08 Nov 2004 23:49:13 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRIK0-0003v8-00; Mon, 8 Nov 2004 23:49:12 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041108q20d@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: brief authmeth notes
Date: Mon, 8 Nov 2004 23:49:13 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

After a brief look at authmeth-13, the changes that have been done so
far mostly look good.  A few exceptions:

> 10. SASL EXTERNAL Authentication Mechanism
>   The authorization identity used to determine the state of the
>   association is derived from the security credentials in an
>   implementation-specific manner.

This is wrong, the authorization identity may be sent with the EXTERNAL
request.  'Authentication identity' is derived... in authmeth-12 was
right, as far as I can tell.

I notice the suggestion to remove authentication 'state' in thread
"authmeth: association -= authentication ID" was taken, but Appendix A
retains one "authentication state" which should probably be
"authorization state" or "association state".

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 18:22: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 SAA17248
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 18:22:03 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8NKv41024390;
	Mon, 8 Nov 2004 23:21: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 iA8NGikX024172;
	Mon, 8 Nov 2004 23:16: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, 8 Nov 2004 23:16:44 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA8NGfDk024159
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Nov 2004 23:16:42 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC330000023F; Tue, 9 Nov 2004 10:21:48 +1100
Message-ID: <418FFE3C.1060000@eb2bcom.com>
Date: Tue, 09 Nov 2004 10:16:12 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
CC: ietf-ldapbis@OpenLDAP.org, h.b.furuseth@usit.uio.no
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
References: <s18e790c.087@sinclair.provo.novell.com>
In-Reply-To: <s18e790c.087@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Jim,

Jim Sermersheim wrote:
> Reading this, I also noticed that definitions which include COMPONENTS 
> OF LDAPResult add some buffer space for future expansion of LDAPResult, 
> but only a little. LDAPResult has assigned [3] to the last tag in the 
> SEQUENCE. BindResponse starts at [7], and ExtendedResponse starts at 
> [10]. Does this mean that LDAPResult can only be extended with 4 - 6, 8, 
> and 9?

ASN.1 doesn't have a requirement that tag numbers have to be ascending. It is
perfectly legal for LDAPResult to have a new component with tag, say, [50].
It is even possible for two consecutive components of a SEQUENCE to have the
same tag provided the first one is mandatory. It is more than sufficient for
the tags used in LDAPResult to just be different from those used in BindResponse
and ExtendedResponse.

Regards,
Steven

>  
> Jim
> 
>  >>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 4:13:45 PM >>>
> There are two different ways to extend BindResponse and ModifyRequest.
> I imagine this may lead to some sort of conflict or at least a rather
> messy situation, in particular in which order the fields should occur:
> 
> 1) If one defines a new BindRequest.AuthenticationChoice or
> ModifyRequest.changes.change.operation, one may need a new matching
> sequence element in BindResponse or ModifyRequest.changes.change.
> 
> 2) One may define trailing SEQUENCE elements; [Protocol] section 4 says
> implementation must ignore unrecognized trailing SEQUENCE elements.
> 
> I don't know that works when there are several extra SEQUENCE elements
> present: Will an implementation pick up a known element following an
> unknown element? Can elements from different specifications be present
> in any order? Or must all specifications of such elements define where
> in the SEQUENCE the element occurs in relation to all previous
> specifications of other elements?
> 
> If this is not a problem, ignore the rest of this message. Otherwise:
> One fix might be to define (not in LDAPbis) two extensions to be used
> with future specifications of Bind authentication choices and Modify
> operation types:
> 
> -- appended to BindResponse
> BindAuthData ::= [something] CHOICE {
> -- currently no choices are defined
> }
> 
> -- appended to ModifyRequest.changes.change
> ModifyChangeData ::= [something] CHOICE {
> -- currently no choices are defined
> }
> 
> where each CHOICE tag number is reserved for the same
> BindRequest.AuthenticationChoice tag number and
> ModifyRequest.changes.change.operation value.
> 
> If this is desirable, I don't know if such a draft could - or should -
> be rushed out quickly enough that [protocol] and [ldapiana] can add a
> (maybe informative) reference to it?
> 
> For reference, here are the current ASN.1 definitions:
> 
> BindResponse ::= [APPLICATION 1] SEQUENCE {
> COMPONENTS OF LDAPResult,
> serverSaslCreds [7] OCTET STRING OPTIONAL }
> 
> ModifyRequest ::= [APPLICATION 6] SEQUENCE {
> object LDAPDN,
> changes SEQUENCE OF change SEQUENCE {
> operation ENUMERATED {
> add (0),
> delete (1),
> replace (2) },
> modification PartialAttribute } }
> 
> As far as I can tell there are no other protocol fields with similar
> troubles, but I make no promises:-)
> 
> -- 
> Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 19:53:39 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 TAA25210
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 19:53:39 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA90p8lx027144;
	Tue, 9 Nov 2004 00:51: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 iA90nADn027122;
	Tue, 9 Nov 2004 00:49: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, 9 Nov 2004 00:49:10 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA90n3X4027112
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 00:49:04 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC330000026E; Tue, 9 Nov 2004 11:54:02 +1100
Message-ID: <419013DA.1030101@eb2bcom.com>
Date: Tue, 09 Nov 2004 11:48:26 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
References: <HBF.20041107pq4q@bombur.uio.no>
In-Reply-To: <HBF.20041107pq4q@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> There are two different ways to extend BindResponse and ModifyRequest.
> I imagine this may lead to some sort of conflict or at least a rather
> messy situation, in particular in which order the fields should occur:
> 
> 1) If one defines a new BindRequest.AuthenticationChoice or
>    ModifyRequest.changes.change.operation, one may need a new matching
>    sequence element in BindResponse or ModifyRequest.changes.change.
> 
> 2) One may define trailing SEQUENCE elements; [Protocol] section 4 says
>    implementation must ignore unrecognized trailing SEQUENCE elements.

LDAP uses ASN.1 and ASN.1 has rules for extensibility. Extensions to LDAP
should always be consistent with those rules.

> I don't know that works when there are several extra SEQUENCE elements
> present:  Will an implementation pick up a known element following an
> unknown element?

Extensibilty in ASN.1 is essentially linear and assumed to be employed through
standards actions (user-defined extensions are handled through open types
with component relation constraints - directory attributes fall into this
category). If one follows the ASN.1 rules for extensibility then a known
element will never follow an unknown element.

 > Can elements from different specifications be present
> in any order?

No. One of the specifications must logically follow the other and take
account of it.

 > Or must all specifications of such elements define where
> in the SEQUENCE the element occurs in relation to all previous
> specifications of other elements?

Yes, mostly. The "where" is always at the end (unless the base specification
explicitly put extension marks somewhere else).

Regards,
Steven

> 
> If this is not a problem, ignore the rest of this message.  Otherwise:
> One fix might be to define (not in LDAPbis) two extensions to be used
> with future specifications of Bind authentication choices and Modify
> operation types:
> 
>         -- appended to BindResponse
>         BindAuthData ::= [something] CHOICE {
>              -- currently no choices are defined
>         }
> 
>         -- appended to ModifyRequest.changes.change
>         ModifyChangeData ::= [something] CHOICE {
>              -- currently no choices are defined
>         }
> 
> where each CHOICE tag number is reserved for the same
> BindRequest.AuthenticationChoice tag number and
> ModifyRequest.changes.change.operation value.
> 
> If this is desirable, I don't know if such a draft could - or should -
> be rushed out quickly enough that [protocol] and [ldapiana] can add a
> (maybe informative) reference to it?
> 
> For reference, here are the current ASN.1 definitions:
> 
>         BindResponse ::= [APPLICATION 1] SEQUENCE { 
>              COMPONENTS OF LDAPResult, 
>              serverSaslCreds    [7] OCTET STRING OPTIONAL }
> 
>         ModifyRequest ::= [APPLICATION 6] SEQUENCE { 
>              object          LDAPDN, 
>              changes         SEQUENCE OF change SEQUENCE { 
>                   operation       ENUMERATED { 
>                        add     (0), 
>                        delete  (1), 
>                        replace (2) }, 
>                   modification    PartialAttribute } }
> 
> As far as I can tell there are no other protocol fields with similar
> troubles, but I make no promises:-)
> 


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 20:16: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 UAA27305
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 20:16:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA91F3vW027723;
	Tue, 9 Nov 2004 01:15: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 iA919GOj027579;
	Tue, 9 Nov 2004 01:09: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, 9 Nov 2004 01:09:16 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA919EKr027569
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 01:09:15 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.172.186
Received: from [192.168.1.65] (client-200.121.172.186.speedy.net.pe [200.121.172.186] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iA92UBrJ001093;
	Tue, 9 Nov 2004 02:30:12 GMT
In-Reply-To: <419013DA.1030101@eb2bcom.com>
References: <HBF.20041107pq4q@bombur.uio.no> <419013DA.1030101@eb2bcom.com>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <F35AFC40-31EB-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
Date: Mon, 8 Nov 2004 20:09:05 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


On 8-Nov-04, at 7:48 PM, Steven Legg wrote:

> If one follows the ASN.1 rules for extensibility then a known
> element will never follow an unknown element.

Surely that is not true. If there is an extension marker in
the base specification, that's where extensions go; there is
no requirement that it be at the end. Furthermore, there might
be an extensible CHOICE in the middle of a SEQUENCE.

X.680 (07/2002), 48.1 (just after a note that extension markers
have no effect on BER); "The extension marker ... makes no statement
as to how such additions should be handled other than that they
should not be treated as an error during the decoding process."



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 21:05: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 VAA02297
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 21:05:36 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA922xSr029029;
	Tue, 9 Nov 2004 02:03: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 iA91xqfx028822;
	Tue, 9 Nov 2004 01:59: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); Tue, 9 Nov 2004 01:59:52 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA91xmUE028811
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 01:59:49 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000295; Tue, 9 Nov 2004 13:04:48 +1100
Message-ID: <4190246F.4010901@eb2bcom.com>
Date: Tue, 09 Nov 2004 12:59:11 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Alex Karasulu <aok123@bellsouth.net>
CC: ietf-ldapbis@OpenLDAP.org,
        Directory Developers List <directory-dev@incubator.apache.org>
Subject: Re: [filter] interpretting presence verses substring with whitespace
References: <418FA7D7.3040706@bellsouth.net>
In-Reply-To: <418FA7D7.3040706@bellsouth.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hi Alex,

Alex Karasulu wrote:
> Hello,
> 
> I have some questions regarding the interpretation of LDAP search 
> filters specifically differentiating between presence and substring 
> items when whitespace is present.  According to the ABNF describing 
> these rules in [FILTERS], and some additional rules in [MODELS] ,
> 
>      ...
>      present        = attr EQUALS ASTERISK
>      substring      = attr EQUALS [initial] any [final]
>      initial        = assertionvalue
>      any            = ASTERISK *(assertionvalue ASTERISK)
>      final          = assertionvalue
>      attr           = attributedescription
>      ...,
> 
> the presence of whitespace is considered significant in the 
> assertionvalue.  Please correct me if I'm wrong but this means that the 
> following filter expressions are interpreted differently:
> 
> (for simplicity I'm equating whitespace to be a single space character, 
> %x20)
> 
> 1. (ou=*)
>    - there is no whitespace at all
>    - interpreted as a presence filter
>    - matches all entries containing the ou attribute
> 2. (ou= *)
>    - there is whitespace before the ASTERISK after the EQUALS
>    - interpreted as a substring filter
>    - the space is interpreted as the [initial]
>    - matches all values of ou starting with a space, %x20

The exact matching behaviour depends on the attribute type. Typically though,
it will be equivalent to caseIgnoreSubstringsMatch. Assuming that is the case
then the current ldapbis specifications would invoke stringprep on each
candidate attribute value and each substring of the assertion. The result will
be that no attribute value will have (for matching purposes) a leading space.
The initial substring will get reduced to empty which then becomes a
single space. After that it is a code point comparison. Since no attribute
value has a leading space, none are matched, and the result is empty.

This isn't the intuitive result either. The same occurs in the other examples
for much the same reasons.

Treating the whitespace as insignificant (unless escaped) in the string
representation of the filter partly helps as it makes all your examples
equivalent to a present match, but there would still be a problem with
cases where the whitespace is explicitly escaped. Stringprep will still
cause (ou=\20*) to match nothing.

It seams to me that stringprep should allow a result string to be empty,
rather than replacing it by a single space. If that were the case then an
initial substring of " " would be reduced to an empty string, which would
trivially match every value, giving the same effect as a presence match.
Similarly, an any substring that reduces to an empty string is trivially
satisfied and so is effectively ignored. In fact, this change to stringprep
would make escaping of whitespace in the string representation of filters
largely moot.

Regards,
Steven

> 3. (ou=* )
>    - there is whitespace after the ASTERISK before the RPAREN
>    - interpreted as a substring filter
>    - the space is interpreted as the [final]
>    - matches all values of ou ending with a space, %x20
> 4. (ou= * )
>    - there is whitespace before the ASTERISK and after the ASTERISK
>    - interpreted as a substring filter
>    - the first and last spaces are interpreted as the [initial] and 
> [final] values respectively
>    - matches all values of ou starting and ending with a space, %x20
> 5. there's another class where two or more ASTERISKS sandwich 
> whitespace: (ou=* *)
>    - although other forms would be a bit nonsensical this one may be 
> valid and would match      all entires with ou values starting or ending 
> with a space, %x20
> 
> Are these correct interpretations according to the ABNF and is the 
> matching behavior correct?
> 
> Now I'd like to open for discussion whether or not these interpretations 
> are intuitively correct.  As an end user issuing search filters to a 
> directory I've come to expect the directory to be extra forgiving when 
> it comes to things like whitespace.  Users have gotten this feeling 
> regarding whitespace forgiveness from the way distinguished names are 
> normalized by the directory.  It's intuitive for the user to presume 
> some of this forgiving nature extends to filters which can match on 
> attributes with the DN syntax.  So looking at the examples above I can 
> see how a user may think that all these filters are in fact equal to one 
> another.  The user is not thinking, "=* is a distinct atomic operator 
> token to a parser and is inseparable where a space makes it no longer a 
> presence ffilter."  The user thinks well I'm matching for anything.    
> What if they just like to put spaces around parentheses in their filter 
> expressions?  This space forgiving nature is "turned on" for matching 
> normal equality expressions on attributes like ou and is especially 
> forgiving if distinguishedNameMatch is in effect for respective attributes.
> 
> So would you agree that there is some mismatch between the hard ABNF 
> interpretation and the mental interpolation of users writing filters?  
> IMO I think all whitespace should be escaped if significant.  Otherwise 
> whitespace should be trimmed from the edges of attributevalues.  Also 
> whitespace within the interior of the value should be reduced to a 
> single space to preserve tokenization order while matching.  With regard 
> to substring items the 'any' pieces between two ASTERISKS  that are 
> purely composed of whitespace should be discarded and the ASTERISKS 
> consolidated into one.
> 
> This makes life tougher on those that really want to match based on 
> whitespace.  However they can just escape out the whitespace in their 
> filters like so:
> 
> 1. (ou=*)
> 2. (ou=\20*)
> 3. (ou=*\20)
> 4. (ou=\20*\20)
> 5. (ou=*\20*)
> 
> Comments? Thoughts?
> 
> Thanks,
> Alex
> 
>  [Filters]     Smith, M. (editor), LDAPbis WG, "LDAP: String
>                Representation of Search Filters",
>                draft-ietf-ldapbis-filter-xx.txt, a work in progress.
> 
>  [Models]      Zeilenga, K. (editor), "LDAP: Directory Information Models",
>                draft-ietf-ldapbis-models-xx.txt, a work in progress.
> 
> 
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  8 23:34: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 XAA24930
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Nov 2004 23:34:55 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA94X06H032863;
	Tue, 9 Nov 2004 04:33: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 iA94TBus032761;
	Tue, 9 Nov 2004 04:29: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); Tue, 9 Nov 2004 04:29:11 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA94T8D0032748
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 04:29:09 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC33000002FA; Tue, 9 Nov 2004 15:34:08 +1100
Message-ID: <4190476E.9090907@eb2bcom.com>
Date: Tue, 09 Nov 2004 15:28:30 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Rici Lake <rici@ricilake.net>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
References: <HBF.20041107pq4q@bombur.uio.no> <419013DA.1030101@eb2bcom.com> <F35AFC40-31EB-11D9-ADDC-000A957D48A8@ricilake.net>
In-Reply-To: <F35AFC40-31EB-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hi Rici,

Rici Lake wrote:
> On 8-Nov-04, at 7:48 PM, Steven Legg wrote:
> 
>> If one follows the ASN.1 rules for extensibility then a known
>> element will never follow an unknown element.
> 
> 
> Surely that is not true.

To clarify, I was talking about the immediate components of a SEQUENCE, SET
or CHOICE. Of course, any of the immediate components could itself be an
extensible SEQUENCE, SET or CHOICE. I was also ignoring the double extension
marker notation since the LDAP specification hasn't made use of it.
To be more precise I should say "If one follows the ASN.1 rules for
extensibility then a known extension will never follow an unknown extension
of the same SEQUENCE, SET or CHOICE type".

 > If there is an extension marker in
> the base specification, that's where extensions go; there is
> no requirement that it be at the end.

True, but it would be unusual to put a single extension marker before
the end in the *base* specification, in effect creating some predefined
extensions. In any case, since it is the *base* specification those
prefined extensions are known. Any subsequent extension has to go after
the previously defined extensions, so it will still be the case that an
unknown extension follows the known extensions of the type with the
extension marker.

 > Furthermore, there might
> be an extensible CHOICE in the middle of a SEQUENCE.

Yes, but any new extension to the CHOICE will appear at the end of
the CHOICE definition.

> 
> X.680 (07/2002), 48.1 (just after a note that extension markers
> have no effect on BER); "The extension marker ... makes no statement
> as to how such additions should be handled other than that they
> should not be treated as an error during the decoding process."

X.608 (07/2002), G.1 is more instructive. It says 'Table G.1 shows the ASN.1
types that can form the extension root type of an ASN.1 extension series, and
the nature of the single extension addition that is permitted for that type
(multiple extension additions can of course be made in succession, or together
as an extension group).'

Under SEQUENCE and SET, Table G.1 allows 'Addition of a single type or extension
group to the *end* of the "ExtensionAdditionList".' The emphasis is mine.

Under CHOICE, Table G.1 allows 'Addition of a single "NamedType" to the *end* of
the "ExtensionAdditionAlternativesList".'

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 05:22: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 FAA08456
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 05:22:56 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9AL5L6046623;
	Tue, 9 Nov 2004 10:21: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 iA9AFjdO046285;
	Tue, 9 Nov 2004 10:15:45 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, 9 Nov 2004 10:15:45 +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 iA9AFhHq046270
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 10:15:44 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.34)
	id 1CRT2K-0007ZH-47; Tue, 09 Nov 2004 11:15:40 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRT2D-0004DZ-Gx; Tue, 09 Nov 2004 11:15:33 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRT2C-0005mE-00; Tue, 9 Nov 2004 11:15:32 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109p3pc@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: diagnosticMessage (was Re: protocol-27 comments#2)
In-Reply-To: <s18f7b70.079@sinclair.provo.novell.com>
References: <s18f7b70.079@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 11:15:32 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> what about:
> Diagnostic messages typically supplement the resultCode with additional
> information.

Neat.


For the record, that leaves this - but I'll take silence (after
IETF#61) as consensus not to touch it:-)

>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 11:32:48 AM
> 
> And I still wonder if it's worth to expand it to RECOMMEND "information
> supplementing rather than including the result code" (a bit strange
> wording, I admit). Or "information which is intended to be displayed in
> addition to rather than instead of an explanation of the result code",
> if that doesn't get too close to what clients should do again.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 05:27: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 FAA08973
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 05:27:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9AR1ro047096;
	Tue, 9 Nov 2004 10:27:03 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 iA9AQw1c047087;
	Tue, 9 Nov 2004 10:26: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); Tue, 9 Nov 2004 10:26:58 +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 iA9AQvBR047075
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 10:26:57 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.34)
	id 1CRTDB-0001TY-Tr; Tue, 09 Nov 2004 11:26:54 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRTD2-0000Hp-E0; Tue, 09 Nov 2004 11:26:44 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRTD1-0005nl-00; Tue, 9 Nov 2004 11:26:43 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109owz0@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol-27 comments #3
In-Reply-To: <s18f777b.038@sinclair.provo.novell.com>
References: <s18f777b.038@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 11:26:43 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>> Note that the AssertionValue in a substrings filter item conforms
>>
>>s/AssertionValue/AssertionValues/.
>
> I think you mean to s/AssertionValues/an AssertionValue/ in the
> previous sentence.

Better.

>>> delete: delete values listed from the modification attribute,
>>> removing the entire attribute if no values are listed, or if
>>> all current values of the attribute are listed for deletion;
>>
>> Suggest /if no values are listed, or if/if either values are listed
>> or/.
>
> how about:
>
> delete: delete values listed from the modification attribute. If no
> values are listed, or if all current values of the attribute are listed,
> the entire attribute is removed;

Better.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 05:58: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 FAA11697
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 05:58:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Av2NV051026;
	Tue, 9 Nov 2004 10:57: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 iA9Arcio050869;
	Tue, 9 Nov 2004 10:53: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); Tue, 9 Nov 2004 10:53:38 +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 iA9ArY5B050850
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 10:53:35 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.34)
	id 1CRTcx-0006Fn-F8; Tue, 09 Nov 2004 11:53:31 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRTct-0004fU-48; Tue, 09 Nov 2004 11:53:27 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRTcs-0005ru-00; Tue, 9 Nov 2004 11:53:26 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109ogwg@bombur.uio.no>
To: Rici Lake <rici@ricilake.net>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Stringprep Considered Harmful
In-Reply-To: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 11:53:26 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Rici Lake writes:
> draft-ietf-ldapbis-strprep-04.txt would define and require the use of a 
> stringprep profile for many common LDAP attribute types. The stringprep 
> algorithm may fail on certain input strings; if it fails, that input 
> string becomes unmatchable.
> 
> If all such strings were obviously illegitimate, this would not be a 
> problem, but many legitimate strings will fail, and this will create 
> problems, some of them serious.

Yes.  I don't know much about your specific examples, but in general
I've never understood why people feel the advantages of error returns
from stringprep are more important than the problems they cause.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 06:22: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 GAA13184
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 06:22:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9BL237052758;
	Tue, 9 Nov 2004 11:21: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 iA9BJ9vc052513;
	Tue, 9 Nov 2004 11:19:09 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, 9 Nov 2004 11:19:09 +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 iA9BJ8km052502
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 11:19:08 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.34)
	id 1CRU1d-0002Wq-UT; Tue, 09 Nov 2004 12:19:02 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRU1U-0004VU-6i; Tue, 09 Nov 2004 12:18:52 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRU1T-0005vG-00; Tue, 9 Nov 2004 12:18:51 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109o1lq@bombur.uio.no>
To: Steven Legg <steven.legg@eb2bcom.com>
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
In-Reply-To: <418FFE3C.1060000@eb2bcom.com>
References: <s18e790c.087@sinclair.provo.novell.com>
	<418FFE3C.1060000@eb2bcom.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 12:18:51 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven Legg writes:
> ASN.1 doesn't have a requirement that tag numbers have to be
> ascending.  It is perfectly legal for LDAPResult to have a new
> component with tag, say, [50].  (...)

If one does not know that the peer recognizes an LDAPResult extension,
can that extension be used at all in COMPONENTS OF LDAPResult followed
by some other element?  My guess is no, unless COMPONENTS OF for some
reason is an exception to 'known elements precede unknown elements'.
Even if an extension is standardized, that doesn't mean the peer is
updated to recognize that new standard.


My impression from this thread, with some liberal guessing about what
the ASN.1 speak means:-) is that the BindAuthData and ModifyChangeData
extensions I suggested seem useful, and that a similar extension to
LDAPResult would have been useful if it had been in the standard.
Though one could define it + an extension (either an ASN.1 field or a
control) for clients to inform servers which extensions they recognize.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 06:32: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 GAA13783
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 06:32:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9BR1pE053505;
	Tue, 9 Nov 2004 11:31: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 iA9BNN7h053124;
	Tue, 9 Nov 2004 11:23: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, 9 Nov 2004 11:23:23 +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 iA9BNMKE053106
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 11:23:22 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.34)
	id 1CRU5n-0003CE-55; Tue, 09 Nov 2004 12:23:19 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRU55-0006Z4-8H; Tue, 09 Nov 2004 12:22:35 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRU54-0005vk-00; Tue, 9 Nov 2004 12:22:34 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109nzd6@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: absent matchingRule (was Re: protocol-27 comments #3)
In-Reply-To: <s18f8232.008@sinclair.provo.novell.com>
References: <s18f8232.008@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 12:22:34 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> Which means just (:dn:=foo) is not allowed. Maybe the draft should
>>>> suggest that one can use (1.1:dn:=foo).
>>
>> Looking at the description of dnAttributes under extensibleMatch in
>> 4.5.1. Search Request, it returns TRUE if a DN attribute matches foo -
>> regardless of Undefined or False from the rest of the filter. 
> 
> Hmm, to me it looks like the attribute type is unknown, thus the entire
> filter item would be Undefined.

You are right.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 06:39: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 GAA14405
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 06:39:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Bd2xn055258;
	Tue, 9 Nov 2004 11:39: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 iA9BXTGQ054534;
	Tue, 9 Nov 2004 11:33:29 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, 9 Nov 2004 11:33:29 +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 iA9BXR0m054503
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 11:33:28 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.34)
	id 1CRUFX-0005NS-OG; Tue, 09 Nov 2004 12:33:23 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRUEj-0001aW-C9; Tue, 09 Nov 2004 12:32:33 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRUEi-0005y5-00; Tue, 9 Nov 2004 12:32:32 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109ntd7@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Wording of Authorization deefinition (was Re: protocol-27
	comments #3)
In-Reply-To: <s18f7e0c.096@sinclair.provo.novell.com>
References: <s18f7e0c.096@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 12:32:32 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> Is this less or more confusing?
> The process of authorization may consider (among other things),
> authentication information obtained during the bind operation, and/or
> may consider other acts of authentication (such as lower layer security
> services).

Less confusing, less neat.  I would
   s/consider (among other things)/among other things consider/
   s/may consider other acts/other acts/.
Or keep the original text, but with s/takes as input/may consider/.

Though now that I see how the original text should be read, I'm not sure
I want to argue it is confusing.  I'm quite capable of confusing myself
without help from the draft.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 07:07: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 HAA16421
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 07:07:09 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Bv1Gk060016;
	Tue, 9 Nov 2004 12:03:03 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 iA9BljvT056387;
	Tue, 9 Nov 2004 11:47:45 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, 9 Nov 2004 11:47:45 +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 iA9BlhJh056355
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 11:47:44 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.34)
	id 1CRUTL-0000UC-Vj; Tue, 09 Nov 2004 12:47:40 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRUT8-0004Sk-P6; Tue, 09 Nov 2004 12:47:26 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRUT8-00060a-00; Tue, 9 Nov 2004 12:47:26 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109nkec@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: derefInSearching (was Re: protocol-27 comments #3)
In-Reply-To: <s18f699f.020@sinclair.provo.novell.com>
References: <s18f699f.020@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 12:47:26 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/8/04 5:59:28 AM
>>> derefInSearching: While searching, dereference any alias entry
>>> subordinate to the base object which is also in the search
>>> scope. The filter is applied to the dereferenced object(s). If
>>> the search scope is wholeSubtree, the search continues in the
>>> subtree of any dereferenced object. Aliases in that subtree are
>>> also dereferenced.
>>
>> This seems to say that recursive dereferencing stops at alias entries
>> that are not subordinate to the base object, and that onelevel
>> searches do not recursively dereference aliases.
>  
> How's this:
>  
> While searching subordinates of the base object, dereference any alias
> within the search scope (the act of dereferencing an alias includes
> recursively dereferencing aliases which refer to aliases). Dereferenced
> objects become the vertices of further search scopes where the Search
> operation continues. If the search scope is wholeSubtree, the Search
> continues in the subtree(s) of any dereferenced object. If the search
> scope is singleLevel, the search is applied to any dereferenced objects,
> and is not applied to their subordinates.

I want to mix the old text with your new text, but I'm not sure how...
Suggestions:

  Move the part about aliasing being recursive directly under
  derefAliases.  Move up 'Servers MUST detect looping...' as well.

  It was perhaps unfortunate to have 'The filter is applied to the
  dereferenced object(s).' _before_ saying that a subtree search
  continues, but OTOH 'Aliases in that subtree are also dereferenced'
  seems worth keeping.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 08:23: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 IAA24033
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 08:23:42 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9DL25A073365;
	Tue, 9 Nov 2004 13:22: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 iA9DJCwk073208;
	Tue, 9 Nov 2004 13:19:12 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, 9 Nov 2004 13:19:12 +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 iA9DJBqY073196
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 13:19:11 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.34)
	id 1CRVtr-0007i8-PJ; Tue, 09 Nov 2004 14:19:07 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRVto-00032r-KT; Tue, 09 Nov 2004 14:19:04 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRVtn-0006D9-00; Tue, 9 Nov 2004 14:19:03 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109m19a@bombur.uio.no>
To: Steven Legg <steven.legg@eb2bcom.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
In-Reply-To: <418FF619.8040508@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no>
	<418FF619.8040508@eb2bcom.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 14:19:03 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven Legg writes:
>Hallvard B Furuseth wrote:
>>[Syntaxes] section 3.3.15 says an IA5 String may be empty.
>> 
>> Why is that, when Directory String and Printable String may not?
> 
> The Directory String and Printable String syntaxes derive from syntaxes
> in X.520 that have been constrained to have at least one character.
> The IA5 String syntax does not have a counterpart in X.520 so it doesn't
> need to be constrained for interoperability reasons.
> (...)
> The working group needs to decide whether to restrict IA5 String to at
> least one character, or to allow empty strings to compare true.

My vote from an LDAP viewpoint would be minimal change, i.e. do not
disallow empty IA5 Strings.

OTOH, if an X.500 implementor wants to support IA5 String, maybe the
reason why X.500 requires 1+ characters in the other string syntaxes,
also would make the same restriction preferable in IA5 String?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 08:58: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 IAA28004
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 08:58:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Dp8Ae075458;
	Tue, 9 Nov 2004 13:57: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 iA9Dm2nY075279;
	Tue, 9 Nov 2004 13:48: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); Tue, 9 Nov 2004 13:48:02 +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 iA9Dlrhp075237
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 13:48:01 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id iA9DlkCO546974
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 08:47:46 -0500
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iA9Dlk4l259498
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 08:47:46 -0500
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iA9DlkXH008669
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 08:47:46 -0500
Received: from d27ml001.rchland.ibm.com (d27ml001.rchland.ibm.com [9.10.229.77])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iA9DlkeS008655
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 08:47:46 -0500
In-Reply-To: <HBF.20041109m19a@bombur.uio.no>
Subject: Re: Empty IA5String
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Tue, 9 Nov 2004 07:47:45 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Build V70_M2_07222004 Beta 2|July
 22, 2004) at 11/09/2004 07:47:46 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





On a personal note, I've always found the notion of an zero-length value
hard to digest.  I could really use a real world example (not in the
drafts, just to help me accept the concept) where a zero-length value has a
different meaning than no value.

Otherwise, from the perspective of not breaking existing implementations
(or applications), since zero-length values are valid for several syntaxes
(distinguished name, octet string, IA5 string), unless someone can make a
good argument for zero-length values being an error in the current RFC, I
don't think we should change it.


John  McMeeking


owner-ietf-ldapbis@OpenLDAP.org wrote on 11/09/2004 07:19:03 AM:

> Steven Legg writes:
> >Hallvard B Furuseth wrote:
> >>[Syntaxes] section 3.3.15 says an IA5 String may be empty.
> >>
> >> Why is that, when Directory String and Printable String may not?
> >
> > The Directory String and Printable String syntaxes derive from syntaxes
> > in X.520 that have been constrained to have at least one character.
> > The IA5 String syntax does not have a counterpart in X.520 so it
doesn't
> > need to be constrained for interoperability reasons.
> > (...)
> > The working group needs to decide whether to restrict IA5 String to at
> > least one character, or to allow empty strings to compare true.
>
> My vote from an LDAP viewpoint would be minimal change, i.e. do not
> disallow empty IA5 Strings.
>
> OTOH, if an X.500 implementor wants to support IA5 String, maybe the
> reason why X.500 requires 1+ characters in the other string syntaxes,
> also would make the same restriction preferable in IA5 String?
>
> --
> Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 09:36: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 JAA02223
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 09:36:03 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9EX81g079325;
	Tue, 9 Nov 2004 14:34: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 iA9ESuxj078916;
	Tue, 9 Nov 2004 14:28:56 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, 9 Nov 2004 14:28:56 +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 iA9ESpaV078895
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 14:28:51 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.34)
	id 1CRWzH-0003iV-WA; Tue, 09 Nov 2004 15:28:48 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRWz3-0004MI-EH; Tue, 09 Nov 2004 15:28:33 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRWz2-0006Om-00; Tue, 9 Nov 2004 15:28:32 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109kvfo@bombur.uio.no>
To: John McMeeking <jmcmeek@us.ibm.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
In-Reply-To: <OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
References: <HBF.20041109m19a@bombur.uio.no>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 15:28:32 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

John McMeeking writes:
> On a personal note, I've always found the notion of an zero-length
> value hard to digest.  I could really use a real world example (not in
> the drafts, just to help me accept the concept) where a zero-length
> value has a different meaning than no value.

I can give you what might have become a real-world example at our site
if Directory Strings could be zero-length:  A 'vacation message'
attribute which the mail system would check.  If the attribute was
present, the mail system would send a vacation message in response to
incoming messages, with a standard initial text + the optional
user-supplied message.

As it is, we ended up another boolean attribute which means 'there is an
active vacation message', and only use the vacation attribute if the
boolean is TRUE.

Except for that, I have no problem with empty attributes in general.
The presence of a value - or of an attribute - is information.  Its
contents is some other information, and its format depends on the
application.  Empty strings are rare, but not useless.  Think of an
empty DN, for example.  (Yes, I know that does not have string syntax.)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 09:45:43 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 JAA03263
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 09:45:42 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Ej3b3080562;
	Tue, 9 Nov 2004 14:45: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 iA9Eiimg080539;
	Tue, 9 Nov 2004 14:44: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); Tue, 9 Nov 2004 14:44: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 iA9Eih6C080529
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 14:44: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 iA9EigZv065201;
	Tue, 9 Nov 2004 14:44:42 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041108160055.031eb298@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 09 Nov 2004 09:45:07 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: T.61 -> Unicode conversion
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20041107oase@bombur.uio.no>
References: <HBF.20041107oase@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:39 PM 11/7/2004, Hallvard B Furuseth wrote:
>As far as I can tell, X.500/LDAP servers and X.500<->LDAP gateways may
>use another mapping between T.61 and Unicode than the one in [Strprep]
>Appendix A for transfer and storage of values, *except* for string
>matching, for which [Strprep] section 2.1 says:
>
>  TeletexString [X.680][T.61] values are transcoded to Unicode as
>  described in Appendix A.
>
>Though I don't quite understand when this sentence applies.

It applies to preparation of values for matching using
any of the matching rules mentioned in the I-D.

>Only for
>X.500/LDAP servers and when transferring values in binary format over
>the protocol?

It used anytime the above matching involves an assertion value
and/or assertion value encoded as T.61.

>Can it happen that a Modify operation contains an UTF-8 value which
>according to Appendix A does not match an existing value in the entry,
>but which the server stores as a T.61 value which does match an existing
>value?

I believe [Models] prevents this through its (values must
be different, values must be preserved) requirements.

>Unless I'm confused about this, Appendix A shouldn't apply to just
>string matching but to converting T.61 strings to Unicode in general.
>
>Also,

I'll leave the remainder to others more familiar with T.61 details.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 09:45:50 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 JAA03302
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 09:45:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Ej3b1080562;
	Tue, 9 Nov 2004 14:45: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 iA9EhxKU080491;
	Tue, 9 Nov 2004 14:43: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, 9 Nov 2004 14:43:59 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9EhvUA080477
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 14:43:58 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.172.186
Received: from [192.168.1.65] (client-200.121.172.186.speedy.net.pe [200.121.172.186] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iA9G54rJ026987
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 16:05:05 GMT
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <C552777B-325D-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
From: Rici Lake <rici@ricilake.net>
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
Date: Tue, 9 Nov 2004 09:13:56 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


On 9-Nov-04, at 6:18 AM, Hallvard B Furuseth wrote:

> If one does not know that the peer recognizes an LDAPResult extension,
> can that extension be used at all in COMPONENTS OF LDAPResult followed
> by some other element?  My guess is no, unless COMPONENTS OF for some
> reason is an exception to 'known elements precede unknown elements'.
> Even if an extension is standardized, that doesn't mean the peer is
> updated to recognize that new standard.

COMPONENTS OF only includes the "root components" of the included type.
That is, any extensions markers (...) and any extension additions are
not included. This is necessary because the SEQUENCE which includes
COMPONENTS OF might have its own extensions, and ASN.1 requires that
all extensions be contiguous (but does not require the contiguous
sequence of extensions to be at the end).

ASN.1 is carefully designed so that a decoder can skip over unknown
extensions. It should not be necessary to use any other mechanism
to make this possible. Of course, it may still useful to be able
to declare which extensions are supported.



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 09:52:31 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 JAA03951
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 09:52:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Ep3TV081169;
	Tue, 9 Nov 2004 14:51: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 iA9EoAxx081043;
	Tue, 9 Nov 2004 14:50: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, 9 Nov 2004 14:50: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 iA9Eo5mm081028
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 14:50:05 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 iA9Eo4Zv065262;
	Tue, 9 Nov 2004 14:50:05 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041109094824.02d94c00@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 09 Nov 2004 09:50:29 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20041109kvfo@bombur.uio.no>
References: <HBF.20041109m19a@bombur.uio.no>
 <OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
 <HBF.20041109kvfo@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:28 AM 11/9/2004, Hallvard B Furuseth wrote:
>John McMeeking writes:
>> On a personal note, I've always found the notion of an zero-length
>> value hard to digest.  I could really use a real world example (not in
>> the drafts, just to help me accept the concept) where a zero-length
>> value has a different meaning than no value.
>
>I can give you what might have become a real-world example at our site
>if Directory Strings could be zero-length:  A 'vacation message'
>attribute which the mail system would check.  If the attribute was
>present, the mail system would send a vacation message in response to
>incoming messages, with a standard initial text + the optional
>user-supplied message.

Use an " " to indicate no user-supplied message...

>As it is, we ended up another boolean attribute which means 'there is an
>active vacation message', and only use the vacation attribute if the
>boolean is TRUE.
>
>Except for that, I have no problem with empty attributes in general.
>The presence of a value - or of an attribute - is information.  Its
>contents is some other information, and its format depends on the
>application.  Empty strings are rare, but not useless.  Think of an
>empty DN, for example.  (Yes, I know that does not have string syntax.)
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 10:07: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 KAA05935
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 10:07:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9F33uX082312;
	Tue, 9 Nov 2004 15:06: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 iA9Evjx3081722;
	Tue, 9 Nov 2004 14:57:45 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, 9 Nov 2004 14:57:45 +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 iA9Evb1Y081658;
	Tue, 9 Nov 2004 14:57:41 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.34)
	id 1CRXR8-000107-5g; Tue, 09 Nov 2004 15:57:34 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRXR0-0004Na-R7; Tue, 09 Nov 2004 15:57:26 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRXR0-0006V8-00; Tue, 9 Nov 2004 15:57:26 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109ke1t@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
In-Reply-To: <6.1.2.0.0.20041109094824.02d94c00@127.0.0.1>
References: <HBF.20041109m19a@bombur.uio.no>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
	<HBF.20041109kvfo@bombur.uio.no>
	<6.1.2.0.0.20041109094824.02d94c00@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 15:57:26 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 09:28 AM 11/9/2004, Hallvard B Furuseth wrote:
>>
>>I can give you what might have become a real-world example at our site
>>if Directory Strings could be zero-length:  A 'vacation message'
>>attribute which the mail system would check.  If the attribute was
>>present, the mail system would send a vacation message in response to
>>incoming messages, with a standard initial text + the optional
>>user-supplied message.
> 
> Use an " " to indicate no user-supplied message...

We could have, but it's a hack.  And it would complicate things a bit
if the software were to be upgraded to give a different standard message
depending on whether or not there is a user-supplied message.
(It says something about "here is a message from the user:".)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 10:07:31 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 KAA05949
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 10:07:30 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9F33uV082312;
	Tue, 9 Nov 2004 15:06: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 iA9F2WjL082261;
	Tue, 9 Nov 2004 15:02: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); Tue, 9 Nov 2004 15:02: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 iA9F2RMw082249
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 15:02: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 iA9F2NZv065373;
	Tue, 9 Nov 2004 15:02:24 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041109095917.0312e0a8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 09 Nov 2004 10:02:48 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <419013DA.1030101@eb2bcom.com>
References: <HBF.20041107pq4q@bombur.uio.no>
 <419013DA.1030101@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:48 PM 11/8/2004, Steven Legg wrote:
>Extensibilty in ASN.1 is essentially linear and assumed to be employed through standards actions (user-defined extensions are handled through open types with component relation constraints - directory attributes fall into this category).

It's my view that guidelines for kinds of ASN.1 extensions are
best left to future documents.

Kurt





From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 10:10: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 KAA06352
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 10:10:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9F93Cj082933;
	Tue, 9 Nov 2004 15:09:04 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 iA9F4lg2082538;
	Tue, 9 Nov 2004 15:04:47 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, 9 Nov 2004 15:04:47 +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 iA9F4iGs082504;
	Tue, 9 Nov 2004 15:04:44 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.34)
	id 1CRXY1-0002No-8N; Tue, 09 Nov 2004 16:04:41 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRXXs-0001PQ-VU; Tue, 09 Nov 2004 16:04:33 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRXXs-0006Vh-00; Tue, 9 Nov 2004 16:04:32 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109k9ry@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: T.61 -> Unicode conversion
In-Reply-To: <6.1.2.0.0.20041108160055.031eb298@127.0.0.1>
References: <HBF.20041107oase@bombur.uio.no>
	<6.1.2.0.0.20041108160055.031eb298@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 16:04:32 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>> Can it happen that a Modify operation contains an UTF-8 value which
>> according to Appendix A does not match an existing value in the entry,
>> but which the server stores as a T.61 value which does match an existing
>> value?
>
> I believe [Models] prevents this through its (values must
> be different, values must be preserved) requirements.

There have been quite a lot of disputes about whether characters in
different character sets are equivalent or not, though I don't know if
that applies to T.61->Unicode mapping.  I do remember that the meaning
of some character combinations were redefined for T.61 (not in relation
to Unicode, I think).  Something about an umlaut-like mark which should
or shouldn't mean umlaut?

Anyway, implementors who disagreed about this would get different
results, and maybe different results from the Appendix.  In particular
if they have implemented T.61->Unicode(LDAP) first, and add stringprep
later.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 10:21: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 KAA08171
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 10:21:55 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9FL3Ku084066;
	Tue, 9 Nov 2004 15:21: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 iA9FFIED083653;
	Tue, 9 Nov 2004 15:15: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); Tue, 9 Nov 2004 15:15:18 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9FFG6L083618
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 15:15:17 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.172.186
Received: from [192.168.1.65] (client-200.121.172.186.speedy.net.pe [200.121.172.186] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iA9GaQrJ027792;
	Tue, 9 Nov 2004 16:36:28 GMT
In-Reply-To: <HBF.20041109ogwg@bombur.uio.no>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net> <HBF.20041109ogwg@bombur.uio.no>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed
Message-Id: <268046C0-3262-11D9-ADDC-000A957D48A8@ricilake.net>
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: Stringprep Considered Harmful (A concrete example)
Date: Tue, 9 Nov 2004 10:15:11 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iA9FFH6L083628
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit


On 9-Nov-04, at 5:53 AM, Hallvard B Furuseth wrote:

> Yes.  I don't know much about your specific examples, but in general
> I've never understood why people feel the advantages of error returns
> from stringprep are more important than the problems they cause.

Let me be clear. I think that IDNA is a perfectly acceptable way to
internationalise domain names. However, it differs from LDAP in that
it defines a canonical comparison rule for a specific naming domains
(DNS domain names) whereas LDAP is intended to be a general purpose
protocol applicable to a wide variety of naming domains.

Here is a concrete example (which requires a unicode mail reader,  
sorry.)

I don't speak Arabic, so I hope it is not rude; the example word comes
from Simon Josefsson's example page; I simply modified it to be a full
domain name

Suppose that this domain has been registered:

Mohammed@ليهمابتكلموشعربي؟.com.nu

(I believe .nu accepts IDNA domains)

IBM's idna demo page:
<http://oss.software.ibm.com/cgi-bin/icu/idnademo? 
t=www.ليهمابتكلموشعربي؟.com.nu>

shows the ToAscii transform of this domain name as:

   www.xn--egbpdaj6bu4bxfgehfvwxn.com.nu

You can see that the transformation has been done component by component
(label by label, as IDNA says). The bidi rule succeeded on each  
component.
Changing the first . to a - makes the first label invalid:

   www-ليهمابتكلموشعربي؟.com.nu

<http://oss.software.ibm.com/cgi-bin/icu/idnademo?t=www- 
ليهمابتكلموشعربي؟.com.nu>

So the second one is not a valid domain name. (That's irrelevant, I  
just wanted to show what happens when the bidi rule fails.)


However, if the bidi rule is applied to the domain name *as a whole*,
both will fail. Use of this domain name in an LDAP directory would be  
fine

   cn=Mohammed,dc=www,dc=-ليهمابتكلموشعربي؟,dc=com,dc=nu

However, the above cannot itself be used as a (useful) DirectoryString  
because
it will not match even itself.

If the LDAP directory contained email addresses:

   email: Mohammed@ليهمابتكلموشعربي؟.com.nu

Now this attribute is almost completely useless to me. While I could  
search the directory for email addresses by suffix: (email=*com.nu), It  
would not show up in the list because the stored value fails the bidi  
test. I cannot search the directory for that particular domain name:  
(email=*@ليهمابتكلموشعربي؟.com.nu) because the assertion will fail the  
bidi test. If I get desperate and try to Modify the address to insert  
the idna-transformed using {delete  
email=Mohammed@ليهمابتكلموشعربي؟.com.nu, add  
email=Mohammed@xn--egbpdaj6bu4bxfgehfvwxn.com.nu}, the delete will fail  
because the bidi rule fails. (That might not be a disaster in this  
case, but it is easy to see where it might be.)

I hope that makes my concern clearer.







From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 10:31: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 JAA03264
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 09:45:42 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Ed3XH079813;
	Tue, 9 Nov 2004 14:44: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 iA9EaxmZ079672;
	Tue, 9 Nov 2004 14: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, 9 Nov 2004 14:36:58 +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 iA9Eavw5079662
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 14:36: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 iA9EauZv065067;
	Tue, 9 Nov 2004 14:36:56 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041109090923.02f67850@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 09 Nov 2004 09:37:21 -0500
To: John McMeeking <jmcmeek@us.ibm.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@
 us.ibm.com>
References: <HBF.20041109m19a@bombur.uio.no>
 <OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:47 AM 11/9/2004, John McMeeking wrote:
>On a personal note, I've always found the notion of an zero-length value
>hard to digest.  I could really use a real world example (not in the
>drafts, just to help me accept the concept) where a zero-length value has a
>different meaning than no value.

I concur. 

>Otherwise, from the perspective of not breaking existing implementations
>(or applications),

Which applications would we be breaking?  Is there actually
interoperability between implementor of IA5 string?

I argue that allowing empty IA5 strings might actually break
more applications.

>since zero-length values are valid for several syntaxes
>(distinguished name, octet string, IA5 string),

The problem I have with empty IA5 strings is that the
matching semantics of them is not clear, both when
comparing IA5 strings to IA5 strings, but also when
comparing IA5 strings to Directory strings.

>unless someone can make a
>good argument for zero-length values being an error in the current RFC,
>I don't think we should change it.

I believe it was the intent of designers of RFC 1274 for the
IA5String syntax to disallow empty IA5 string values.  I
believe it was their intent that IA5 string values behave
in a manner consistent with X.500 directory strings.
Note that in RFC 1274 any where that a max size limit was
stated for a value, it was listed as (1..N) not (0..N).
This implies that the when no constraint was stated, that
(1..) was intended.  Note also for all of the attributes
(mail, domain names, etc.) introduced of this syntax, empty
values are nonsense.

That is, it can be reasonable argued that it would be a
change to REMOVE the restriction implied by RFC 1274
(and possible other ISDs).


>John  McMeeking
>
>
>owner-ietf-ldapbis@OpenLDAP.org wrote on 11/09/2004 07:19:03 AM:
>
>> Steven Legg writes:
>> >Hallvard B Furuseth wrote:
>> >>[Syntaxes] section 3.3.15 says an IA5 String may be empty.
>> >>
>> >> Why is that, when Directory String and Printable String may not?
>> >
>> > The Directory String and Printable String syntaxes derive from syntaxes
>> > in X.520 that have been constrained to have at least one character.
>> > The IA5 String syntax does not have a counterpart in X.520 so it
>doesn't
>> > need to be constrained for interoperability reasons.
>> > (...)
>> > The working group needs to decide whether to restrict IA5 String to at
>> > least one character, or to allow empty strings to compare true.
>>
>> My vote from an LDAP viewpoint would be minimal change, i.e. do not
>> disallow empty IA5 Strings.
>>
>> OTOH, if an X.500 implementor wants to support IA5 String, maybe the
>> reason why X.500 requires 1+ characters in the other string syntaxes,
>> also would make the same restriction preferable in IA5 String?
>>
>> --
>> Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 10:35: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 KAA10079
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 10:35:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9FX8B0084969;
	Tue, 9 Nov 2004 15:34: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 iA9FRaMS084587;
	Tue, 9 Nov 2004 15:27:37 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, 9 Nov 2004 15:27:36 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9FRZwY084577
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 15:27:35 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.172.186
Received: from [192.168.1.65] (client-200.121.172.186.speedy.net.pe [200.121.172.186] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iA9GmjrJ028513
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 16:48:45 GMT
Mime-Version: 1.0 (Apple Message framework v619)
In-Reply-To: <268046C0-3262-11D9-ADDC-000A957D48A8@ricilake.net>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net> <HBF.20041109ogwg@bombur.uio.no> <268046C0-3262-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Message-Id: <DF44AE72-3263-11D9-ADDC-000A957D48A8@ricilake.net>
From: Rici Lake <rici@ricilake.net>
Subject: Re: Stringprep Considered Harmful (A concrete example, small correction)
Date: Tue, 9 Nov 2004 10:27:31 -0500
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iA9FRawY084578
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Oops. Either me or my email client got confused at all the 
right-to-lefting.
The first example should read:

  www.ليهمابتكلموشعربي؟.com.nu

instead of

  Mohammed@ليهمابتكلموشعربي؟.com.nu

On 9-Nov-04, at 10:15 AM, Rici Lake wrote:
...


If anyone cannot read this message (and wants to) let me know and I'll 
email you a pdf.

R.




From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 10:54: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 KAA12403
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 10:54:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Fj3Br086036;
	Tue, 9 Nov 2004 15:53:39 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 iA9FgWia085822;
	Tue, 9 Nov 2004 15:42: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); Tue, 9 Nov 2004 15:42:32 +0000
Received: from e4.ny.us.ibm.com (e4.ny.us.ibm.com [32.97.182.104])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9FgSgd085791;
	Tue, 9 Nov 2004 15:42:29 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e4.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id iA9FgQCE843634;
	Tue, 9 Nov 2004 10:42:26 -0500
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iA9FgPZY260256;
	Tue, 9 Nov 2004 10:42:25 -0500
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iA9FgPd1027987;
	Tue, 9 Nov 2004 10:42:25 -0500
Received: from d27ml001.rchland.ibm.com (d27ml001.rchland.ibm.com [9.10.229.77])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iA9FgPEA027771;
	Tue, 9 Nov 2004 10:42:25 -0500
In-Reply-To: <6.1.2.0.0.20041109090923.02f67850@127.0.0.1>
Subject: Re: Empty IA5String
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OF299BB702.AC1DA2BC-ON86256F47.0054F097-86256F47.00564539@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Tue, 9 Nov 2004 09:42:18 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Build V70_M2_07222004 Beta 2|July
 22, 2004) at 11/09/2004 09:42:25 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote on 11/09/2004 08:37:21 AM:

> At 08:47 AM 11/9/2004, John McMeeking wrote:
> >Otherwise, from the perspective of not breaking existing implementations
> >(or applications),
>
> Which applications would we be breaking?  Is there actually
> interoperability between implementor of IA5 string?

I'm assuming there could be a client application that is storing
zero-length strings (IA5 String, that is) in a directory on the basis of
the current RFC's definition of zero or more characters.  If we changed the
definition of IA5 String to one or more characters, and the server vendor
changed their server implementation to match, a previously working (and
valid) application could start failing.  It could also present problems for
the server in dealing with existing entries containing what just became
illegal data.

>
> I argue that allowing empty IA5 strings might actually break
> more applications.
>

I agree with that.  I've seen more than a few applications that would not
work if they got a zero-length value - string or otherwise.  You could
argue that is a problem with the application not taking into consideration
that an attribute can have a zero-length value.  But you could also argue
that something (a syntax) that breaks applications in this way is poorly
designed.


John  McMeeking



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 11:21: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 LAA15354
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 11:21:16 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9GF4ub089423;
	Tue, 9 Nov 2004 16:20: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 iA9GEkoY089408;
	Tue, 9 Nov 2004 16:14: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); Tue, 9 Nov 2004 16:14:46 +0000
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9GEjrp089397
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 16:14:45 GMT
	(envelope-from rlmorgan@washington.edu)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9])
	by mxout5.cac.washington.edu (8.13.1+UW04.08/8.13.1+UW04.09) with ESMTP id iA9GEiQr016005
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 08:14:44 -0800
Received: from [130.129.133.230] ([130.129.133.230])
	(authenticated bits=0)
	by smtp.washington.edu (8.13.1+UW04.08/8.13.1+UW04.08) with ESMTP id iA9GEhnP030387
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT)
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 08:14:44 -0800
Date: Tue, 9 Nov 2004 11:14:45 -0500 (EST)
From: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
X-X-Sender: rlmorgan@perp.cac.washington.edu
To: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Subject: draft-ietf-ldapbis-dn-15.txt : recommend for Proposed Standard
Message-ID: <Pine.LNX.4.61.0411051104540.21696@perp.cac.washington.edu>
MIME-Version: 1.0
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


This document:

   Title:  LDAP: String Representation of Distinguished Names
    File:  draft-ietf-ldapbis-dn-15.txt
  Editor:  Kurt D. Zeilenga

has been determined by the WG chairs to be ready for submission to the 
IESG for consideration as a Proposed Standard.  It has been through WG 
Last Call (in its -10 version, over a year ago), and has been subject to 
some recent modest revisions, as noted in:

   http://www.openldap.org/lists/ietf-ldapbis/200410/msg00081.html

We believe WG consensus supports this document going forward now.

Note that at the IESG's request we'll be submitting the ldapbis 
standards-track documents to them in several small batches.  This doc will 
be part of the first batch.  Note also that there will be opportunity to 
comment on all the documents during IETF-wide Last Call.

  - RL "Bob" Morgan



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 11:21: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 LAA15420
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 11:21:46 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9GL3fL089954;
	Tue, 9 Nov 2004 16:21:04 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 iA9GIqgd089747;
	Tue, 9 Nov 2004 16:18: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); Tue, 9 Nov 2004 16:18:52 +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 iA9GImtS089716;
	Tue, 9 Nov 2004 16:18:49 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.34)
	id 1CRYhh-0006O2-Gp; Tue, 09 Nov 2004 17:18:45 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRYhY-0003sL-HF; Tue, 09 Nov 2004 17:18:36 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRYhX-0006hG-00; Tue, 9 Nov 2004 17:18:35 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109j17f@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
In-Reply-To: <6.1.2.0.0.20041109090923.02f67850@127.0.0.1>
References: <HBF.20041109m19a@bombur.uio.no>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@
 us.ibm.com>
	<6.1.2.0.0.20041109090923.02f67850@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 17:18:35 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I'm of three minds (at least) about this...

Kurt D. Zeilenga writes:
> The problem I have with empty IA5 strings is that the
> matching semantics of them is not clear, both when
> comparing IA5 strings to IA5 strings, but also when
> comparing IA5 strings to Directory strings.

I don't understand.  With stringprep that is currently so, but that's
why we are still working on it...

Pre-stringprep I don't see any problem with comparing IA5 with IA5.

I can see comparing empty IA5 with Directory String could be a problem
if caseIgnoreMatch or whatever expects non-empty strings.  On the other
hand, caseIgnoreMatch cannot be used with IA5 String values according to
[syntaxes].  On the third limb, I believe LDAP implementations have been
lax about that (maybe because it was only said somewhere in X.500, not
in the LDAP standard).

> I believe it was the intent of designers of RFC 1274 for the
> IA5String syntax to disallow empty IA5 string values.  I
> believe it was their intent that IA5 string values behave
> in a manner consistent with X.500 directory strings.

What the original intent was doesn't seem to relevant by now, but it
does seem likely that implementors will have implemented them to be
consistent with the other syntaxes.

> Note that in RFC 1274 any where that a max size limit was
> stated for a value, it was listed as (1..N) not (0..N).
> This implies that the when no constraint was stated, that
> (1..) was intended.

Why so?

> That is, it can be reasonable argued that it would be a
> change to REMOVE the restriction implied by RFC 1274
> (and possible other ISDs).

Yes.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 11:41: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 KAA12404
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 10:54:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Fj3Bp086036;
	Tue, 9 Nov 2004 15:53: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 iA9Fh6Dl085997;
	Tue, 9 Nov 2004 15:43: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); Tue, 9 Nov 2004 15:43: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 iA9Fh3mY085964;
	Tue, 9 Nov 2004 15:43:04 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.34)
	id 1CRY96-0000Tv-G6; Tue, 09 Nov 2004 16:43:00 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRY8z-0004FQ-Gd; Tue, 09 Nov 2004 16:42:53 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRY8z-0006cq-00; Tue, 9 Nov 2004 16:42:53 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109jmpd@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: T.61 -> Unicode conversion
In-Reply-To: <HBF.20041109k9ry@bombur.uio.no>
References: <HBF.20041107oase@bombur.uio.no>
	<6.1.2.0.0.20041108160055.031eb298@127.0.0.1>
	<HBF.20041109k9ry@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 16:42:53 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Hallvard B Furuseth writes:
> There have been quite a lot of disputes about whether characters in
> different character sets are equivalent or not, though I don't know if
> that applies to T.61->Unicode mapping.

Come to think of it, I probably do know: Stringprep Appendix A says it's
based on RFC 1345 (an informational RFC, not a standard) rather than a
Unicode mapping or some X.500 work, and also that makes corrections to
the RFC 1345 mapping.  (If RFC 1345 is standard in the X.500 community,
please mention that in the appendix.  I'm assuming it's not.)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 11:42: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 LAA17848
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 11:42:10 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9GdCEY090865;
	Tue, 9 Nov 2004 16:40: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 iA9GZ9qt090688;
	Tue, 9 Nov 2004 16:35:09 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, 9 Nov 2004 16:35:09 +0000
Received: from imf24aec.mail.bellsouth.net (imf24aec.mail.bellsouth.net [205.152.59.72])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9GYvXB090656
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 16:35:02 GMT
	(envelope-from aok123@bellsouth.net)
Received: from [172.16.1.7] ([65.80.200.112])
          by imf24aec.mail.bellsouth.net
          (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP
          id <20041109163424.SMYJ2410.imf24aec.mail.bellsouth.net@[172.16.1.7]>;
          Tue, 9 Nov 2004 11:34:24 -0500
Message-ID: <4190F19B.5010505@bellsouth.net>
Date: Tue, 09 Nov 2004 11:34:35 -0500
From: Alex Karasulu <aok123@bellsouth.net>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Steven Legg <steven.legg@eb2bcom.com>
CC: ietf-ldapbis@OpenLDAP.org,
        Directory Developers List <directory-dev@incubator.apache.org>
Subject: Re: [filter] interpretting presence verses substring with whitespace
References: <418FA7D7.3040706@bellsouth.net> <4190246F.4010901@eb2bcom.com>
In-Reply-To: <4190246F.4010901@eb2bcom.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Steven,

Funny I was following all the discussions around stringprep and it 
occurred to me that it might have something to do with this matter.  
Seems like I have some homework to do.  I'm going to reread your reponse 
here and those trails a few more times. 

Much appreciated,
Alex Karasulu

Steven Legg wrote:

>
> Hi Alex,
>
> Alex Karasulu wrote:
>
>> Hello,
>>
>> I have some questions regarding the interpretation of LDAP search 
>> filters specifically differentiating between presence and substring 
>> items when whitespace is present.  According to the ABNF describing 
>> these rules in [FILTERS], and some additional rules in [MODELS] ,
>>
>>      ...
>>      present        = attr EQUALS ASTERISK
>>      substring      = attr EQUALS [initial] any [final]
>>      initial        = assertionvalue
>>      any            = ASTERISK *(assertionvalue ASTERISK)
>>      final          = assertionvalue
>>      attr           = attributedescription
>>      ...,
>>
>> the presence of whitespace is considered significant in the 
>> assertionvalue.  Please correct me if I'm wrong but this means that 
>> the following filter expressions are interpreted differently:
>>
>> (for simplicity I'm equating whitespace to be a single space 
>> character, %x20)
>>
>> 1. (ou=*)
>>    - there is no whitespace at all
>>    - interpreted as a presence filter
>>    - matches all entries containing the ou attribute
>> 2. (ou= *)
>>    - there is whitespace before the ASTERISK after the EQUALS
>>    - interpreted as a substring filter
>>    - the space is interpreted as the [initial]
>>    - matches all values of ou starting with a space, %x20
>
>
> The exact matching behaviour depends on the attribute type. Typically 
> though,
> it will be equivalent to caseIgnoreSubstringsMatch. Assuming that is 
> the case
> then the current ldapbis specifications would invoke stringprep on each
> candidate attribute value and each substring of the assertion. The 
> result will
> be that no attribute value will have (for matching purposes) a leading 
> space.
> The initial substring will get reduced to empty which then becomes a
> single space. After that it is a code point comparison. Since no 
> attribute
> value has a leading space, none are matched, and the result is empty.
>
> This isn't the intuitive result either. The same occurs in the other 
> examples
> for much the same reasons.
>
> Treating the whitespace as insignificant (unless escaped) in the string
> representation of the filter partly helps as it makes all your examples
> equivalent to a present match, but there would still be a problem with
> cases where the whitespace is explicitly escaped. Stringprep will still
> cause (ou=\20*) to match nothing.
>
> It seams to me that stringprep should allow a result string to be empty,
> rather than replacing it by a single space. If that were the case then an
> initial substring of " " would be reduced to an empty string, which would
> trivially match every value, giving the same effect as a presence match.
> Similarly, an any substring that reduces to an empty string is trivially
> satisfied and so is effectively ignored. In fact, this change to 
> stringprep
> would make escaping of whitespace in the string representation of filters
> largely moot.
>
> Regards,
> Steven
>
>> 3. (ou=* )
>>    - there is whitespace after the ASTERISK before the RPAREN
>>    - interpreted as a substring filter
>>    - the space is interpreted as the [final]
>>    - matches all values of ou ending with a space, %x20
>> 4. (ou= * )
>>    - there is whitespace before the ASTERISK and after the ASTERISK
>>    - interpreted as a substring filter
>>    - the first and last spaces are interpreted as the [initial] and 
>> [final] values respectively
>>    - matches all values of ou starting and ending with a space, %x20
>> 5. there's another class where two or more ASTERISKS sandwich 
>> whitespace: (ou=* *)
>>    - although other forms would be a bit nonsensical this one may be 
>> valid and would match      all entires with ou values starting or 
>> ending with a space, %x20
>>
>> Are these correct interpretations according to the ABNF and is the 
>> matching behavior correct?
>>
>> Now I'd like to open for discussion whether or not these 
>> interpretations are intuitively correct.  As an end user issuing 
>> search filters to a directory I've come to expect the directory to be 
>> extra forgiving when it comes to things like whitespace.  Users have 
>> gotten this feeling regarding whitespace forgiveness from the way 
>> distinguished names are normalized by the directory.  It's intuitive 
>> for the user to presume some of this forgiving nature extends to 
>> filters which can match on attributes with the DN syntax.  So looking 
>> at the examples above I can see how a user may think that all these 
>> filters are in fact equal to one another.  The user is not thinking, 
>> "=* is a distinct atomic operator token to a parser and is 
>> inseparable where a space makes it no longer a presence ffilter."  
>> The user thinks well I'm matching for anything.    What if they just 
>> like to put spaces around parentheses in their filter expressions?  
>> This space forgiving nature is "turned on" for matching normal 
>> equality expressions on attributes like ou and is especially 
>> forgiving if distinguishedNameMatch is in effect for respective 
>> attributes.
>>
>> So would you agree that there is some mismatch between the hard ABNF 
>> interpretation and the mental interpolation of users writing 
>> filters?  IMO I think all whitespace should be escaped if 
>> significant.  Otherwise whitespace should be trimmed from the edges 
>> of attributevalues.  Also whitespace within the interior of the value 
>> should be reduced to a single space to preserve tokenization order 
>> while matching.  With regard to substring items the 'any' pieces 
>> between two ASTERISKS  that are purely composed of whitespace should 
>> be discarded and the ASTERISKS consolidated into one.
>>
>> This makes life tougher on those that really want to match based on 
>> whitespace.  However they can just escape out the whitespace in their 
>> filters like so:
>>
>> 1. (ou=*)
>> 2. (ou=\20*)
>> 3. (ou=*\20)
>> 4. (ou=\20*\20)
>> 5. (ou=*\20*)
>>
>> Comments? Thoughts?
>>
>> Thanks,
>> Alex
>>
>>  [Filters]     Smith, M. (editor), LDAPbis WG, "LDAP: String
>>                Representation of Search Filters",
>>                draft-ietf-ldapbis-filter-xx.txt, a work in progress.
>>
>>  [Models]      Zeilenga, K. (editor), "LDAP: Directory Information 
>> Models",
>>                draft-ietf-ldapbis-models-xx.txt, a work in progress.
>>
>>
>>
>>
>



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 13:27: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 NAA27517
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 13:27:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9IL4LI095329;
	Tue, 9 Nov 2004 18:25: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 iA9IH6kd095079;
	Tue, 9 Nov 2004 18:17: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); Tue, 9 Nov 2004 18:17:06 +0000
Received: from smtp1.su.se (smtp1.su.se [130.237.162.112])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9IH349095066
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 18:17:04 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp1.su.se [127.0.0.1])
	by smtp1.su.se (Postfix) with ESMTP id 0FC1E39C9A;
	Tue,  9 Nov 2004 19:16:58 +0100 (CET)
Received: from smtp1.su.se ([127.0.0.1])
 by localhost (smtp1.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 04635-01-96; Tue,  9 Nov 2004 19:16:57 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.su.se (Postfix) with ESMTP id 9BF28387C7;
	Tue,  9 Nov 2004 19:16:50 +0100 (CET)
Message-ID: <41910990.6070006@it.su.se>
Date: Tue, 09 Nov 2004 19:16:48 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla Thunderbird 0.9 (X11/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041109m19a@bombur.uio.no>	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com> <HBF.20041109kvfo@bombur.uio.no>
In-Reply-To: <HBF.20041109kvfo@bombur.uio.no>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


 >
 > I can give you what might have become a real-world example at our site
 > if Directory Strings could be zero-length:  A 'vacation message'
 > attribute which the mail system would check.  If the attribute was
 > present, the mail system would send a vacation message in response to
 > incoming messages, with a standard initial text + the optional
 > user-supplied message.
 >
 > As it is, we ended up another boolean attribute which means 'there is an
 > active vacation message', and only use the vacation attribute if the
 > boolean is TRUE.
 >

I'd say the typical solution is that the attribute is an optional 
attribute of an objectClass indicating the function of a vacation
message. The filter is then objectClass=something rather than the
presence-filter based on the vaction attribute.

	MVH leifj


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 13:54: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 NAA00207
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 13:54:34 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Ij4PC097334;
	Tue, 9 Nov 2004 18:53: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 iA9IfRhw097059;
	Tue, 9 Nov 2004 18:41: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, 9 Nov 2004 18:41: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 iA9IfP1p097047
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 18:41:25 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 iA9IfOZv066553
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 18:41:24 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 09 Nov 2004 13:41:49 -0500
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: LDAP terminology proposal
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

An ad-hoc engineering team consisting of Jim, Roger, Hallvard,
Bob, and myself offer the following proposal for WG consideration
to address LDAP session terminology issues (related to the LDAPBIS
I-Ds use of "LDAP exchange", "connection", "LDAP association" and
related terms.  The proposal basically(*) replaces the term
"LDAP exchange" as used in [Protocol] with the term "LDAP stream",
and (re)introduces the term "LDAP session".  Also, as part of this
proposal, the terms "exchange" and "association" would not take on
any LDAPBIS-specific meaning.  That is, they are (and would be)
used in the dictionary and/or RFC 2828 sense.

(* It is recognized that in some cases the old terms cannot
(or should not) simply be replaced with new terms.  Some minor
tweaking would be needed here and there, and the WG would need
to carefully review that tweaking.)

The terms would be defined as follows:

	"connection" refers to the underlying transport services 
       used to carry the protocol exchange, as well as
	associations established by these services.

	"TLS layer" refers to TLS services used in providing
	security services, as well as associations
	established by these services.

	"SASL layer" refers to SASL services used in providing
	security services, as well as associations established
	by these services.

	"LDAP stream" refers to the LDAP Message (PDU) services
	used in providing directory services, as well as associations
	established by these services.

	"LDAP session" refers to combined services (connection, TLS
	layer, SASL layer, LDAP stream) and their associations.

The following diagram illustrates how the component services
of an LDAP session relate to each other:

               +------------------+
               |    LDAP stream   |
               +------------------+ > LDAP PDUs
               +------------------+ < data
               |    SASL layer    |
               +------------------+ > SASL-protected data
               +------------------+ < data
               |    TLS layer     |
   Application +------------------+ > TLS-protected data               
   ------------+------------------+ < data
     Transport |    connection    |
               +------------------+

To further illustrate the use intended by this proposal, the following is
how these terms would be used in [Protocol, 4.3]:

   The function of the Unbind Operation is to terminate an LDAP session.
   The Unbind operation is not the antithesis of the Bind operation as
   the name implies. The naming of these operations is historical. The
   Unbind operation should be thought of as the "quit" operation.
   
   The Unbind Operation is defined as follows:                
     
        UnbindRequest ::= [APPLICATION 2] NULL
   
   The Unbind Operation has no response defined. The client, upon
   transmission of the UnbindRequest, and the server, upon receipt
   of the UnbindRequest are to close the LDAP session as follows:
	1) close the LDAP stream and cease sending LDAP messages,
	2) close the SASL layer (if installed),
	3) close the TLS layer (if installed), and
	4) close the connection.
   Uncompleted operations are handled as specified in Section 5.1.

Comments?



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 15:47: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 PAA11261
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 15:47:08 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9KjABK005009;
	Tue, 9 Nov 2004 20:45: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 iA9KiVfj004983;
	Tue, 9 Nov 2004 20:44: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, 9 Nov 2004 20:44:30 +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 iA9KiSLp004914;
	Tue, 9 Nov 2004 20:44:28 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 09 Nov 2004 13:44:07 -0700
Message-Id: <s190c9a7.008@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 09 Nov 2004 13:43:54 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <steven.legg@eb2bcom.com>, <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Along with this view, I'll propose that the current wording in
[Protocol] (below) is sufficient, and defers the mechanisms and usages
of extensibility to X.680. I believe the intent of RFC 2251 and the
intent of [Protocol] is to follow the extensibility rules of X.680 and
not add additional requirements, clarifications, guidelines, etc.
 
"In order to support future extensions to this protocol, extensibility
is implied where it is allowed per ASN.1"

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/9/04 10:02:48 AM >>>
At 07:48 PM 11/8/2004, Steven Legg wrote:
>Extensibilty in ASN.1 is essentially linear and assumed to be employed
through standards actions (user-defined extensions are handled through
open types with component relation constraints - directory attributes
fall into this category).

It's my view that guidelines for kinds of ASN.1 extensions are
best left to future documents.

Kurt






From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 15:57: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 PAA12085
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 15:57:56 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Kv5Or005462;
	Tue, 9 Nov 2004 20:57: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 iA9KpuAX005297;
	Tue, 9 Nov 2004 20:51:56 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, 9 Nov 2004 20:51:56 +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 iA9Kppjc005266
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 20:51:55 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 09 Nov 2004 13:51:31 -0700
Message-Id: <s190cb63.032@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 09 Nov 2004 13:51:18 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Wording of Authorization deefinition (was Re: protocol-27
	comments #3)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

ok, new text is:

The process of authorization may, among other things, consider
authentication information obtained during the bind operation, and/or
other acts of authentication (such as lower layer security services).

Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/9/04 6:32:32 AM
>>>
Jim Sermersheim writes:
> Is this less or more confusing?
> The process of authorization may consider (among other things),
> authentication information obtained during the bind operation,
and/or
> may consider other acts of authentication (such as lower layer
security
> services).

Less confusing, less neat. I would
s/consider (among other things)/among other things consider/
s/may consider other acts/other acts/.
Or keep the original text, but with s/takes as input/may consider/.

Though now that I see how the original text should be read, I'm not
sure
I want to argue it is confusing. I'm quite capable of confusing myself
without help from the draft.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 16:21: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 QAA13991
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 16:21:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9LFAUd006194;
	Tue, 9 Nov 2004 21:20:04 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 iA9LBOdq006035;
	Tue, 9 Nov 2004 21:11: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); Tue, 9 Nov 2004 21:11:24 +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 iA9LBKGu006002;
	Tue, 9 Nov 2004 21:11:21 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 09 Nov 2004 14:11:00 -0700
Message-Id: <s190cff4.007@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 09 Nov 2004 14:10:46 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: LDAP terminology proposal
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartCCEC1146.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

As mentioned in the WG meeting today, I prefer "PDU layer" or "LDAP
message layer" over "LDAP sream" for what is being defined here.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/9/04 1:41:49 PM >>>
An ad-hoc engineering team consisting of Jim, Roger, Hallvard,
Bob, and myself offer the following proposal for WG consideration
to address LDAP session terminology issues (related to the LDAPBIS
I-Ds use of "LDAP exchange", "connection", "LDAP association" and
related terms. The proposal basically(*) replaces the term
"LDAP exchange" as used in [Protocol] with the term "LDAP stream",
and (re)introduces the term "LDAP session". Also, as part of this
proposal, the terms "exchange" and "association" would not take on
any LDAPBIS-specific meaning. That is, they are (and would be)
used in the dictionary and/or RFC 2828 sense.

(* It is recognized that in some cases the old terms cannot
(or should not) simply be replaced with new terms. Some minor
tweaking would be needed here and there, and the WG would need
to carefully review that tweaking.)

The terms would be defined as follows:

"connection" refers to the underlying transport services 
used to carry the protocol exchange, as well as
associations established by these services.

"TLS layer" refers to TLS services used in providing
security services, as well as associations
established by these services.

"SASL layer" refers to SASL services used in providing
security services, as well as associations established
by these services.

"LDAP stream" refers to the LDAP Message (PDU) services
used in providing directory services, as well as associations
established by these services.

"LDAP session" refers to combined services (connection, TLS
layer, SASL layer, LDAP stream) and their associations.

The following diagram illustrates how the component services
of an LDAP session relate to each other:

+------------------+
| LDAP stream |
+------------------+ > LDAP PDUs
+------------------+ < data
| SASL layer |
+------------------+ > SASL-protected data
+------------------+ < data
| TLS layer |
Application +------------------+ > TLS-protected data 
------------+------------------+ < data
Transport | connection |
+------------------+

To further illustrate the use intended by this proposal, the following
is
how these terms would be used in [Protocol, 4.3]:

The function of the Unbind Operation is to terminate an LDAP session.
The Unbind operation is not the antithesis of the Bind operation as
the name implies. The naming of these operations is historical. The
Unbind operation should be thought of as the "quit" operation.

The Unbind Operation is defined as follows: 

UnbindRequest ::= [APPLICATION 2] NULL

The Unbind Operation has no response defined. The client, upon
transmission of the UnbindRequest, and the server, upon receipt
of the UnbindRequest are to close the LDAP session as follows:
1) close the LDAP stream and cease sending LDAP messages,
2) close the SASL layer (if installed),
3) close the TLS layer (if installed), and
4) close the connection.
Uncompleted operations are handled as specified in Section 5.1.

Comments?


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">As mentioned in the =
WG meeting today, I prefer "PDU layer" or "LDAP message layer" over "LDAP =
sream" for what is being defined here.<BR><BR>&gt;&gt;&gt; "Kurt D. =
Zeilenga" &lt;Kurt@OpenLDAP.org&gt; 11/9/04 1:41:49 PM &gt;&gt;&gt;<BR>An =
ad-hoc engineering team consisting of Jim, Roger, Hallvard,<BR>Bob, and =
myself offer the following proposal for WG consideration<BR>to address =
LDAP session terminology issues (related to the LDAPBIS<BR>I-Ds use of =
"LDAP exchange", "connection", "LDAP association" and<BR>related terms. =
The proposal basically(*) replaces the term<BR>"LDAP exchange" as used in =
[Protocol] with the term "LDAP stream",<BR>and (re)introduces the term =
"LDAP session". Also, as part of this<BR>proposal, the terms "exchange" =
and "association" would not take on<BR>any LDAPBIS-specific meaning. That =
is, they are (and would be)<BR>used in the dictionary and/or RFC 2828 =
sense.<BR><BR>(* It is recognized that in some cases the old terms =
cannot<BR>(or should not) simply be replaced with new terms. Some =
minor<BR>tweaking would be needed here and there, and the WG would =
need<BR>to carefully review that tweaking.)<BR><BR>The terms would be =
defined as follows:<BR><BR>"connection" refers to the underlying transport =
services <BR>used to carry the protocol exchange, as well as<BR>association=
s established by these services.<BR><BR>"TLS layer" refers to TLS services =
used in providing<BR>security services, as well as associations<BR>establis=
hed by these services.<BR><BR>"SASL layer" refers to SASL services used in =
providing<BR>security services, as well as associations established<BR>by =
these services.<BR><BR>"LDAP stream" refers to the LDAP Message (PDU) =
services<BR>used in providing directory services, as well as associations<B=
R>established by these services.<BR><BR>"LDAP session" refers to combined =
services (connection, TLS<BR>layer, SASL layer, LDAP stream) and their =
associations.<BR><BR>The following diagram illustrates how the component =
services<BR>of an LDAP session relate to each other:<BR><BR>+--------------=
----+<BR>| LDAP stream |<BR>+------------------+ &gt; LDAP PDUs<BR>+-------=
-----------+ &lt; data<BR>| SASL layer |<BR>+------------------+ &gt; =
SASL-protected data<BR>+------------------+ &lt; data<BR>| TLS layer =
|<BR>Application +------------------+ &gt; TLS-protected data <BR>---------=
---+------------------+ &lt; data<BR>Transport | connection |<BR>+---------=
---------+<BR><BR>To further illustrate the use intended by this proposal, =
the following is<BR>how these terms would be used in [Protocol, 4.3]:<BR><B=
R>The function of the Unbind Operation is to terminate an LDAP session.<BR>=
The Unbind operation is not the antithesis of the Bind operation as<BR>the =
name implies. The naming of these operations is historical. The<BR>Unbind =
operation should be thought of as the "quit" operation.<BR><BR>The Unbind =
Operation is defined as follows: <BR><BR>UnbindRequest ::=3D [APPLICATION =
2] NULL<BR><BR>The Unbind Operation has no response defined. The client, =
upon<BR>transmission of the UnbindRequest, and the server, upon receipt<BR>=
of the UnbindRequest are to close the LDAP session as follows:<BR>1) close =
the LDAP stream and cease sending LDAP messages,<BR>2) close the SASL =
layer (if installed),<BR>3) close the TLS layer (if installed), and<BR>4) =
close the connection.<BR>Uncompleted operations are handled as specified =
in Section 5.1.<BR><BR>Comments?<BR><BR></BODY></HTML>

--=__PartCCEC1146.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 16:43: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 QAA16343
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 16:43:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9LdE2v007712;
	Tue, 9 Nov 2004 21:41: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 iA9LUbgI007336;
	Tue, 9 Nov 2004 21:30:37 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, 9 Nov 2004 21:30:37 +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 iA9LUY3t007282;
	Tue, 9 Nov 2004 21:30:34 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 09 Nov 2004 14:30:14 -0700
Message-Id: <s190d476.074@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 09 Nov 2004 14:29:57 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Cc: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Result code for invalidated associations
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 2:57:08 PM
>>>
>Jim Sermersheim writes:
>
>> I agree that the best course of action when credentials become
invalid
>> is Notice of Disconnection,
>
>I'm concerned that clients may not report such notices to the user.
>How common is it to implement Notice of Disconnection on the client
>side?

How common is it for servers to do _anything_ when credentials become
invalid during the course of an LDAP client/server exchange? This was
only recently added as a security consideration, and at that time, it
was unclear that any current implementations took any steps. I guess
what I'm saying is that as people begin to pay attention to this, both
client and server implementations may have to change.

>rfc2251 said Unsolicited Notifications are merely advisory, but it
also
>said this about Notice of Disconnection:
>After receiving this notice, the client MUST NOT transmit any further
>on the connection, and may abruptly close the connection.
>It has been removed from [protocol] - do we need to reinstate that
>clients SHOULD or MUST notice a Notice of Disconnection?

The server is required to cease transmission, and to close the
connection, so I'm not sure we need to require the client to do the
same.

<snipping discussion on how libraries might get access to unsolicited
notifications>

>> however, when the server chooses (for
>> whatever reason) [NOT] to do this, I think (because the now
invalidated
>> credentials have changed the authorization state) the proper result
code
>> to return is insufficientAccessRights). This result code can be
returned
>> for any operation requiring a certain level of authorization, is
>> typically indicative of the outcome of future (similar) operations,
but
>> can come and go as one's authZ state changes.
>
>True, but it could be confusing if the sysadmin is not aware of
having
>configured the server to change the users' authZ states like that.
The
>user complains that he has no access to an entry, the sysadmin says
"yes
>you have". Though that could be fixed simply by sending an
informative
>diagnosticMessage.

Right.

>> There's nothing currently in [protocol] though, that would indicate
to
>> the receiver of this error that the credentials have become
invalid.
>
>-- 
>Hallvard

So, I'm not sure where to go with this thread. My feeling is that we
don't actually need to prescribe a course of action.

I do plan to _move_ this description of strongAuthRequired back up to
Notice of Disconnection:
Indicates that the server has detected that an established security
association between the client and server has unexpectedly failed or
been compromised

I also plan to update the current general description of
strongAuthRequired to:
The server requires the client to authenticate using a strong(er)
mechanism.

Feedback appreciated.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 17:05: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 RAA18878
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 17:04:59 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9M39Cx009929;
	Tue, 9 Nov 2004 22:03: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 iA9M0kI9009824;
	Tue, 9 Nov 2004 22:00: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); Tue, 9 Nov 2004 22:00: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 iA9M0eSH009784;
	Tue, 9 Nov 2004 22:00:41 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.34)
	id 1CRe2W-0006iB-Tr; Tue, 09 Nov 2004 23:00:37 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRe2T-0003nN-84; Tue, 09 Nov 2004 23:00:33 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRe2S-0007Z5-00; Tue, 9 Nov 2004 23:00:32 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109dbej@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org, Kurt@OpenLDAP.org
Subject: Re: Result code for invalidated associations
In-Reply-To: <s190d476.074@sinclair.provo.novell.com>
References: <s190d476.074@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 23:00:32 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>>Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/7/04 2:57:08 PM
>>Jim Sermersheim writes:
>>
>>> I agree that the best course of action when credentials become
>>> invalid is Notice of Disconnection,
>>
>> I'm concerned that clients may not report such notices to the user.
>> How common is it to implement Notice of Disconnection on the client
>> side?
> 
> How common is it for servers to do _anything_ when credentials become
> invalid during the course of an LDAP client/server exchange? This was
> only recently added as a security consideration, and at that time, it
> was unclear that any current implementations took any steps.

Good point.

> I guess
> what I'm saying is that as people begin to pay attention to this, both
> client and server implementations may have to change.

That clients have to change doesn't necessarily mean that they do it...
Not sure how much weight to give that, though.


>> rfc2251 said Unsolicited Notifications are merely advisory, but it
>> also said this about Notice of Disconnection:
>>   After receiving this notice, the client MUST NOT transmit any
>>   further on the connection, and may abruptly close the connection.
>> It has been removed from [protocol] - do we need to reinstate that
>> clients SHOULD or MUST notice a Notice of Disconnection?
> 
> The server is required to cease transmission, and to close the
> connection, so I'm not sure we need to require the client to do the
> same.

I mean require clients to notice the Notice (and take some action like
informing the user), not require them to close the connection.


> I also plan to update the current general description of
> strongAuthRequired to:
> The server requires the client to authenticate using a strong(er)
> mechanism.

...in order to perform the current LDAP operation?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 17:28: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 RAA21498
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 17:28:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9MR6BA011458;
	Tue, 9 Nov 2004 22:27:11 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 iA9MNOGK011175;
	Tue, 9 Nov 2004 22:23: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); Tue, 9 Nov 2004 22:23: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 iA9MNNj4011164
	for <ietf-ldapbis@openldap.org>; Tue, 9 Nov 2004 22:23:23 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.34)
	id 1CReOV-0002Ca-TU; Tue, 09 Nov 2004 23:23:20 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CReOR-0005xc-Dm; Tue, 09 Nov 2004 23:23:15 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CReOO-0007cA-00; Tue, 9 Nov 2004 23:23:12 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041109cxrd@bombur.uio.no>
To: Leif Johansson <leifj@it.su.se>
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
In-Reply-To: <41910990.6070006@it.su.se>
References: <HBF.20041109m19a@bombur.uio.no>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
	<HBF.20041109kvfo@bombur.uio.no>
	<41910990.6070006@it.su.se>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Nov 2004 23:23:12 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Leif Johansson writes:
>To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
>> I can give you what might have become a real-world example at our site
>> if Directory Strings could be zero-length:  A 'vacation message'
>> attribute which the mail system would check.  If the attribute was
>> present, the mail system would send a vacation message in response to
>> incoming messages, with a standard initial text + the optional
>> user-supplied message.
>>
>> As it is, we ended up another boolean attribute which means 'there is an
>> active vacation message', and only use the vacation attribute if the
>> boolean is TRUE.
> 
> I'd say the typical solution is that the attribute is an optional 
> attribute of an objectClass indicating the function of a vacation
> message.

For a vacation message by itself, yes.  Not when it's part of an
object class for mail handling in general.  Spam and virus filtering,
forwarding, IMAP server, maildrop, etc.

> The filter is then objectClass=something rather than the
> presence-filter based on the vaction attribute.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 17:34: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 RAA22271
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 17:34:22 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9MX5Yj011789;
	Tue, 9 Nov 2004 22:33: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 iA9MUV07011750;
	Tue, 9 Nov 2004 22:30: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, 9 Nov 2004 22:30: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 iA9MUUXn011740
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 22:30:30 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 iA9MURZv067974;
	Tue, 9 Nov 2004 22:30:28 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041109173020.02e4daf8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 09 Nov 2004 17:30:52 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Result code for invalidated associations
Cc: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20041109dbej@bombur.uio.no>
References: <s190d476.074@sinclair.provo.novell.com>
 <HBF.20041109dbej@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:00 PM 11/9/2004, Hallvard B Furuseth wrote:
>> I also plan to update the current general description of
>> strongAuthRequired to:
>> The server requires the client to authenticate using a strong(er)
>> mechanism.
>
>...in order to perform the current LDAP operation? 

I suggest:
        The server requires strong(er) authentication in order to
        perform the operation.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 17:46: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 RAA23359
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 17:46:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Mj6C1012364;
	Tue, 9 Nov 2004 22:45: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 iA9MdUY8012182;
	Tue, 9 Nov 2004 22:39: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); Tue, 9 Nov 2004 22:39:30 +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 iA9MdTZV012172
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 22:39:29 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 iA9MdRZv068021;
	Tue, 9 Nov 2004 22:39:28 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041109173751.02e4b9e0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 09 Nov 2004 17:39:52 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20041109ke1t@bombur.uio.no>
References: <HBF.20041109m19a@bombur.uio.no>
 <OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
 <HBF.20041109kvfo@bombur.uio.no>
 <6.1.2.0.0.20041109094824.02d94c00@127.0.0.1>
 <HBF.20041109ke1t@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:57 AM 11/9/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 09:28 AM 11/9/2004, Hallvard B Furuseth wrote:
>>>
>>>I can give you what might have become a real-world example at our site
>>>if Directory Strings could be zero-length:  A 'vacation message'
>>>attribute which the mail system would check.  If the attribute was
>>>present, the mail system would send a vacation message in response to
>>>incoming messages, with a standard initial text + the optional
>>>user-supplied message.
>> 
>> Use an " " to indicate no user-supplied message...
>
>We could have, but it's a hack. And it would complicate things a bit
>if the software were to be upgraded to give a different standard message
>depending on whether or not there is a user-supplied message.
>(It says something about "here is a message from the user:".) 

No more than "".  In either case, you attaching additional
semantics on to values. 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 18:16: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 SAA26124
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 18:16:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9NF6oS013593;
	Tue, 9 Nov 2004 23:15: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 iA9NAjEQ013510;
	Tue, 9 Nov 2004 23:10:45 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, 9 Nov 2004 23:10:45 +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 iA9NAeHh013499
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 23:10:44 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 09 Nov 2004 16:10:20 -0700
Message-Id: <s190ebec.051@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 09 Nov 2004 16:09:21 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Compatable matching rules (was Re: protocol-27 comments
	#3)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

You're right. I really dislike the layout of 4.5.1.  Here's another
attempt:
 
4.5.1.7.7 SearchRequest.filter.extensibleMatch 

The fields of the extensibleMatch filter item are evaluated as follows:


-  If the matchingRule field is absent, the type field MUST be present,
and an equality match is performed for that type. 

-  If the type field is absent and the matchingRule is present, the
matchValue is compared against all attributes in an entry which support
that matchingRule.  

-  If the type field is present and the matchingRule is present, the
matchValue is compared against entry attributes of the specified type. 

-  If the dnAttributes field is set to TRUE, the match is additionally
applied against all the AttributeValueAssertions in an entry's
distinguished name, and evaluates to TRUE if there is at least one
attribute in the distinguished name for which the filter item evaluates
to TRUE. The dnAttributes field is present to alleviate the need for
multiple versions of generic matching rules (such as word matching),
where one applies to entries and another applies to entries and DN
attributes as well.

The matchingRule used for evaluation determines the syntax for the
assertion value. Once the matchingRule and attribute(s) have been
determined, the filter item evaluates to TRUE if it matches with at
least one attribute in the entry, FALSE if it does not match any
attribute in the entry, and Undefined if the matchingRule is not
recognized, the matchingRule is unsuitable for use with the specified
type, or the assertionValue is invalid.

<note that I propose numbering the fields of the search request as this
section too unmanageable as-is>.

Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/9/04 4:47:17 PM
>>>
Jim Sermersheim writes:
> Here's a proposed new:
> 
> The filter item MUST evaluate to Undefined if the matchingRule is
> unsuitable for use with the specified type.

Looks good.

> But I note this is better placed in the paragraph above along with
> similar causes of the filter resulting in Undefined.

But that paragraph is for 'If the type field is absent...'. The
sentence we are discussing is for 'If the type field is present...'.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 18:52: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 SAA00056
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 18:52:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9NpAlM014972;
	Tue, 9 Nov 2004 23:51: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 iA9NoX0a014915;
	Tue, 9 Nov 2004 23:50: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, 9 Nov 2004 23:50:33 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9NoLnj014904
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 23:50:27 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC33000004C6; Wed, 10 Nov 2004 10:54:48 +1100
Message-ID: <41915772.3010108@eb2bcom.com>
Date: Wed, 10 Nov 2004 10:49:06 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Cross-purpose SEQUENCE/CHOICE protocol extension fields
References: <s190c9a7.008@sinclair.provo.novell.com>
In-Reply-To: <s190c9a7.008@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Jim Sermersheim wrote:
> Along with this view, I'll propose that the current wording in
> [Protocol] (below) is sufficient, and defers the mechanisms and usages
> of extensibility to X.680. I believe the intent of RFC 2251 and the
> intent of [Protocol] is to follow the extensibility rules of X.680 and
> not add additional requirements, clarifications, guidelines, etc.
>  
> "In order to support future extensions to this protocol, extensibility
> is implied where it is allowed per ASN.1"

Works for me.

Steven



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 18: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 SAA00541
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 18:57:51 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9Nv6Ev015254;
	Tue, 9 Nov 2004 23:57: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 iA9NpGi3014986;
	Tue, 9 Nov 2004 23:51: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, 9 Nov 2004 23:51:16 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iA9NpEVA014976
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Nov 2004 23:51:15 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC33000004C7 for ietf-ldapbis@OpenLDAP.org; Wed, 10 Nov 2004 10:56:23 +1100
Message-ID: <419157D2.2020504@eb2bcom.com>
Date: Wed, 10 Nov 2004 10:50:42 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAP terminology proposal
References: <s190cff4.007@sinclair.provo.novell.com>
In-Reply-To: <s190cff4.007@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


I'm inclined to agree with Jim.

Jim Sermersheim wrote:
> As mentioned in the WG meeting today, I prefer "PDU layer" or "LDAP 
> message layer" over "LDAP sream" for what is being defined here.
> 
>  >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/9/04 1:41:49 PM >>>
> An ad-hoc engineering team consisting of Jim, Roger, Hallvard,
> Bob, and myself offer the following proposal for WG consideration
> to address LDAP session terminology issues (related to the LDAPBIS
> I-Ds use of "LDAP exchange", "connection", "LDAP association" and
> related terms. The proposal basically(*) replaces the term
> "LDAP exchange" as used in [Protocol] with the term "LDAP stream",
> and (re)introduces the term "LDAP session". Also, as part of this
> proposal, the terms "exchange" and "association" would not take on
> any LDAPBIS-specific meaning. That is, they are (and would be)
> used in the dictionary and/or RFC 2828 sense.
> 
> (* It is recognized that in some cases the old terms cannot
> (or should not) simply be replaced with new terms. Some minor
> tweaking would be needed here and there, and the WG would need
> to carefully review that tweaking.)
> 
> The terms would be defined as follows:
> 
> "connection" refers to the underlying transport services
> used to carry the protocol exchange, as well as
> associations established by these services.
> 
> "TLS layer" refers to TLS services used in providing
> security services, as well as associations
> established by these services.
> 
> "SASL layer" refers to SASL services used in providing
> security services, as well as associations established
> by these services.
> 
> "LDAP stream" refers to the LDAP Message (PDU) services
> used in providing directory services, as well as associations
> established by these services.
> 
> "LDAP session" refers to combined services (connection, TLS
> layer, SASL layer, LDAP stream) and their associations.
> 
> The following diagram illustrates how the component services
> of an LDAP session relate to each other:
> 
> +------------------+
> | LDAP stream |
> +------------------+ > LDAP PDUs
> +------------------+ < data
> | SASL layer |
> +------------------+ > SASL-protected data
> +------------------+ < data
> | TLS layer |
> Application +------------------+ > TLS-protected data
> ------------+------------------+ < data
> Transport | connection |
> +------------------+
> 
> To further illustrate the use intended by this proposal, the following is
> how these terms would be used in [Protocol, 4.3]:
> 
> The function of the Unbind Operation is to terminate an LDAP session.
> The Unbind operation is not the antithesis of the Bind operation as
> the name implies. The naming of these operations is historical. The
> Unbind operation should be thought of as the "quit" operation.
> 
> The Unbind Operation is defined as follows:
> 
> UnbindRequest ::= [APPLICATION 2] NULL
> 
> The Unbind Operation has no response defined. The client, upon
> transmission of the UnbindRequest, and the server, upon receipt
> of the UnbindRequest are to close the LDAP session as follows:
> 1) close the LDAP stream and cease sending LDAP messages,
> 2) close the SASL layer (if installed),
> 3) close the TLS layer (if installed), and
> 4) close the connection.
> Uncompleted operations are handled as specified in Section 5.1.
> 
> Comments?
> 


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 19:28: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 TAA02537
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 19:28:41 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAA0R6wD016088;
	Wed, 10 Nov 2004 00:27: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 iAA0R3n3016080;
	Wed, 10 Nov 2004 00:27: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); Wed, 10 Nov 2004 00:27:03 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAA0QwLw016069
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 00:27:02 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC33000004DC; Wed, 10 Nov 2004 11:32:01 +1100
Message-ID: <4191602C.3060702@eb2bcom.com>
Date: Wed, 10 Nov 2004 11:26:20 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no>	<418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no>
In-Reply-To: <HBF.20041109m19a@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> Steven Legg writes:
> 
>>Hallvard B Furuseth wrote:
>>
>>>[Syntaxes] section 3.3.15 says an IA5 String may be empty.
>>>
>>>Why is that, when Directory String and Printable String may not?
>>
>>The Directory String and Printable String syntaxes derive from syntaxes
>>in X.520 that have been constrained to have at least one character.
>>The IA5 String syntax does not have a counterpart in X.520 so it doesn't
>>need to be constrained for interoperability reasons.
>>(...)
>>The working group needs to decide whether to restrict IA5 String to at
>>least one character, or to allow empty strings to compare true.
> 
> 
> My vote from an LDAP viewpoint would be minimal change, i.e. do not
> disallow empty IA5 Strings.
> 
> OTOH, if an X.500 implementor wants to support IA5 String, maybe the
> reason why X.500 requires 1+ characters in the other string syntaxes,
> also would make the same restriction preferable in IA5 String?

Speaking as an X.500 implementor, I don't see any technical reason why
string syntaxes have to have a non-zero length. I guess the X.500 designers
thought zero-length strings weren't particularly useful so they disallowed
them.

Zero-length strings haven't caused me any problems, nor has comparing
IA5String values to DirectoryString values. That is probably because the
string preparation that I currently use effectively produces an unconstrained
UniversalString, which can be zero length. I don't assume that the result
of the string preparation has to be a valid value of the original string type.
Having two empty strings compare true is the natural extrapolation of the
most obvious way to compare two strings of characters.

By the way, I've encountered clients that want to store zero-length DirectoryStrings.
It's totally bogus, but third-party vendors can be stubborn about making changes
when their application "works with other directory servers", so for our customer's
sake we need to provide workarounds.

For the record, I don't care whether IA5 String syntax is constrained to have
at least one character. However, I increasingly believe that stringprep should
be able to produce a zero-length string as input to a matching function.

Regards,
Steven

> 


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 20: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 UAA07317
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 20:26:49 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAA1LCXs017864;
	Wed, 10 Nov 2004 01:24: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 iAA1IonE017751;
	Wed, 10 Nov 2004 01:18:50 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, 10 Nov 2004 01:18:50 +0000
Received: from mail17.ca.com ([155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAA1Ikp6017732
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 01:18:47 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by mail17.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 10 Nov 2004 12:18:25 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C4C6C3.2D808DD2"
Subject: RE: LDAP terminology proposal
Date: Wed, 10 Nov 2004 12:18:25 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B638101FC55E0@ausyms21.ca.com>
Thread-Topic: LDAP terminology proposal
Thread-Index: AcTGoesxSFVPt1eJQWeOFIMJYdhY+QAIM3cw
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 10 Nov 2004 01:18:25.0953 (UTC) FILETIME=[2D9EF110:01C4C6C3]
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C4C6C3.2D808DD2
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I agree, though I think 'LDAP layer' would be appropriate. I don't think =
'stream' can be used when referring to the service interface.
=20
Ron

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org =
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Jim Sermersheim
Sent: Wednesday, 10 November 2004 08:11
To: ietf-ldapbis@OpenLDAP.org; Kurt@OpenLDAP.org
Subject: Re: LDAP terminology proposal


As mentioned in the WG meeting today, I prefer "PDU layer" or "LDAP =
message layer" over "LDAP sream" for what is being defined here.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/9/04 1:41:49 PM >>>
An ad-hoc engineering team consisting of Jim, Roger, Hallvard,
Bob, and myself offer the following proposal for WG consideration
to address LDAP session terminology issues (related to the LDAPBIS
I-Ds use of "LDAP exchange", "connection", "LDAP association" and
related terms. The proposal basically(*) replaces the term
"LDAP exchange" as used in [Protocol] with the term "LDAP stream",
and (re)introduces the term "LDAP session". Also, as part of this
proposal, the terms "exchange" and "association" would not take on
any LDAPBIS-specific meaning. That is, they are (and would be)
used in the dictionary and/or RFC 2828 sense.

(* It is recognized that in some cases the old terms cannot
(or should not) simply be replaced with new terms. Some minor
tweaking would be needed here and there, and the WG would need
to carefully review that tweaking.)

The terms would be defined as follows:

"connection" refers to the underlying transport services=20
used to carry the protocol exchange, as well as
associations established by these services.

"TLS layer" refers to TLS services used in providing
security services, as well as associations
established by these services.

"SASL layer" refers to SASL services used in providing
security services, as well as associations established
by these services.

"LDAP stream" refers to the LDAP Message (PDU) services
used in providing directory services, as well as associations
established by these services.

"LDAP session" refers to combined services (connection, TLS
layer, SASL layer, LDAP stream) and their associations.

The following diagram illustrates how the component services
of an LDAP session relate to each other:

+------------------+
| LDAP stream |
+------------------+ > LDAP PDUs
+------------------+ < data
| SASL layer |
+------------------+ > SASL-protected data
+------------------+ < data
| TLS layer |
Application +------------------+ > TLS-protected data=20
------------+------------------+ < data
Transport | connection |
+------------------+

To further illustrate the use intended by this proposal, the following =
is
how these terms would be used in [Protocol, 4.3]:

The function of the Unbind Operation is to terminate an LDAP session.
The Unbind operation is not the antithesis of the Bind operation as
the name implies. The naming of these operations is historical. The
Unbind operation should be thought of as the "quit" operation.

The Unbind Operation is defined as follows:=20

UnbindRequest ::=3D [APPLICATION 2] NULL

The Unbind Operation has no response defined. The client, upon
transmission of the UnbindRequest, and the server, upon receipt
of the UnbindRequest are to close the LDAP session as follows:
1) close the LDAP stream and cease sending LDAP messages,
2) close the SASL layer (if installed),
3) close the TLS layer (if installed), and
4) close the connection.
Uncompleted operations are handled as specified in Section 5.1.

Comments?




------_=_NextPart_001_01C4C6C3.2D808DD2
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><SPAN class=3D403101501-10112004>I agree, though I think 'LDAP =
layer' would=20
be appropriate.&nbsp;I don't think 'stream' can be used when referring =
to the=20
service interface.</SPAN></DIV>
<DIV><SPAN class=3D403101501-10112004></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D403101501-10112004>Ron</SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft>-----Original =

  Message-----<BR><B>From:</B> owner-ietf-ldapbis@OpenLDAP.org=20
  [mailto:owner-ietf-ldapbis@OpenLDAP.org]<B>On Behalf Of </B>Jim=20
  Sermersheim<BR><B>Sent:</B> Wednesday, 10 November 2004 =
08:11<BR><B>To:</B>=20
  ietf-ldapbis@OpenLDAP.org; Kurt@OpenLDAP.org<BR><B>Subject:</B> Re: =
LDAP=20
  terminology proposal<BR><BR></DIV>As mentioned in the WG meeting =
today, I=20
  prefer "PDU layer" or "LDAP message layer" over "LDAP sream" for what =
is being=20
  defined here.<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" =
&lt;Kurt@OpenLDAP.org&gt;=20
  11/9/04 1:41:49 PM &gt;&gt;&gt;<BR>An ad-hoc engineering team =
consisting of=20
  Jim, Roger, Hallvard,<BR>Bob, and myself offer the following proposal =
for WG=20
  consideration<BR>to address LDAP session terminology issues (related =
to the=20
  LDAPBIS<BR>I-Ds use of "LDAP exchange", "connection", "LDAP =
association"=20
  and<BR>related terms. The proposal basically(*) replaces the =
term<BR>"LDAP=20
  exchange" as used in [Protocol] with the term "LDAP stream",<BR>and=20
  (re)introduces the term "LDAP session". Also, as part of =
this<BR>proposal, the=20
  terms "exchange" and "association" would not take on<BR>any =
LDAPBIS-specific=20
  meaning. That is, they are (and would be)<BR>used in the dictionary =
and/or RFC=20
  2828 sense.<BR><BR>(* It is recognized that in some cases the old =
terms=20
  cannot<BR>(or should not) simply be replaced with new terms. Some=20
  minor<BR>tweaking would be needed here and there, and the WG would =
need<BR>to=20
  carefully review that tweaking.)<BR><BR>The terms would be defined as=20
  follows:<BR><BR>"connection" refers to the underlying transport =
services=20
  <BR>used to carry the protocol exchange, as well as<BR>associations=20
  established by these services.<BR><BR>"TLS layer" refers to TLS =
services used=20
  in providing<BR>security services, as well as =
associations<BR>established by=20
  these services.<BR><BR>"SASL layer" refers to SASL services used in=20
  providing<BR>security services, as well as associations =
established<BR>by=20
  these services.<BR><BR>"LDAP stream" refers to the LDAP Message (PDU)=20
  services<BR>used in providing directory services, as well as=20
  associations<BR>established by these services.<BR><BR>"LDAP session" =
refers to=20
  combined services (connection, TLS<BR>layer, SASL layer, LDAP stream) =
and=20
  their associations.<BR><BR>The following diagram illustrates how the =
component=20
  services<BR>of an LDAP session relate to each=20
  other:<BR><BR>+------------------+<BR>| LDAP stream =
|<BR>+------------------+=20
  &gt; LDAP PDUs<BR>+------------------+ &lt; data<BR>| SASL layer=20
  |<BR>+------------------+ &gt; SASL-protected =
data<BR>+------------------+=20
  &lt; data<BR>| TLS layer |<BR>Application +------------------+ &gt;=20
  TLS-protected data <BR>------------+------------------+ &lt; =
data<BR>Transport=20
  | connection |<BR>+------------------+<BR><BR>To further illustrate =
the use=20
  intended by this proposal, the following is<BR>how these terms would =
be used=20
  in [Protocol, 4.3]:<BR><BR>The function of the Unbind Operation is to=20
  terminate an LDAP session.<BR>The Unbind operation is not the =
antithesis of=20
  the Bind operation as<BR>the name implies. The naming of these =
operations is=20
  historical. The<BR>Unbind operation should be thought of as the "quit" =

  operation.<BR><BR>The Unbind Operation is defined as follows:=20
  <BR><BR>UnbindRequest ::=3D [APPLICATION 2] NULL<BR><BR>The Unbind =
Operation has=20
  no response defined. The client, upon<BR>transmission of the =
UnbindRequest,=20
  and the server, upon receipt<BR>of the UnbindRequest are to close the =
LDAP=20
  session as follows:<BR>1) close the LDAP stream and cease sending LDAP =

  messages,<BR>2) close the SASL layer (if installed),<BR>3) close the =
TLS layer=20
  (if installed), and<BR>4) close the connection.<BR>Uncompleted =
operations are=20
  handled as specified in Section=20
5.1.<BR><BR>Comments?<BR><BR></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C4C6C3.2D808DD2--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  9 23:41: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 XAA22471
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Nov 2004 23:41:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAA4d85I023593;
	Wed, 10 Nov 2004 04:40: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 iAA4ZwjO023473;
	Wed, 10 Nov 2004 04:35: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); Wed, 10 Nov 2004 04:35: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 iAA4ZudY023441;
	Wed, 10 Nov 2004 04:35:56 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 09 Nov 2004 21:35:36 -0700
Message-Id: <s1913828.044@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 09 Nov 2004 21:35:15 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: Result code for invalidated associations
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth h.b.furuseth@usit.uio.no> 11/9/04 5:00:32 PM >>

>> I also plan to update the current general description of
>> strongAuthRequired to:
>> The server requires the client to authenticate using a strong(er)
>> mechanism.
>
>...in order to perform the current LDAP operation?

I guess it depends on the operation. If it's on a Notice of
Disconnetion, then no. If it's on a BindResponse, then yes. Similar to
this is confidentialityRequired. While Notice of Disconnection is free
to send this, so are other operations. I suppose even loopDetect could
be sent on a Notice of Disconnection.

Do you think we need to add your suggested text? (if so, why?)

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 11:45: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 LAA29141
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 11:45:13 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAGdHnr053237;
	Wed, 10 Nov 2004 16:44: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 iAAGYKuE052941;
	Wed, 10 Nov 2004 16:34: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, 10 Nov 2004 16:34:19 +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 iAAGYI8G052931
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 16:34: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 iAAGYCZv073515;
	Wed, 10 Nov 2004 16:34:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 11:34:38 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <4191602C.3060702@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no>
 <418FF619.8040508@eb2bcom.com>
 <HBF.20041109m19a@bombur.uio.no>
 <4191602C.3060702@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:26 PM 11/9/2004, Steven Legg wrote:
>For the record, I don't care whether IA5 String syntax is constrained to have
>at least one character. However, I increasingly believe that stringprep should
>be able to produce a zero-length string as input to a matching function. 

I assume what you mean here is that you are increasing
believing that LDAPprep should be redesigned to accept
as input an zero-length string and output a zero-length
string for this input.

This would require a major redesign of the algorithm.

If the designers of a particular matching rule desires
that zero-length input strings be matched as X strings
(where X is either a zero-length string or a particular
non-zero-length string, e.g. " "), the specification for
that rule should say something like:
        For non-zero-length input strings, the string
        is to prepared in accordance with LDAPprep.
        For zero-length input strings, no preparation
        is done.  The input string is used directly.
or:
        If the input string is zero-length, the string
        is matched as if X was inputted.  For input
        strings which are non-zero-length, the input
        string is prepared in accordance with LDAPprep
        before being compared.

I don't think we should undertake a redesign LDAPprep
to handle zero-length input string. 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 11:47: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 LAA29404
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 11:47:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAGjCgf053915;
	Wed, 10 Nov 2004 16:46:28 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 iAAGfkjj053527;
	Wed, 10 Nov 2004 16:41: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); Wed, 10 Nov 2004 16:41: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 iAAGfh9L053492;
	Wed, 10 Nov 2004 16:41: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.34)
	id 1CRvXP-0000Rm-10; Wed, 10 Nov 2004 17:41:39 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CRvXL-0000ip-QK; Wed, 10 Nov 2004 17:41:35 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CRvXL-0002m0-00; Wed, 10 Nov 2004 17:41:35 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041110v3gs@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Steven Legg <steven.legg@eb2bcom.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
In-Reply-To: <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
References: <HBF.20041107p8mt@bombur.uio.no>
	<418FF619.8040508@eb2bcom.com>
	<HBF.20041109m19a@bombur.uio.no>
	<4191602C.3060702@eb2bcom.com>
	<6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Nov 2004 17:41:35 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> I assume what you mean here is that you are increasing
> believing that LDAPprep should be redesigned to accept
> as input an zero-length string and output a zero-length
> string for this input.
> 
> This would require a major redesign of the algorithm.

Why?  Just put the zero-length shortcut you gave at the top of
stringprep algorithm instead of in the matching rule(s) which uses it:

>         For zero-length input strings, no preparation
>         is done.  The input string is used directly.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 12:58: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 MAA06498
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 12:58:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAHvDKj057088;
	Wed, 10 Nov 2004 17:57: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 iAAHsaN9056953;
	Wed, 10 Nov 2004 17:54: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); Wed, 10 Nov 2004 17:54:36 +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 iAAHsYMW056943
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 17:54: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 iAAHsVZv073933;
	Wed, 10 Nov 2004 17:54:32 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110124324.0302e570@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 12:54:56 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: Steven Legg <steven.legg@eb2bcom.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20041110v3gs@bombur.uio.no>
References: <HBF.20041107p8mt@bombur.uio.no>
 <418FF619.8040508@eb2bcom.com>
 <HBF.20041109m19a@bombur.uio.no>
 <4191602C.3060702@eb2bcom.com>
 <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
 <HBF.20041110v3gs@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 11:41 AM 11/10/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> I assume what you mean here is that you are increasing
>> believing that LDAPprep should be redesigned to accept
>> as input an zero-length string and output a zero-length
>> string for this input.
>> 
>> This would require a major redesign of the algorithm.
>
>Why?  Just put the zero-length shortcut you gave at the top of
>stringprep algorithm instead of in the matching rule(s) which uses it:

Even if we presume that the proper LDAPprep("") output is "",
specifying this in the I-D would require significant revision
of the text.  And, if we presume that LDAPprep("") output for
some character string matching rules is not "", the I-D would
require significant redesign.

In short, LDAPprep was designed for X.520-based matching rules.
It wasn't designed to handle empty inputs and redesigning it
to handle such inputs is, IMO, non-trivial.

However, before we consider any change to LDAPprep, we first
must reach consensus the semantics of empty values in IA5
Strings.  I note as well that I intend to argue that IA5
Strings, as specified in RFC 1274, were intended to be
non-empty and expected in many to be non-empty and that by
allowing non-empty values in IA5 string will lead to far
more problems than it will resolve.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 13:46:22 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 NAA11761
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 13:46:22 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAIjDQl059246;
	Wed, 10 Nov 2004 18:45: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 iAAIhgNk059145;
	Wed, 10 Nov 2004 18:43: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); Wed, 10 Nov 2004 18:43:42 +0000
Received: from smtp2.su.se (smtp2.su.se [130.237.93.212])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAIhePM059135
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 18:43:41 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp2.su.se [127.0.0.1])
	by smtp2.su.se (Postfix) with ESMTP id 00F542008E9;
	Wed, 10 Nov 2004 19:43:39 +0100 (CET)
Received: from smtp2.su.se ([127.0.0.1])
 by localhost (smtp2.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 05677-02-28; Wed, 10 Nov 2004 19:43:38 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp2.su.se (Postfix) with ESMTP id 0A493200203;
	Wed, 10 Nov 2004 19:43:31 +0100 (CET)
Message-ID: <41926151.3090501@it.su.se>
Date: Wed, 10 Nov 2004 19:43:29 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041109m19a@bombur.uio.no>	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>	<HBF.20041109kvfo@bombur.uio.no>	<41910990.6070006@it.su.se> <HBF.20041109cxrd@bombur.uio.no>
In-Reply-To: <HBF.20041109cxrd@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


> For a vacation message by itself, yes.  Not when it's part of an
> object class for mail handling in general.  Spam and virus filtering,
> forwarding, IMAP server, maildrop, etc.

If you want to be able to indicate the presence of a feature with
an optional attribute, yes that is exactly how you do it. Object-
classes are you friend. Orthagonal design is good.

	MVH leifj


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 14:05: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 OAA13913
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 14:05:13 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAJ3I8e060577;
	Wed, 10 Nov 2004 19:04:03 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 iAAIrjU7059769;
	Wed, 10 Nov 2004 18:53:45 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, 10 Nov 2004 18:53:45 +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 iAAIrhV0059759
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 18:53: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 iAAIrbZv074214;
	Wed, 10 Nov 2004 18:53:38 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110135240.02d68110@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 13:54:03 -0500
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP terminology proposal
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s190cff4.007@sinclair.provo.novell.com>
References: <s190cff4.007@sinclair.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 04:10 PM 11/9/2004, Jim Sermersheim wrote:
>As mentioned in the WG meeting today, I prefer "PDU layer" or "LDAP message layer" over "LDAP sream" for what is being defined here.

I'm fine with "LDAP message layer"

Kurt



>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/9/04 1:41:49 PM >>>
>An ad-hoc engineering team consisting of Jim, Roger, Hallvard,
>Bob, and myself offer the following proposal for WG consideration
>to address LDAP session terminology issues (related to the LDAPBIS
>I-Ds use of "LDAP exchange", "connection", "LDAP association" and
>related terms. The proposal basically(*) replaces the term
>"LDAP exchange" as used in [Protocol] with the term "LDAP stream",
>and (re)introduces the term "LDAP session". Also, as part of this
>proposal, the terms "exchange" and "association" would not take on
>any LDAPBIS-specific meaning. That is, they are (and would be)
>used in the dictionary and/or RFC 2828 sense.
>
>(* It is recognized that in some cases the old terms cannot
>(or should not) simply be replaced with new terms. Some minor
>tweaking would be needed here and there, and the WG would need
>to carefully review that tweaking.)
>
>The terms would be defined as follows:
>
>"connection" refers to the underlying transport services 
>used to carry the protocol exchange, as well as
>associations established by these services.
>
>"TLS layer" refers to TLS services used in providing
>security services, as well as associations
>established by these services.
>
>"SASL layer" refers to SASL services used in providing
>security services, as well as associations established
>by these services.
>
>"LDAP stream" refers to the LDAP Message (PDU) services
>used in providing directory services, as well as associations
>established by these services.
>
>"LDAP session" refers to combined services (connection, TLS
>layer, SASL layer, LDAP stream) and their associations.
>
>The following diagram illustrates how the component services
>of an LDAP session relate to each other:
>
>+------------------+
>| LDAP stream |
>+------------------+ > LDAP PDUs
>+------------------+ < data
>| SASL layer |
>+------------------+ > SASL-protected data
>+------------------+ < data
>| TLS layer |
>Application +------------------+ > TLS-protected data 
>------------+------------------+ < data
>Transport | connection |
>+------------------+
>
>To further illustrate the use intended by this proposal, the following is
>how these terms would be used in [Protocol, 4.3]:
>
>The function of the Unbind Operation is to terminate an LDAP session.
>The Unbind operation is not the antithesis of the Bind operation as
>the name implies. The naming of these operations is historical. The
>Unbind operation should be thought of as the "quit" operation.
>
>The Unbind Operation is defined as follows: 
>
>UnbindRequest ::= [APPLICATION 2] NULL
>
>The Unbind Operation has no response defined. The client, upon
>transmission of the UnbindRequest, and the server, upon receipt
>of the UnbindRequest are to close the LDAP session as follows:
>1) close the LDAP stream and cease sending LDAP messages,
>2) close the SASL layer (if installed),
>3) close the TLS layer (if installed), and
>4) close the connection.
>Uncompleted operations are handled as specified in Section 5.1.
>
>Comments?



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 14:05: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 OAA13936
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 14:05:16 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAJ3I8a060577;
	Wed, 10 Nov 2004 19:04: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 iAAIjnQp059276;
	Wed, 10 Nov 2004 18:45: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); Wed, 10 Nov 2004 18:45:49 +0000
Received: from smtp1.su.se (smtp1.su.se [130.237.162.112])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAIje2Q059259
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 18:45:48 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp1.su.se [127.0.0.1])
	by smtp1.su.se (Postfix) with ESMTP id 0C0D839A86;
	Wed, 10 Nov 2004 19:45:39 +0100 (CET)
Received: from smtp1.su.se ([127.0.0.1])
 by localhost (smtp1.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 26509-01-38; Wed, 10 Nov 2004 19:45:38 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.su.se (Postfix) with ESMTP id 5544D3813A;
	Wed, 10 Nov 2004 19:45:33 +0100 (CET)
Message-ID: <419261CB.1070404@it.su.se>
Date: Wed, 10 Nov 2004 19:45:31 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: Steven Legg <steven.legg@eb2bcom.com>
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no>	<418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no> <4191602C.3060702@eb2bcom.com>
In-Reply-To: <4191602C.3060702@eb2bcom.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


> Speaking as an X.500 implementor, I don't see any technical reason why
> string syntaxes have to have a non-zero length. I guess the X.500 designers
> thought zero-length strings weren't particularly useful so they disallowed
> them.
> 

Speaking as someone who writes ldap clients in perl, java and other
modern languages (i.e not c) I have to disagree. Empty strings, while
possible, create nothing but headaches.

	MVH leifj


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 14:05: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 OAA13954
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 14:05:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAJ3I8c060577;
	Wed, 10 Nov 2004 19:04: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 iAAIoLhc059559;
	Wed, 10 Nov 2004 18:50: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, 10 Nov 2004 18:50: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 iAAIoK6r059549
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 18:50: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 iAAIoHZx074177
	for <ietf-ldapbis@openldap.org>; Wed, 10 Nov 2004 18:50:19 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110131951.02e3ace0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 13:39:43 -0500
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Empty IA5String
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

It's my opinion that IA5 String values should have
non-zero length.  Non-zero length values were
explicitly precluded for many attributes of
IA5String syntax (see RFC 1274).  Removing this
restriction would cause breaking.

It is debatable whether RFC 1274 implied a general
restriction that IA5 String values be non-empty,
however it seems most agree that it not clear what
the semantics an empty value would have.

Those in favor of allowing empty IA5 values have
primarily argued that the empty value is useful
to represent no values.  Traditionally, in X.500,
no value is represented by having no values.
Some have also that an application could regard
empty values as being a "default" value.
Traditionally, " " has been used for such purposes.

In either case, it likely that many clients would
not regard an empty string as having one of these
semantics, but as simply being invalid.  That is,
an zero-length 'foo' attribute is far more likely
to be regards as an invalid foo than as either no foo
or a default foo or some other foo.

I also note that a number of programming languages
do not handle well zero-length values, often be confused
as no value.

For these reasons, I suggest that the IA5 string syntax
be revised to preclude zero-length values.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 16:05: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 QAA02616
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 16:05:41 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAL3EMv066779;
	Wed, 10 Nov 2004 21:03: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 iAAL2QI8066756;
	Wed, 10 Nov 2004 21:02: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); Wed, 10 Nov 2004 21:02: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 iAAL2PKu066746
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 21:02:25 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 iAAL2NZv075079;
	Wed, 10 Nov 2004 21:02:24 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110155927.0320db18@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 16:02:50 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: T.61 -> Unicode conversion
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20041109jmpd@bombur.uio.no>
References: <HBF.20041107oase@bombur.uio.no>
 <6.1.2.0.0.20041108160055.031eb298@127.0.0.1>
 <HBF.20041109k9ry@bombur.uio.no>
 <HBF.20041109jmpd@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:42 AM 11/9/2004, Hallvard B Furuseth wrote:
>Hallvard B Furuseth writes:
>> There have been quite a lot of disputes about whether characters in
>> different character sets are equivalent or not, though I don't know if
>> that applies to T.61->Unicode mapping.
>
>Come to think of it, I probably do know: Stringprep Appendix A says it's
>based on RFC 1345 (an informational RFC, not a standard) rather than a
>Unicode mapping or some X.500 work, and also that makes corrections to
>the RFC 1345 mapping.  (If RFC 1345 is standard in the X.500 community,
>please mention that in the appendix.  I'm assuming it's not.)

I'm not aware of a standard T.61->Unicode mapping (nor a
standard Unicode->T.61 mapping).

However, once published, draft-ietf-ldapbis-strprep will
provide a Standard Track T.61->Unicode mapping.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 16:28:25 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 QAA06454
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 16:28:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAALREFs071202;
	Wed, 10 Nov 2004 21:27:27 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 iAALNoml071127;
	Wed, 10 Nov 2004 21:23:50 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, 10 Nov 2004 21:23:50 +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 iAALNmZr071117
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 21:23:49 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 iAALNlZv075176;
	Wed, 10 Nov 2004 21:23:48 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110160307.02d990b0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 16:24:05 -0500
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: T.61 -> Unicode conversion
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20041109k9ry@bombur.uio.no>
References: <HBF.20041107oase@bombur.uio.no>
 <6.1.2.0.0.20041108160055.031eb298@127.0.0.1>
 <HBF.20041109k9ry@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:04 AM 11/9/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>> Can it happen that a Modify operation contains an UTF-8 value which
>>> according to Appendix A does not match an existing value in the entry,
>>> but which the server stores as a T.61 value which does match an existing
>>> value?
>>
>> I believe [Models] prevents this through its (values must
>> be different, values must be preserved) requirements.
>
>There have been quite a lot of disputes about whether characters in
>different character sets are equivalent or not, though I don't know if
>that applies to T.61->Unicode mapping. I do remember that the meaning
>of some character combinations were redefined for T.61 (not in relation
>to Unicode, I think).  Something about an umlaut-like mark which should
>or shouldn't mean umlaut?
>
>Anyway, implementors who disagreed about this would get different
>results, and maybe different results from the Appendix.

Implementors who follow the Appendix should produce identical
results.

>In particular
>if they have implemented T.61->Unicode(LDAP) first, and add stringprep
>later.

Okay, I think I see what your getting at.  Likely [Syntax]
should say that when a directory string is transcoded to
Unicode for transfer using UTF-8, that transcoding should
be done in a fashion consistent with LDAPprep transcode
step (and hence the appendix).

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 16:52:31 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 QAA08823
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 16:52:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAALpEBN072132;
	Wed, 10 Nov 2004 21:51: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 iAALkFMw071916;
	Wed, 10 Nov 2004 21:46: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); Wed, 10 Nov 2004 21:46:15 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAALkCVq071857;
	Wed, 10 Nov 2004 21:46:13 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id 55B2316D271; Wed, 10 Nov 2004 13:46:08 -0800 (PST)
Message-ID: <41928C16.9090701@pearlcrescent.com>
Date: Wed, 10 Nov 2004 16:45:58 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <6.1.2.0.0.20041110131951.02e3ace0@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110131951.02e3ace0@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:
> It's my opinion that IA5 String values should have
> non-zero length.  Non-zero length values were
> explicitly precluded for many attributes of
> IA5String syntax (see RFC 1274).  Removing this
> restriction would cause breaking.

And it may break some LDAP implementations, especially some client 
applications, if zero length strings are disallowed.  But that is just a 
guess; I don't think we really know.


> It is debatable whether RFC 1274 implied a general
> restriction that IA5 String values be non-empty,
> however it seems most agree that it not clear what
> the semantics an empty value would have.

I agree there is no consensus on what semantics an empty value would 
have.  We would need consensus on matching (and I do not think that 
would be very difficult to achieve).


> Those in favor of allowing empty IA5 values have
> primarily argued that the empty value is useful
> to represent no values.  Traditionally, in X.500,
> no value is represented by having no values.
> Some have also that an application could regard
> empty values as being a "default" value.
> Traditionally, " " has been used for such purposes.

I can't say I have seen " " used much (but it seems like a reasonable 
choice if zero-length strings are not allowed).


> In either case, it likely that many clients would
> not regard an empty string as having one of these
> semantics, but as simply being invalid.  That is,
> an zero-length 'foo' attribute is far more likely
> to be regards as an invalid foo than as either no foo
> or a default foo or some other foo.

Agreed.  The real question to me is "Do we have clients that rely on 
using zero length strings?"  Because if we, and if the older 
specifications allowed them, them I see no reason to break them just 
because we have now introduced the concept of string prep.  Clearly some 
implementations will have trouble with zero-length strings, but that 
could be fixed over time.


> I also note that a number of programming languages
> do not handle well zero-length values, often be confused
> as no value.

Really?  I think it is possible in any decent programming language to 
distinguish between a zero length string and no string at all.  Maybe I 
only use good languages or maybe I am forgetting something.


> For these reasons, I suggest that the IA5 string syntax
> be revised to preclude zero-length values.

I think we need more data before reaching a conclusion.  Hopefully this 
thread will generate it.

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 17:53: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 RAA14143
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 17:53:11 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAMpEp4074095;
	Wed, 10 Nov 2004 22:51: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 iAAMmTeI074080;
	Wed, 10 Nov 2004 22:48:29 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, 10 Nov 2004 22:48:29 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAMmP8F074049;
	Wed, 10 Nov 2004 22:48:26 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC330000066A; Thu, 11 Nov 2004 09:53:33 +1100
Message-ID: <41929A94.6010707@eb2bcom.com>
Date: Thu, 11 Nov 2004 09:47:48 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no> <418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no> <4191602C.3060702@eb2bcom.com> <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110112437.02d995d0@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 07:26 PM 11/9/2004, Steven Legg wrote:
> 
>>For the record, I don't care whether IA5 String syntax is constrained to have
>>at least one character. However, I increasingly believe that stringprep should
>>be able to produce a zero-length string as input to a matching function. 
> 
> 
> I assume what you mean here is that you are increasing
> believing that LDAPprep should be redesigned to accept
> as input an zero-length string and output a zero-length
> string for this input.

No, I believe that LDAPprep should be able to output a zero-length
string given a non-zero-length input string. There are steps within
LDAPPrep that remove various insignificant characters. It should be
allowed to produce a zero-length string when it turns out that all the
characters are insignificant.

> 
> This would require a major redesign of the algorithm.

I don't see why. There are internal steps where an empty string is replaced by
a single space. Just take those bits out.

I think the current description of the matching semantics in [syntaxes] is
compatible with zero-length strings being output by LDAPprep, but it would
be worth me adding some text to point out that zero-length strings can be
output by LDAPprep, and to formally state that two empty strings match.

> 
> If the designers of a particular matching rule desires
> that zero-length input strings be matched as X strings
> (where X is either a zero-length string or a particular
> non-zero-length string, e.g. " "), the specification for
> that rule should say something like:
>         For non-zero-length input strings, the string
>         is to prepared in accordance with LDAPprep.
>         For zero-length input strings, no preparation
>         is done.  The input string is used directly.
> or:
>         If the input string is zero-length, the string
>         is matched as if X was inputted.  For input
>         strings which are non-zero-length, the input
>         string is prepared in accordance with LDAPprep
>         before being compared.
> 
> I don't think we should undertake a redesign LDAPprep
> to handle zero-length input string.

Allowing it to produce a zero-length output string is enough.

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 18:09: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 SAA15753
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 18:09:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAMvE1N074380;
	Wed, 10 Nov 2004 23:08: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 iAAMrQK0074165;
	Wed, 10 Nov 2004 22:53: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); Wed, 10 Nov 2004 22:53:26 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAAMrNZD074133;
	Wed, 10 Nov 2004 22:53:24 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC330000066D; Thu, 11 Nov 2004 09:58:32 +1100
Message-ID: <41929BBF.2050005@eb2bcom.com>
Date: Thu, 11 Nov 2004 09:52:47 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: T.61 -> Unicode conversion
References: <HBF.20041107oase@bombur.uio.no> <6.1.2.0.0.20041108160055.031eb298@127.0.0.1> <HBF.20041109k9ry@bombur.uio.no> <6.1.2.0.0.20041110160307.02d990b0@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110160307.02d990b0@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt D. Zeilenga wrote:
> Okay, I think I see what your getting at.  Likely [Syntax]
> should say that when a directory string is transcoded to
> Unicode for transfer using UTF-8, that transcoding should
> be done in a fashion consistent with LDAPprep transcode
> step (and hence the appendix).

I'll do this in the next revision of the syntaxes draft if I don't
hear any objections.

Steven


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 18:23: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 SAA17363
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 18:23:14 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAANFE3k075534;
	Wed, 10 Nov 2004 23:22: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 iAANBeHw075231;
	Wed, 10 Nov 2004 23:11: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); Wed, 10 Nov 2004 23:11:40 +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 iAANBc0v075221
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Nov 2004 23:11: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 iAANBZZv075719;
	Wed, 10 Nov 2004 23:11:36 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110175450.03157950@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 18:12:00 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <41929A94.6010707@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no>
 <418FF619.8040508@eb2bcom.com>
 <HBF.20041109m19a@bombur.uio.no>
 <4191602C.3060702@eb2bcom.com>
 <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
 <41929A94.6010707@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:47 PM 11/10/2004, Steven Legg wrote:

>Kurt,
>
>Kurt D. Zeilenga wrote:
>>At 07:26 PM 11/9/2004, Steven Legg wrote:
>>
>>>For the record, I don't care whether IA5 String syntax is constrained to have
>>>at least one character. However, I increasingly believe that stringprep should
>>>be able to produce a zero-length string as input to a matching function. 
>>
>>I assume what you mean here is that you are increasing
>>believing that LDAPprep should be redesigned to accept
>>as input an zero-length string and output a zero-length
>>string for this input.
>
>No, I believe that LDAPprep should be able to output a zero-length
>string given a non-zero-length input string.

I disagree.  I believe it LDAPprep must be idempotent. That is,
        LDAPprep(LDAPprep(x)) = LDAPprep(x)
be true for all X.

>There are steps within
>LDAPPrep that remove various insignificant characters. It should be
>allowed to produce a zero-length string when it turns out that all the
>characters are insignificant.
>
>
>>This would require a major redesign of the algorithm.
>
>I don't see why.
>
>There are internal steps where an empty string is replaced by
>a single space. Just take those bits out.

Not enough to ensure idempotence.

>I think the current description of the matching semantics in [syntaxes] is
>compatible with zero-length strings being output by LDAPprep, but it would
>be worth me adding some text to point out that zero-length strings can be
>output by LDAPprep, and to formally state that two empty strings match.
>
>>If the designers of a particular matching rule desires
>>that zero-length input strings be matched as X strings
>>(where X is either a zero-length string or a particular
>>non-zero-length string, e.g. " "), the specification for
>>that rule should say something like:
>>        For non-zero-length input strings, the string
>>        is to prepared in accordance with LDAPprep.
>>        For zero-length input strings, no preparation
>>        is done.  The input string is used directly.
>>or:
>>        If the input string is zero-length, the string
>>        is matched as if X was inputted.  For input
>>        strings which are non-zero-length, the input
>>        string is prepared in accordance with LDAPprep
>>        before being compared.
>>I don't think we should undertake a redesign LDAPprep
>>to handle zero-length input string.
>
>Allowing it to produce a zero-length output string is enough.

Not enough to ensure idempotence.


>Regards,
>Steven



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 18:23: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 SAA17384
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 18:23:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAANLEcJ076150;
	Wed, 10 Nov 2004 23:22:36 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 iAANJTHa075928;
	Wed, 10 Nov 2004 23:19:29 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, 10 Nov 2004 23:19:29 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAANJQoG075896;
	Wed, 10 Nov 2004 23:19:27 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000679; Thu, 11 Nov 2004 10:24:33 +1100
Message-ID: <4192A1D7.8010600@eb2bcom.com>
Date: Thu, 11 Nov 2004 10:18:47 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no> <418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no> <4191602C.3060702@eb2bcom.com> <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1> <HBF.20041110v3gs@bombur.uio.no> <6.1.2.0.0.20041110124324.0302e570@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110124324.0302e570@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 11:41 AM 11/10/2004, Hallvard B Furuseth wrote:
> 
>>Kurt D. Zeilenga writes:
>>
>>>I assume what you mean here is that you are increasing
>>>believing that LDAPprep should be redesigned to accept
>>>as input an zero-length string and output a zero-length
>>>string for this input.
>>>
>>>This would require a major redesign of the algorithm.
>>
>>Why?  Just put the zero-length shortcut you gave at the top of
>>stringprep algorithm instead of in the matching rule(s) which uses it:
> 
> 
> Even if we presume that the proper LDAPprep("") output is "",
> specifying this in the I-D would require significant revision
> of the text.

I don't see it. Which of the steps in LDAPprep would be broken if the
output of the previous step (or the original input) happened to be a
zero-length string ?

 > And, if we presume that LDAPprep("") output for
> some character string matching rules is not "", the I-D would
> require significant redesign.

LDAPprep already has internal steps that replace an empty string with " ",
so why isn't this cause for a significant redesign ?

Regards,
Steven

> 
> In short, LDAPprep was designed for X.520-based matching rules.
> It wasn't designed to handle empty inputs and redesigning it
> to handle such inputs is, IMO, non-trivial.
> 
> However, before we consider any change to LDAPprep, we first
> must reach consensus the semantics of empty values in IA5
> Strings.  I note as well that I intend to argue that IA5
> Strings, as specified in RFC 1274, were intended to be
> non-empty and expected in many to be non-empty and that by
> allowing non-empty values in IA5 string will lead to far
> more problems than it will resolve.
> 
> Kurt 
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 18:34: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 SAA18269
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 18:34:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAANXFfk076727;
	Wed, 10 Nov 2004 23:34: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 iAANV6nr076607;
	Wed, 10 Nov 2004 23:31: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); Wed, 10 Nov 2004 23:31:06 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAANV21D076576;
	Wed, 10 Nov 2004 23:31:03 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000682; Thu, 11 Nov 2004 10:36:11 +1100
Message-ID: <4192A492.50202@eb2bcom.com>
Date: Thu, 11 Nov 2004 10:30:26 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no> <418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no> <4191602C.3060702@eb2bcom.com> <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1> <HBF.20041110v3gs@bombur.uio.no> <6.1.2.0.0.20041110124324.0302e570@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110124324.0302e570@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Another data point ...

Component matching allows any string matching rule to be applied to any
string component of any ASN.1 type. There is nothing to prevent those
string components having zero length. We might be able to force the
IA5 String syntax to have at least one character but we can't do the
same for every string component of every ASN.1 type.

Regards,
Steven

Kurt D. Zeilenga wrote:
> At 11:41 AM 11/10/2004, Hallvard B Furuseth wrote:
> 
>>Kurt D. Zeilenga writes:
>>
>>>I assume what you mean here is that you are increasing
>>>believing that LDAPprep should be redesigned to accept
>>>as input an zero-length string and output a zero-length
>>>string for this input.
>>>
>>>This would require a major redesign of the algorithm.
>>
>>Why?  Just put the zero-length shortcut you gave at the top of
>>stringprep algorithm instead of in the matching rule(s) which uses it:
> 
> 
> Even if we presume that the proper LDAPprep("") output is "",
> specifying this in the I-D would require significant revision
> of the text.  And, if we presume that LDAPprep("") output for
> some character string matching rules is not "", the I-D would
> require significant redesign.
> 
> In short, LDAPprep was designed for X.520-based matching rules.
> It wasn't designed to handle empty inputs and redesigning it
> to handle such inputs is, IMO, non-trivial.
> 
> However, before we consider any change to LDAPprep, we first
> must reach consensus the semantics of empty values in IA5
> Strings.  I note as well that I intend to argue that IA5
> Strings, as specified in RFC 1274, were intended to be
> non-empty and expected in many to be non-empty and that by
> allowing non-empty values in IA5 string will lead to far
> more problems than it will resolve.
> 
> Kurt 
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 18:46: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 SAA19330
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 18:46:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAANjF4m077675;
	Wed, 10 Nov 2004 23:45: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 iAANfags077459;
	Wed, 10 Nov 2004 23:41: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); Wed, 10 Nov 2004 23:41:36 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAANfWwx077428;
	Wed, 10 Nov 2004 23:41:33 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000684; Thu, 11 Nov 2004 10:46:42 +1100
Message-ID: <4192A708.8050202@eb2bcom.com>
Date: Thu, 11 Nov 2004 10:40:56 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no> <418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no> <4191602C.3060702@eb2bcom.com> <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1> <41929A94.6010707@eb2bcom.com> <6.1.2.0.0.20041110175450.03157950@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110175450.03157950@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 05:47 PM 11/10/2004, Steven Legg wrote:
> 
> 
>>Kurt,
>>
>>Kurt D. Zeilenga wrote:
>>
>>>At 07:26 PM 11/9/2004, Steven Legg wrote:
>>>
>>>
>>>>For the record, I don't care whether IA5 String syntax is constrained to have
>>>>at least one character. However, I increasingly believe that stringprep should
>>>>be able to produce a zero-length string as input to a matching function. 
>>>
>>>I assume what you mean here is that you are increasing
>>>believing that LDAPprep should be redesigned to accept
>>>as input an zero-length string and output a zero-length
>>>string for this input.
>>
>>No, I believe that LDAPprep should be able to output a zero-length
>>string given a non-zero-length input string.
> 
> 
> I disagree.  I believe it LDAPprep must be idempotent.

Any particular technical reason why ?

 > That is,
>         LDAPprep(LDAPprep(x)) = LDAPprep(x)
> be true for all X.

I think LDAPprep should be able to produce zero-length output and you
think LDAPprep should be idempotent - both of us are satisfied if the
input to LDAPprep is permitted to be a zero-length string.

Regards,
Steven

> 
> 
>>There are steps within
>>LDAPPrep that remove various insignificant characters. It should be
>>allowed to produce a zero-length string when it turns out that all the
>>characters are insignificant.
>>
>>
>>
>>>This would require a major redesign of the algorithm.
>>
>>I don't see why.
>>
>>There are internal steps where an empty string is replaced by
>>a single space. Just take those bits out.
> 
> 
> Not enough to ensure idempotence.
> 
> 
>>I think the current description of the matching semantics in [syntaxes] is
>>compatible with zero-length strings being output by LDAPprep, but it would
>>be worth me adding some text to point out that zero-length strings can be
>>output by LDAPprep, and to formally state that two empty strings match.
>>
>>
>>>If the designers of a particular matching rule desires
>>>that zero-length input strings be matched as X strings
>>>(where X is either a zero-length string or a particular
>>>non-zero-length string, e.g. " "), the specification for
>>>that rule should say something like:
>>>       For non-zero-length input strings, the string
>>>       is to prepared in accordance with LDAPprep.
>>>       For zero-length input strings, no preparation
>>>       is done.  The input string is used directly.
>>>or:
>>>       If the input string is zero-length, the string
>>>       is matched as if X was inputted.  For input
>>>       strings which are non-zero-length, the input
>>>       string is prepared in accordance with LDAPprep
>>>       before being compared.
>>>I don't think we should undertake a redesign LDAPprep
>>>to handle zero-length input string.
>>
>>Allowing it to produce a zero-length output string is enough.
> 
> 
> Not enough to ensure idempotence.
> 
> 
> 
>>Regards,
>>Steven
> 
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 20:11: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 UAA26455
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 20:11:49 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB19FPW080703;
	Thu, 11 Nov 2004 01: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 iAB18mrL080666;
	Thu, 11 Nov 2004 01:08:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 11 Nov 2004 01:08:48 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB18hEX080653
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 01:08:44 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.172.186
Received: from [192.168.1.65] (client-200.121.172.186.speedy.net.pe [200.121.172.186] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAB2SMrJ018788;
	Thu, 11 Nov 2004 02:28:24 GMT
In-Reply-To: <4192A492.50202@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no> <418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no> <4191602C.3060702@eb2bcom.com> <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1> <HBF.20041110v3gs@bombur.uio.no> <6.1.2.0.0.20041110124324.0302e570@127.0.0.1> <4192A492.50202@eb2bcom.com>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <F4D3142C-337D-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: Empty IA5String
Date: Wed, 10 Nov 2004 20:06:45 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


On 10-Nov-04, at 6:30 PM, Steven Legg wrote:

> Component matching allows any string matching rule to be applied to any
> string component of any ASN.1 type. There is nothing to prevent those
> string components having zero length. We might be able to force the
> IA5 String syntax to have at least one character but we can't do the
> same for every string component of every ASN.1 type.

Very true. This is (amongst) the reasons I consider the generalised
use of stringprep to be unfortunate. Of course, one could define
string matching rules which are just like the current ones but do
not use stringprep, or use another profile. In fact, I believe that
will be necessary given the concerns I outlined a couple of days ago.

On a related note, it is not clear that the non-significant characters
being deleted by stringprep are all that non-significant.

I don't know whether or not this is a problem, but: it is legal to 
follow
a character of class C with a combining character (class M). For
example, the following is a legal Unicode sequence: U+0041 U+200B U+0301
(CAPITAL A, ZERO WIDTH SPACE, COMBINING ACUTE ACCENT)

The U+0301 is a "defective combining sequence" (which is specifically 
legal,
despite the use of the word defective). Simply deleting the U+200B will
result in a non-canonical string; map-to-nothing therefore has to happen
earlier (which is does, so that's ok). This turns the above sequence 
into
U+00C1 (CAPITAL A WITH ACUTE).

Arguably, the original input was "bogus", but it is, I believe,
typographically meaningful, since the ZWS is allowed to expand
during justification, and is additionally a word-break character.
Unicode has some odd corners.

The insignificant character deletion which occurs in LDAPprep is
post-normalization, and therefore could theoretically create
non-NFKC normalised strings, if for example a telephone number
were allowed to contain non-IA5 characters. (Is there a reason
why NFKC was chosen rather than NFKD, by the way? I would have
thought that NFKD would be computationally simpler -- even though
the normalised strings are larger -- and I don't see how there
could be any difference in the equivalence classes generated.)



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 20:36: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 UAA28898
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 20:36:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB1XFCU081388;
	Thu, 11 Nov 2004 01:33: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 iAB1Tmk3081318;
	Thu, 11 Nov 2004 01:29:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 11 Nov 2004 01:29: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 iAB1Th5l081308
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 01:29: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 iAB1SOZv076341;
	Thu, 11 Nov 2004 01:29:40 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110202025.034f6f18@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 20:28:49 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <4192A1D7.8010600@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no>
 <418FF619.8040508@eb2bcom.com>
 <HBF.20041109m19a@bombur.uio.no>
 <4191602C.3060702@eb2bcom.com>
 <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
 <HBF.20041110v3gs@bombur.uio.no>
 <6.1.2.0.0.20041110124324.0302e570@127.0.0.1>
 <4192A1D7.8010600@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:18 PM 11/10/2004, Steven Legg wrote:
>LDAPprep already has internal steps that replace an empty string with " ",
>so why isn't this cause for a significant redesign ? 

Well, as I noted to Hallvard, how much redesign would be
needed depends on the particular matching semantics we're
trying to provide.  I heard that some want:
        LDAPprep("") != LDAPprep(X) for all X != ""

Others seem to want:
        LDAPprep("") == LDAPprep(" ")

others may want something else.

My comment about "significant redesign" was based in part
on what I though folks were wanting.  But beyond that, I
note that regardless of what different behavior we might
want from the current behavior, significant additional
engineering would likely be required to produce that
behavior.  Simply tweaking a step can have a number of
non-desirable side effects.  It's not something I want
to do without very good reason.

Kurt




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 20:52:39 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 UAA00451
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 20:52:39 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB1pH5F082174;
	Thu, 11 Nov 2004 01:51: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 iAB1dOYj081678;
	Thu, 11 Nov 2004 01:39: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); Thu, 11 Nov 2004 01:39:24 +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 iAB1dN9N081668
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 01:39: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 iAB1c5Zv076422;
	Thu, 11 Nov 2004 01:39:20 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110203153.034db410@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 20:38:30 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <4192A492.50202@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no>
 <418FF619.8040508@eb2bcom.com>
 <HBF.20041109m19a@bombur.uio.no>
 <4191602C.3060702@eb2bcom.com>
 <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
 <HBF.20041110v3gs@bombur.uio.no>
 <6.1.2.0.0.20041110124324.0302e570@127.0.0.1>
 <4192A492.50202@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:30 PM 11/10/2004, Steven Legg wrote:
>Component matching allows any string matching rule to be applied to any
>string component of any ASN.1 type. There is nothing to prevent those
>string components having zero length. We might be able to force the
>IA5 String syntax to have at least one character but we can't do the
>same for every string component of every ASN.1 type. 

Understood.

It would have been nice if IA5String would not have been
used directly in RFC 1274, but instead something like:
        CosineIA5String ::= IA5String SIZE (1..max)
but it didn't.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 21:35: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 VAA03401
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 21:35:36 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB2XFkL083890;
	Thu, 11 Nov 2004 02:33: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 iAB2MtjM083514;
	Thu, 11 Nov 2004 02:22: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); Thu, 11 Nov 2004 02:22: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 iAB2MsZR083502
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 02:22: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 iAB2GYZv076636;
	Thu, 11 Nov 2004 02:19:05 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110203907.03437c90@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 21:16:59 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Empty IA5String
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <4192A708.8050202@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no>
 <418FF619.8040508@eb2bcom.com>
 <HBF.20041109m19a@bombur.uio.no>
 <4191602C.3060702@eb2bcom.com>
 <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
 <41929A94.6010707@eb2bcom.com>
 <6.1.2.0.0.20041110175450.03157950@127.0.0.1>
 <4192A708.8050202@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:40 PM 11/10/2004, Steven Legg wrote:

>Kurt,
>
>Kurt D. Zeilenga wrote:
>>At 05:47 PM 11/10/2004, Steven Legg wrote:
>>
>>>Kurt,
>>>
>>>Kurt D. Zeilenga wrote:
>>>
>>>>At 07:26 PM 11/9/2004, Steven Legg wrote:
>>>>
>>>>
>>>>>For the record, I don't care whether IA5 String syntax is constrained to have
>>>>>at least one character. However, I increasingly believe that stringprep should
>>>>>be able to produce a zero-length string as input to a matching function. 
>>>>
>>>>I assume what you mean here is that you are increasing
>>>>believing that LDAPprep should be redesigned to accept
>>>>as input an zero-length string and output a zero-length
>>>>string for this input.
>>>
>>>No, I believe that LDAPprep should be able to output a zero-length
>>>string given a non-zero-length input string.
>>
>>I disagree.  I believe it LDAPprep must be idempotent.
>
>Any particular technical reason why ?

Stringprep algorithms are idempotent by design.  Though
we've added two additional steps, these steps should
ensure that this property is maintained.

In absence of idempotence, one could have caseExactMatch(X, Y)
evaluate to FALSE even though Y is the string LDAPprep(X).

Also, without idempotence implementations would have to be
very careful in what they did without output values.

There are likely some security considerations here as well.

>> That is,
>>        LDAPprep(LDAPprep(x)) = LDAPprep(x)
>>be true for all X.
>
>I think LDAPprep should be able to produce zero-length output and you
>think LDAPprep should be idempotent - both of us are satisfied if the
>input to LDAPprep is permitted to be a zero-length string.

No.  Because one of the key aspects of being idempotent is
that every possible out be a valid per the syntax of the
input.

Now, if LDAPprep(x) == "" only for x == "", then LDAPprep
would be truly idempotent.  However, this implies that
LDAPprep("") != LDAPprep(" ").



>Regards,
>Steven
>
>>
>>>There are steps within
>>>LDAPPrep that remove various insignificant characters. It should be
>>>allowed to produce a zero-length string when it turns out that all the
>>>characters are insignificant.
>>>
>>>
>>>
>>>>This would require a major redesign of the algorithm.
>>>
>>>I don't see why.
>>>
>>>There are internal steps where an empty string is replaced by
>>>a single space. Just take those bits out.
>>
>>Not enough to ensure idempotence.
>>
>>>I think the current description of the matching semantics in [syntaxes] is
>>>compatible with zero-length strings being output by LDAPprep, but it would
>>>be worth me adding some text to point out that zero-length strings can be
>>>output by LDAPprep, and to formally state that two empty strings match.
>>>
>>>
>>>>If the designers of a particular matching rule desires
>>>>that zero-length input strings be matched as X strings
>>>>(where X is either a zero-length string or a particular
>>>>non-zero-length string, e.g. " "), the specification for
>>>>that rule should say something like:
>>>>      For non-zero-length input strings, the string
>>>>      is to prepared in accordance with LDAPprep.
>>>>      For zero-length input strings, no preparation
>>>>      is done.  The input string is used directly.
>>>>or:
>>>>      If the input string is zero-length, the string
>>>>      is matched as if X was inputted.  For input
>>>>      strings which are non-zero-length, the input
>>>>      string is prepared in accordance with LDAPprep
>>>>      before being compared.
>>>>I don't think we should undertake a redesign LDAPprep
>>>>to handle zero-length input string.
>>>
>>>Allowing it to produce a zero-length output string is enough.
>>
>>Not enough to ensure idempotence.
>>
>>
>>>Regards,
>>>Steven
>>



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 21:46:39 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 VAA04140
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 21:46:38 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB2jG8d084423;
	Thu, 11 Nov 2004 02:45: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 iAB2f50a084263;
	Thu, 11 Nov 2004 02:41: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); Thu, 11 Nov 2004 02:41:05 +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 iAB2f4oo084253
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 02:41:05 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 iAB2f3Zv076812
	for <ietf-ldapbis@openldap.org>; Thu, 11 Nov 2004 02:41:04 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041110213350.02f778c0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 10 Nov 2004 21:41:29 -0500
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: reframing the Empty IA5 string discussion
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I see that there are few reasonable options here:
1) IA5 strings precludes zero-length values
2) IA5 strings allows zero-length values
   2A) a zero-length values only matches a zero-length value
   2B) a zero-length value matches " " (and all values
       equivalent to " ").

I prefer 1 over 2A over 2B (see prior posts for why).

(Regardless of the choice LDAPprep can and should be designed
to be idempotent.)



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 21:46: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 VAA04158
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 21:46:39 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB2jG8f084423;
	Thu, 11 Nov 2004 02: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 iAB2ew4O084245;
	Thu, 11 Nov 2004 02:40: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); Thu, 11 Nov 2004 02:40:58 +0000
Received: from highlandsun.propagation.net (highlandsun.propagation.net [66.221.212.168])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB2eikx084234
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 02:40:57 GMT
	(envelope-from hyc@highlandsun.com)
Received: from [127.0.0.1] (highlandsun.com [66.221.212.169])
	by highlandsun.propagation.net (8.12.9/8.12.9) with ESMTP id iAB2eV7j004265;
	Wed, 10 Nov 2004 20:40:32 -0600
Message-ID: <4192D129.6090206@highlandsun.com>
Date: Wed, 10 Nov 2004 18:40:41 -0800
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041101
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: T.61 -> Unicode conversion
References: <HBF.20041107oase@bombur.uio.no>
In-Reply-To: <HBF.20041107oase@bombur.uio.no>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Hallvard B Furuseth wrote:

> Also,
> 
> I'm pretty sure that when I used X.500 and T.61 (10+ years ago?), at
> least the T.61 Underline combining character could be combined with
> other combining characters.  I don't know if Unicode allows that; the
> strprep description of doing so at the end of Appendix A does not.

You're right, the notes I read state that the Underline can be combined 
with any other graphic character. I'll have to double-check how Unicode 
deals with this.

> Also, I may remember wrong but there seems to be a lot more valid
> character combinations (accent character + other character) than there
> was in the T.61 I am used to.  Does the strprep algorithm accept any
> T.61 character combination which can be mapped to Unicode, whether or
> not the combination is valid in T.61?  If so, there are strings which
> Stringprep will incorrectly will treat as valid.

Appendix A doesn't specify that invalid combinations should be detected. 
Perhaps it should, but it seems unfriendly to break any software that 
might be using these sequences.

> I don't know where to find T.61 so I can check this, though.  At least
> not on a Sunday:-)

Considering that the CCITT withdrew this spec years ago, it's not 
surprising. It also has never been clear which version T.61 to use, as 
that spec evolved quite a bit before being withdrawn. (e.g., 
http://www.mail-archive.com/openca-users@lists.sourceforge.net/msg04365.html

Appendix A only considers iso-ir-103 as listed in RFC1345 but there's 
really no way to know how many implementations out there did things 
differently.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.       Director, Highland Sun
   http://www.symas.com               http://highlandsun.com/hyc
   Symas: Premier OpenSource Development and Support


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 22:29: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 WAA07877
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 22:29:03 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB3RGrM086101;
	Thu, 11 Nov 2004 03:27:31 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 iAB3O1f4086013;
	Thu, 11 Nov 2004 03:24: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); Thu, 11 Nov 2004 03:24:01 +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 iAB3Nwxb085944;
	Thu, 11 Nov 2004 03:23:59 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Wed, 10 Nov 2004 20:23:38 -0700
Message-Id: <s19278ca.013@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Wed, 10 Nov 2004 20:23:17 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: reframing the Empty IA5 string discussion
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part55758B35.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

Not being an expert at LDAPprep or the reasons why Directory Strings
have the whitespace and min 1 rules they do, I prefer 2A.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/10/04 9:41:29 PM >>>
I see that there are few reasonable options here:
1) IA5 strings precludes zero-length values
2) IA5 strings allows zero-length values
2A) a zero-length values only matches a zero-length value
2B) a zero-length value matches " " (and all values
equivalent to " ").

I prefer 1 over 2A over 2B (see prior posts for why).

(Regardless of the choice LDAPprep can and should be designed
to be idempotent.)


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">Not being an expert =
at LDAPprep or the reasons why Directory Strings have the whitespace and =
min 1 rules they do, I prefer 2A.<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" =
&lt;Kurt@OpenLDAP.org&gt; 11/10/04 9:41:29 PM &gt;&gt;&gt;<BR>I see that =
there are few reasonable options here:<BR>1) IA5 strings precludes =
zero-length values<BR>2) IA5 strings allows zero-length values<BR>2A) a =
zero-length values only matches a zero-length value<BR>2B) a zero-length =
value matches " " (and all values<BR>equivalent to " ").<BR><BR>I prefer 1 =
over 2A over 2B (see prior posts for why).<BR><BR>(Regardless of the =
choice LDAPprep can and should be designed<BR>to be idempotent.)<BR><BR></B=
ODY></HTML>

--=__Part55758B35.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 22:34: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 WAA08460
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 22:34:09 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB3XG9f086340;
	Thu, 11 Nov 2004 03:33: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 iAB3RUu1086118;
	Thu, 11 Nov 2004 03:27: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); Thu, 11 Nov 2004 03:27:30 +0000
Received: from highlandsun.propagation.net (highlandsun.propagation.net [66.221.212.168])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB3RTwI086108
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 03:27:29 GMT
	(envelope-from hyc@highlandsun.com)
Received: from [127.0.0.1] (highlandsun.com [66.221.212.169])
	by highlandsun.propagation.net (8.12.9/8.12.9) with ESMTP id iAB3RGXj005097;
	Wed, 10 Nov 2004 21:27:17 -0600
Message-ID: <4192DC1F.308@highlandsun.com>
Date: Wed, 10 Nov 2004 19:27:27 -0800
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041101
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: T.61 -> Unicode conversion
References: <HBF.20041107oase@bombur.uio.no> <4192D129.6090206@highlandsun.com>
In-Reply-To: <4192D129.6090206@highlandsun.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Howard Chu wrote:
> Hallvard B Furuseth wrote:
> 
>> Also,
>>
>> I'm pretty sure that when I used X.500 and T.61 (10+ years ago?), at
>> least the T.61 Underline combining character could be combined with
>> other combining characters.  I don't know if Unicode allows that; the
>> strprep description of doing so at the end of Appendix A does not.

> You're right, the notes I read state that the Underline can be combined 
> with any other graphic character. I'll have to double-check how Unicode 
> deals with this.

http://www.unicode.org/book/ch02.pdf page 25
   The Unicode Standard does not restrict the number of combining 
characters that may follow a base character.

And from http://www.itscj.ipsj.or.jp/ISO-IR/103.pdf
   The non-spacing character UNDERLINE shall never be used individually 
but always in combination with some other graphic character to represent 
the graphic rendition "underlined" for the associated character. The 
non-spacing character UNDERLINE can be used in combination with any 
graphic character of the repertoire, including an accented letter or an 
umlaut, or SPACE.

This note would imply that we need to add a check for this case to 
Appendix A: if the combining character is UNDERLINE and the next 
character is also a combining character, then the character after that 
is used as the base character and both of the combining characters are 
mapped and appended. E.g. "_'a" becomes "a_'"

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.       Director, Highland Sun
   http://www.symas.com               http://highlandsun.com/hyc
   Symas: Premier OpenSource Development and Support


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 10 23:41: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 XAA13197
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Nov 2004 23:41:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB4dRpe087796;
	Thu, 11 Nov 2004 04:39:52 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 iAB4aUWr087737;
	Thu, 11 Nov 2004 04: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); Thu, 11 Nov 2004 04:36:30 +0000
Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB4aRuR087706;
	Thu, 11 Nov 2004 04:36:27 GMT
	(envelope-from ludovic.poitou@Sun.COM)
Received: from odin.France.Sun.COM ([129.157.174.8])
	by nwkea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id iAB4aP7q022547;
	Wed, 10 Nov 2004 20:36:26 -0800 (PST)
Received: from [129.150.64.53] (vpn-129-150-64-53.East.Sun.COM [129.150.64.53])
	by odin.France.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id iAB4aNLi005240;
	Thu, 11 Nov 2004 05:36:24 +0100 (MET)
Message-ID: <4192EC2F.1020703@Sun.COM>
Date: Thu, 11 Nov 2004 05:35:59 +0100
From: Ludovic Poitou <ludovic.poitou@Sun.COM>
Organization: SUN Microsystems
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
CC: ietf-ldapbis@OpenLDAP.org, Kurt@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion
References: <s19278ca.013@sinclair.provo.novell.com>
In-Reply-To: <s19278ca.013@sinclair.provo.novell.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I'm also inclined to prefer 2A over 1 for compatibility reasons, over 2B 
for simplicity.

Ludovic.


Jim Sermersheim wrote:

> Not being an expert at LDAPprep or the reasons why Directory Strings 
> have the whitespace and min 1 rules they do, I prefer 2A.
>
> >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/10/04 9:41:29 PM >>>
> I see that there are few reasonable options here:
> 1) IA5 strings precludes zero-length values
> 2) IA5 strings allows zero-length values
> 2A) a zero-length values only matches a zero-length value
> 2B) a zero-length value matches " " (and all values
> equivalent to " ").
>
> I prefer 1 over 2A over 2B (see prior posts for why).
>
> (Regardless of the choice LDAPprep can and should be designed
> to be idempotent.)
>

-- 
Ludovic Poitou
Directory Architect.
Directory Server Group, Grenoble, France
Sun Microsystems Inc.

Sun Microsystems requires the following notice:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 00:22: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 AAA15993
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 00:22:59 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB5LHkJ088765;
	Thu, 11 Nov 2004 05:21: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 iAB5LDBs088747;
	Thu, 11 Nov 2004 05:21: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, 11 Nov 2004 05:21:13 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB5LBgI088715;
	Thu, 11 Nov 2004 05:21:11 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000701; Thu, 11 Nov 2004 16:26:20 +1100
Message-ID: <4192F6A1.8050201@eb2bcom.com>
Date: Thu, 11 Nov 2004 16:20:33 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion
References: <6.1.2.0.0.20041110213350.02f778c0@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110213350.02f778c0@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> I see that there are few reasonable options here:
> 1) IA5 strings precludes zero-length values
> 2) IA5 strings allows zero-length values
>    2A) a zero-length values only matches a zero-length value
>    2B) a zero-length value matches " " (and all values
>        equivalent to " ").
> 
> I prefer 1 over 2A over 2B (see prior posts for why).

There are two separate questions here. Whether or not the IA5 String syntax
is restricted to preclude zero-length values (I don't care either way) there
is still the potential for zero-length IA5String values to be compared by
caseIgnoreIA5Match through component matching. 2A versus 2B still has to be
addressed. On that score I prefer 2B as it makes more sense when taking the
limit.

     caseIgnoreIA5Match says "   foo" and "foo" are equal
     caseIgnoreIA5Match says "   fo"  and "fo" are equal
     caseIgnoreIA5Match says "   f"   and "f" are equal
                     2B says "   "    and "" are equal
                     2A says they're not - that seems odd to me!

Regards,
Steven

> 
> (Regardless of the choice LDAPprep can and should be designed
> to be idempotent.)
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 00:23: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 AAA15996
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 00:22:59 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB5LHkL088765;
	Thu, 11 Nov 2004 05:21: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 iAB5Jh1D088669;
	Thu, 11 Nov 2004 05:19: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); Thu, 11 Nov 2004 05:19:43 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB5Jdwo088635;
	Thu, 11 Nov 2004 05:19:40 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000700; Thu, 11 Nov 2004 16:24:38 +1100
Message-ID: <4192F63B.1000203@eb2bcom.com>
Date: Thu, 11 Nov 2004 16:18:51 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no> <418FF619.8040508@eb2bcom.com> <HBF.20041109m19a@bombur.uio.no> <4191602C.3060702@eb2bcom.com> <6.1.2.0.0.20041110112437.02d995d0@127.0.0.1> <41929A94.6010707@eb2bcom.com> <6.1.2.0.0.20041110175450.03157950@127.0.0.1> <4192A708.8050202@eb2bcom.com> <6.1.2.0.0.20041110203907.03437c90@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110203907.03437c90@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 06:40 PM 11/10/2004, Steven Legg wrote:
> 
> 
>>Kurt,
>>
>>Kurt D. Zeilenga wrote:
>>
>>>At 05:47 PM 11/10/2004, Steven Legg wrote:
>>>
>>>
>>>>Kurt,
>>>>
>>>>Kurt D. Zeilenga wrote:
>>>>
>>>>
>>>>>At 07:26 PM 11/9/2004, Steven Legg wrote:
>>>>>
>>>>>
>>>>>
>>>>>>For the record, I don't care whether IA5 String syntax is constrained to have
>>>>>>at least one character. However, I increasingly believe that stringprep should
>>>>>>be able to produce a zero-length string as input to a matching function. 
>>>>>
>>>>>I assume what you mean here is that you are increasing
>>>>>believing that LDAPprep should be redesigned to accept
>>>>>as input an zero-length string and output a zero-length
>>>>>string for this input.
>>>>
>>>>No, I believe that LDAPprep should be able to output a zero-length
>>>>string given a non-zero-length input string.
>>>
>>>I disagree.  I believe it LDAPprep must be idempotent.
>>
>>Any particular technical reason why ?
> 
> 
> Stringprep algorithms are idempotent by design.  Though
> we've added two additional steps, these steps should
> ensure that this property is maintained.
> 
> In absence of idempotence, one could have caseExactMatch(X, Y)
> evaluate to FALSE even though Y is the string LDAPprep(X).
> 
> Also, without idempotence implementations would have to be
> very careful in what they did without output values.
> 
> There are likely some security considerations here as well.

Okay, idempotency is a good thing.

> 
> 
>>>That is,
>>>       LDAPprep(LDAPprep(x)) = LDAPprep(x)
>>>be true for all X.
>>
>>I think LDAPprep should be able to produce zero-length output and you
>>think LDAPprep should be idempotent - both of us are satisfied if the
>>input to LDAPprep is permitted to be a zero-length string.
> 
> 
> No.  Because one of the key aspects of being idempotent is
> that every possible out be a valid per the syntax of the
> input.

But if the input is permitted to be a zero length string and the output
is potentially a zero-length string then isn't every possible output a
valid input ?

You seem to be conceptually linking the syntax of the output of LDAPprep
with the syntax of the attribute value that provided the input. That doesn't
need to be the case.

> 
> Now, if LDAPprep(x) == "" only for x == "", then LDAPprep
> would be truly idempotent.

There's no "only" about it. LDAPprep is still idempotent for any x != ""
where LDAPprep(x) == "". For example, assuming empty output and input strings
are allowed and no internal steps are replacing empty strings with " ",
LDAPprep("   ") == "" == LDAPprep(LDAPprep("   ")).

 > However, this implies that
> LDAPprep("") != LDAPprep(" ").

No longer true without the "only".

Regards,
Steven

> 
> 
> 
> 
>>Regards,
>>Steven
>>
>>
>>>>There are steps within
>>>>LDAPPrep that remove various insignificant characters. It should be
>>>>allowed to produce a zero-length string when it turns out that all the
>>>>characters are insignificant.
>>>>
>>>>
>>>>
>>>>
>>>>>This would require a major redesign of the algorithm.
>>>>
>>>>I don't see why.
>>>>
>>>>There are internal steps where an empty string is replaced by
>>>>a single space. Just take those bits out.
>>>
>>>Not enough to ensure idempotence.
>>>
>>>
>>>>I think the current description of the matching semantics in [syntaxes] is
>>>>compatible with zero-length strings being output by LDAPprep, but it would
>>>>be worth me adding some text to point out that zero-length strings can be
>>>>output by LDAPprep, and to formally state that two empty strings match.
>>>>
>>>>
>>>>
>>>>>If the designers of a particular matching rule desires
>>>>>that zero-length input strings be matched as X strings
>>>>>(where X is either a zero-length string or a particular
>>>>>non-zero-length string, e.g. " "), the specification for
>>>>>that rule should say something like:
>>>>>     For non-zero-length input strings, the string
>>>>>     is to prepared in accordance with LDAPprep.
>>>>>     For zero-length input strings, no preparation
>>>>>     is done.  The input string is used directly.
>>>>>or:
>>>>>     If the input string is zero-length, the string
>>>>>     is matched as if X was inputted.  For input
>>>>>     strings which are non-zero-length, the input
>>>>>     string is prepared in accordance with LDAPprep
>>>>>     before being compared.
>>>>>I don't think we should undertake a redesign LDAPprep
>>>>>to handle zero-length input string.
>>>>
>>>>Allowing it to produce a zero-length output string is enough.
>>>
>>>Not enough to ensure idempotence.
>>>
>>>
>>>
>>>>Regards,
>>>>Steven
>>>
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 00:40: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 AAA16883
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 00:40:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB5dHDf089489;
	Thu, 11 Nov 2004 05:39: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 iAB5d0Ru089446;
	Thu, 11 Nov 2004 05:39: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); Thu, 11 Nov 2004 05:39:00 +0000
Received: from mail17.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB5cqWH089397
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 05:38:56 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by mail17.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Thu, 11 Nov 2004 16:38:31 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: reframing the Empty IA5 string discussion
Date: Thu, 11 Nov 2004 16:38:30 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B638101FE51FC@ausyms21.ca.com>
Thread-Topic: reframing the Empty IA5 string discussion
Thread-Index: AcTHrlVFITpmvmcHT3q/27X8y8Vs5wAAe5YQ
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Steven Legg" <steven.legg@eb2bcom.com>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 11 Nov 2004 05:38:31.0292 (UTC) FILETIME=[AD8A73C0:01C4C7B0]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iAB5cvWH089427
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

But, for example, does caseIgnoreMatch say that "    " and "" are equal? I would have thought that "    " and " " are equal and that neither equals "".

If this were the case, I would expect the next in your sequence of caseIgnoreIA5Match lines would be
     caseIgnoreIA5Match says "   f"   and " " are equal.

Ron

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Steven Legg
Sent: Thursday, 11 November 2004 16:21
To: Kurt D. Zeilenga
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion



Kurt,

Kurt D. Zeilenga wrote:
> I see that there are few reasonable options here:
> 1) IA5 strings precludes zero-length values
> 2) IA5 strings allows zero-length values
>    2A) a zero-length values only matches a zero-length value
>    2B) a zero-length value matches " " (and all values
>        equivalent to " ").
> 
> I prefer 1 over 2A over 2B (see prior posts for why).

There are two separate questions here. Whether or not the IA5 String syntax
is restricted to preclude zero-length values (I don't care either way) there
is still the potential for zero-length IA5String values to be compared by
caseIgnoreIA5Match through component matching. 2A versus 2B still has to be
addressed. On that score I prefer 2B as it makes more sense when taking the
limit.

     caseIgnoreIA5Match says "   foo" and "foo" are equal
     caseIgnoreIA5Match says "   fo"  and "fo" are equal
     caseIgnoreIA5Match says "   f"   and "f" are equal
                     2B says "   "    and "" are equal
                     2A says they're not - that seems odd to me!

Regards,
Steven

> 
> (Regardless of the choice LDAPprep can and should be designed
> to be idempotent.)
> 
> 




From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 01:11: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 BAA19757
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 01:11:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB69HTm090545;
	Thu, 11 Nov 2004 06:09: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 iAB677ZC090514;
	Thu, 11 Nov 2004 06:07: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); Thu, 11 Nov 2004 06:07:07 +0000
Received: from s-utl01-dcpop.stsn.com (s-utl01-dcpop.stsn.com [63.240.218.73])
	by boole.openldap.org (8.12.11/8.12.11) with SMTP id iAB674FK090483;
	Thu, 11 Nov 2004 06:07:05 GMT
	(envelope-from morteza@infoblox.com)
Received: from dcpop.smtp.stsn.com ([127.0.0.1])
 by s-utl01-dcpop.stsn.com (SAVSMTP 3.1.0.29) with SMTP id M2004111101065804244
 ; Thu, 11 Nov 2004 01:06:58 -0500
Received: from [10.67.86.209] ([10.67.86.209]) by dcpop.smtp.stsn.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Thu, 11 Nov 2004 01:06:58 -0500
Message-ID: <41930184.30903@infoblox.com>
Date: Wed, 10 Nov 2004 22:07:00 -0800
From: Morteza Ansari <morteza@infoblox.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040616
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Steven Legg <steven.legg@eb2bcom.com>
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion
References: <6.1.2.0.0.20041110213350.02f778c0@127.0.0.1> <4192F6A1.8050201@eb2bcom.com>
In-Reply-To: <4192F6A1.8050201@eb2bcom.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 11 Nov 2004 06:06:58.0291 (UTC) FILETIME=[A6FDD430:01C4C7B4]
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I second that.  I think '1' makes sense for not allowing zero-length 
values, and 2B for matching rules.


Cheers,
Morteza

Steven Legg wrote:

> 
> Kurt,
> 
> Kurt D. Zeilenga wrote:
> 
>> I see that there are few reasonable options here:
>> 1) IA5 strings precludes zero-length values
>> 2) IA5 strings allows zero-length values
>>    2A) a zero-length values only matches a zero-length value
>>    2B) a zero-length value matches " " (and all values
>>        equivalent to " ").
>>
>> I prefer 1 over 2A over 2B (see prior posts for why).
> 
> 
> There are two separate questions here. Whether or not the IA5 String syntax
> is restricted to preclude zero-length values (I don't care either way) 
> there
> is still the potential for zero-length IA5String values to be compared by
> caseIgnoreIA5Match through component matching. 2A versus 2B still has to be
> addressed. On that score I prefer 2B as it makes more sense when taking the
> limit.
> 
>     caseIgnoreIA5Match says "   foo" and "foo" are equal
>     caseIgnoreIA5Match says "   fo"  and "fo" are equal
>     caseIgnoreIA5Match says "   f"   and "f" are equal
>                     2B says "   "    and "" are equal
>                     2A says they're not - that seems odd to me!
> 
> Regards,
> Steven
> 
>>
>> (Regardless of the choice LDAPprep can and should be designed
>> to be idempotent.)
>>
>>



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 01:41: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 BAA21679
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 01:41:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB6dHsT091476;
	Thu, 11 Nov 2004 06:39: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 iAB6XPi0091263;
	Thu, 11 Nov 2004 06:33: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); Thu, 11 Nov 2004 06:33:25 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB6XK4g091251
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 06:33:21 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000722; Thu, 11 Nov 2004 17:38:00 +1100
Message-ID: <4193076D.4030600@eb2bcom.com>
Date: Thu, 11 Nov 2004 17:32:13 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion
References: <1395B4B334FCC143B36AF788E68B638101FE51FC@ausyms21.ca.com>
In-Reply-To: <1395B4B334FCC143B36AF788E68B638101FE51FC@ausyms21.ca.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Ron,

Ramsay, Ron wrote:
> But, for example, does caseIgnoreMatch say that "    " and "" are equal?

I would say yes. Both strings are empty of significant characters.

 > I would
 > have thought that "    " and " " are equal and that neither equals "".

I would say that "    " and " " and "" are all equal as they are all
empty of significant characters.

> 
> If this were the case, I would expect the next in your sequence of
 > caseIgnoreIA5Match lines would be
>      caseIgnoreIA5Match says "   f"   and " " are equal.

Each step removes the last character from each of two strings that match
in the previous step.

Regards,
Steven

> 
> Ron
> 
> -----Original Message-----
> From: owner-ietf-ldapbis@OpenLDAP.org
> [mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Steven Legg
> Sent: Thursday, 11 November 2004 16:21
> To: Kurt D. Zeilenga
> Cc: ietf-ldapbis@OpenLDAP.org
> Subject: Re: reframing the Empty IA5 string discussion
> 
> 
> 
> Kurt,
> 
> Kurt D. Zeilenga wrote:
> 
>>I see that there are few reasonable options here:
>>1) IA5 strings precludes zero-length values
>>2) IA5 strings allows zero-length values
>>   2A) a zero-length values only matches a zero-length value
>>   2B) a zero-length value matches " " (and all values
>>       equivalent to " ").
>>
>>I prefer 1 over 2A over 2B (see prior posts for why).
> 
> 
> There are two separate questions here. Whether or not the IA5 String syntax
> is restricted to preclude zero-length values (I don't care either way) there
> is still the potential for zero-length IA5String values to be compared by
> caseIgnoreIA5Match through component matching. 2A versus 2B still has to be
> addressed. On that score I prefer 2B as it makes more sense when taking the
> limit.
> 
>      caseIgnoreIA5Match says "   foo" and "foo" are equal
>      caseIgnoreIA5Match says "   fo"  and "fo" are equal
>      caseIgnoreIA5Match says "   f"   and "f" are equal
>                      2B says "   "    and "" are equal
>                      2A says they're not - that seems odd to me!
> 
> Regards,
> Steven
> 
> 
>>(Regardless of the choice LDAPprep can and should be designed
>>to be idempotent.)
>>
>>
> 
> 
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 01:46: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 BAA21935
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 01:46:02 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB6jMcY091670;
	Thu, 11 Nov 2004 06:45: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 iAB6iocu091636;
	Thu, 11 Nov 2004 06:44:50 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, 11 Nov 2004 06:44:50 +0000
Received: from mail17.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB6ilPn091598
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 06:44:48 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by mail17.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Thu, 11 Nov 2004 17:44:26 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: reframing the Empty IA5 string discussion
Date: Thu, 11 Nov 2004 17:44:26 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B638101FE52BE@ausyms21.ca.com>
Thread-Topic: reframing the Empty IA5 string discussion
Thread-Index: AcTHuFlffCCny2tVS+iK33TaBVs52wAAWeZw
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Steven Legg" <steven.legg@eb2bcom.com>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 11 Nov 2004 06:44:26.0955 (UTC) FILETIME=[E34CB9B0:01C4C7B9]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iAB6inPn091626
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Well, yes, but I would have thought the ONLY space in the string would NOT be insignificant.

-----Original Message-----
From: Steven Legg [mailto:steven.legg@eb2bcom.com]
Sent: Thursday, 11 November 2004 17:32
To: Ramsay, Ron
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion



Ron,

Ramsay, Ron wrote:
> But, for example, does caseIgnoreMatch say that "    " and "" are equal?

I would say yes. Both strings are empty of significant characters.

 > I would
 > have thought that "    " and " " are equal and that neither equals "".

I would say that "    " and " " and "" are all equal as they are all
empty of significant characters.

> 
> If this were the case, I would expect the next in your sequence of
 > caseIgnoreIA5Match lines would be
>      caseIgnoreIA5Match says "   f"   and " " are equal.

Each step removes the last character from each of two strings that match
in the previous step.

Regards,
Steven

> 
> Ron
> 
> -----Original Message-----
> From: owner-ietf-ldapbis@OpenLDAP.org
> [mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Steven Legg
> Sent: Thursday, 11 November 2004 16:21
> To: Kurt D. Zeilenga
> Cc: ietf-ldapbis@OpenLDAP.org
> Subject: Re: reframing the Empty IA5 string discussion
> 
> 
> 
> Kurt,
> 
> Kurt D. Zeilenga wrote:
> 
>>I see that there are few reasonable options here:
>>1) IA5 strings precludes zero-length values
>>2) IA5 strings allows zero-length values
>>   2A) a zero-length values only matches a zero-length value
>>   2B) a zero-length value matches " " (and all values
>>       equivalent to " ").
>>
>>I prefer 1 over 2A over 2B (see prior posts for why).
> 
> 
> There are two separate questions here. Whether or not the IA5 String syntax
> is restricted to preclude zero-length values (I don't care either way) there
> is still the potential for zero-length IA5String values to be compared by
> caseIgnoreIA5Match through component matching. 2A versus 2B still has to be
> addressed. On that score I prefer 2B as it makes more sense when taking the
> limit.
> 
>      caseIgnoreIA5Match says "   foo" and "foo" are equal
>      caseIgnoreIA5Match says "   fo"  and "fo" are equal
>      caseIgnoreIA5Match says "   f"   and "f" are equal
>                      2B says "   "    and "" are equal
>                      2A says they're not - that seems odd to me!
> 
> Regards,
> Steven
> 
> 
>>(Regardless of the choice LDAPprep can and should be designed
>>to be idempotent.)
>>
>>
> 
> 
> 
> 




From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 03:06: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 DAA11429
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 03:06:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB83IJg093951;
	Thu, 11 Nov 2004 08:04: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 iAB830vw093939;
	Thu, 11 Nov 2004 08:03: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); Thu, 11 Nov 2004 08:03:00 +0000
Received: from nb2.stroeder.com (du-006-164.access.de.clara.net [212.82.229.164])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAB82pWw093925
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 08:02:53 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 7029D98D0B; Thu, 11 Nov 2004 08:48:20 +0100 (CET)
Message-ID: <41931944.1040405@stroeder.com>
Date: Thu, 11 Nov 2004 08:48:20 +0100
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: Leif Johansson <leifj@it.su.se>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041109m19a@bombur.uio.no>	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>	<HBF.20041109kvfo@bombur.uio.no>	<41910990.6070006@it.su.se> <HBF.20041109cxrd@bombur.uio.no> <41926151.3090501@it.su.se>
In-Reply-To: <41926151.3090501@it.su.se>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Leif,

Leif Johansson wrote:
> 
> If you want to be able to indicate the presence of a feature with
> an optional attribute, yes that is exactly how you do it. Object-
> classes are you friend. Orthagonal design is good.

Note that for security reasons it might not appropriate in some cases to 
give someone or a process write access to the multi-valued object class 
attribute. Therefore it is not always possible to indicate the presence 
of a feature by presence of an auxiliary object class.

But maybe I misunderstood you...

Ciao, Michael.


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 09:29: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 JAA14726
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 09:29:57 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABERKg8021149;
	Thu, 11 Nov 2004 14:28: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 iABEPrUK021025;
	Thu, 11 Nov 2004 14:25:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 11 Nov 2004 14:25: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 iABEPo7C021002
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 14:25: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 iABEJLZv080441;
	Thu, 11 Nov 2004 14:21:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041111005002.02dfc9b0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Thu, 11 Nov 2004 01:14:45 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: [filter] interpretting presence verses substring with
  whitespace
Cc: Alex Karasulu <aok123@bellsouth.net>, ietf-ldapbis@OpenLDAP.org,
        Directory Developers List <directory-dev@incubator.apache.org>
In-Reply-To: <4190246F.4010901@eb2bcom.com>
References: <418FA7D7.3040706@bellsouth.net>
 <4190246F.4010901@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:59 PM 11/8/2004, Steven Legg wrote:

>Hi Alex,
>
>Alex Karasulu wrote:
>>Hello,
>>I have some questions regarding the interpretation of LDAP search filters specifically differentiating between presence and substring items when whitespace is present.  According to the ABNF describing these rules in [FILTERS], and some additional rules in [MODELS] ,
>>     ...
>>     present        = attr EQUALS ASTERISK
>>     substring      = attr EQUALS [initial] any [final]
>>     initial        = assertionvalue
>>     any            = ASTERISK *(assertionvalue ASTERISK)
>>     final          = assertionvalue
>>     attr           = attributedescription
>>     ...,
>>the presence of whitespace is considered significant in the assertionvalue.

This wording is, I think, causing your problem.

Any and all whitespace is part of some assertionvalue.
Whether or not its significant to the evaluation of the
filter depends on the rule involved.

>>Please correct me if I'm wrong but this means that the following filter expressions are interpreted differently:
>>(for simplicity I'm equating whitespace to be a single space character, %x20)
>>1. (ou=*)
>>   - there is no whitespace at all
>>   - interpreted as a presence filter
>>   - matches all entries containing the ou attribute
>>2. (ou= *)
>>   - there is whitespace before the ASTERISK after the EQUALS
>>   - interpreted as a substring filter
>>   - the space is interpreted as the [initial]
>>   - matches all values of ou starting with a space, %x20
>
>The exact matching behaviour depends on the attribute type. Typically though,
>it will be equivalent to caseIgnoreSubstringsMatch. Assuming that is the case
>then the current ldapbis specifications would invoke stringprep on each
>candidate attribute value and each substring of the assertion.

I argue that the behavior described by X.521 is the same
as prescribed by [Syntaxes][LDAPprep].

>The result will
>be that no attribute value will have (for matching purposes) a leading space.
>The initial substring will get reduced to empty which then becomes a
>single space. After that it is a code point comparison. Since no attribute
>value has a leading space, none are matched, and the result is empty.

IMO, that's what X.521 says should happen.

>This isn't the intuitive result either. The same occurs in the other examples for much the same reasons.

Yes.

>Treating the whitespace as insignificant (unless escaped) in the string
>representation of the filter partly helps as it makes all your examples
>equivalent to a present match,

I don't understand this statement.
        (ou= *) and (ou=\20*) are two encodings of the same filter
        (substrings assertion for the initial string " "),
        neither of which is equivalent to a present match.

>but there would still be a problem with
>cases where the whitespace is explicitly escaped. Stringprep will still
>cause (ou=\20*) to match nothing.
>
>It seams to me that stringprep should allow a result string to be empty,
>rather than replacing it by a single space. If that were the case then an
>initial substring of " " would be reduced to an empty string, which would
>trivially match every value, giving the same effect as a presence match.

That's not consistent with the behavior described in X.521.

>Similarly, an any substring that reduces to an empty string is trivially
>satisfied and so is effectively ignored. In fact, this change to stringprep
>would make escaping of whitespace in the string representation of filters
>largely moot.

I don't understand your last point here.  Irregardless of
how the matching is performed, escaping whitepace in the
string representation of the filter produces the same filter
wire-encoding as if the whitescape were not escaped in the
string representation, and hence matches in the exact same
manner.  That is, the escaping has only been moot.  Introduction
of LDAPprep doesn't change that.


>Regards,
>Steven
>
>>3. (ou=* )
>>   - there is whitespace after the ASTERISK before the RPAREN
>>   - interpreted as a substring filter
>>   - the space is interpreted as the [final]
>>   - matches all values of ou ending with a space, %x20
>>4. (ou= * )
>>   - there is whitespace before the ASTERISK and after the ASTERISK
>>   - interpreted as a substring filter
>>   - the first and last spaces are interpreted as the [initial] and [final] values respectively
>>   - matches all values of ou starting and ending with a space, %x20
>>5. there's another class where two or more ASTERISKS sandwich whitespace: (ou=* *)
>>   - although other forms would be a bit nonsensical this one may be valid and would match      all entires with ou values starting or ending with a space, %x20
>>Are these correct interpretations according to the ABNF and is the matching behavior correct?
>>Now I'd like to open for discussion whether or not these interpretations are intuitively correct.  As an end user issuing search filters to a directory I've come to expect the directory to be extra forgiving when it comes to things like whitespace.  Users have gotten this feeling regarding whitespace forgiveness from the way distinguished names are normalized by the directory.  It's intuitive for the user to presume some of this forgiving nature extends to filters which can match on attributes with the DN syntax.  So looking at the examples above I can see how a user may think that all these filters are in fact equal to one another.  The user is not thinking, "=* is a distinct atomic operator token to a parser and is inseparable where a space makes it no longer a presence ffilter."  The user thinks well I'm matching for anything.    
>>What if they just like to put spaces around parentheses in their filter expressions?  This space forgiving nature is "turned on" for matching normal equality expressions on attributes like ou and is especially forgiving if distinguishedNameMatch is in effect for respective attributes.
>>So would you agree that there is some mismatch between the hard ABNF interpretation and the mental interpolation of users writing filters?  
>>IMO I think all whitespace should be escaped if significant.  

See above.  Escaping whitespace in the string representation has
zero impact upon the wire encoding of the filter nor its evalutation. 

>>Otherwise whitespace should be trimmed from the edges of attributevalues.  Also whitespace within the interior of the value should be reduced to a single space to preserve tokenization order while matching.  With regard to substring items the 'any' pieces between two ASTERISKS  that are purely composed of whitespace should be discarded and the ASTERISKS consolidated into one.
>>This makes life tougher on those that really want to match based on whitespace.  However they can just escape out the whitespace in their filters like so:
>>1. (ou=*)
>>2. (ou=\20*)
>>3. (ou=*\20)
>>4. (ou=\20*\20)
>>5. (ou=*\20*)
>>Comments? Thoughts?
>>Thanks,
>>Alex
>> [Filters]     Smith, M. (editor), LDAPbis WG, "LDAP: String
>>               Representation of Search Filters",
>>               draft-ietf-ldapbis-filter-xx.txt, a work in progress.
>> [Models]      Zeilenga, K. (editor), "LDAP: Directory Information Models",
>>               draft-ietf-ldapbis-models-xx.txt, a work in progress.



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 09:35: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 JAA15367
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 09:35:30 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABEXKQA021583;
	Thu, 11 Nov 2004 14:34: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 iABESiKj021212;
	Thu, 11 Nov 2004 14:28: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); Thu, 11 Nov 2004 14:28:44 +0000
Received: from smtp2.su.se (smtp2.su.se [130.237.93.212])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABESclS021199
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 14:28:43 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp2.su.se [127.0.0.1])
	by smtp2.su.se (Postfix) with ESMTP id A8E60201911;
	Thu, 11 Nov 2004 15:28:36 +0100 (CET)
Received: from smtp2.su.se ([127.0.0.1])
 by localhost (smtp2.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 13058-01-44; Thu, 11 Nov 2004 15:28:36 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp2.su.se (Postfix) with ESMTP id 0D3A82017F5;
	Thu, 11 Nov 2004 15:28:35 +0100 (CET)
Message-ID: <41937712.6030206@it.su.se>
Date: Thu, 11 Nov 2004 15:28:34 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041109m19a@bombur.uio.no>	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>	<HBF.20041109kvfo@bombur.uio.no>	<41910990.6070006@it.su.se> <HBF.20041109cxrd@bombur.uio.no> <41926151.3090501@it.su.se> <41931944.1040405@stroeder.com>
In-Reply-To: <41931944.1040405@stroeder.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Michael Ströder wrote:
> Leif,
> 
> Leif Johansson wrote:
> 
>>
>> If you want to be able to indicate the presence of a feature with
>> an optional attribute, yes that is exactly how you do it. Object-
>> classes are you friend. Orthagonal design is good.
> 
> 
> Note that for security reasons it might not appropriate in some cases to 
> give someone or a process write access to the multi-valued object class 
> attribute. Therefore it is not always possible to indicate the presence 
> of a feature by presence of an auxiliary object class.
> 
> But maybe I misunderstood you...
> 
> Ciao, Michael.

Read and write access is independent!

	MVH leifj


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 09:35: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 JAA15385
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 09:35:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABEXKQ8021583;
	Thu, 11 Nov 2004 14:34: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 iABEX62L021558;
	Thu, 11 Nov 2004 14:33: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); Thu, 11 Nov 2004 14:33:06 +0000
Received: from smtp1.su.se (smtp1.su.se [130.237.162.112])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABEX4e1021546
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 14:33:05 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp1.su.se [127.0.0.1])
	by smtp1.su.se (Postfix) with ESMTP id B3CDF3A527;
	Thu, 11 Nov 2004 15:33:03 +0100 (CET)
Received: from smtp1.su.se ([127.0.0.1])
 by localhost (smtp1.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 23894-01-48; Thu, 11 Nov 2004 15:33:03 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.su.se (Postfix) with ESMTP id 49D44384D7;
	Thu, 11 Nov 2004 15:33:03 +0100 (CET)
Message-ID: <4193781C.5000900@it.su.se>
Date: Thu, 11 Nov 2004 15:33:00 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: T.61 -> Unicode conversion
References: <HBF.20041107oase@bombur.uio.no>
In-Reply-To: <HBF.20041107oase@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Hallvard B Furuseth wrote:
> As far as I can tell, X.500/LDAP servers and X.500<->LDAP gateways may
> use another mapping between T.61 and Unicode than the one in [Strprep]
> Appendix A for transfer and storage of values, *except* for string
> matching, for which [Strprep] section 2.1 says:
> 
>   TeletexString [X.680][T.61] values are transcoded to Unicode as
>   described in Appendix A.
> 

This thread gives me the heeby-jeebies! We cannot possibly spend this
much time on T.61. I suggest that we say that usage of T.61 is a
SHOULD NOT and be done with it. The only situations where T.61 might
appear that I can think of are LDAPv2 (historic and therefore out of
scope) and Certificates with DirectoryString, but new certificates
MUST use only UTF8String (if I remember right) since about a year
ago so where exactly is the applicability of this?

	MVH leifj


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 09:40: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 JAA16007
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 09:40:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABEdKag021896;
	Thu, 11 Nov 2004 14:39: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 iABEbMub021816;
	Thu, 11 Nov 2004 14:37:22 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, 11 Nov 2004 14:37:22 +0000
Received: from smtp2.su.se (smtp2.su.se [130.237.93.212])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABEbKrA021785;
	Thu, 11 Nov 2004 14:37:20 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp2.su.se [127.0.0.1])
	by smtp2.su.se (Postfix) with ESMTP id 965E32017FF;
	Thu, 11 Nov 2004 15:37:19 +0100 (CET)
Received: from smtp2.su.se ([127.0.0.1])
 by localhost (smtp2.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 14504-01-87; Thu, 11 Nov 2004 15:37:19 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp2.su.se (Postfix) with ESMTP id 028852000F4;
	Thu, 11 Nov 2004 15:37:18 +0100 (CET)
Message-ID: <4193791C.9070306@it.su.se>
Date: Thu, 11 Nov 2004 15:37:16 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion
References: <6.1.2.0.0.20041110213350.02f778c0@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041110213350.02f778c0@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:
> I see that there are few reasonable options here:
> 1) IA5 strings precludes zero-length values
> 2) IA5 strings allows zero-length values
>    2A) a zero-length values only matches a zero-length value
>    2B) a zero-length value matches " " (and all values
>        equivalent to " ").
> 
> I prefer 1 over 2A over 2B (see prior posts for why).
> 
> (Regardless of the choice LDAPprep can and should be designed
> to be idempotent.)
> 

I prefer 1. I consider the fact that IA5String does not have
the same size-restriction as DirectoryString a bug. Moreover
allowing non-empty string is going to break clients en masse.

	MVH leifj


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 09: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 JAA16594
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 09:47:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABEjKlJ022388;
	Thu, 11 Nov 2004 14: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 iABEhqlU022284;
	Thu, 11 Nov 2004 14:43: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); Thu, 11 Nov 2004 14:43:52 +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 iABEhjap022208;
	Thu, 11 Nov 2004 14:43:49 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 11 Nov 2004 07:43:25 -0700
Message-Id: <s193181d.082@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Thu, 11 Nov 2004 07:43:10 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: "Jim Sermersheim" <JIMSE@novell.com>, <ietf-ldapbis@OpenLDAP.org>,
        <Kurt@OpenLDAP.org>
Subject: Re: reframing the Empty IA5 string discussion
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartAE8E716E.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

After re-reading RFC 2251, I changed my mind, and now I prefer 2B as I
think most people would interpret a space-only string to either be
leading or trailing whitespace, thus ignored.
 
Jim

>>> "Jim Sermersheim" <jimse@novell.com> 11/10/04 10:23:17 PM >>>

Not being an expert at LDAPprep or the reasons why Directory Strings
have the whitespace and min 1 rules they do, I prefer 2A.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/10/04 9:41:29 PM >>>
I see that there are few reasonable options here:
1) IA5 strings precludes zero-length values
2) IA5 strings allows zero-length values
2A) a zero-length values only matches a zero-length value
2B) a zero-length value matches " " (and all values
equivalent to " ").

I prefer 1 over 2A over 2B (see prior posts for why).

(Regardless of the choice LDAPprep can and should be designed
to be idempotent.)



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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>After re-reading RFC 2251, I changed my mind, and now I prefer 2B as =
I think most people would interpret a space-only string to either be =
leading or trailing whitespace, thus ignored.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; "Jim Sermersheim" &lt;jimse@novell.com&gt; =
11/10/04 10:23:17 PM &gt;&gt;&gt;<BR></DIV>
<DIV style=3D"FONT: 10pt Tahoma; COLOR: #000000">Not being an expert at =
LDAPprep or the reasons why Directory Strings have the whitespace and min =
1 rules they do, I prefer 2A.<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" =
&lt;Kurt@OpenLDAP.org&gt; 11/10/04 9:41:29 PM &gt;&gt;&gt;<BR>I see that =
there are few reasonable options here:<BR>1) IA5 strings precludes =
zero-length values<BR>2) IA5 strings allows zero-length values<BR>2A) a =
zero-length values only matches a zero-length value<BR>2B) a zero-length =
value matches " " (and all values<BR>equivalent to " ").<BR><BR>I prefer 1 =
over 2A over 2B (see prior posts for why).<BR><BR>(Regardless of the =
choice LDAPprep can and should be designed<BR>to be idempotent.)<BR><BR></D=
IV></BODY></HTML>

--=__PartAE8E716E.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 09:59: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 JAA17957
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 09:59:09 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABEvKAi022975;
	Thu, 11 Nov 2004 14:57: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 iABEpnpZ022781;
	Thu, 11 Nov 2004 14:51:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 11 Nov 2004 14:51:49 +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 iABEpi3l022770
	for <ietf-ldapbis@openldap.org>; Thu, 11 Nov 2004 14:51:45 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.34)
	id 1CSGIW-0001Hu-UT; Thu, 11 Nov 2004 15:51:41 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CSGIP-00020T-W6; Thu, 11 Nov 2004 15:51:34 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CSGIP-0006CC-00; Thu, 11 Nov 2004 15:51:33 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041111yv0t@bombur.uio.no>
To: Leif Johansson <leifj@it.su.se>
Cc: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>,
        ietf-ldapbis@OpenLDAP.org
Subject: vacation message & schema design (was: Empty IA5String)
In-Reply-To: <41937712.6030206@it.su.se>
References: <HBF.20041109m19a@bombur.uio.no>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
	<HBF.20041109kvfo@bombur.uio.no>
	<41910990.6070006@it.su.se>
	<HBF.20041109cxrd@bombur.uio.no>
	<41926151.3090501@it.su.se>
	<41931944.1040405@stroeder.com>
	<41937712.6030206@it.su.se>
X-Mailer: VM 6.37 under Emacs 19.34.1
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Date: Thu, 11 Nov 2004 15:51:33 +0100
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)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iABEpj3l022771
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

I'm not sure which situation you are thinking of, but I hope it isn't
ours.

Leif Johansson writes:
>Michael Ströder wrote:
>> Leif Johansson wrote:
>>> If you want to be able to indicate the presence of a feature with
>>> an optional attribute, yes that is exactly how you do it. Object-
>>> classes are you friend. Orthagonal design is good.

That would give us 11 or so object classes, one for each optional
feature in the mail system, just so we could use LDAP to store mail
information.  Most mail objects would need at least 5-6 object classes.
*Not* good.  I haven't seen many schemas that follow that philosophy
either.

>> Note that for security reasons it might not appropriate in some cases to 
>> give someone or a process write access to the multi-valued object class 
>> attribute. Therefore it is not always possible to indicate the presence 
>> of a feature by presence of an auxiliary object class.
>> 
>> But maybe I misunderstood you...
> 
> Read and write access is independent!

If a user wants to add a vacation message which requires that he also
adds an object class, he must have write access to add that object
class.  He might not have write access to modify all of his own entry.
One could of course make the attribute optional in the object class and
add it to all entries, but then the presence of the object class can't
be used as a 'send a vacation message' flag.
(Not our situation; our LDAP directory is read-only for the users.  But
I expect that's what Michael refers to.)

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 10:31: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 KAA22746
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 10:31:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABFLKNc024085;
	Thu, 11 Nov 2004 15:30: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 iABFIorB023922;
	Thu, 11 Nov 2004 15:18:50 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, 11 Nov 2004 15:18:50 +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 iABFIlqA023909
	for <ietf-ldapbis@openldap.org>; Thu, 11 Nov 2004 15:18: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.34)
	id 1CSGii-0005XR-5m; Thu, 11 Nov 2004 16:18:44 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CSGiZ-0004qm-Qo; Thu, 11 Nov 2004 16:18:35 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CSGiY-0006Fg-00; Thu, 11 Nov 2004 16:18:34 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041111yerf@bombur.uio.no>
To: Steven Legg <steven.legg@eb2bcom.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
In-Reply-To: <4192A492.50202@eb2bcom.com>
References: <HBF.20041107p8mt@bombur.uio.no>
	<418FF619.8040508@eb2bcom.com>
	<HBF.20041109m19a@bombur.uio.no>
	<4191602C.3060702@eb2bcom.com>
	<6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>
	<HBF.20041110v3gs@bombur.uio.no>
	<6.1.2.0.0.20041110124324.0302e570@127.0.0.1>
	<4192A492.50202@eb2bcom.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Thu, 11 Nov 2004 16:18:34 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven Legg writes:
> Component matching allows any string matching rule to be applied to any
> string component of any ASN.1 type. There is nothing to prevent those
> string components having zero length. We might be able to force the
> IA5 String syntax to have at least one character but we can't do the
> same for every string component of every ASN.1 type.

Can that be explained briefly, or can you suggest some parts of rfc3687
to read to see what's going on?  I'd rather not read 42 pages of RFC
just to follow this thread.

At the moment I'm kind of hoping I've misunderstood you completely -
currently I'm wondering: (No need to reply to the following if the
explanation is just that I misunderstand:-)

Why should an empty string be treated as a valid Directory String,
instead of having the comparison return Undefined or an error?

More generally, if one can pass any string to any matching rule
regardless of the expected syntax (is that assertion syntax or attribute
syntax?), why should e.g. numericStringMatch("xx123", "123") be treated
as anything sensible, with a defined result?

Are IA5 String, Printable String and Numeric String defined in terms of
an 8-bit encoding (e.g. UTF-8) in ASN.1?  Otherwise, when using
caseIgnoreIA5Match, numericStringMatch or telephoneNumberMatch to
compare an attribute component with an 8-bit assertion value, which
character encoding is that assertion value presumed to use?  (I expect
the attribute component's syntax provides the component's character
encoding.)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 11:22: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 LAA27567
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 11:22:22 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABGLLHB027223;
	Thu, 11 Nov 2004 16:21:28 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 iABGKrO1027165;
	Thu, 11 Nov 2004 16:20:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 11 Nov 2004 16:20: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 iABGKq2f027154
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 16:20:52 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 iABGKoZv081364;
	Thu, 11 Nov 2004 16:20:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Thu, 11 Nov 2004 11:21:16 -0500
To: Rici Lake <rici@ricilake.net>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Stringprep Considered Harmful
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

In revising the LDAP technical specification, the WG was
charged with resolving known interoperability problems,
including those in character string matching.  I believe
the WG understood (and understands) that fixing the general
character string matching problems requires invalidating
(or "breaking") some specific application uses of LDAP.  I
also believe the WG understands well the limitations of the
Stringprep solution and accepts those limitations as
reasonable given the situation.

Your comment "this may indicate the need for more MatchingRules
which correspond to those system's matching algorithms" is on
target.  Where the general-purpose matching rules (e.g.,
caseIgnoreMatch, caseExactMatch, etc.) are inappropriate in
some application-specific context, an application-specific
matching rule should be introduced OR the application should
specify that application-specific transformations (e.g., IDN
toASCII/toUnicode) be employed above the directory such that
matching with general purpose matching rules (e.g.,
octetStringMatch) in the directory behaves in a manner
appropriate for the application.

Kurt, as Editor.



 



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 11:22: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 LAA27587
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 11:22:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABGLLHD027223;
	Thu, 11 Nov 2004 16:21: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 iABGI9GT026973;
	Thu, 11 Nov 2004 16:18:09 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, 11 Nov 2004 16:18:09 +0000
Received: from smtp2.su.se (smtp2.su.se [130.237.93.212])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABGI750026963
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Nov 2004 16:18:08 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp2.su.se [127.0.0.1])
	by smtp2.su.se (Postfix) with ESMTP id 41ACC2016AB;
	Thu, 11 Nov 2004 17:18:02 +0100 (CET)
Received: from smtp2.su.se ([127.0.0.1])
 by localhost (smtp2.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 32141-01-12; Thu, 11 Nov 2004 17:18:02 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp2.su.se (Postfix) with ESMTP id AF7AB200172;
	Thu, 11 Nov 2004 17:18:01 +0100 (CET)
Message-ID: <419390B6.8040207@it.su.se>
Date: Thu, 11 Nov 2004 17:17:58 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>,
        ietf-ldapbis@OpenLDAP.org
Subject: Re: vacation message & schema design
References: <HBF.20041109m19a@bombur.uio.no>	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>	<HBF.20041109kvfo@bombur.uio.no>	<41910990.6070006@it.su.se>	<HBF.20041109cxrd@bombur.uio.no>	<41926151.3090501@it.su.se>	<41931944.1040405@stroeder.com>	<41937712.6030206@it.su.se> <HBF.20041111yv0t@bombur.uio.no>
In-Reply-To: <HBF.20041111yv0t@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit



> 
> That would give us 11 or so object classes, one for each optional
> feature in the mail system, just so we could use LDAP to store mail
> information.  Most mail objects would need at least 5-6 object classes.
> *Not* good.  I haven't seen many schemas that follow that philosophy
> either.

Not only is it good schema design it is based on good OO design
principles: Use interfaces (which is exactly what an aux object class
is) and in the case of LDAP polymorphism to expose specific features
to applications.

I don't believe you can show me a deployed schema which actually relies
on empty IA5Strings. In fact as I have noted elsewhere in this thread
most client libraries could not distinguish empty strings from an absent
attribute-value.

> If a user wants to add a vacation message which requires that he also
> adds an object class, he must have write access to add that object
> class.  He might not have write access to modify all of his own entry.

Value-based ACL:s are supportet in many implementations. Give the user
right to add the specific object class value.

In any case I believe that your example fails to clearly show that 0-
length IAString values are ok where 0-length DirectoryStrings are not.

I.e if I were to accept your example as an argument I could construct
another example based on an attribute which required the DirectoryString
syntax (some form of a name for instance) but which, because of the
size-restrictions on DirectoryString, would not be a valid schema.

To convince me you need to construct an example which does not make
sense when the syntax is a DirectoryString! I dare you to come up with
that :-)

	MVH leifj



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 16:12: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 QAA28601
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 16:12:22 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABL9N4U041684;
	Thu, 11 Nov 2004 21:10: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 iABL3hsr041396;
	Thu, 11 Nov 2004 21:03: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); Thu, 11 Nov 2004 21:03: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 iABL3a9t041386
	for <ietf-ldapbis@openldap.org>; Thu, 11 Nov 2004 21:03:41 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.34)
	id 1CSM6P-0002Oi-2L; Thu, 11 Nov 2004 22:03:33 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CSM6J-0001z8-Kd; Thu, 11 Nov 2004 22:03:27 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CSM6I-00075u-00; Thu, 11 Nov 2004 22:03:26 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041111sn79@bombur.uio.no>
To: Leif Johansson <leifj@it.su.se>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: T.61 -> Unicode conversion
In-Reply-To: <4193781C.5000900@it.su.se>
References: <HBF.20041107oase@bombur.uio.no>
	<4193781C.5000900@it.su.se>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Thu, 11 Nov 2004 22:03:26 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Leif Johansson writes:
> This thread gives me the heeby-jeebies! We cannot possibly spend this
> much time on T.61.

If we are going to publish a T.61->Unicode mapping, we should try to
avoid errors in it.  In particular when the strprep appendix with the
mapping is normative.  I have no idea if we need the appendix, or if
T.61 is as dead as you suggest.  The URL Howard posted:

  http://www.mail-archive.com/openca-users@lists.sourceforge.net/msg04365.html

recommends to use T.61 in some circumstances, but concludes with "In
2004, you can switch to UTF-8 strings and forget about this entire
section of the guide."  So maybe it's still in use but fading fast?

> I suggest that we say that usage of T.61 is a SHOULD NOT (...)

That sounds nice (from my completely-out-of-touch viewpoint:-), with or
without the appendix.  We should certainly not publish the appendix in a
form which might prolong the life of T.61.

Also, the above URL mentions shift states, Japanese and other encodings
which the appendix does not cover, disagreements on a level I never
dreamed of about which character sets a T.61 string is using by default.
So it looks like the appendix at least needs to mention a number of
caveats, and I'm unsure how much sense it makes that it is normative.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 16:53: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 QAA02781
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 16:53:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABLqdMl043252;
	Thu, 11 Nov 2004 21:52:39 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 iABLda49042666;
	Thu, 11 Nov 2004 21:39:36 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 11 Nov 2004 21:39:36 +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 iABLdYEb042652
	for <ietf-ldapbis@openldap.org>; Thu, 11 Nov 2004 21:39:35 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.34)
	id 1CSMfD-0000JO-5b; Thu, 11 Nov 2004 22:39:31 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CSMfA-0006cE-D2; Thu, 11 Nov 2004 22:39:28 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CSMf9-0007B7-00; Thu, 11 Nov 2004 22:39:27 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041111s1iv@bombur.uio.no>
To: Leif Johansson <leifj@it.su.se>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: T.61 -> Unicode conversion
In-Reply-To: <HBF.20041111sn79@bombur.uio.no>
References: <HBF.20041107oase@bombur.uio.no>
	<4193781C.5000900@it.su.se>
	<HBF.20041111sn79@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Thu, 11 Nov 2004 22:39:27 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I wrote:
> The URL Howard posted:
>
>  http://www.mail-archive.com/openca-users@lists.sourceforge.net/msg04365.html
>
> recommends to use T.61 in some circumstances, but concludes with "In
> 2004, you can switch to UTF-8 strings and forget about this entire
> section of the guide."  So maybe it's still in use but fading fast?

Note, that's from an X.509 certificate guide, not a general X.500 guide.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 17:42: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 QAA02782
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 16:53:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABLqdMn043252;
	Thu, 11 Nov 2004 21:52: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 iABLeLwc042746;
	Thu, 11 Nov 2004 21:40: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); Thu, 11 Nov 2004 21:40:21 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iABLeB6C042690;
	Thu, 11 Nov 2004 21:40:15 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.172.186
Received: from [192.168.1.65] (client-200.121.172.186.speedy.net.pe [200.121.172.186] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iABN1trJ023346;
	Thu, 11 Nov 2004 23:01:56 GMT
In-Reply-To: <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net> <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: Stringprep Considered Harmful
Date: Thu, 11 Nov 2004 16:40:04 -0500
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


On 11-Nov-04, at 11:21 AM, Kurt D. Zeilenga wrote:

> In revising the LDAP technical specification, the WG was
> charged with resolving known interoperability problems,
> including those in character string matching.  I believe
> the WG understood (and understands) that fixing the general
> character string matching problems requires invalidating
> (or "breaking") some specific application uses of LDAP.  I
> also believe the WG understands well the limitations of the
> Stringprep solution and accepts those limitations as
> reasonable given the situation.

I find that acceptable for most of the little quirks of the
stringprep profile proposed. But I would beg the WG to
reconsider the application of the bidi-prohibition rule.

To try to make the problem as simple as possible, all of the
following strings would be unmatchable with bidi-prohibition:

1) A URL which contains an Arabic or Hebrew component, whether
a domain component, path component or query component, unless
%-quoted. (This might even be an ldap: url.) These will be
unmatcheable because a URL must start with a scheme name,
all of which currently are left-to-right characters (in fact
[a-z0-9]+)

2) An email address which contains an Arabic or Hebrew
domain name component or Arabic or Hebrew mailbox name,
unless the entire domain name include the TLD is in
Arabic or Hebrew. (I know that there is a proposal to
implement Arabic TLDs, but I feel that <arabicword>.com
is rather more likely in the forseeable future.)

3) A string not identified as having distinguished name
syntax which happens to be a distinguished name which
includes Arabic or Hebrew components

4) An absolute filepath which includes Arabic or Hebrew
components, even if all components are Arabic or Hebrew, since
the initial / will fail the bidi prohibition

5) And a long etc.

So it seems to me that the bidi prohibition is more the exception
than the rule; it should be applied to the syntax for the dc
attribute, but it is hard to think of other attributetypes where
it will not primarily serve block the use of right-to-left scripts.

> Your comment "this may indicate the need for more MatchingRules
> which correspond to those system's matching algorithms" is on
> target.  Where the general-purpose matching rules (e.g.,
> caseIgnoreMatch, caseExactMatch, etc.) are inappropriate in
> some application-specific context, an application-specific
> matching rule should be introduced OR the application should
> specify that application-specific transformations (e.g., IDN
> toASCII/toUnicode) be employed above the directory such that
> matching with general purpose matching rules (e.g.,
> octetStringMatch) in the directory behaves in a manner
> appropriate for the application.

That seems entirely appropriate to me. Consequently, I would humbly
suggest that the default general-purpose matching rule not include
the bidi prohibition rule, and that an application-specific rule
be introduced for attributes whose values will be normalised by
nameprep.

Rici



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 20:53: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 UAA25108
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 20:53:58 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC1pOZm051462;
	Fri, 12 Nov 2004 01:52: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 iAC1pCEj051454;
	Fri, 12 Nov 2004 01:51:12 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, 12 Nov 2004 01:51:12 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC1p9Nd051443
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 01:51:10 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC33000008E5; Fri, 12 Nov 2004 12:56:12 +1100
Message-ID: <419416DE.5020600@eb2bcom.com>
Date: Fri, 12 Nov 2004 12:50:22 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Empty IA5String
References: <HBF.20041107p8mt@bombur.uio.no>	<418FF619.8040508@eb2bcom.com>	<HBF.20041109m19a@bombur.uio.no>	<4191602C.3060702@eb2bcom.com>	<6.1.2.0.0.20041110112437.02d995d0@127.0.0.1>	<HBF.20041110v3gs@bombur.uio.no>	<6.1.2.0.0.20041110124324.0302e570@127.0.0.1>	<4192A492.50202@eb2bcom.com> <HBF.20041111yerf@bombur.uio.no>
In-Reply-To: <HBF.20041111yerf@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> Steven Legg writes:
> 
>>Component matching allows any string matching rule to be applied to any
>>string component of any ASN.1 type. There is nothing to prevent those
>>string components having zero length. We might be able to force the
>>IA5 String syntax to have at least one character but we can't do the
>>same for every string component of every ASN.1 type.
> 
> 
> Can that be explained briefly, or can you suggest some parts of rfc3687
> to read to see what's going on?  I'd rather not read 42 pages of RFC
> just to follow this thread.

Suppose that there is an attribute whose syntax is described by the
following ASN.1 type:

     SEQUENCE {
         description   UTF8String,
         parameters    Parameters
     }

It is possible through component matching to apply the caseIgnoreMatch
matching rule to just the description component of attribute values of this
syntax. The description component has no size constraint so it is permitted
to be zero-length as far as ASN.1 is concerned. That means caseIgnoreMatch
potentially has zero-length strings as input.

> 
> At the moment I'm kind of hoping I've misunderstood you completely -
> currently I'm wondering: (No need to reply to the following if the
> explanation is just that I misunderstand:-)
> 
> Why should an empty string be treated as a valid Directory String,
> instead of having the comparison return Undefined or an error?

An empty string is always illegal for a DirectoryString, but X.520 allows
caseIgnoreMatch, etc, to be applied to UTF8String (among other things) and
makes no condition about any size constraints on the UTF8String. One could
legally define an attribute whose syntax is just UTF8String without a size
constraint and use caseIgnoreMatch as its equality matching rule.
Component matching just generalizes that by allowing matching rules to
be applied to component parts of attribute values.

> 
> More generally, if one can pass any string to any matching rule
> regardless of the expected syntax (is that assertion syntax or attribute
> syntax?),

Both. The inputs to matching rules can be an attribute value and an
assertion value, or two attribute values.

 > why should e.g. numericStringMatch("xx123", "123") be treated
> as anything sensible, with a defined result?

It shouldn't. numericStringMatch is applied to NumericString values and
"xx123" isn't a legal value of NumericString. However numericStringMatch
is permitted by X.520 as the equality matching for an attribute with an
unconstrained NumericString as the syntax. In principle, numericStringMatch
could be applied to attribute values of zero-length.

> 
> Are IA5 String, Printable String and Numeric String defined in terms of
> an 8-bit encoding (e.g. UTF-8) in ASN.1?

X.680 makes no assumption about the encoding of these character sets.
That is left to the definitions of the encoding rules. For the BER family
and the LDAP-specific encodings they are 8-bit encodings. In PER they could
be 8-bits or less. In GSER they are UTF-8, which amounts to the same thing as
8-bit. For RXER and XER they are any character encoding permitted by XML -
typically UTF-8 or UTF-16. The matching rule descriptions in the syntaxes
draft avoid tying the semantics to any particular character encoding.

 > Otherwise, when using
> caseIgnoreIA5Match, numericStringMatch or telephoneNumberMatch to
> compare an attribute component with an 8-bit assertion value, which
> character encoding is that assertion value presumed to use?  (I expect
> the attribute component's syntax provides the component's character
> encoding.)

The assertion value arrives in the character encoding determined by
the protocol operation that carried it.

Regards,
Steven



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 21:56: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 VAA00382
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 21:56:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC2ql2i053701;
	Fri, 12 Nov 2004 02:54: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 iAC2fvfp053192;
	Fri, 12 Nov 2004 02:41: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, 12 Nov 2004 02:41:57 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC2ftVJ053182
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 02:41:56 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC33000008F3; Fri, 12 Nov 2004 13:46:56 +1100
Message-ID: <419422C2.50409@eb2bcom.com>
Date: Fri, 12 Nov 2004 13:41:06 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: Leif Johansson <leifj@it.su.se>, ietf-ldapbis@OpenLDAP.org
Subject: Re: T.61 -> Unicode conversion
References: <HBF.20041107oase@bombur.uio.no>	<4193781C.5000900@it.su.se>	<HBF.20041111sn79@bombur.uio.no> <HBF.20041111s1iv@bombur.uio.no>
In-Reply-To: <HBF.20041111s1iv@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> I wrote:
> 
>>The URL Howard posted:
>>
>> http://www.mail-archive.com/openca-users@lists.sourceforge.net/msg04365.html
>>
>>recommends to use T.61 in some circumstances, but concludes with "In
>>2004, you can switch to UTF-8 strings and forget about this entire
>>section of the guide."  So maybe it's still in use but fading fast?
> 
> 
> Note, that's from an X.509 certificate guide, not a general X.500 guide.

Also, worth noting - X.500 uses TeletexString, ASN.1 refers to ISO/IEC 2022,
ISO/IEC 2375 and the "ISO International Register of Coded Characters Sets"
for the BER encoding of TeletexString values. It doesn't depend on T.61.

P.S. I would like to stop using TeletexString, but there are X.500 servers
out there that barf if I try to use the uTF8String alternative of DirectoryString.

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 22:41: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 WAA03986
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 22:41:13 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC3dP1g056326;
	Fri, 12 Nov 2004 03:39: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 iAC3YGWj056142;
	Fri, 12 Nov 2004 03:34: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); Fri, 12 Nov 2004 03:34:16 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC3YBW5056107;
	Fri, 12 Nov 2004 03:34:12 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC330000090A; Fri, 12 Nov 2004 14:39:19 +1100
Message-ID: <41942F09.8080405@eb2bcom.com>
Date: Fri, 12 Nov 2004 14:33:29 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: Alex Karasulu <aok123@bellsouth.net>, ietf-ldapbis@OpenLDAP.org,
        Directory Developers List <directory-dev@incubator.apache.org>
Subject: Re: [filter] interpretting presence verses substring with  whitespace
References: <418FA7D7.3040706@bellsouth.net> <4190246F.4010901@eb2bcom.com> <6.1.2.0.0.20041111005002.02dfc9b0@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041111005002.02dfc9b0@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> At 08:59 PM 11/8/2004, Steven Legg wrote:
> 
> 
>>Hi Alex,
>>
>>Alex Karasulu wrote:
>>
>>>Hello,
>>>I have some questions regarding the interpretation of LDAP search filters specifically differentiating between presence and substring items when whitespace is present.  According to the ABNF describing these rules in [FILTERS], and some additional rules in [MODELS] ,
>>>    ...
>>>    present        = attr EQUALS ASTERISK
>>>    substring      = attr EQUALS [initial] any [final]
>>>    initial        = assertionvalue
>>>    any            = ASTERISK *(assertionvalue ASTERISK)
>>>    final          = assertionvalue
>>>    attr           = attributedescription
>>>    ...,
>>>the presence of whitespace is considered significant in the assertionvalue.
> 
> 
> This wording is, I think, causing your problem.
> 
> Any and all whitespace is part of some assertionvalue.
> Whether or not its significant to the evaluation of the
> filter depends on the rule involved.
> 
> 
>>>Please correct me if I'm wrong but this means that the following filter expressions are interpreted differently:
>>>(for simplicity I'm equating whitespace to be a single space character, %x20)
>>>1. (ou=*)
>>>  - there is no whitespace at all
>>>  - interpreted as a presence filter
>>>  - matches all entries containing the ou attribute
>>>2. (ou= *)
>>>  - there is whitespace before the ASTERISK after the EQUALS
>>>  - interpreted as a substring filter
>>>  - the space is interpreted as the [initial]
>>>  - matches all values of ou starting with a space, %x20
>>
>>The exact matching behaviour depends on the attribute type. Typically though,
>>it will be equivalent to caseIgnoreSubstringsMatch. Assuming that is the case
>>then the current ldapbis specifications would invoke stringprep on each
>>candidate attribute value and each substring of the assertion.
> 
> 
> I argue that the behavior described by X.521 is the same
> as prescribed by [Syntaxes][LDAPprep].
> 
> 
>>The result will
>>be that no attribute value will have (for matching purposes) a leading space.
>>The initial substring will get reduced to empty which then becomes a
>>single space. After that it is a code point comparison. Since no attribute
>>value has a leading space, none are matched, and the result is empty.
> 
> 
> IMO, that's what X.521 says should happen.
> 
> 
>>This isn't the intuitive result either. The same occurs in the other examples for much the same reasons.
> 
> 
> Yes.
> 
> 
>>Treating the whitespace as insignificant (unless escaped) in the string
>>representation of the filter partly helps as it makes all your examples
>>equivalent to a present match,
> 
> 
> I don't understand this statement.
>         (ou= *) and (ou=\20*) are two encodings of the same filter
>         (substrings assertion for the initial string " "),
>         neither of which is equivalent to a present match.

Alex was postulating an alternative solution where unescaped whitespace in the string
representation of the filter is insignificant and would be stripped in converting
the string representation into an LDAP search filter in protocol. If that were so
then (ou= *) and (ou=*) would be carried in LDAP as presence matches, and
(ou=\20*) would be carried as a substrings match with initial substring " ".

> 
> 
>>but there would still be a problem with
>>cases where the whitespace is explicitly escaped. Stringprep will still
>>cause (ou=\20*) to match nothing.
>>
>>It seams to me that stringprep should allow a result string to be empty,
>>rather than replacing it by a single space. If that were the case then an
>>initial substring of " " would be reduced to an empty string, which would
>>trivially match every value, giving the same effect as a presence match.
> 
> 
> That's not consistent with the behavior described in X.521.

It may be consistent with the behaviour described in RFC 2252, which omitted
to say that a string of all spaces is replaced with a single space.

I personally think that replacement step is unwise. It leads to odd results
like the following: an initial substring of " " matches a value of " ", but
doesn't match a value of " foo" even though " " is clearly a prefix of " foo".

> 
> 
>>Similarly, an any substring that reduces to an empty string is trivially
>>satisfied and so is effectively ignored. In fact, this change to stringprep
>>would make escaping of whitespace in the string representation of filters
>>largely moot.
> 
> 
> I don't understand your last point here.

This was again in reference to Alex's alternative solution. If stringprep/LDAPprep
didn't replace an empty string with a single space then the effects would be
much the same as Alex's solution with respect to string filters.

Regards,
Steven

 > Irregardless of
> how the matching is performed, escaping whitepace in the
> string representation of the filter produces the same filter
> wire-encoding as if the whitescape were not escaped in the
> string representation, and hence matches in the exact same
> manner.  That is, the escaping has only been moot.  Introduction
> of LDAPprep doesn't change that.
> 
> 
> 
>>Regards,
>>Steven
>>
>>
>>>3. (ou=* )
>>>  - there is whitespace after the ASTERISK before the RPAREN
>>>  - interpreted as a substring filter
>>>  - the space is interpreted as the [final]
>>>  - matches all values of ou ending with a space, %x20
>>>4. (ou= * )
>>>  - there is whitespace before the ASTERISK and after the ASTERISK
>>>  - interpreted as a substring filter
>>>  - the first and last spaces are interpreted as the [initial] and [final] values respectively
>>>  - matches all values of ou starting and ending with a space, %x20
>>>5. there's another class where two or more ASTERISKS sandwich whitespace: (ou=* *)
>>>  - although other forms would be a bit nonsensical this one may be valid and would match      all entires with ou values starting or ending with a space, %x20
>>>Are these correct interpretations according to the ABNF and is the matching behavior correct?
>>>Now I'd like to open for discussion whether or not these interpretations are intuitively correct.  As an end user issuing search filters to a directory I've come to expect the directory to be extra forgiving when it comes to things like whitespace.  Users have gotten this feeling regarding whitespace forgiveness from the way distinguished names are normalized by the directory.  It's intuitive for the user to presume some of this forgiving nature extends to filters which can match on attributes with the DN syntax.  So looking at the examples above I can see how a user may think that all these filters are in fact equal to one another.  The user is not thinking, "=* is a distinct atomic operator token to a parser and is inseparable where a space makes it no longer a presence ffilter."  The user thinks well I'm matching for anything.    
>>>What if they just like to put spaces around parentheses in their filter expressions?  This space forgiving nature is "turned on" for matching normal equality expressions on attributes like ou and is especially forgiving if distinguishedNameMatch is in effect for respective attributes.
>>>So would you agree that there is some mismatch between the hard ABNF interpretation and the mental interpolation of users writing filters?  
>>>IMO I think all whitespace should be escaped if significant.  
> 
> 
> See above.  Escaping whitespace in the string representation has
> zero impact upon the wire encoding of the filter nor its evalutation. 
> 
> 
>>>Otherwise whitespace should be trimmed from the edges of attributevalues.  Also whitespace within the interior of the value should be reduced to a single space to preserve tokenization order while matching.  With regard to substring items the 'any' pieces between two ASTERISKS  that are purely composed of whitespace should be discarded and the ASTERISKS consolidated into one.
>>>This makes life tougher on those that really want to match based on whitespace.  However they can just escape out the whitespace in their filters like so:
>>>1. (ou=*)
>>>2. (ou=\20*)
>>>3. (ou=*\20)
>>>4. (ou=\20*\20)
>>>5. (ou=*\20*)
>>>Comments? Thoughts?
>>>Thanks,
>>>Alex
>>>[Filters]     Smith, M. (editor), LDAPbis WG, "LDAP: String
>>>              Representation of Search Filters",
>>>              draft-ietf-ldapbis-filter-xx.txt, a work in progress.
>>>[Models]      Zeilenga, K. (editor), "LDAP: Directory Information Models",
>>>              draft-ietf-ldapbis-models-xx.txt, a work in progress.
> 
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 22:52:25 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 WAA04917
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 22:52:24 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC3pPSd056713;
	Fri, 12 Nov 2004 03:51: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 iAC3jnwi056552;
	Fri, 12 Nov 2004 03:45: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, 12 Nov 2004 03:45:49 +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 iAC3jmwV056542
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 03:45: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 iAC3jkZv085231;
	Fri, 12 Nov 2004 03:45:47 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041111224501.02d36ad8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Thu, 11 Nov 2004 22:46:12 -0500
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Wording of Authorization deefinition (was Re: protocol-27
  comments #3)
Cc: <h.b.furuseth@usit.uio.no>, <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s190cb63.032@sinclair.provo.novell.com>
References: <s190cb63.032@sinclair.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Given our reference to [AuthMeth], I think it best to delete
the whole paragraph containing this text.  The paragraph is
simply not needed anymore (in [Protocol]).

Kurt

At 03:51 PM 11/9/2004, Jim Sermersheim wrote:
>ok, new text is:
>
>The process of authorization may, among other things, consider
>authentication information obtained during the bind operation, and/or
>other acts of authentication (such as lower layer security services).
>
>Jim
>
>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/9/04 6:32:32 AM
>>>>
>Jim Sermersheim writes:
>> Is this less or more confusing?
>> The process of authorization may consider (among other things),
>> authentication information obtained during the bind operation,
>and/or
>> may consider other acts of authentication (such as lower layer
>security
>> services).
>
>Less confusing, less neat. I would
>s/consider (among other things)/among other things consider/
>s/may consider other acts/other acts/.
>Or keep the original text, but with s/takes as input/may consider/.
>
>Though now that I see how the original text should be read, I'm not
>sure
>I want to argue it is confusing. I'm quite capable of confusing myself
>without help from the draft.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 11 23:04: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 XAA05945
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Nov 2004 23:04:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC43P4B057327;
	Fri, 12 Nov 2004 04:03: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 iAC42srn057303;
	Fri, 12 Nov 2004 04:02:54 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, 12 Nov 2004 04:02:54 +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 iAC42pPP057266;
	Fri, 12 Nov 2004 04:02:51 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Thu, 11 Nov 2004 21:02:31 -0700
Message-Id: <s193d367.093@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Thu, 11 Nov 2004 21:02:07 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Wording of Authorization deefinition (was Re: protocol-27
	comments #3)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part2707FFAF.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

I agree withi this. This was added to 2251, but hasn't been needed since
we added AuthMeth.
 
If no one disagrees, I'll remove it.
 
Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/11/04 10:46:12 PM >>>
Given our reference to [AuthMeth], I think it best to delete
the whole paragraph containing this text. The paragraph is
simply not needed anymore (in [Protocol]).

Kurt

At 03:51 PM 11/9/2004, Jim Sermersheim wrote:
>ok, new text is:
>
>The process of authorization may, among other things, consider
>authentication information obtained during the bind operation, and/or
>other acts of authentication (such as lower layer security services).
>
>Jim
>
>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 11/9/04 6:32:32
AM
>>>>
>Jim Sermersheim writes:
>> Is this less or more confusing?
>> The process of authorization may consider (among other things),
>> authentication information obtained during the bind operation,
>and/or
>> may consider other acts of authentication (such as lower layer
>security
>> services).
>
>Less confusing, less neat. I would
>s/consider (among other things)/among other things consider/
>s/may consider other acts/other acts/.
>Or keep the original text, but with s/takes as input/may consider/.
>
>Though now that I see how the original text should be read, I'm not
>sure
>I want to argue it is confusing. I'm quite capable of confusing
myself
>without help from the draft.
>
>-- 
>Hallvard



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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I agree withi this. This was added to 2251, but hasn't been needed =
since we added AuthMeth.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If no one disagrees, I'll remove it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; =
11/11/04 10:46:12 PM &gt;&gt;&gt;<BR>Given our reference to [AuthMeth], I =
think it best to delete<BR>the whole paragraph containing this text. The =
paragraph is<BR>simply not needed anymore (in [Protocol]).<BR><BR>Kurt<BR><=
BR>At 03:51 PM 11/9/2004, Jim Sermersheim wrote:<BR>&gt;ok, new text =
is:<BR>&gt;<BR>&gt;The process of authorization may, among other things, =
consider<BR>&gt;authentication information obtained during the bind =
operation, and/or<BR>&gt;other acts of authentication (such as lower layer =
security services).<BR>&gt;<BR>&gt;Jim<BR>&gt;<BR>&gt;&gt;&gt;&gt; =
Hallvard B Furuseth &lt;<U> <A href=3D"mailto:h.b.furuseth@usit.uio.no">h.b=
.furuseth@usit.uio.no</A></U> &gt; 11/9/04 6:32:32 AM<BR>&gt;&gt;&gt;&gt;<B=
R>&gt;Jim Sermersheim writes:<BR>&gt;&gt; Is this less or more confusing?<B=
R>&gt;&gt; The process of authorization may consider (among other =
things),<BR>&gt;&gt; authentication information obtained during the bind =
operation,<BR>&gt;and/or<BR>&gt;&gt; may consider other acts of authenticat=
ion (such as lower layer<BR>&gt;security<BR>&gt;&gt; services).<BR>&gt;<BR>=
&gt;Less confusing, less neat. I would<BR>&gt;s/consider (among other =
things)/among other things consider/<BR>&gt;s/may consider other acts/other=
 acts/.<BR>&gt;Or keep the original text, but with s/takes as input/may =
consider/.<BR>&gt;<BR>&gt;Though now that I see how the original text =
should be read, I'm not<BR>&gt;sure<BR>&gt;I want to argue it is confusing.=
 I'm quite capable of confusing myself<BR>&gt;without help from the =
draft.<BR>&gt;<BR>&gt;-- <BR>&gt;Hallvard<BR><BR></DIV></BODY></HTML>

--=__Part2707FFAF.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 00:35: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 AAA13508
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 00:35:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC5XP14060514;
	Fri, 12 Nov 2004 05:34:12 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 iAC5TQNl060428;
	Fri, 12 Nov 2004 05:29: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); Fri, 12 Nov 2004 05:29:26 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAC5TLAx060392;
	Fri, 12 Nov 2004 05:29:22 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000959; Fri, 12 Nov 2004 16:33:15 +1100
Message-ID: <419449BC.6010003@eb2bcom.com>
Date: Fri, 12 Nov 2004 16:27:24 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Rici Lake <rici@ricilake.net>
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Stringprep Considered Harmful
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net> <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1> <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
In-Reply-To: <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Rici,

Rici Lake wrote:
> On 11-Nov-04, at 11:21 AM, Kurt D. Zeilenga wrote:
> 
>> In revising the LDAP technical specification, the WG was
>> charged with resolving known interoperability problems,
>> including those in character string matching.  I believe
>> the WG understood (and understands) that fixing the general
>> character string matching problems requires invalidating
>> (or "breaking") some specific application uses of LDAP.  I
>> also believe the WG understands well the limitations of the
>> Stringprep solution and accepts those limitations as
>> reasonable given the situation.

I doubt the working group as a whole has the background to give
due consideration to the issues around bidi. I know I don't.
I think prior consensus here probably amounts to a lot of
"I dunno, whatever".

> I find that acceptable for most of the little quirks of the
> stringprep profile proposed. But I would beg the WG to
> reconsider the application of the bidi-prohibition rule.

The situations you have described seem to me to be quite reasonable
uses of the directory. It is unfortunate if LDAPprep + stringprep
is making those things illegal.

> 
> To try to make the problem as simple as possible, all of the
> following strings would be unmatchable with bidi-prohibition:
> 
> 1) A URL which contains an Arabic or Hebrew component, whether
> a domain component, path component or query component, unless
> %-quoted. (This might even be an ldap: url.) These will be
> unmatcheable because a URL must start with a scheme name,
> all of which currently are left-to-right characters (in fact
> [a-z0-9]+)
> 
> 2) An email address which contains an Arabic or Hebrew
> domain name component or Arabic or Hebrew mailbox name,
> unless the entire domain name include the TLD is in
> Arabic or Hebrew. (I know that there is a proposal to
> implement Arabic TLDs, but I feel that <arabicword>.com
> is rather more likely in the forseeable future.)
> 
> 3) A string not identified as having distinguished name
> syntax which happens to be a distinguished name which
> includes Arabic or Hebrew components
> 
> 4) An absolute filepath which includes Arabic or Hebrew
> components, even if all components are Arabic or Hebrew, since
> the initial / will fail the bidi prohibition
> 
> 5) And a long etc.
> 
> So it seems to me that the bidi prohibition is more the exception
> than the rule; it should be applied to the syntax for the dc
> attribute, but it is hard to think of other attributetypes where
> it will not primarily serve block the use of right-to-left scripts.

Seems like a fair assertion to me.

> 
>> Your comment "this may indicate the need for more MatchingRules
>> which correspond to those system's matching algorithms" is on
>> target.  Where the general-purpose matching rules (e.g.,
>> caseIgnoreMatch, caseExactMatch, etc.) are inappropriate in
>> some application-specific context, an application-specific
>> matching rule should be introduced OR the application should
>> specify that application-specific transformations (e.g., IDN
>> toASCII/toUnicode) be employed above the directory such that
>> matching with general purpose matching rules (e.g.,
>> octetStringMatch) in the directory behaves in a manner
>> appropriate for the application.
> 
> 
> That seems entirely appropriate to me. Consequently, I would humbly
> suggest that the default general-purpose matching rule not include
> the bidi prohibition rule, and that an application-specific rule
> be introduced for attributes whose values will be normalised by
> nameprep.

I agree that it is appropriate for the general purpose matching rules to
be able to support arbitrary changes of direction. Though it is not at all
clear to me what the implications would be for the substring matching rules.

Regards,
Steven

> 
> Rici
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 09:23: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 JAA05550
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 09:23:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACELWNG080718;
	Fri, 12 Nov 2004 14:22: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 iACEKCRW080684;
	Fri, 12 Nov 2004 14:20:12 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, 12 Nov 2004 14:20:12 +0000
Received: from smtp1.su.se (smtp1.su.se [130.237.162.112])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACEK5m6080672
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 14:20:06 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp1.su.se [127.0.0.1])
	by smtp1.su.se (Postfix) with ESMTP id 68C90393B3;
	Fri, 12 Nov 2004 15:20:04 +0100 (CET)
Received: from smtp1.su.se ([127.0.0.1])
 by localhost (smtp1.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 22953-01-28; Fri, 12 Nov 2004 15:20:04 +0100 (CET)
Received: from [130.129.134.141] (unknown [130.129.134.141])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.su.se (Postfix) with ESMTP id 9430E38038;
	Fri, 12 Nov 2004 15:20:03 +0100 (CET)
Message-ID: <4194C690.8070206@it.su.se>
Date: Fri, 12 Nov 2004 15:20:00 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>,
        ietf-ldapbis@OpenLDAP.org
Subject: Re: vacation message & schema design
References: <HBF.20041109m19a@bombur.uio.no>	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>	<HBF.20041109kvfo@bombur.uio.no>	<41910990.6070006@it.su.se>	<HBF.20041109cxrd@bombur.uio.no>	<41926151.3090501@it.su.se>	<41931944.1040405@stroeder.com>	<41937712.6030206@it.su.se>	<HBF.20041111yv0t@bombur.uio.no>	<419390B6.8040207@it.su.se> <HBF.20041112lw40@bombur.uio.no>
In-Reply-To: <HBF.20041112lw40@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


> 
> You must be disappointed with a lot of schemas out there, then.  E.g.


Yes.


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 09:52:25 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 JAA07994
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 09:52:24 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACEpTOZ082626;
	Fri, 12 Nov 2004 14:51: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 iACEm3IJ082519;
	Fri, 12 Nov 2004 14:48: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, 12 Nov 2004 14:48:03 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACElwvo082465;
	Fri, 12 Nov 2004 14:48:00 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id E702516D2EB; Fri, 12 Nov 2004 06:47:55 -0800 (PST)
Message-ID: <4194CD15.6060904@pearlcrescent.com>
Date: Fri, 12 Nov 2004 09:47:49 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt
References: <200410252003.QAA29252@ietf.org> <6.1.2.0.0.20041025133504.033605a0@127.0.0.1> <6.1.2.0.0.20041029153144.02effdb0@127.0.0.1> <41879E43.7080302@pearlcrescent.com>
In-Reply-To: <41879E43.7080302@pearlcrescent.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Mark Smith wrote:

> 
>>>>> ...
>>>>>     lessorequal    = LANGLE EQUALS
>>>>>     extensible     = attr [dnattrs]
>>>>>                            [matchingrule] COLON EQUALS assertionvalue
>>>>>                      / [dnattrs]
>>>>>                             matchingrule COLON EQUALS assertionvalue
>>>>>                      / COLON EQUALS assertionvalue
>>>>
>>>>
>>>>
>>>> The grouping notation should be used here to improve clarity.
>>>> That is, ( ... ) / ( ... ) / ( ... ).  As presented, it
>>>> appears that ":=value" would be a valid extensible production.
> 
> 
> [mcs] Agreed.  I will add the ()s.

There is one more issue here which came to me as I was editing the 
document:  Filter-08 *does* specify that ":=value" is a valid extensible 
production.  I think that is simply an error and that the third option 
within the extensible production should be removed (it was introduced by 
me between the -01 and -02 revisions more than 2 years ago).  Section 
4.5.1 (Search Request) of [Protocol] disallows this:

    If the matchingRule field is absent, the type field MUST be
    present, and an equality match is performed for that type.

As does 2251.  Which makes perfect sense.

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 10:16: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 JAA05567
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 09:23:41 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACELWNI080718;
	Fri, 12 Nov 2004 14:22: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 iACEH9h9080542;
	Fri, 12 Nov 2004 14:17:09 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, 12 Nov 2004 14:17:09 +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 iACEH75s080531
	for <ietf-ldapbis@openldap.org>; Fri, 12 Nov 2004 14:17:08 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.34)
	id 1CScEZ-0005w6-Fc; Fri, 12 Nov 2004 15:17:03 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CScEF-0003d2-KD; Fri, 12 Nov 2004 15:16:43 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CScEC-0001zQ-00; Fri, 12 Nov 2004 15:16:40 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041112lw40@bombur.uio.no>
To: Leif Johansson <leifj@it.su.se>
Cc: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>,
        ietf-ldapbis@OpenLDAP.org
Subject: Re: vacation message & schema design
In-Reply-To: <419390B6.8040207@it.su.se>
References: <HBF.20041109m19a@bombur.uio.no>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
	<HBF.20041109kvfo@bombur.uio.no>
	<41910990.6070006@it.su.se>
	<HBF.20041109cxrd@bombur.uio.no>
	<41926151.3090501@it.su.se>
	<41931944.1040405@stroeder.com>
	<41937712.6030206@it.su.se>
	<HBF.20041111yv0t@bombur.uio.no>
	<419390B6.8040207@it.su.se>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Nov 2004 15:16:40 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Leif Johansson writes:
>> That would give us 11 or so object classes, one for each optional
>> feature in the mail system, just so we could use LDAP to store mail
>> information.  Most mail objects would need at least 5-6 object classes.
>> *Not* good.  I haven't seen many schemas that follow that philosophy
>> either.
> 
> Not only is it good schema design it is based on good OO design
> principles: Use interfaces (which is exactly what an aux object class
> is) and in the case of LDAP polymorphism to expose specific features
> to applications.

You must be disappointed with a lot of schemas out there, then.  E.g.
rfc2256 which has things like searchGuide, userPassword and seeAlso in
several structural classes instead of in an aux class, and it mixes
org/person names with locations with contact info, etc.

Anyway, which application_s_?  There are maybe three applications
involved: The mail system, the user interface to change one's own mail
settings, and the IMAP servers used to read mail - and they are all
configured or programmed to rely on the same schema.

> I don't believe you can show me a deployed schema which actually
> relies on empty IA5Strings.

I renamed this subthread because it no longer has anyting to do with
empty strings, only with schema design and whether to use an boolean
attribute vs. an object class.  But I can rename it back; see next
message.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 11:29: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 LAA17730
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 11:29:11 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACGRTPl087160;
	Fri, 12 Nov 2004 16:27: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 iACGNsx0087009;
	Fri, 12 Nov 2004 16:23:54 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, 12 Nov 2004 16:23:54 +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 iACGNpDA086996
	for <ietf-ldapbis@openldap.org>; Fri, 12 Nov 2004 16:23:52 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.34)
	id 1CSeDE-00035r-Ly
	for ietf-ldapbis@openldap.org; Fri, 12 Nov 2004 17:23:48 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CSeDA-00085z-3h; Fri, 12 Nov 2004 17:23:44 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CSeD9-0002KN-00; Fri, 12 Nov 2004 17:23:43 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041112jrn8@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: Irrelevant empty IA5String (was: vacation message & schema design)
In-Reply-To: <419390B6.8040207@it.su.se>
References: <HBF.20041109m19a@bombur.uio.no>
	<OF4FE3D882.197662A0-ON86256F47.004AFDC9-86256F47.004BCB5F@us.ibm.com>
	<HBF.20041109kvfo@bombur.uio.no>
	<41910990.6070006@it.su.se>
	<HBF.20041109cxrd@bombur.uio.no>
	<41926151.3090501@it.su.se>
	<41931944.1040405@stroeder.com>
	<41937712.6030206@it.su.se>
	<HBF.20041111yv0t@bombur.uio.no>
	<419390B6.8040207@it.su.se>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Nov 2004 17:23:43 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I feel a little silly keeping on about this subthread, arguing about a
position I'm not even sure I support (allowing empty IA5 Strings).  So,
for the record: I don't know what would be best in that regard.  I would
have preferred string types to allow empty values in general, and I
don't buy several of the arguments against, but consistency with the
other string types is a good argument against allowing it for IA5String.
OTOH, it sounds to me like Stringprep should support empty strings
anyway.


So the rest is only about why empty strings might be good, if anyone is
interested.

Leif Johansson writes:
> I don't believe you can show me a deployed schema which actually relies
> on empty IA5Strings.

Certainly not, since we use OpenLDAP - which rejects empty IA5Strings.

John asked for an example of an empty string being different from an
absent string, and I gave two: Empty vacation messages, and empty DNs.
That's all.  In the case of empty vacation messages, I would think it's
fairly obvious that the natural way to represent empty user input is
with an empty string, and that anything else is a workaround.

The arguments against empty strings apply equally well against empty DNs
- LDAP could have defined the root DN to be represented as " ", but it
doesn't.  It would have been more cumbersome to handle, but that's all.
The reason I mentioned an empty string as meaning "no default message"
is precisely because many languages and config systems treat empty
strings as False.  So again, an empty string would be easier than " ",
but no more than that.

If there is some syntax (e.g. like DNs), which is defined elsewhere and
known to clients to the string, one may have fewer options about
inserting hacks like that in LDAP.  One could use Octet String - but
lose functionality like caseIgnoreMatch.

BTW, a third example of empty strings is empty passwords.  Which are
allowed for userPassword (Syntax Octet String), and definitely different
from not having a userPassoword.

> In fact as I have noted elsewhere in this thread most client libraries
> could not distinguish empty strings from an absent attribute-value.

Such libraries are buggy, since DNs and octet strings may be empty.  The
only libraries I have tried - Perl Net::LDAP, python-ldap and the LDAP C
API - work correctly, at least the way I've used them.

Ignoring an empty value in a list of values sounds like a strange bug in
any case.  And I'm wondering which clients you have had this trouble
with, unless you have servers which allows empty strings.  If they do,
then disallowing them does introduce incompatibilities.  (Yes, I'm
curious if you are sitting on an argument _for_ empty IA5 String:-)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 12:43: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 MAA24288
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 12:43:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACHejPu090366;
	Fri, 12 Nov 2004 17:42:28 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 iACHTshm089724;
	Fri, 12 Nov 2004 17:29: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, 12 Nov 2004 17:29:54 +0000
Received: from e6.ny.us.ibm.com (e6.ny.us.ibm.com [32.97.182.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACHTovO089708
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 17:29:51 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e6.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id iACHTim5517366
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 12:29:44 -0500
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iACHTheS260164
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 12:29:44 -0500
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iACHThol015184
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 12:29:43 -0500
Received: from d27ml001.rchland.ibm.com (d27ml001.rchland.ibm.com [9.10.229.77])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iACHThIi015168
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Nov 2004 12:29:43 -0500
In-Reply-To: <HBF.20041112jrn8@bombur.uio.no>
Subject: Re: Irrelevant empty IA5String (was: vacation message & schema design)
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OFCC1D6260.2FA32353-ON86256F4A.005CF53A-86256F4A.00601985@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Fri, 12 Nov 2004 11:29:39 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Build V70_M2_07222004 Beta 2|July
 22, 2004) at 11/12/2004 11:29:43 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





Hallvard,

If it makes you feel any better...

Within our development teams, we haven't been able to agree on empty
strings.  It will probably be decided by our customers, and it probably
won't make any difference what the RFC eventually says.

On the one hand, we have seen lots of directory entries littered with empty
strings because of poorly designed applications that inadvertantly added
empty strings for values that were not entered on a user interface or as a
consequence of improperly handling deleting a value on the user interface.
But it worked and nobody noticed.

I've never seen a LDAP user interface that distinguished between an empty
string and a missing attribute.  But I have seen some applications break
when they encounter these entries (maybe they were poorly designed, too).

So I wish V3 had never allowed empty strings, and I wish our servers had
never allowed them.

On the other hand we have a small number of customers - invariably large
customers - who intentionally use empty strings.  They're not my customers,
so I don't know what the reason is.  And since the V3 standards allow empty
strings for IA5 String and our implementation doesn't particulary
distinguish between Directory String and IA5 String, it is hard to say "you
can't do that".

But...  V3 did allow empty strings, and some customers have written
applications that rely on them, and some customers are blithely unaware
that critical applications may be inadvertantly putting empty strings in
the directory - applications that would break if the server rejected empty
strings.

Personally, I'd like to reject empty strings.  But I know that if we do
that (or some alternatives that have been considered by our teams) it will
have to be done in such a way that when a customer calls at 2:00 AM
Saturday morning because a critical app just broke after his Friday night
upgrade,  we'll have to be able to get him a "fix" on Sunday.  "Your
application violates some RFC" will not be an acceptable answer.


John  McMeeking


Hallvard B Furuseth <h.b.furuseth@usit.uio.no> wrote on 11/12/2004 10:23:43
AM:

> I feel a little silly keeping on about this subthread, arguing about a
> position I'm not even sure I support (allowing empty IA5 Strings).  So,
> for the record: I don't know what would be best in that regard.  I would
> have preferred string types to allow empty values in general, and I
> don't buy several of the arguments against, but consistency with the
> other string types is a good argument against allowing it for IA5String.
> OTOH, it sounds to me like Stringprep should support empty strings
> anyway.
>
>
> So the rest is only about why empty strings might be good, if anyone is
> interested.
>
> Leif Johansson writes:
> > I don't believe you can show me a deployed schema which actually relies
> > on empty IA5Strings.
>
> Certainly not, since we use OpenLDAP - which rejects empty IA5Strings.
>
> John asked for an example of an empty string being different from an
> absent string, and I gave two: Empty vacation messages, and empty DNs.
> That's all.  In the case of empty vacation messages, I would think it's
> fairly obvious that the natural way to represent empty user input is
> with an empty string, and that anything else is a workaround.
>
> The arguments against empty strings apply equally well against empty DNs
> - LDAP could have defined the root DN to be represented as " ", but it
> doesn't.  It would have been more cumbersome to handle, but that's all.
> The reason I mentioned an empty string as meaning "no default message"
> is precisely because many languages and config systems treat empty
> strings as False.  So again, an empty string would be easier than " ",
> but no more than that.
>
> If there is some syntax (e.g. like DNs), which is defined elsewhere and
> known to clients to the string, one may have fewer options about
> inserting hacks like that in LDAP.  One could use Octet String - but
> lose functionality like caseIgnoreMatch.
>
> BTW, a third example of empty strings is empty passwords.  Which are
> allowed for userPassword (Syntax Octet String), and definitely different
> from not having a userPassoword.
>
> > In fact as I have noted elsewhere in this thread most client libraries
> > could not distinguish empty strings from an absent attribute-value.
>
> Such libraries are buggy, since DNs and octet strings may be empty.  The
> only libraries I have tried - Perl Net::LDAP, python-ldap and the LDAP C
> API - work correctly, at least the way I've used them.
>
> Ignoring an empty value in a list of values sounds like a strange bug in
> any case.  And I'm wondering which clients you have had this trouble
> with, unless you have servers which allows empty strings.  If they do,
> then disallowing them does introduce incompatibilities.  (Yes, I'm
> curious if you are sitting on an argument _for_ empty IA5 String:-)
>
> --
> Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 17:25: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 RAA07149
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 17:25:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACLdXA5002441;
	Fri, 12 Nov 2004 21:41: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 iACLU3nk001655;
	Fri, 12 Nov 2004 21:30: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, 12 Nov 2004 21:30:03 +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 iACLU0h4001590;
	Fri, 12 Nov 2004 21:30:00 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.34)
	id 1CSizS-0003Vx-T3; Fri, 12 Nov 2004 22:29:54 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CSizN-0008LW-N4; Fri, 12 Nov 2004 22:29:49 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CSizM-000321-00; Fri, 12 Nov 2004 22:29:48 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041112enfc@bombur.uio.no>
To: Steven Legg <steven.legg@eb2bcom.com>
Cc: Rici Lake <rici@ricilake.net>, "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>,
        ietf-ldapbis@OpenLDAP.org
Subject: Re: Stringprep Considered Harmful
In-Reply-To: <419449BC.6010003@eb2bcom.com>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
	<6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
	<3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
	<419449BC.6010003@eb2bcom.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Nov 2004 22:29:48 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven Legg writes:
> I doubt the working group as a whole has the background to give
> due consideration to the issues around bidi. I know I don't.
> I think prior consensus here probably amounts to a lot of
> "I dunno, whatever".

If so, I suggest to ask the unicode@unicode.org mailinglist to review
the draft.

I had kind of assumed that people in general knew what they were talking
about here, otherwise I'd have tried a bit harder to learn more about it
myself:-)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 12 17:35: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 RAA07699
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Nov 2004 17:35:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACMXWQ3005397;
	Fri, 12 Nov 2004 22:33: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 iACMRW6f005234;
	Fri, 12 Nov 2004 22:27: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); Fri, 12 Nov 2004 22:27:32 +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 iACMRT5f005199;
	Fri, 12 Nov 2004 22:27:30 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.34)
	id 1CSjt8-00044n-FY; Fri, 12 Nov 2004 23:27:26 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CSjt4-0006qW-JT; Fri, 12 Nov 2004 23:27:22 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1CSjt4-0003Al-00; Fri, 12 Nov 2004 23:27:22 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041112dosc@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org, Kurt@OpenLDAP.org
Subject: Re: reframing the Empty IA5 string discussion
In-Reply-To: <s193181d.082@sinclair.provo.novell.com>
References: <s193181d.082@sinclair.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Nov 2004 23:27:22 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> After re-reading RFC 2251, I changed my mind, and now I prefer 2B as I
> think most people would interpret a space-only string to either be
> leading or trailing whitespace, thus ignored.

Which part of rfc2251?  I can't find a relevant "space" in it.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov 13 14:12: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 OAA24319
	for <ldapbis-archive@lists.ietf.org>; Sat, 13 Nov 2004 14:12:06 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iADJ9dhL037732;
	Sat, 13 Nov 2004 19:10: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 iADJ4wm9037638;
	Sat, 13 Nov 2004 19:04: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); Sat, 13 Nov 2004 19:04:58 +0000
Received: from server ([207.14.217.166])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iADJ4rUl037603;
	Sat, 13 Nov 2004 19:04:54 GMT
	(envelope-from aok123@bellsouth.net)
Received: from [192.168.205.227] (lv-69-69-100-62.sta.sprint-hsd.net [69.69.100.62])
	by server (8.12.8/8.12.8) with SMTP id iADGvGCU025589;
	Sat, 13 Nov 2004 11:57:21 -0500
Message-ID: <41965AB0.1030506@bellsouth.net>
Date: Sat, 13 Nov 2004 14:04:16 -0500
From: Alex Karasulu <aok123@bellsouth.net>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Apache Directory Developers List <directory-dev@incubator.apache.org>
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org
Subject: Re: [filter] interpretting presence verses substring with  whitespace
References: <418FA7D7.3040706@bellsouth.net> <4190246F.4010901@eb2bcom.com> <6.1.2.0.0.20041111005002.02dfc9b0@127.0.0.1> <41942F09.8080405@eb2bcom.com>
In-Reply-To: <41942F09.8080405@eb2bcom.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Gentleman,

Please excuse my absence after posting this.  At the moment I'm at 
ApacheCon and working on things there so my responses will lag 
somewhat.  Rest assured I am following the conversation.  Thanks so much 
for your input on this matter.

Regards,
Alex Karasulu

Steven Legg wrote:

>
> Kurt,
>
> Kurt D. Zeilenga wrote:
>
>> At 08:59 PM 11/8/2004, Steven Legg wrote:
>>
>>
>>> Hi Alex,
>>>
>>> Alex Karasulu wrote:
>>>
>>>> Hello,
>>>> I have some questions regarding the interpretation of LDAP search 
>>>> filters specifically differentiating between presence and substring 
>>>> items when whitespace is present.  According to the ABNF describing 
>>>> these rules in [FILTERS], and some additional rules in [MODELS] ,
>>>>    ...
>>>>    present        = attr EQUALS ASTERISK
>>>>    substring      = attr EQUALS [initial] any [final]
>>>>    initial        = assertionvalue
>>>>    any            = ASTERISK *(assertionvalue ASTERISK)
>>>>    final          = assertionvalue
>>>>    attr           = attributedescription
>>>>    ...,
>>>> the presence of whitespace is considered significant in the 
>>>> assertionvalue.
>>>
>>
>>
>> This wording is, I think, causing your problem.
>>
>> Any and all whitespace is part of some assertionvalue.
>> Whether or not its significant to the evaluation of the
>> filter depends on the rule involved.
>>
>>
>>>> Please correct me if I'm wrong but this means that the following 
>>>> filter expressions are interpreted differently:
>>>> (for simplicity I'm equating whitespace to be a single space 
>>>> character, %x20)
>>>> 1. (ou=*)
>>>>  - there is no whitespace at all
>>>>  - interpreted as a presence filter
>>>>  - matches all entries containing the ou attribute
>>>> 2. (ou= *)
>>>>  - there is whitespace before the ASTERISK after the EQUALS
>>>>  - interpreted as a substring filter
>>>>  - the space is interpreted as the [initial]
>>>>  - matches all values of ou starting with a space, %x20
>>>
>>>
>>> The exact matching behaviour depends on the attribute type. 
>>> Typically though,
>>> it will be equivalent to caseIgnoreSubstringsMatch. Assuming that is 
>>> the case
>>> then the current ldapbis specifications would invoke stringprep on each
>>> candidate attribute value and each substring of the assertion.
>>
>>
>>
>> I argue that the behavior described by X.521 is the same
>> as prescribed by [Syntaxes][LDAPprep].
>>
>>
>>> The result will
>>> be that no attribute value will have (for matching purposes) a 
>>> leading space.
>>> The initial substring will get reduced to empty which then becomes a
>>> single space. After that it is a code point comparison. Since no 
>>> attribute
>>> value has a leading space, none are matched, and the result is empty.
>>
>>
>>
>> IMO, that's what X.521 says should happen.
>>
>>
>>> This isn't the intuitive result either. The same occurs in the other 
>>> examples for much the same reasons.
>>
>>
>>
>> Yes.
>>
>>
>>> Treating the whitespace as insignificant (unless escaped) in the string
>>> representation of the filter partly helps as it makes all your examples
>>> equivalent to a present match,
>>
>>
>>
>> I don't understand this statement.
>>         (ou= *) and (ou=\20*) are two encodings of the same filter
>>         (substrings assertion for the initial string " "),
>>         neither of which is equivalent to a present match.
>
>
> Alex was postulating an alternative solution where unescaped 
> whitespace in the string
> representation of the filter is insignificant and would be stripped in 
> converting
> the string representation into an LDAP search filter in protocol. If 
> that were so
> then (ou= *) and (ou=*) would be carried in LDAP as presence matches, and
> (ou=\20*) would be carried as a substrings match with initial 
> substring " ".
>
>>
>>
>>> but there would still be a problem with
>>> cases where the whitespace is explicitly escaped. Stringprep will still
>>> cause (ou=\20*) to match nothing.
>>>
>>> It seams to me that stringprep should allow a result string to be 
>>> empty,
>>> rather than replacing it by a single space. If that were the case 
>>> then an
>>> initial substring of " " would be reduced to an empty string, which 
>>> would
>>> trivially match every value, giving the same effect as a presence 
>>> match.
>>
>>
>>
>> That's not consistent with the behavior described in X.521.
>
>
> It may be consistent with the behaviour described in RFC 2252, which 
> omitted
> to say that a string of all spaces is replaced with a single space.
>
> I personally think that replacement step is unwise. It leads to odd 
> results
> like the following: an initial substring of " " matches a value of " 
> ", but
> doesn't match a value of " foo" even though " " is clearly a prefix of 
> " foo".
>
>>
>>
>>> Similarly, an any substring that reduces to an empty string is 
>>> trivially
>>> satisfied and so is effectively ignored. In fact, this change to 
>>> stringprep
>>> would make escaping of whitespace in the string representation of 
>>> filters
>>> largely moot.
>>
>>
>>
>> I don't understand your last point here.
>
>
> This was again in reference to Alex's alternative solution. If 
> stringprep/LDAPprep
> didn't replace an empty string with a single space then the effects 
> would be
> much the same as Alex's solution with respect to string filters.
>
> Regards,
> Steven
>
> > Irregardless of
>
>> how the matching is performed, escaping whitepace in the
>> string representation of the filter produces the same filter
>> wire-encoding as if the whitescape were not escaped in the
>> string representation, and hence matches in the exact same
>> manner.  That is, the escaping has only been moot.  Introduction
>> of LDAPprep doesn't change that.
>>
>>
>>
>>> Regards,
>>> Steven
>>>
>>>
>>>> 3. (ou=* )
>>>>  - there is whitespace after the ASTERISK before the RPAREN
>>>>  - interpreted as a substring filter
>>>>  - the space is interpreted as the [final]
>>>>  - matches all values of ou ending with a space, %x20
>>>> 4. (ou= * )
>>>>  - there is whitespace before the ASTERISK and after the ASTERISK
>>>>  - interpreted as a substring filter
>>>>  - the first and last spaces are interpreted as the [initial] and 
>>>> [final] values respectively
>>>>  - matches all values of ou starting and ending with a space, %x20
>>>> 5. there's another class where two or more ASTERISKS sandwich 
>>>> whitespace: (ou=* *)
>>>>  - although other forms would be a bit nonsensical this one may be 
>>>> valid and would match      all entires with ou values starting or 
>>>> ending with a space, %x20
>>>> Are these correct interpretations according to the ABNF and is the 
>>>> matching behavior correct?
>>>> Now I'd like to open for discussion whether or not these 
>>>> interpretations are intuitively correct.  As an end user issuing 
>>>> search filters to a directory I've come to expect the directory to 
>>>> be extra forgiving when it comes to things like whitespace.  Users 
>>>> have gotten this feeling regarding whitespace forgiveness from the 
>>>> way distinguished names are normalized by the directory.  It's 
>>>> intuitive for the user to presume some of this forgiving nature 
>>>> extends to filters which can match on attributes with the DN 
>>>> syntax.  So looking at the examples above I can see how a user may 
>>>> think that all these filters are in fact equal to one another.  The 
>>>> user is not thinking, "=* is a distinct atomic operator token to a 
>>>> parser and is inseparable where a space makes it no longer a 
>>>> presence ffilter."  The user thinks well I'm matching for 
>>>> anything.    What if they just like to put spaces around 
>>>> parentheses in their filter expressions?  This space forgiving 
>>>> nature is "turned on" for matching normal equality expressions on 
>>>> attributes like ou and is especially forgiving if 
>>>> distinguishedNameMatch is in effect for respective attributes.
>>>> So would you agree that there is some mismatch between the hard 
>>>> ABNF interpretation and the mental interpolation of users writing 
>>>> filters?  IMO I think all whitespace should be escaped if 
>>>> significant.  
>>>
>>
>>
>> See above.  Escaping whitespace in the string representation has
>> zero impact upon the wire encoding of the filter nor its evalutation.
>>
>>>> Otherwise whitespace should be trimmed from the edges of 
>>>> attributevalues.  Also whitespace within the interior of the value 
>>>> should be reduced to a single space to preserve tokenization order 
>>>> while matching.  With regard to substring items the 'any' pieces 
>>>> between two ASTERISKS  that are purely composed of whitespace 
>>>> should be discarded and the ASTERISKS consolidated into one.
>>>> This makes life tougher on those that really want to match based on 
>>>> whitespace.  However they can just escape out the whitespace in 
>>>> their filters like so:
>>>> 1. (ou=*)
>>>> 2. (ou=\20*)
>>>> 3. (ou=*\20)
>>>> 4. (ou=\20*\20)
>>>> 5. (ou=*\20*)
>>>> Comments? Thoughts?
>>>> Thanks,
>>>> Alex
>>>> [Filters]     Smith, M. (editor), LDAPbis WG, "LDAP: String
>>>>              Representation of Search Filters",
>>>>              draft-ietf-ldapbis-filter-xx.txt, a work in progress.
>>>> [Models]      Zeilenga, K. (editor), "LDAP: Directory Information 
>>>> Models",
>>>>              draft-ietf-ldapbis-models-xx.txt, a work in progress.
>>>
>>
>>
>>
>



From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov 14 14:54:31 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 OAA06346
	for <ldapbis-archive@lists.ietf.org>; Sun, 14 Nov 2004 14:54:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAEJptne070635;
	Sun, 14 Nov 2004 19:52: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 iAEJpgFJ070627;
	Sun, 14 Nov 2004 19: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); Sun, 14 Nov 2004 19:51:42 +0000
Received: from smtp2.su.se (smtp2.su.se [130.237.93.212])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAEJpd3M070617
	for <ietf-ldapbis@OpenLDAP.org>; Sun, 14 Nov 2004 19:51:41 GMT
	(envelope-from leifj@it.su.se)
Received: from localhost (smtp2.su.se [127.0.0.1])
	by smtp2.su.se (Postfix) with ESMTP id 3421A200999;
	Sun, 14 Nov 2004 20:51:38 +0100 (CET)
Received: from smtp2.su.se ([127.0.0.1])
 by localhost (smtp2.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 13407-01-12; Sun, 14 Nov 2004 20:51:38 +0100 (CET)
Received: from [10.0.0.30] (1-1-2-20a.rny.sth.bostream.se [82.182.132.64])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp2.su.se (Postfix) with ESMTP id B9FE520002C;
	Sun, 14 Nov 2004 20:51:37 +0100 (CET)
Message-ID: <4197B740.5080500@it.su.se>
Date: Sun, 14 Nov 2004 20:51:28 +0100
From: Leif Johansson <leifj@it.su.se>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
To: John McMeeking <jmcmeek@us.ibm.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Irrelevant empty IA5String (was: vacation message & schema design)
References: <OFCC1D6260.2FA32353-ON86256F4A.005CF53A-86256F4A.00601985@us.ibm.com>
In-Reply-To: <OFCC1D6260.2FA32353-ON86256F4A.005CF53A-86256F4A.00601985@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at su.se
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

John McMeeking wrote:
> 
> 
> 
> Hallvard,
> 
> If it makes you feel any better...

So my summary of this thread is (please correct me if I am wrong): There
doesn't seem to be interoperability around the use of empty IA5 strings.

If you agree on that there is only one way to proceed: disallow the use
of empty IA5 strings. We had a similar discussion about ;binary some
time ago with a similar outcome.

This is the ldapbis-wg. The purpouse of this group is to shepheard
ldapv3 to draft standard.

	MVH leifj


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 01:23: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 BAA14690
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 01:23:46 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAF6LqL8088587;
	Mon, 15 Nov 2004 06:22:27 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 iAF6JqmL088484;
	Mon, 15 Nov 2004 06:19: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, 15 Nov 2004 06:19: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 iAF6JloK088471
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 06:19: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 iAF6JiZv005403;
	Mon, 15 Nov 2004 06:19:44 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041111012251.02e687e8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Sun, 14 Nov 2004 22:20:09 -0800
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: reframing the Empty IA5 string discussion
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <4192F6A1.8050201@eb2bcom.com>
References: <6.1.2.0.0.20041110213350.02f778c0@127.0.0.1>
 <4192F6A1.8050201@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 12:20 AM 11/11/2004, Steven Legg wrote:
>Kurt D. Zeilenga wrote:
>>I see that there are few reasonable options here:
>>1) IA5 strings precludes zero-length values
>>2) IA5 strings allows zero-length values
>>   2A) a zero-length values only matches a zero-length value
>>   2B) a zero-length value matches " " (and all values
>>       equivalent to " ").
>>I prefer 1 over 2A over 2B (see prior posts for why).
>
>There are two separate questions here. Whether or not the IA5 String syntax
>is restricted to preclude zero-length values (I don't care either way) there
>is still the potential for zero-length IA5String values to be compared by
>caseIgnoreIA5Match through component matching.

Above, when I said "precludes" or "allows", I should have said
"by matching rule constraints".  That is, IA5String is as defined
in X.680.  The preclude/allows can be viewed an artifact of the
particular equality rule used, not as an artifact of this
particular syntax.  So, while LDAP doesn't re-define X.680's
IA5String, it does define caseIgnoreIA5Match.

Kurt  



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 01:34: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 BAA15297
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 01:34:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAF6XpZw089084;
	Mon, 15 Nov 2004 06:33: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 iAF6W52P089026;
	Mon, 15 Nov 2004 06:32:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 15 Nov 2004 06:32:05 +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 iAF6W2WS089016
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 06:32:03 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 iAF6VrZv005456;
	Mon, 15 Nov 2004 06:31:53 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Sun, 14 Nov 2004 22:31:35 -0800
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Stringprep Considered Harmful
Cc: Rici Lake <rici@ricilake.net>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <419449BC.6010003@eb2bcom.com>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
 <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
 <419449BC.6010003@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

(combining responses)
At 12:27 AM 11/12/2004, Steven Legg wrote:
>Rici,
>Rici Lake wrote:
>>On 11-Nov-04, at 11:21 AM, Kurt D. Zeilenga wrote:
>>>In revising the LDAP technical specification, the WG was
>>>charged with resolving known interoperability problems,
>>>including those in character string matching.  I believe
>>>the WG understood (and understands) that fixing the general
>>>character string matching problems requires invalidating
>>>(or "breaking") some specific application uses of LDAP.  I
>>>also believe the WG understands well the limitations of the
>>>Stringprep solution and accepts those limitations as
>>>reasonable given the situation.
>
>I doubt the working group as a whole has the background to give
>due consideration to the issues around bidi. I know I don't.
>I think prior consensus here probably amounts to a lot of
>"I dunno, whatever".

Well, I don't give much weight to "I dunno, whatever"
opinions in consensus determination.

In respect to LDAPprep, there seems to enough folks (not
just LDAPbis regulars) engaged in LDAPprep discussions who
understand Stringprep/Unicode issues well enough to form an
opinion as to which of the two BIDI options Stringprep should
be used.  I note that throughout the engineering of LDAPprep,
the WG has repeatedly and regularly consulted with area
experts.  The BIDI restrictions were, in fact, added after
discussions with various Stringprep/Unicode experts (as I
noted in a post last year).

>>I find that acceptable for most of the little quirks of the
>>stringprep profile proposed. But I would beg the WG to
>>reconsider the application of the bidi-prohibition rule.
>
>The situations you have described seem to me to be quite reasonable
>uses of the directory. It is unfortunate if LDAPprep + stringprep
>is making those things illegal.

But one has to consider whether those same things are reasonable
for directory strings in general.  In particular, one has to
carefully consider the Security Considerations outlined in 9.1
of [Stringprep] apply to directory strings.  It would seem
these considerations apply well to values commonly used for naming
and in security applications (such as PKIX), and even descriptive
text.

>>To try to make the problem as simple as possible, all of the
>>following strings would be unmatchable with bidi-prohibition:
>>1) A URL which contains an Arabic or Hebrew component, whether
>>a domain component, path component or query component, unless
>>%-quoted. (This might even be an ldap: url.) These will be
>>unmatcheable because a URL must start with a scheme name,
>>all of which currently are left-to-right characters (in fact
>>[a-z0-9]+)

Regardless of the BIDI issue, caseIgnore*Match/caseExact*Match
are inappropriate rules for matching URLs as the rules are not
aware of the particulars of the URL syntax, such as escaping.

>>2) An email address which contains an Arabic or Hebrew
>>domain name component or Arabic or Hebrew mailbox name,
>>unless the entire domain name include the TLD is in
>>Arabic or Hebrew. (I know that there is a proposal to
>>implement Arabic TLDs, but I feel that <arabicword>.com
>>is rather more likely in the forseeable future.)

There is no standard way to use Arabic or Hebrew in
mailbox names.  The existing 'mail' attribute is restricted
to IA5

As for domain components, in LDAP, domain components
should be IA5 strings (constrained to the appropriate
LDH subset).  IDNA likely should be applied above the
directory for interoperability reasons.  Or new attributes
are introduced with a Unicode-allowing syntax, they can be
introduced with new matching rules.

>>3) A string not identified as having distinguished name
>>syntax which happens to be a distinguished name which
>>includes Arabic or Hebrew components

Regardless of the BIDI issue, case{Ignore,Exact}*Match
are inappropriate rules for matching DN strings as the rules
are not aware of the particulars of the DN string syntax,
such as escaping.

>>4) An absolute filepath which includes Arabic or Hebrew
>>components, even if all components are Arabic or Hebrew, since
>>the initial / will fail the bidi prohibition

Though you didn't detail what kind of file path you were
referring to, but I would suspect that case{Ignore,Exact}*Match
are inappropriate for most if not all common file path syntaxes
(due to significant space issues, escaping, and various other
issues).

>>5) And a long etc.
>>So it seems to me that the bidi prohibition is more the exception
>>than the rule; it should be applied to the syntax for the dc
>>attribute, but it is hard to think of other attributetypes where
>>it will not primarily serve block the use of right-to-left scripts.
>
>Seems like a fair assertion to me.

I view all of cases listed as being application-specific cases
where the general purposes matching rules (and possible the
directory string syntax) simply are inappropriate.  These special
cases would be better handled by application-specific matching
rules.

>>>Your comment "this may indicate the need for more MatchingRules
>>>which correspond to those system's matching algorithms" is on
>>>target.  Where the general-purpose matching rules (e.g.,
>>>caseIgnoreMatch, caseExactMatch, etc.) are inappropriate in
>>>some application-specific context, an application-specific
>>>matching rule should be introduced OR the application should
>>>specify that application-specific transformations (e.g., IDN
>>>toASCII/toUnicode) be employed above the directory such that
>>>matching with general purpose matching rules (e.g.,
>>>octetStringMatch) in the directory behaves in a manner
>>>appropriate for the application.
>>
>>That seems entirely appropriate to me. Consequently, I would humbly
>>suggest that the default general-purpose matching rule not include
>>the bidi prohibition rule, and that an application-specific rule
>>be introduced for attributes whose values will be normalised by
>>nameprep.

The BIDI restrictions are appropriate for most (if not all of)
the standard track attribute types using these matching rules,
especially in light of various security considerations (such
as those elaborated on in 9.1 of [Stringprep]).

Kurt  



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 01:53: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 BAA16110
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 01:53:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAF6pq1b089540;
	Mon, 15 Nov 2004 06:51: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 iAF6nlZD089515;
	Mon, 15 Nov 2004 06:49:47 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, 15 Nov 2004 06:49:46 +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 iAF6nj9c089505
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 06:49:46 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 iAF6njZv005548
	for <ietf-ldapbis@openldap.org>; Mon, 15 Nov 2004 06:49:45 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Sun, 14 Nov 2004 22:50:13 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: LDAPprep: mapping of " " values
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven suggested that changing LDAPprep such that string
comprising only of whitespace would be mapped to "" instead
of " ".  I believe a poor approach for a number reasons.

While it can be argued (as Steven has) that such mapping
may make some assertions more intuitive, I argue that such
mapping will make various assertions less intuitive.

More importantly, the assertion (l=* *), which says "match a
significant space in values of l", would no longer behave
properly.  The " " ANY string would be mapped to "", leading
to (l=* *) matching any value instead of only those values
which contained a significant space.  This would likely
break a number of applications.

It's my view that the assertion (l= *) says  "match a
significant leading space in values of l".  These assertions
intuitively should only match strings which are all whitespace,
as leading whitespace is otherwise insignificant.  Likewise
for (l=* ).  Note that this behavior is actually useful.  One
can assert (!(l= *)) to match all values which are not
all whitespace.  Having (l= * * ) behave like (l=*)
substracts value (and likely will break applications, see
above).

Additionally, I believe it important that all outputs of
LDAPprep would not be valid per the syntax of the input.
If this is not so, then implementations must be very
careful not to apply LDAPprep to the output of LDAPprep.
Also, LDAPprep could not be used as a canonicalization
function if we were to adopt this mapping.

Kurt
  
	



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 03: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 DAA07562
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 03:41:49 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAF8dqoe093290;
	Mon, 15 Nov 2004 08:40: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 iAF8ZnJC093175;
	Mon, 15 Nov 2004 08:35: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); Mon, 15 Nov 2004 08:35:49 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAF8ZhU2093142;
	Mon, 15 Nov 2004 08:35:44 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAF9wKrJ005150;
	Mon, 15 Nov 2004 09:58:22 GMT
In-Reply-To: <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net> <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1> <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net> <419449BC.6010003@eb2bcom.com> <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org, Steven Legg <steven.legg@eb2bcom.com>
From: Rici Lake <rici@ricilake.net>
Subject: Re: Stringprep Considered Harmful
Date: Mon, 15 Nov 2004 03:34:37 -0500
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

On 15-Nov-04, at 1:31 AM, Kurt D. Zeilenga wrote:

> But one has to consider whether those same things are reasonable
> for directory strings in general.  In particular, one has to
> carefully consider the Security Considerations outlined in 9.1
> of [Stringprep] apply to directory strings.

Indeed. I have read that section several times. It appears to
be primarily concerned with visual spoofing attacks, which are
obviously relevant for domain names. However, I note that the
bidi prohibition only deals with one, fairly small, class of
such attacks, and possibly does not deal with all of those
(viz. the discussion last year on the W3C IRI mailing list.)

The ldapbis strprep draft says in its abstract that the motivation
for the specification is interoperability; there is no mention of
security as a primary motivator. Interoperability does not require
bidi prohibition; Unicode strings are always stored in logical
order, which is precisely the order in which they should be compared,
regardless of how many directionality runs there are.
(And consequently, to answer a previous question, mixed directionality
text has no impact on substring matching.)

Other than the bidi prohibition rule, the remaining specifications,
although well-intentioned people may disagree about details (such
as which if any compatibility decompositions should be required)
are highly relevant to the goal of interoperability, and any standard
would be welcomed (at least by me) as better than no standard at all.

Bidi prohibition therefore stands out as an odd exception in the 
specification.

I don't know what consultation the working group carried out in the
decision to adopt the bidi prohibition rule but I hope you will not be
offended by my saying that the messages you refer to (I presume these
are http://www.openldap.org/lists/ietf-ldapbis/200312/msg00087.html
and http://www.openldap.org/lists/ietf-ldapbis/200401/msg00019.html)
do not appear to indicate a detailed consultation with a number of
experts ("after chatting with Paul Hoffman again") or careful 
consideration
by the working group (the fact that no concerns were expressed between
December 19 and January 5, which I believe are two weeks in which most
people in the western world are thinking about something other than
string normalization.)

It seems odd to me to propose to use bidi prohibition for strings
which might have multiple components. Both of the bidi prohibition
applications I am aware of, the nameprep profile and the IRI internet
draft (http://xml.coverpages.org/draft-duerst-iri-09.txt)
are quite clear that the bidi prohibition rule should be performed
component by component, and not on strings as a whole, where it would
obviously be counterproductive.

The IRI draft, in particular, provides a number of useful 
recommendations
for the display of IRIs in order to avoid visual spoofing, but even
after articulating the bidi prohibition rule, it notes (p. 18):

     The above restrictions are given as shoulds, rather than as musts.
     For IRIs that are never presented visually, they are not relevant.
     However, for IRIs in general, they are very important to insure
     consistent conversion between visual presentation and logical
     representation, in both directions.

IRIs (perhaps less so than FQDNs) are used in contexts where visual
spoofing attacks are high-profile. But I wonder if a similar argument
can be made for general-purpose directory entries.

In fact, it is not clear that LDAP as a protocol should concern itself
at all with what is essentially a question of how to visually render
information rather than how to store, transport, and retrieve it.
Of course, guidance on rendering such information would always be 
useful.

> It would seem
> these considerations apply well to values commonly used for naming
> and in security applications (such as PKIX), and even descriptive
> text.

I'm afraid this doesn't seem to me to be a sufficient justification for
bidi prohibition. Descriptive text can be a complete lie, regardless of
whether it contains bidi characters. There are an enormous number of
visual spoofing attacks which have nothing to do with the bidi rendering
algorithm (for example, the use of Greek and Cyrillic characters which
render identically to Latin characters) which are both easier to 
accomplish
and do not depend on the victim of the spoof being fluent in two 
languages
with differing writing directions.

> Regardless of the BIDI issue, caseIgnore*Match/caseExact*Match
> are inappropriate rules for matching URLs as the rules are not
> aware of the particulars of the URL syntax, such as escaping.

I accept that. However, there does not appear to be any proposal
for a syntax useful for URLs, and it is likely that DirectoryString
will be used in real applications.

> There is no standard way to use Arabic or Hebrew in
> mailbox names.  The existing 'mail' attribute is restricted
> to IA5

There are many people (at least in the directories I work with) whose
mailboxes are not in IA5. I think this is increasingly common, whether
or not there is a standard. I wonder how typical LDAP administrators
deal with this; the use of DirectoryString syntax seems highly probable
to me.

> As for domain components, in LDAP, domain components
> should be IA5 strings (constrained to the appropriate
> LDH subset).

In that case, the bidi prohibition is not necessary for the dc
attribute. I stand corrected. (It is also true that distinguished
names SHOULD be stored in attributes with DN syntax. However, I
believe there are cases where they are not; for example, a DN might
appear as part of the value of a description attribute.)

> Though you didn't detail what kind of file path you were
> referring to, but I would suspect that case{Ignore,Exact}*Match
> are inappropriate for most if not all common file path syntaxes
> (due to significant space issues, escaping, and various other
> issues).

This is true with the application of the LDAPprep profile. However,
the filesystems I most commonly use do not employ escape characters
(indeed, I am not aware of a filesystem which does) and could be
appropriately be matched by one of case{Ignore,Exact}Match aside
from the issue of insignificant spaces. I believe that the majority
of traditional Unix filesystems would be better matched with a pure
octet string match, but the Macintosh filesystem I use daily uses
case-folding followed by Unicode normalization; it differs in some
details from the LDAPprep proposal, but in most cases (barring the
bidi prohibition) the results will be quite similar. Insignificant
spaces in filepaths (and other strings) are another instance of
visual spoofing.

Again, since there do not appear to be clear alternative matching
rules and syntaxes, it is likely that administrators will make do
with what there is.

> I view all of cases listed as being application-specific cases
> where the general purposes matching rules (and possible the
> directory string syntax) simply are inappropriate.  These special
> cases would be better handled by application-specific matching
> rules.

In some sense, all directory strings are application-specific cases.
Indeed, if URLs, email addresses, and filepaths are application
specific, one might wonder what a general case for a directory
might be, and what if any purpose would be served by applying
bidi prohibition to it.

> The BIDI restrictions are appropriate for most (if not all of)
> the standard track attribute types using these matching rules,
> especially in light of various security considerations (such
> as those elaborated on in 9.1 of [Stringprep]).

Looking through those of the standard track attributes, I actually
see very few for which the bidi prohibition rule would be appropriate.
The rule is inapplicable to attributes which numeric or restricted to 
IA5,
and as you point out, distinguishedName already has a specific matching
rule.

Postal Addresses in countries which use right-to-left scripts are likely
to contain right-to-left characters and start or end with a number.
Such addresses would fail the bidi prohibition rule.

Names are more likely to be single-directional, but some people
do like to include both right-to-left and left-to-right nicknames
in their common names. Such entries would fail the bidi prohibition
rule, and I cannot see a compelling reason to tell my colleagues to
not do this.

Descriptive text (such as, in the case of a directory important
to me, the titles of development-assistance projects) is quite
likely to contain text with both directionalities.

Other attributes, such as country, location, and generationalQualifier
do not appear to be likely targets for bidi spoofing attacks.

Of course, I freely admit that I am not a recognized expert in any
technology; merely someone trying to implement LDAP directories
which might be useful to an international organization working
in countries with a variety of scripts. Perhaps I am missing
something obvious. But I feel it would be a shame if LDAPbis, which
contains many useful and well-articulated ideas, were to render
itself less useful in a multilingual world as a result of the
inappropriate application of bidi prohibition.

Rici



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 12:15: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 MAA11683
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 12:15:44 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAFH9tcU014778;
	Mon, 15 Nov 2004 17:14:14 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 iAFH7Tns014630;
	Mon, 15 Nov 2004 17:07:29 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, 15 Nov 2004 17:07:29 +0000
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAFH7N7J014596;
	Mon, 15 Nov 2004 17:07:27 GMT
	(envelope-from rlmorgan@washington.edu)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9])
	by mxout3.cac.washington.edu (8.13.1+UW04.08/8.13.1+UW04.09) with ESMTP id iAFH7M8r022686;
	Mon, 15 Nov 2004 09:07:22 -0800
Received: from [192.168.1.104] (c-67-170-101-104.client.comcast.net [67.170.101.104])
	(authenticated bits=0)
	by smtp.washington.edu (8.13.1+UW04.08/8.13.1+UW04.11) with ESMTP id iAFH7Kbr016794
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT);
	Mon, 15 Nov 2004 09:07:22 -0800
Date: Mon, 15 Nov 2004 12:07:21 -0500 (EST)
From: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
X-X-Sender: rlmorgan@perp.cac.washington.edu
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
cc: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: LDAP terminology proposal
In-Reply-To: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
Message-ID: <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu>
References: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
MIME-Version: 1.0
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


On Tue, 9 Nov 2004, Kurt D. Zeilenga wrote:

> The terms would be defined as follows:
>
> 	"connection" refers to the underlying transport services
>       used to carry the protocol exchange, as well as
> 	associations established by these services.

Sorry to continue teasing at this as I know we want to close on it, but 
let me suggest "transport connection" rather than just "connection".  I 
think this would be more consistent with the use of that phrase in the TLS 
spec.  And it would make all the terms two words (or two strings, at 
least).

  - RL "Bob"




From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 12:47: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 MAA14345
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 12:47:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAFHjtOp016666;
	Mon, 15 Nov 2004 17:46:04 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 iAFHiXsS016609;
	Mon, 15 Nov 2004 17:44: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); Mon, 15 Nov 2004 17:44:33 +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 iAFHiWjZ016599
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 17:44:32 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 iAFHiVZv008498;
	Mon, 15 Nov 2004 17:44:32 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Mon, 15 Nov 2004 09:44:59 -0800
To: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP terminology proposal
Cc: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu>
References: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
 <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:07 AM 11/15/2004, RL 'Bob' Morgan wrote:

>On Tue, 9 Nov 2004, Kurt D. Zeilenga wrote:
>
>>The terms would be defined as follows:
>>
>>        "connection" refers to the underlying transport services
>>      used to carry the protocol exchange, as well as
>>        associations established by these services.
>
>Sorry to continue teasing at this as I know we want to close on it, but let me suggest "transport connection" rather than just "connection".  I think this would be more consistent with the use of that phrase in the TLS spec.  And it would make all the terms two words (or two strings, at least).

I have no problem with this suggestion.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 13: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 NAA15799
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 13:05:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAFI3uRP017480;
	Mon, 15 Nov 2004 18:04: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 iAFI29bU017425;
	Mon, 15 Nov 2004 18:02:09 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, 15 Nov 2004 18:02:09 +0000
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAFI27fp017409
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 18:02:08 GMT
	(envelope-from Ludovic.Poitou@Sun.COM)
Received: from phys-gadget-2 ([129.156.85.172])
	by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id iAFI1wNf022588
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 11:02:07 -0700 (MST)
Received: from conversion-daemon.gadget-mail1.uk.sun.com by
 gadget-mail1.uk.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 id <0I7800I01FBLOS@gadget-mail1.uk.sun.com>
 (original mail from Ludovic.Poitou@Sun.COM) for ietf-ldapbis@OpenLDAP.org;
 Mon, 15 Nov 2004 18:02:06 +0000 (GMT)
Received: from [129.157.211.132]
 (dhcp-gnb07-211-132.France.Sun.COM [129.157.211.132])
 by gadget-mail1.uk.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 with ESMTPA id <0I7800IR1FFHAQ@gadget-mail1.uk.sun.com>; Mon,
 15 Nov 2004 18:02:06 +0000 (GMT)
Date: Mon, 15 Nov 2004 19:01:46 +0100
From: Ludovic Poitou <Ludovic.Poitou@Sun.COM>
Subject: Re: LDAP terminology proposal
In-reply-to: <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: "RL 'Bob' Morgan" <rlmorgan@washington.edu>,
        IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Message-id: <4198EF0A.50309@sun.com>
Organization: Sun Microsystems Inc.
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
References: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
 <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu>
 <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1>
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7BIT

Yes, fine with me.

Ludo

Kurt D. Zeilenga wrote:

>At 09:07 AM 11/15/2004, RL 'Bob' Morgan wrote:
>
>  
>
>>On Tue, 9 Nov 2004, Kurt D. Zeilenga wrote:
>>
>>    
>>
>>>The terms would be defined as follows:
>>>
>>>       "connection" refers to the underlying transport services
>>>     used to carry the protocol exchange, as well as
>>>       associations established by these services.
>>>      
>>>
>>Sorry to continue teasing at this as I know we want to close on it, but let me suggest "transport connection" rather than just "connection".  I think this would be more consistent with the use of that phrase in the TLS spec.  And it would make all the terms two words (or two strings, at least).
>>    
>>
>
>I have no problem with this suggestion.
>
>Kurt 
>
>  
>

-- 
Ludovic Poitou
Directory Architect.
Directory Server Group, Grenoble, France
Sun Microsystems Inc.

Sun Microsystems requires the following notice:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 19:47:54 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 TAA02044
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 19:47:53 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG0jw6n033764;
	Tue, 16 Nov 2004 00:46: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 iAG0ejti033616;
	Tue, 16 Nov 2004 00:40:45 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, 16 Nov 2004 00:40:45 +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 iAG0eh0q033606
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 00:40: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 iAG0efZv011038;
	Tue, 16 Nov 2004 00:40:41 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041115145918.02f11cb8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Mon, 15 Nov 2004 16:41:08 -0800
To: Rici Lake <rici@ricilake.net>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Stringprep Considered Harmful
Cc: ietf-ldapbis@OpenLDAP.org, Steven Legg <steven.legg@eb2bcom.com>
In-Reply-To: <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
 <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
 <419449BC.6010003@eb2bcom.com>
 <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
 <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I'm going to respond to a couple of items separately.

At 12:34 AM 11/15/2004, Rici Lake wrote:
>I don't know what consultation the working group carried out in the
>decision to adopt the bidi prohibition rule but I hope you will not be
>offended by my saying that the messages you refer to (I presume these
>are http://www.openldap.org/lists/ietf-ldapbis/200312/msg00087.html
>and http://www.openldap.org/lists/ietf-ldapbis/200401/msg00019.html)
>do not appear to indicate a detailed consultation with a number of
>experts ("after chatting with Paul Hoffman again") or careful consideration
>by the working group (the fact that no concerns were expressed between
>December 19 and January 5, which I believe are two weeks in which most
>people in the western world are thinking about something other than
>string normalization.)

Well, I was only referencing the messages in support of my statement
that various experts where consulted in regards to proposal for LDAPprep
to employ Stringprep BIDI restrictions.  While the referenced messages
only indicates that I chatted with one expert, I didn't mean for those
referenced messages to be inclusive of all experts that were consulted.
Other experts were consulted.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 19:53: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 TAA02410
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 19:53:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG0pw6i034070;
	Tue, 16 Nov 2004 00:52: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 iAG0pLPp034049;
	Tue, 16 Nov 2004 00:51: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); Tue, 16 Nov 2004 00:51: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 iAG0pK1j034039
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 00:51: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 iAG0pIZv011096;
	Tue, 16 Nov 2004 00:51:18 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041115164130.032c5548@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Mon, 15 Nov 2004 16:51:45 -0800
To: Rici Lake <rici@ricilake.net>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Stringprep Considered Harmful
Cc: ietf-ldapbis@OpenLDAP.org, Steven Legg <steven.legg@eb2bcom.com>
In-Reply-To: <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
 <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
 <419449BC.6010003@eb2bcom.com>
 <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
 <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 12:34 AM 11/15/2004, Rici Lake wrote:
>The ldapbis strprep draft says in its abstract that the motivation
>for the specification is interoperability;

Actually, the Abstract says:
  This led to a number of usability and interoperability problems.

which implies LDAPprep was intended to resolve these problems.

>there is no mention of security as a primary motivator.

Yes.  But the lack of mention of security in the Abstract
does not imply that LDAPprep does not or should not attempt
to resolve applicable security considerations.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 15 20:11:50 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 UAA03772
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Nov 2004 20:11:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG19wgt034783;
	Tue, 16 Nov 2004 01:10:04 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 iAG18JAP034712;
	Tue, 16 Nov 2004 01:08:19 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, 16 Nov 2004 01:08:19 +0000
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG18HeT034702
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 01:08:18 GMT
	(envelope-from rlmorgan@washington.edu)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139])
	by mxout2.cac.washington.edu (8.13.1+UW04.08/8.13.1+UW04.09) with ESMTP id iAG18H11014716
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 17:08:17 -0800
Received: from D-140-142-21-14.dhcp4.washington.edu (D-140-142-21-14.dhcp4.washington.edu [140.142.21.14])
	(authenticated bits=0)
	by smtp.washington.edu (8.13.1+UW04.08/8.13.1+UW04.11) with ESMTP id iAG18GIk025304
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT)
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Nov 2004 17:08:17 -0800
Date: Mon, 15 Nov 2004 17:08:17 -0800 (PST)
From: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
X-X-Sender: rlmorgan@perp.cac.washington.edu
To: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: LDAP terminology proposal
In-Reply-To: <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1>
Message-ID: <Pine.LNX.4.61.0411151700590.9646@perp.cac.washington.edu>
References: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
 <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu>
 <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1>
MIME-Version: 1.0
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


OK, I believe we have consensus on this new terminology, and so direct the 
document editors to revise the drafts accordingly.  This affects the 
protocol and authmeth drafts, and maybe the url draft, but not any of the 
others as far as I can tell.

  - RL "Bob"

On Mon, 15 Nov 2004, Kurt D. Zeilenga wrote:

> At 09:07 AM 11/15/2004, RL 'Bob' Morgan wrote:
>
>> On Tue, 9 Nov 2004, Kurt D. Zeilenga wrote:
>>
>>> The terms would be defined as follows:
>>>
>>>        "connection" refers to the underlying transport services
>>>      used to carry the protocol exchange, as well as
>>>        associations established by these services.
>>
>> Sorry to continue teasing at this as I know we want to close on it, but let me suggest "transport connection" rather than just "connection".  I think this would be more consistent with the use of that phrase in the TLS spec.  And it would make all the terms two words (or two strings, at least).
>
> I have no problem with this suggestion.
>
> Kurt
>
>


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 01:42: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 BAA08993
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 01:42:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG6e0u2042750;
	Tue, 16 Nov 2004 06:40: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 iAG6dJ8c042737;
	Tue, 16 Nov 2004 06:39:19 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, 16 Nov 2004 06:39:19 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG6dEKD042706;
	Tue, 16 Nov 2004 06:39:15 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000E6E; Tue, 16 Nov 2004 17:44:18 +1100
Message-ID: <4199A06D.3030302@eb2bcom.com>
Date: Tue, 16 Nov 2004 17:38:37 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041114173514.02e0cd80@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Kurt D. Zeilenga wrote:
> Steven suggested that changing LDAPprep such that string
> comprising only of whitespace would be mapped to "" instead
> of " ".  I believe a poor approach for a number reasons.
> 
> While it can be argued (as Steven has) that such mapping
> may make some assertions more intuitive, I argue that such
> mapping will make various assertions less intuitive.
> 
> More importantly, the assertion (l=* *), which says "match a
> significant space in values of l", would no longer behave
> properly.  The " " ANY string would be mapped to "", leading
> to (l=* *) matching any value instead of only those values
> which contained a significant space.  This would likely
> break a number of applications.

I agree that matching everything in such a case is excessive.

> It's my view that the assertion (l= *) says  "match a
> significant leading space in values of l".  These assertions
> intuitively should only match strings which are all whitespace,
> as leading whitespace is otherwise insignificant.

Wouldn't it be easier to just say (l= ) ?

 > Likewise
> for (l=* ).  Note that this behavior is actually useful.  One
> can assert (!(l= *))

or (!(l= ))

 > to match all values which are not
> all whitespace.  Having (l= * * ) behave like (l=*)
> substracts value (and likely will break applications, see
> above).

In the current specifications (l= * * ) will never match anything!
A value can only match (l= *) or (l=* ) if it is all whitespace.
If it is all whitespace then LDAPprep reduces it to a single space.
A single space cannot simultaneuously satisfy the initial, any and
final substrings.

What we are running into I think is the problem that whitespace in
different parts of an attribute value are treated differently, but the
whitespace in each substring of a substring assertion is treated the
same. Intuitively, one might expect that (l= * * ) should match a
value like "  foo  bar  ". It doesn't with the current specifications.
It would if whitespace were reduced to nothing, but it would match everything
else as well.

What we seem to need here is for leading whitespace in the initial substring
and trailing whitespace in the final substring to be reduced to nothing,
while every other sequence of whitespace characters, in the initial, any or
final substring, reduces to a single space.

It would be a modest change to LDAPprep to enable something like this.
We just need two parameters for each string handed to LDAPprep: a boolean
flag that indicates whether whitespace in the initial part of the string
is to be treated as leading whitespace, and a boolean flag that indicates
whether whitespace in the final part of the string is to be treated as
trailing whitespace. The syntaxes draft can then nominate values for the
flags for each string or substring it passes to LDAPprep. Alternatively,
LDAPprep can just reduce consecutive whitespace to a single space in every
case and leave the syntaxes draft to nominate the circumstances under
which a leading or trailing space is to be removed.

> 
> Additionally, I believe it important that all outputs of
> LDAPprep would not be valid per the syntax of the input.
> If this is not so, then implementations must be very
> careful not to apply LDAPprep to the output of LDAPprep.
> Also, LDAPprep could not be used as a canonicalization
> function if we were to adopt this mapping.

In the wider context of component matching (and potentially even within the
framework of X.500) there are many ways that the output of LDAPprep could be
invalid with respect to the syntax, i.e. ASN.1 type, of the abtract value that
supplied the input string. It can change the length of the string such that it
is no longer an acceptable length - too short, too long (?) or an
explicitly disallowed length. It can introduce space characters where space
characters are disallowed. It can create a sequence of characters that
no longer satisfies a pattern constraint or value constraint. And so on.
And what exactly is the output syntax of LDAPprep in ASN.1 terms ?
A UTF8String ? A UniversalString ? That clearly doesn't line up with
an input that is a TeletexString.

LDAPprep is only used within the LDAP technical specification to prepare
character strings for a comparison routine. It is an internal part of
of a function that accepts two values and produces TRUE, FALSE or Undefined
as a result. If someone wants to use it for something else, like canonicalization
then they have to deal with the consequences, which are far more involved than
dealing with empty strings.

Regards,
Steven

> 
> Kurt
>   
> 	
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 02: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 CAA14585
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 02:05:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG740rZ043518;
	Tue, 16 Nov 2004 07:04:09 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 iAG7252W043505;
	Tue, 16 Nov 2004 07:02:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 16 Nov 2004 07:02:04 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG7238X043495
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 07:02:03 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAG8OtrJ011475;
	Tue, 16 Nov 2004 08:24:56 GMT
In-Reply-To: <4199A06D.3030302@eb2bcom.com>
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1> <4199A06D.3030302@eb2bcom.com>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <6559C8F4-379D-11D9-A5A2-000A957D48A8@ricilake.net>
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: LDAPprep: mapping of " " values
Date: Tue, 16 Nov 2004 02:01:53 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iAG7248X043496
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit


On 16-Nov-04, at 1:38 AM, Steven Legg wrote:

> Alternatively,
> LDAPprep can just reduce consecutive whitespace to a single space in 
> every
> case and leave the syntaxes draft to nominate the circumstances under
> which a leading or trailing space is to be removed.

This seems very sensible to me.

> A value can only match (l= *) or (l=* ) if it is all whitespace.

Not quite true. According to the insignificant space deletion rule,
a space is only a candidate for deletion if it is not followed by
a combining mark. Consequently, the sequence U+0041 U+0020 U+0020 U+0301
will be not be altered by ldapprep. (The string is LATIN CAPITAL LETTER 
A,
SPACE, SPACE, COMBINING ACUTE ACCENT.) One doesn't have to go out of 
one's
way to produce that sequence; the sequence U+0041 U+0020 U+00B4
(LATIN CAPITAL LETTER A, SPACE, ACUTE ACCENT) will be ldapprep'd into 
the
first sequence, as a result of the compatibility decomposition of U+00B4
into U+0020 U+0301. (That is, both strings render as "A ´" for anyone
with Unicode mail readers.)

Consequently, even (l= * *) could match something, but I believe that
(l= * * ) is truly impossible.




From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 02:17:22 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 CAA24372
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 02:17:22 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG7G0vM043899;
	Tue, 16 Nov 2004 07:16:09 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 iAG7FRcO043882;
	Tue, 16 Nov 2004 07: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); Tue, 16 Nov 2004 07:15:27 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAG7FPQk043869
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 07:15:25 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAG8cIrJ011933;
	Tue, 16 Nov 2004 08:38:19 GMT
In-Reply-To: <6559C8F4-379D-11D9-A5A2-000A957D48A8@ricilake.net>
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1> <4199A06D.3030302@eb2bcom.com> <6559C8F4-379D-11D9-A5A2-000A957D48A8@ricilake.net>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <43E50640-379F-11D9-A5A2-000A957D48A8@ricilake.net>
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: LDAPprep: mapping of " " values
Date: Tue, 16 Nov 2004 02:15:16 -0500
To: Steven Legg <steven.legg@eb2bcom.com>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iAG7FQQk043871
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Rats, sending email too late again. The example should have *started*
with the string U+0020 U+0301, rather than including it as an interior
string. It is a demonstration that a non-empty string can *start* with
a space (although not end with one).

Combining marks, in general, create some interesting edge cases for
substring matching, which is the only place where the decision to
use NFKC rather than NFKD makes a significant difference. The most
significant difference will come with substring matches in Korean;
form NFKC requires Hangul Jamo to be composed into Hangul syllables,
which means that the individual Jamo are not available for substring
matching. I don't speak Korean so I cannot tell if a native speaker
would consider it desirable to, for example, do a substring match
on an initial consonant rather than having to create an "or" of the
several hundred syllables which start with that consonant.

On 16-Nov-04, at 2:01 AM, Rici Lake wrote:

>
> On 16-Nov-04, at 1:38 AM, Steven Legg wrote:
>
>> Alternatively,
>> LDAPprep can just reduce consecutive whitespace to a single space in 
>> every
>> case and leave the syntaxes draft to nominate the circumstances under
>> which a leading or trailing space is to be removed.
>
> This seems very sensible to me.
>
>> A value can only match (l= *) or (l=* ) if it is all whitespace.
>
> Not quite true. According to the insignificant space deletion rule,
> a space is only a candidate for deletion if it is not followed by
> a combining mark. Consequently, the sequence U+0041 U+0020 U+0020 
> U+0301
> will be not be altered by ldapprep. (The string is LATIN CAPITAL 
> LETTER A,
> SPACE, SPACE, COMBINING ACUTE ACCENT.) One doesn't have to go out of 
> one's
> way to produce that sequence; the sequence U+0041 U+0020 U+00B4
> (LATIN CAPITAL LETTER A, SPACE, ACUTE ACCENT) will be ldapprep'd into 
> the
> first sequence, as a result of the compatibility decomposition of 
> U+00B4
> into U+0020 U+0301. (That is, both strings render as "A ´" for anyone
> with Unicode mail readers.)
>
> Consequently, even (l= * *) could match something, but I believe that
> (l= * * ) is truly impossible.
>




From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 05:48: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 FAA13576
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 05:48:13 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGAe2Ck052515;
	Tue, 16 Nov 2004 10:46:36 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 iAGAZZWp052213;
	Tue, 16 Nov 2004 10: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); Tue, 16 Nov 2004 10:35:35 +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 iAGAZXZw052203
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 10:35:33 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 iAGAZUZv014247;
	Tue, 16 Nov 2004 10:35:30 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041116014902.03597728@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 16 Nov 2004 02:35:57 -0800
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <4199A06D.3030302@eb2bcom.com>
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1>
 <4199A06D.3030302@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:38 PM 11/15/2004, Steven Legg wrote:
>Kurt,
>Kurt D. Zeilenga wrote:
>>Steven suggested that changing LDAPprep such that string
>>comprising only of whitespace would be mapped to "" instead
>>of " ".  I believe a poor approach for a number reasons.
>>While it can be argued (as Steven has) that such mapping
>>may make some assertions more intuitive, I argue that such
>>mapping will make various assertions less intuitive.
>>More importantly, the assertion (l=* *), which says "match a
>>significant space in values of l", would no longer behave
>>properly.  The " " ANY string would be mapped to "", leading
>>to (l=* *) matching any value instead of only those values
>>which contained a significant space.  This would likely
>>break a number of applications.
>
>I agree that matching everything in such a case is excessive.
>
>>It's my view that the assertion (l= *) says  "match a
>>significant leading space in values of l".  These assertions
>>intuitively should only match strings which are all whitespace,
>>as leading whitespace is otherwise insignificant.
>
>Wouldn't it be easier to just say (l= ) ?

Yes, but X.520 allows (l= *) instead.  What does your
implementation do today?  In OpenLDAP, this assertion
will only match values which are composed entirely
of whitespace.  Others?

The logic here is that, except in one special case, that
leading and trailing spaces are insignificant.  One cannot
match on insignificant portions of the value without giving
them significance.  And giving leading and trailing spaces
significance changes the character of the rules in a major
way.

>> Likewise
>>for (l=* ).  Note that this behavior is actually useful.  One
>>can assert (!(l= *))
>
>or (!(l= ))
>
>> to match all values which are not
>>all whitespace.  Having (l= * * ) behave like (l=*)
>>substracts value (and likely will break applications, see
>>above).
>
>In the current specifications (l= * * ) will never match anything!

I believe that this is correct.  As the old adage goes:
ask a stupid question, get a stupid answer.

>A value can only match (l= *) or (l=* ) if it is all whitespace.

I believe that this is correct.  As every string ("X") is equivalent
to some string which has insignificant leading and trailing
whitespace (" X "), these assertions would match the same
entries as (l=*).   The client should simply do (l=*) if that
what it wants. 

>If it is all whitespace then LDAPprep reduces it to a single space.
>A single space cannot simultaneuously satisfy the initial, any and
>final substrings.

I believe that this is proper as there is only one significant
space and the assertion asked whether there is three significant
spaces.

>What we are running into I think is the problem that whitespace in
>different parts of an attribute value are treated differently, but the
>whitespace in each substring of a substring assertion is treated the
>same. Intuitively, one might expect that (l= * * ) should match a
>value like "  foo  bar  ".  It doesn't with the current specifications.
>It would if whitespace were reduced to nothing, but it would match everything else as well.

If intuitively one might expect this, then they might also
expect (l=* * *) to match "x  x" (or (l=*  *) to match "x  x"
but not "x x").  If one can match insignificant leading and
trailing spaces, then it intuitively follows one can match
insignificant consecutive spaces.

I believe that this is nonsense and that we should redesign
matching to support matching of insignificant spaces.

>What we seem to need here is for leading whitespace in the initial substring
>and trailing whitespace in the final substring to be reduced to nothing,
>while every other sequence of whitespace characters, in the initial, any or
>final substring, reduces to a single space.

If there is a need to match insignificant spaces, a rule which
is specifically design to support that matching should be used.
These rules were designed to ignore insignificant spaces.  We
should not change that.

>It would be a modest change to LDAPprep

What you ask for, IMO, is a change to matching rule to support
matching of insignificant spaces in certain cases.  I believe
that such a change is inappropriate and certainly should be
viewed as a new feature.

> to enable something like this.
>We just need two parameters for each string handed to LDAPprep: a boolean
>flag that indicates whether whitespace in the initial part of the string
>is to be treated as leading whitespace, and a boolean flag that indicates
>whether whitespace in the final part of the string is to be treated as
>trailing whitespace. The syntaxes draft can then nominate values for the
>flags for each string or substring it passes to LDAPprep. Alternatively,
>LDAPprep can just reduce consecutive whitespace to a single space in every
>case and leave the syntaxes draft to nominate the circumstances under
>which a leading or trailing space is to be removed.
>
>>Additionally, I believe it important that all outputs of
>>LDAPprep would not be valid per the syntax of the input.
>>If this is not so, then implementations must be very
>>careful not to apply LDAPprep to the output of LDAPprep.
>>Also, LDAPprep could not be used as a canonicalization
>>function if we were to adopt this mapping.
>
>In the wider context of component matching (and potentially even within the
>framework of X.500) there are many ways that the output of LDAPprep could be
>invalid with respect to the syntax, i.e. ASN.1 type, of the abtract value that
>supplied the input string. It can change the length of the string such that it
>is no longer an acceptable length - too short, too long (?) or an
>explicitly disallowed length. It can introduce space characters where space
>characters are disallowed. It can create a sequence of characters that
>no longer satisfies a pattern constraint or value constraint. And so on.
>And what exactly is the output syntax of LDAPprep in ASN.1 terms ?
>A UTF8String ? A UniversalString ? That clearly doesn't line up with
>an input that is a TeletexString.
>
>LDAPprep is only used within the LDAP technical specification to prepare
>character strings for a comparison routine. It is an internal part of
>of a function that accepts two values and produces TRUE, FALSE or Undefined
>as a result. If someone wants to use it for something else, like canonicalization
>then they have to deal with the consequences, which are far more involved than
>dealing with empty strings.
>
>Regards,
>Steven
>
>>Kurt
>>  
>>        



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 10:37:31 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 KAA10769
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 10:37:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGFY3BT068398;
	Tue, 16 Nov 2004 15:35: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 iAGFVZn3068344;
	Tue, 16 Nov 2004 15:31: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); Tue, 16 Nov 2004 15:31:35 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGFVXEs068334
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 15:31:33 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP id 9738E16D358
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 07:31:31 -0800 (PST)
Message-ID: <419A1D10.4060408@pearlcrescent.com>
Date: Tue, 16 Nov 2004 10:30:24 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: LDAP filter question
Content-Type: multipart/mixed;
 boundary="------------060400020301020501010105"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------060400020301020501010105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I'd like to have one vote of agreement on this before I submit the 
revised draft.  Anyone?

-Mark

--------------060400020301020501010105
Content-Type: message/rfc822;
 name="Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt"
Content-Disposition: inline;
 filename="Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt"

Return-Path: <owner-ietf-ldapbis@OpenLDAP.org>
Delivered-To: mcs@murdock.dreamhost.com
Received: from boole.openldap.org (boole.openldap.org [204.152.186.50])
	by murdock.dreamhost.com (Postfix) with ESMTP id 1771B16D2CB
	for <mcs@pearlcrescent.com>; Fri, 12 Nov 2004 06:52:23 -0800 (PST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACEpTOX082626;
	Fri, 12 Nov 2004 14:51:31 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 iACEm37D082523;
	Fri, 12 Nov 2004 14:48: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, 12 Nov 2004 14:48:03 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACElwvo082465;
	Fri, 12 Nov 2004 14:48:00 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id E702516D2EB; Fri, 12 Nov 2004 06:47:55 -0800 (PST)
Message-ID: <4194CD15.6060904@pearlcrescent.com>
Date: Fri, 12 Nov 2004 09:47:49 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt
References: <200410252003.QAA29252@ietf.org> <6.1.2.0.0.20041025133504.033605a0@127.0.0.1> <6.1.2.0.0.20041029153144.02effdb0@127.0.0.1> <41879E43.7080302@pearlcrescent.com>
In-Reply-To: <41879E43.7080302@pearlcrescent.com>
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Mark Smith wrote:

> 
>>>>> ...
>>>>>     lessorequal    = LANGLE EQUALS
>>>>>     extensible     = attr [dnattrs]
>>>>>                            [matchingrule] COLON EQUALS assertionvalue
>>>>>                      / [dnattrs]
>>>>>                             matchingrule COLON EQUALS assertionvalue
>>>>>                      / COLON EQUALS assertionvalue
>>>>
>>>>
>>>>
>>>> The grouping notation should be used here to improve clarity.
>>>> That is, ( ... ) / ( ... ) / ( ... ).  As presented, it
>>>> appears that ":=value" would be a valid extensible production.
> 
> 
> [mcs] Agreed.  I will add the ()s.

There is one more issue here which came to me as I was editing the 
document:  Filter-08 *does* specify that ":=value" is a valid extensible 
production.  I think that is simply an error and that the third option 
within the extensible production should be removed (it was introduced by 
me between the -01 and -02 revisions more than 2 years ago).  Section 
4.5.1 (Search Request) of [Protocol] disallows this:

    If the matchingRule field is absent, the type field MUST be
    present, and an equality match is performed for that type.

As does 2251.  Which makes perfect sense.

-Mark


--------------060400020301020501010105--



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 11:06: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 LAA13342
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 11:06:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGFq3TW069480;
	Tue, 16 Nov 2004 16:05:12 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 iAGFmPKP069242;
	Tue, 16 Nov 2004 15:48:25 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 16 Nov 2004 15:48: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 iAGFmOT3069232
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 15:48: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 iAGFmNZv015755;
	Tue, 16 Nov 2004 15:48:23 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041116074246.03044068@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 16 Nov 2004 07:48:50 -0800
To: Mark Smith <mcs@pearlcrescent.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP filter question
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <419A1D10.4060408@pearlcrescent.com>
References: <419A1D10.4060408@pearlcrescent.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:30 AM 11/16/2004, Mark Smith wrote:
>I'd like to have one vote of agreement on this before I submit the revised draft.  Anyone?

I believe it should be removed.


>-Mark
>
>
>Return-Path: <owner-ietf-ldapbis@OpenLDAP.org>
>Delivered-To: mcs@murdock.dreamhost.com
>Received: from boole.openldap.org (boole.openldap.org [204.152.186.50])
>        by murdock.dreamhost.com (Postfix) with ESMTP id 1771B16D2CB
>        for <mcs@pearlcrescent.com>; Fri, 12 Nov 2004 06:52:23 -0800 (PST)
>Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
>        by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACEpTOX082626;
>        Fri, 12 Nov 2004 14:51:31 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 iACEm37D082523;
>        Fri, 12 Nov 2004 14:48: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, 12 Nov 2004 14:48:03 +0000
>Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
>        by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACElwvo082465;
>        Fri, 12 Nov 2004 14:48:00 GMT
>        (envelope-from mcs@pearlcrescent.com)
>Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
>        by murdock.dreamhost.com (Postfix) with ESMTP
>        id E702516D2EB; Fri, 12 Nov 2004 06:47:55 -0800 (PST)
>Message-ID: <4194CD15.6060904@pearlcrescent.com>
>Date: Fri, 12 Nov 2004 09:47:49 -0500
>From: Mark Smith <mcs@pearlcrescent.com>
>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
>X-Accept-Language: en-us, en
>MIME-Version: 1.0
>To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
>Cc: ietf-ldapbis@OpenLDAP.org
>Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt
>References: <200410252003.QAA29252@ietf.org> <6.1.2.0.0.20041025133504.033605a0@127.0.0.1> <6.1.2.0.0.20041029153144.02effdb0@127.0.0.1> <41879E43.7080302@pearlcrescent.com>
>In-Reply-To: <41879E43.7080302@pearlcrescent.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
>List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
>
>Mark Smith wrote:
>
>>
>>>>>>...
>>>>>>    lessorequal    = LANGLE EQUALS
>>>>>>    extensible     = attr [dnattrs]
>>>>>>                           [matchingrule] COLON EQUALS assertionvalue
>>>>>>                     / [dnattrs]
>>>>>>                            matchingrule COLON EQUALS assertionvalue
>>>>>>                     / COLON EQUALS assertionvalue
>>>>>
>>>>>
>>>>>
>>>>>The grouping notation should be used here to improve clarity.
>>>>>That is, ( ... ) / ( ... ) / ( ... ).  As presented, it
>>>>>appears that ":=value" would be a valid extensible production.
>>
>>[mcs] Agreed.  I will add the ()s.
>
>There is one more issue here which came to me as I was editing the document:  Filter-08 *does* specify that ":=value" is a valid extensible production.  I think that is simply an error and that the third option within the extensible production should be removed (it was introduced by me between the -01 and -02 revisions more than 2 years ago).  Section 4.5.1 (Search Request) of [Protocol] disallows this:
>
>   If the matchingRule field is absent, the type field MUST be
>   present, and an equality match is performed for that type.
>
>As does 2251.  Which makes perfect sense.
>
>-Mark
>



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 11:06: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 LAA13397
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 11:06:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGG5IH3070419;
	Tue, 16 Nov 2004 16:05: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 iAGFro0o069581;
	Tue, 16 Nov 2004 15:53:50 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, 16 Nov 2004 15:53: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 iAGFrl4a069547
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 15:53:48 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 16 Nov 2004 08:53:27 -0700
Message-Id: <s199c007.090@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 16 Nov 2004 08:53:02 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <mcs@pearlcrescent.com>
Subject: Re: LDAP filter question
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=__PartDFFF094E.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

--=__PartDFFF094E.0__=
Content-Type: multipart/alternative; boundary="=__PartDFFF094E.1__="

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

I agree with your assessment and the change.
 
Jim

>>> Mark Smith <mcs@pearlcrescent.com> 11/16/04 8:30:24 AM >>>
I'd like to have one vote of agreement on this before I submit the 
revised draft. Anyone?

-Mark


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I agree with your assessment and the change.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Mark Smith &lt;mcs@pearlcrescent.com&gt; =
11/16/04 8:30:24 AM &gt;&gt;&gt;<BR>I'd like to have one vote of agreement =
on this before I submit the <BR>revised draft. Anyone?<BR><BR>-Mark<BR></DI=
V></BODY></HTML>

--=__PartDFFF094E.1__=--
--=__PartDFFF094E.0__=
Content-Type: message/rfc822

Return-path: <owner-ietf-ldapbis@OpenLDAP.org>
Received: from minotaur.novell.com
	(IST_21_1.sjf.Novell.COM [130.57.21.1])
	by mcclure.wal.novell.com; Tue, 16 Nov 2004 10:43:38 -0500
Received: from boole.openldap.org (unverified [204.152.186.50]) by minotaur.novell.com
 (Vircom SMTPRS 3.1.303.0) with ESMTP id <E0003926515@minotaur.novell.com>;
 Tue, 16 Nov 2004 10:45:06 -0500
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGFY3BV068398;
	Tue, 16 Nov 2004 15:35:59 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 iAGFVZ5f068346;
	Tue, 16 Nov 2004 15:31: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); Tue, 16 Nov 2004 15:31:35 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGFVXEs068334
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 15:31:33 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP id 9738E16D358
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 07:31:31 -0800 (PST)
Message-ID: <419A1D10.4060408@pearlcrescent.com>
Date: Tue, 16 Nov 2004 10:30:24 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: LDAP filter question
Content-Type: multipart/mixed;
 boundary="------------060400020301020501010105"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------060400020301020501010105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I'd like to have one vote of agreement on this before I submit the 
revised draft.  Anyone?

-Mark

--------------060400020301020501010105
Content-Type: message/rfc822;
 name="Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt"
Content-Disposition: inline;
 filename="Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt"

Return-Path: <owner-ietf-ldapbis@OpenLDAP.org>
Delivered-To: mcs@murdock.dreamhost.com
Received: from boole.openldap.org (boole.openldap.org [204.152.186.50])
	by murdock.dreamhost.com (Postfix) with ESMTP id 1771B16D2CB
	for <mcs@pearlcrescent.com>; Fri, 12 Nov 2004 06:52:23 -0800 (PST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACEpTOX082626;
	Fri, 12 Nov 2004 14:51:31 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 iACEm37D082523;
	Fri, 12 Nov 2004 14:48: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, 12 Nov 2004 14:48:03 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iACElwvo082465;
	Fri, 12 Nov 2004 14:48:00 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP
	id E702516D2EB; Fri, 12 Nov 2004 06:47:55 -0800 (PST)
Message-ID: <4194CD15.6060904@pearlcrescent.com>
Date: Fri, 12 Nov 2004 09:47:49 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt
References: <200410252003.QAA29252@ietf.org> <6.1.2.0.0.20041025133504.033605a0@127.0.0.1> <6.1.2.0.0.20041029153144.02effdb0@127.0.0.1> <41879E43.7080302@pearlcrescent.com>
In-Reply-To: <41879E43.7080302@pearlcrescent.com>
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Mark Smith wrote:

> 
>>>>> ...
>>>>>     lessorequal    = LANGLE EQUALS
>>>>>     extensible     = attr [dnattrs]
>>>>>                            [matchingrule] COLON EQUALS assertionvalue
>>>>>                      / [dnattrs]
>>>>>                             matchingrule COLON EQUALS assertionvalue
>>>>>                      / COLON EQUALS assertionvalue
>>>>
>>>>
>>>>
>>>> The grouping notation should be used here to improve clarity.
>>>> That is, ( ... ) / ( ... ) / ( ... ).  As presented, it
>>>> appears that ":=value" would be a valid extensible production.
> 
> 
> [mcs] Agreed.  I will add the ()s.

There is one more issue here which came to me as I was editing the 
document:  Filter-08 *does* specify that ":=value" is a valid extensible 
production.  I think that is simply an error and that the third option 
within the extensible production should be removed (it was introduced by 
me between the -01 and -02 revisions more than 2 years ago).  Section 
4.5.1 (Search Request) of [Protocol] disallows this:

    If the matchingRule field is absent, the type field MUST be
    present, and an equality match is performed for that type.

As does 2251.  Which makes perfect sense.

-Mark


--------------060400020301020501010105--


--=__PartDFFF094E.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 11:25: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 LAA15192
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 11:25:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGGM4LA071857;
	Tue, 16 Nov 2004 16:23: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 iAGGHOXO071562;
	Tue, 16 Nov 2004 16:17: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); Tue, 16 Nov 2004 16:17:24 +0000
Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGGHMst071550
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 16:17:22 GMT
	(envelope-from Ludovic.Poitou@Sun.COM)
Received: from phys-gadget-2 ([129.156.85.172])
	by nwkea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id iAGGHKs5007218
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 08:17:22 -0800 (PST)
Received: from conversion-daemon.gadget-mail1.uk.sun.com by
 gadget-mail1.uk.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 id <0I7A00901532Z6@gadget-mail1.uk.sun.com>
 (original mail from Ludovic.Poitou@Sun.COM) for ietf-ldapbis@OpenLDAP.org;
 Tue, 16 Nov 2004 16:17:20 +0000 (GMT)
Received: from [129.157.211.132]
 (dhcp-gnb07-211-132.France.Sun.COM [129.157.211.132])
 by gadget-mail1.uk.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 with ESMTPA id <0I7A003HZ58VI7@gadget-mail1.uk.sun.com>; Tue,
 16 Nov 2004 16:17:20 +0000 (GMT)
Date: Tue, 16 Nov 2004 17:17:01 +0100
From: Ludovic Poitou <Ludovic.Poitou@Sun.COM>
Subject: Re: LDAP filter question
In-reply-to: <s199c007.090@sinclair.provo.novell.com>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org, mcs@pearlcrescent.com
Message-id: <419A27FD.6050705@sun.com>
Organization: Sun Microsystems Inc.
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
References: <s199c007.090@sinclair.provo.novell.com>
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7BIT

I agree with the proposed changes.

Ludovic.

Jim Sermersheim wrote:

> I agree with your assessment and the change.
>  
> Jim
>
> >>> Mark Smith <mcs@pearlcrescent.com> 11/16/04 8:30:24 AM >>>
> I'd like to have one vote of agreement on this before I submit the
> revised draft. Anyone?
>
> -Mark
>
> ------------------------------------------------------------------------
>
> Subject:
> LDAP filter question
> From:
> Mark Smith <mcs@pearlcrescent.com>
> Date:
> Tue, 16 Nov 2004 10:30:24 -0500
> To:
> ietf-ldapbis@OpenLDAP.org
>
> To:
> ietf-ldapbis@OpenLDAP.org
>
>
> I'd like to have one vote of agreement on this before I submit the 
> revised draft.  Anyone?
>
> -Mark
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: I-D ACTION:draft-ietf-ldapbis-filter-08.txt
> From:
> Mark Smith <mcs@pearlcrescent.com>
> Date:
> Fri, 12 Nov 2004 09:47:49 -0500
> To:
> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
>
> To:
> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
> CC:
> ietf-ldapbis@OpenLDAP.org
>
>
> Mark Smith wrote:
>
>>
>>>>>> ...
>>>>>>     lessorequal    = LANGLE EQUALS
>>>>>>     extensible     = attr [dnattrs]
>>>>>>                            [matchingrule] COLON EQUALS 
>>>>>> assertionvalue
>>>>>>                      / [dnattrs]
>>>>>>                             matchingrule COLON EQUALS assertionvalue
>>>>>>                      / COLON EQUALS assertionvalue
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The grouping notation should be used here to improve clarity.
>>>>> That is, ( ... ) / ( ... ) / ( ... ).  As presented, it
>>>>> appears that ":=value" would be a valid extensible production.
>>>>
>>
>>
>> [mcs] Agreed.  I will add the ()s.
>
>
> There is one more issue here which came to me as I was editing the 
> document:  Filter-08 *does* specify that ":=value" is a valid 
> extensible production.  I think that is simply an error and that the 
> third option within the extensible production should be removed (it 
> was introduced by me between the -01 and -02 revisions more than 2 
> years ago).  Section 4.5.1 (Search Request) of [Protocol] disallows this:
>
>    If the matchingRule field is absent, the type field MUST be
>    present, and an equality match is performed for that type.
>
> As does 2251.  Which makes perfect sense.
>
> -Mark
>

-- 
Ludovic Poitou
Directory Architect.
Directory Server Group, Grenoble, France
Sun Microsystems Inc.

Sun Microsystems requires the following notice:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 11:49: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 LAA18274
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 11:49:55 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGGk4I3072843;
	Tue, 16 Nov 2004 16:47: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 iAGGemho072575;
	Tue, 16 Nov 2004 16:40: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); Tue, 16 Nov 2004 16:40:48 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGGek3v072565
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 16:40:47 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP id 15B6E16D395
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 08:40:43 -0800 (PST)
Message-ID: <419A2D8B.3010607@pearlcrescent.com>
Date: Tue, 16 Nov 2004 11:40:43 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: LDAP terminology proposal
References: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1> <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu> <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1> <Pine.LNX.4.61.0411151700590.9646@perp.cac.washington.edu>
In-Reply-To: <Pine.LNX.4.61.0411151700590.9646@perp.cac.washington.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

RL 'Bob' Morgan wrote:

>
> OK, I believe we have consensus on this new terminology, and so direct 
> the document editors to revise the drafts accordingly.  This affects 
> the protocol and authmeth drafts, and maybe the url draft, but not any 
> of the others as far as I can tell.

I modified the second and third paragraphs of [LDAPURL]'s Security 
Considerations section to avoid the term "connection" (which was used 
quite a bit).  In every instance except the last sentence of the third 
paragraph, I replaced "connection" with "LDAP session."  Here is the 
revised text:

   The use of security mechanisms when processing LDAP URLs requires
   particular care, since clients may encounter many different servers
   via URLs, and since URLs are likely to be processed automatically,
   without user intervention. A client SHOULD have a user-configurable
   policy that controls which servers the client will establish LDAP
   sessions with using which security mechanisms, and SHOULD NOT
   establish LDAP sessions that are inconsistent with this policy.  If a
   client chooses to reuse an existing LDAP session when resolving one
   or more LDAP URLs, it MUST ensure that the session is compatible with
   the URL and that no security policies are violated.

   Sending authentication information, no matter the mechanism, may
   violate a user's privacy requirements.  In the absence of specific
   policy permitting authentication information to be sent to a server,
   a client should use an anonymous LDAP session.  (Note that clients
   conforming to previous LDAP URL specifications, where all LDAP
   sessions are anonymous and unprotected, are consistent with this
   specification; they simply have the default security policy.)  Simply
   opening a transport connection to another server may violate some
   users' privacy requirements, so clients should provide the user with
   a way to control URL processing.

Comments?

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 12:36: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 MAA22684
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 12:36:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGHY4bq075031;
	Tue, 16 Nov 2004 17:35: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 iAGHTCTp074802;
	Tue, 16 Nov 2004 17:29:12 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, 16 Nov 2004 17:29:12 +0000
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGHT5a0074792
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 17:29:06 GMT
	(envelope-from Ludovic.Poitou@Sun.COM)
Received: from phys-gadget-2 ([129.156.85.172])
	by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id iAGHSTNN015436
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 10:29:05 -0700 (MST)
Received: from conversion-daemon.gadget-mail1.uk.sun.com by
 gadget-mail1.uk.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 id <0I7A00I018DPH7@gadget-mail1.uk.sun.com>
 (original mail from Ludovic.Poitou@Sun.COM) for ietf-ldapbis@OpenLDAP.org;
 Tue, 16 Nov 2004 17:28:39 +0000 (GMT)
Received: from [129.150.116.175]
 (vpn-129-150-116-175.UK.Sun.COM [129.150.116.175]) by gadget-mail1.uk.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 with ESMTPA id <0I7A00H2T8JQTP@gadget-mail1.uk.sun.com>; Tue,
 16 Nov 2004 17:28:39 +0000 (GMT)
Date: Tue, 16 Nov 2004 18:28:22 +0100
From: Ludovic Poitou <Ludovic.Poitou@Sun.COM>
Subject: Re: LDAP terminology proposal
In-reply-to: <419A2D8B.3010607@pearlcrescent.com>
To: Mark Smith <mcs@pearlcrescent.com>
Cc: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Message-id: <419A38B6.4070005@sun.com>
Organization: Sun Microsystems Inc.
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
References: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
 <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu>
 <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1>
 <Pine.LNX.4.61.0411151700590.9646@perp.cac.washington.edu>
 <419A2D8B.3010607@pearlcrescent.com>
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7BIT

Looks good to me.

Ludovic.

Mark Smith wrote:

> RL 'Bob' Morgan wrote:
>
>>
>> OK, I believe we have consensus on this new terminology, and so 
>> direct the document editors to revise the drafts accordingly.  This 
>> affects the protocol and authmeth drafts, and maybe the url draft, 
>> but not any of the others as far as I can tell.
>
>
> I modified the second and third paragraphs of [LDAPURL]'s Security 
> Considerations section to avoid the term "connection" (which was used 
> quite a bit).  In every instance except the last sentence of the third 
> paragraph, I replaced "connection" with "LDAP session."  Here is the 
> revised text:
>
>   The use of security mechanisms when processing LDAP URLs requires
>   particular care, since clients may encounter many different servers
>   via URLs, and since URLs are likely to be processed automatically,
>   without user intervention. A client SHOULD have a user-configurable
>   policy that controls which servers the client will establish LDAP
>   sessions with using which security mechanisms, and SHOULD NOT
>   establish LDAP sessions that are inconsistent with this policy.  If a
>   client chooses to reuse an existing LDAP session when resolving one
>   or more LDAP URLs, it MUST ensure that the session is compatible with
>   the URL and that no security policies are violated.
>
>   Sending authentication information, no matter the mechanism, may
>   violate a user's privacy requirements.  In the absence of specific
>   policy permitting authentication information to be sent to a server,
>   a client should use an anonymous LDAP session.  (Note that clients
>   conforming to previous LDAP URL specifications, where all LDAP
>   sessions are anonymous and unprotected, are consistent with this
>   specification; they simply have the default security policy.)  Simply
>   opening a transport connection to another server may violate some
>   users' privacy requirements, so clients should provide the user with
>   a way to control URL processing.
>
> Comments?
>
> -Mark
>

-- 
Ludovic Poitou
Directory Architect.
Directory Server Group, Grenoble, France
Sun Microsystems Inc.

Sun Microsystems requires the following notice:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 15:44:50 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 PAA11167
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 15:44:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGKe5TE084094;
	Tue, 16 Nov 2004 20:43:11 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 iAGKaiDX083797;
	Tue, 16 Nov 2004 20:36: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); Tue, 16 Nov 2004 20:36:44 +0000
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAGKagL5083787
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Nov 2004 20:36:43 GMT
	(envelope-from rlmorgan@washington.edu)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9])
	by mxout3.cac.washington.edu (8.13.1+UW04.08/8.13.1+UW04.09) with ESMTP id iAGKafl0001884;
	Tue, 16 Nov 2004 12:36:41 -0800
Received: from D-140-142-21-14.dhcp4.washington.edu (D-140-142-21-14.dhcp4.washington.edu [140.142.21.14])
	(authenticated bits=0)
	by smtp.washington.edu (8.13.1+UW04.08/8.13.1+UW04.11) with ESMTP id iAGKafOO013853
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT);
	Tue, 16 Nov 2004 12:36:41 -0800
Date: Tue, 16 Nov 2004 12:36:41 -0800 (PST)
From: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
X-X-Sender: rlmorgan@perp.cac.washington.edu
To: Mark Smith <mcs@pearlcrescent.com>
cc: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: LDAP terminology proposal
In-Reply-To: <419A2D8B.3010607@pearlcrescent.com>
Message-ID: <Pine.LNX.4.61.0411161232340.23138@perp.cac.washington.edu>
References: <6.1.2.0.0.20041109134102.03279cc0@127.0.0.1>
 <Pine.LNX.4.61.0411151204380.23273@perp.cac.washington.edu>
 <6.1.2.0.0.20041115094400.02f1f8d0@127.0.0.1>
 <Pine.LNX.4.61.0411151700590.9646@perp.cac.washington.edu>
 <419A2D8B.3010607@pearlcrescent.com>
MIME-Version: 1.0
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


Very nice, and shows the usefulness of the several terms.  - RL "Bob"

>  The use of security mechanisms when processing LDAP URLs requires
>  particular care, since clients may encounter many different servers
>  via URLs, and since URLs are likely to be processed automatically,
>  without user intervention. A client SHOULD have a user-configurable
>  policy that controls which servers the client will establish LDAP
>  sessions with using which security mechanisms, and SHOULD NOT
>  establish LDAP sessions that are inconsistent with this policy.  If a
>  client chooses to reuse an existing LDAP session when resolving one
>  or more LDAP URLs, it MUST ensure that the session is compatible with
>  the URL and that no security policies are violated.
>
>  Sending authentication information, no matter the mechanism, may
>  violate a user's privacy requirements.  In the absence of specific
>  policy permitting authentication information to be sent to a server,
>  a client should use an anonymous LDAP session.  (Note that clients
>  conforming to previous LDAP URL specifications, where all LDAP
>  sessions are anonymous and unprotected, are consistent with this
>  specification; they simply have the default security policy.)  Simply
>  opening a transport connection to another server may violate some
>  users' privacy requirements, so clients should provide the user with
>  a way to control URL processing.



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 19:43: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 TAA16091
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 19:43:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH0e7T3098911;
	Wed, 17 Nov 2004 00:41: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 iAH0bcls098855;
	Wed, 17 Nov 2004 00:37: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); Wed, 17 Nov 2004 00:37:38 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH0baZx098844
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 00:37:37 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC3300000F9E for ietf-ldapbis@OpenLDAP.org; Wed, 17 Nov 2004 11:42:41 +1100
Message-ID: <419A9D28.7020407@eb2bcom.com>
Date: Wed, 17 Nov 2004 11:36:56 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: LDAPprep Failure was: Re: LDAPprep: mapping of " " values
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1> <4199A06D.3030302@eb2bcom.com>
In-Reply-To: <4199A06D.3030302@eb2bcom.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


I wrote:
> In the wider context of component matching (and potentially even within the
> framework of X.500) there are many ways that the output of LDAPprep 
> could be
> invalid with respect to the syntax, i.e. ASN.1 type, of the abtract 
> value that
> supplied the input string. It can change the length of the string such 
> that it
> is no longer an acceptable length - too short, too long (?) or an
> explicitly disallowed length. It can introduce space characters where space
> characters are disallowed. It can create a sequence of characters that
> no longer satisfies a pattern constraint or value constraint. And so on.
> And what exactly is the output syntax of LDAPprep in ASN.1 terms ?
> A UTF8String ? A UniversalString ? That clearly doesn't line up with
> an input that is a TeletexString.

I missed an obvious case. One of the outputs of LDAPprep is failure.
Failure isn't a legal value of any input to LDAPprep.

It disturbs me that LDAPprep can fail on syntactically correct input as this
can give rise to ugly situations in the directory. If I add a new attribute with
a single value to an entry then there is no need to call on LDAPprep because
there is no need for any attribute value comparisons. If it so happens that
the single attribute value contains character sequences that cause LDAPprep
to fail then I cannot subsequently add other attribute values because the
comparison of a new value to the existing value will always fail. Likewise,
I cannot subsequently remove the single value because the comparison of the
value in the modify operation to the existing value will also fail.

There are implications for sorting as well.

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 16 20:25: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 UAA20065
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Nov 2004 20:25:21 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH1M7tc099987;
	Wed, 17 Nov 2004 01:23: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 iAH1K7ta099925;
	Wed, 17 Nov 2004 01:20: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, 17 Nov 2004 01:20: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 iAH1K2Ax099914
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 01:20: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 iAH1JxZv019501;
	Wed, 17 Nov 2004 01:19:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041116170719.02eb0818@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 16 Nov 2004 17:20:28 -0800
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep Failure was: Re: LDAPprep: mapping of " " values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <419A9D28.7020407@eb2bcom.com>
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1>
 <4199A06D.3030302@eb2bcom.com>
 <419A9D28.7020407@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

In response to the empty IA5String discussion I noted my
thought that one could view the size restriction as a
artifact of the particular equality matching rule and
not of the syntax...

Because of the nature of Stringprep, I don't think we
can generally prevent preparation failures.  Even if we
could for LDAPprep, we couldn't for nameprep, saslprep,
and other independently developed profiles.  It is
desirable to allow introduction of LDAP matching rules
which utilize these Stringprep profiles, without having
to jump through too many hops.

One approach here is modify [models] to state that each
individual value of attribute with an equality rule
MUST be equivalent to itself per that rule.

I note that this is behavior of the OpenLDAP server.
Our server prepare values on input and if the preparation
failed, it returns invalidSyntax.

Kurt


>I wrote:
>>In the wider context of component matching (and potentially even within the
>>framework of X.500) there are many ways that the output of LDAPprep could be
>>invalid with respect to the syntax, i.e. ASN.1 type, of the abtract value that
>>supplied the input string. It can change the length of the string such that it
>>is no longer an acceptable length - too short, too long (?) or an
>>explicitly disallowed length. It can introduce space characters where space
>>characters are disallowed. It can create a sequence of characters that
>>no longer satisfies a pattern constraint or value constraint. And so on.
>>And what exactly is the output syntax of LDAPprep in ASN.1 terms ?
>>A UTF8String ? A UniversalString ? That clearly doesn't line up with
>>an input that is a TeletexString.
>
>I missed an obvious case. One of the outputs of LDAPprep is failure.
>Failure isn't a legal value of any input to LDAPprep.
>
>It disturbs me that LDAPprep can fail on syntactically correct input as this
>can give rise to ugly situations in the directory. If I add a new attribute with
>a single value to an entry then there is no need to call on LDAPprep because
>there is no need for any attribute value comparisons. If it so happens that
>the single attribute value contains character sequences that cause LDAPprep
>to fail then I cannot subsequently add other attribute values because the
>comparison of a new value to the existing value will always fail. Likewise,
>I cannot subsequently remove the single value because the comparison of the
>value in the modify operation to the existing value will also fail.
>
>There are implications for sorting as well.
>
>Regards,
>Steven



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 00:21: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 AAA10973
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 00:21:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH5G8ib007119;
	Wed, 17 Nov 2004 05:19:12 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 iAH5C7hi007079;
	Wed, 17 Nov 2004 05:12: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, 17 Nov 2004 05:12:06 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH5C0pW007013;
	Wed, 17 Nov 2004 05:12:01 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 418EAC330000100E; Wed, 17 Nov 2004 16:17:06 +1100
Message-ID: <419ADD77.7090508@eb2bcom.com>
Date: Wed, 17 Nov 2004 16:11:19 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1> <4199A06D.3030302@eb2bcom.com> <6.1.2.0.0.20041116014902.03597728@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041116014902.03597728@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Kurt,

Just so we're clear, I started out arguing that LDAPprep should allow an
empty string as output to avoid anomalous behaviour in substring matching.
I concede that this may produce more matches than the user was expecting.
It is clear to me now that treating all strings and substrings exactly
the same way is the problem, no matter what that way is. I am now arguing
for LDAPprep and/or syntaxes to be revised so that whitespace treatment is
dependent on the context of the (sub)string. Sometimes that means reducing
a string of all spaces to an empty string, and sometimes it doesn't.

More comments below.

Kurt D. Zeilenga wrote:
> At 10:38 PM 11/15/2004, Steven Legg wrote:
> 
>>Kurt,
>>Kurt D. Zeilenga wrote:
>>
>>>Steven suggested that changing LDAPprep such that string
>>>comprising only of whitespace would be mapped to "" instead
>>>of " ".  I believe a poor approach for a number reasons.
>>>While it can be argued (as Steven has) that such mapping
>>>may make some assertions more intuitive, I argue that such
>>>mapping will make various assertions less intuitive.
>>>More importantly, the assertion (l=* *), which says "match a
>>>significant space in values of l", would no longer behave
>>>properly.  The " " ANY string would be mapped to "", leading
>>>to (l=* *) matching any value instead of only those values
>>>which contained a significant space.  This would likely
>>>break a number of applications.
>>
>>I agree that matching everything in such a case is excessive.
>>
>>
>>>It's my view that the assertion (l= *) says  "match a
>>>significant leading space in values of l".  These assertions
>>>intuitively should only match strings which are all whitespace,
>>>as leading whitespace is otherwise insignificant.
>>
>>Wouldn't it be easier to just say (l= ) ?
> 
> 
> Yes, but X.520 allows (l= *) instead.  What does your
> implementation do today?

(l= ) matches any string composed entirely of spaces.
(l= *) is equivalent to a presence match.

 > In OpenLDAP, this assertion
> will only match values which are composed entirely
> of whitespace.  Others?
> 
> The logic here is that, except in one special case, that
> leading and trailing spaces are insignificant.  One cannot
> match on insignificant portions of the value without giving
> them significance.

The way I see it I am treating leading space as insignificant.
Treating (l= *) like a presence match is saying that leading space
is insignificant. One gets the same result whether or not attribute
values have leading space.

 > And giving leading and trailing spaces
> significance changes the character of the rules in a major
> way.

I think I'm actually doing the opposite.

It is LDAPprep that is sometimes giving whitespace in substring assertions
the wrong significance because the context of the substrings is being ignored.

> 
> 
>>>Likewise
>>>for (l=* ).  Note that this behavior is actually useful.  One
>>>can assert (!(l= *))
>>
>>or (!(l= ))
>>
>>
>>>to match all values which are not
>>>all whitespace.  Having (l= * * ) behave like (l=*)
>>>substracts value (and likely will break applications, see
>>>above).
>>
>>In the current specifications (l= * * ) will never match anything!
> 
> 
> I believe that this is correct.  As the old adage goes:
> ask a stupid question, get a stupid answer.

If it's a stupid question then why the concern about breaking applications ?

>>A value can only match (l= *) or (l=* ) if it is all whitespace.
> 
> 
> I believe that this is correct.  As every string ("X") is equivalent
> to some string which has insignificant leading and trailing
> whitespace (" X "), these assertions would match the same
> entries as (l=*).   The client should simply do (l=*) if that
> what it wants. 
> 
> 
>>If it is all whitespace then LDAPprep reduces it to a single space.
>>A single space cannot simultaneuously satisfy the initial, any and
>>final substrings.
> 
> 
> I believe that this is proper as there is only one significant
> space and the assertion asked whether there is three significant
> spaces.
> 
> 
>>What we are running into I think is the problem that whitespace in
>>different parts of an attribute value are treated differently, but the
>>whitespace in each substring of a substring assertion is treated the
>>same. Intuitively, one might expect that (l= * * ) should match a
>>value like "  foo  bar  ".  It doesn't with the current specifications.
>>It would if whitespace were reduced to nothing, but it would match everything else as well.
> 
> 
> If intuitively one might expect this, then they might also
> expect (l=* * *) to match "x  x"

Given the explicit statement that multiple consecutive spaces are equivalent
to a single space I now think it is quite reasonable to regard (l=* * *) as a
request for something significant separated by whitespace from something
significant separated by whitespace from something significant, so "x  x"
doesn't match.

Following the same point of view, it would be reasonable to regard (l=* x *)
as a request to match something significant separated by whitespace from an
"x" separated by whitespace from something significant. With the current
specifications the request will actually match any string that has an "x" in
it somewhere, regardless of whether it is preceded or followed by whitespace.
This is because LDAPprep applied to the any substring treats the whitespace
as leading and trailing whitespace and removes it leaving only "x".
However, the fact that the user has put the string into an any substring
makes it highly likely the user intended the spaces to be significant.
If we change syntaxes + LDAPprep to conditionally strip leading and trailing
spaces then an any substring of " x " would not be further reduced and the
request would match only those values containing an "x" surrounded by whitespace.

 >(or (l=*  *) to match "x  x"
> but not "x x").

LDAP and X.520 are pretty clear that multiple consecutive spaces are equivalent
to a single space. Anyone who expects "x  x" to match but not "x x" hasn't
read the matching rule descriptions.

 > If one can match insignificant leading and
> trailing spaces, then it intuitively follows one can match
> insignificant consecutive spaces.

It doesn't automatically follow since it is clear from X.520 that the significance
of interior spaces is treated differently to leading and trailing spaces.

> I believe that this is nonsense and that we should redesign
> matching to support matching of insignificant spaces.

I assume you left a "not" out of there.

I now think we should redesign substring matching so that the treatment of
whitespace in a substring is consistent with the part of the attribute value
that substring is expected to match. Thus, leading whitespace is removed from
an initial substring because the part of the attribute value it potentially
matches also has leading whitespace removed. Likewise, the trailing whitespace
is removed from a final substring because the part of the attribute value it
potentially matches also has trailing whitespace removed. All other consecutive
whitespace characters, including trailing whitespace in an initial substring
and leading whitespace in a final substring, are reduced to a single space because
they are expected to match significant whitespace within the attribute value.

> 
> 
>>What we seem to need here is for leading whitespace in the initial substring
>>and trailing whitespace in the final substring to be reduced to nothing,
>>while every other sequence of whitespace characters, in the initial, any or
>>final substring, reduces to a single space.
> 
> 
> If there is a need to match insignificant spaces, a rule which
> is specifically design to support that matching should be used.
> These rules were designed to ignore insignificant spaces.  We
> should not change that.
> 
> 
>>It would be a modest change to LDAPprep
> 
> 
> What you ask for, IMO, is a change to matching rule to support
> matching of insignificant spaces in certain cases.  I believe
> that such a change is inappropriate and certainly should be
> viewed as a new feature.

I see it differently. It is clear from X.520 that some spaces are
significant and some are not. We have a problem in substring matching,
as it is currently specified, that it loses track of which is which,
leading to unintuitive results. I'm suggesting a way to fix that.

> 
> 
>>to enable something like this.
>>We just need two parameters for each string handed to LDAPprep: a boolean
>>flag that indicates whether whitespace in the initial part of the string
>>is to be treated as leading whitespace, and a boolean flag that indicates
>>whether whitespace in the final part of the string is to be treated as
>>trailing whitespace. The syntaxes draft can then nominate values for the
>>flags for each string or substring it passes to LDAPprep. Alternatively,
>>LDAPprep can just reduce consecutive whitespace to a single space in every
>>case and leave the syntaxes draft to nominate the circumstances under
>>which a leading or trailing space is to be removed.

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 00:36: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 AAA12351
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 00:36:55 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH5Y8nM007616;
	Wed, 17 Nov 2004 05:35: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 iAH5U8pN007574;
	Wed, 17 Nov 2004 05:30: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); Wed, 17 Nov 2004 05:30:08 +0000
Received: from mail17.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH5U1nJ007511;
	Wed, 17 Nov 2004 05:30:02 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by mail17.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 17 Nov 2004 16:29:40 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: LDAPprep: mapping of " " values
Date: Wed, 17 Nov 2004 16:29:40 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B6381020230DA@ausyms21.ca.com>
Thread-Topic: LDAPprep: mapping of " " values
Thread-Index: AcTMZQfj1P8rGywSRJeK0jXP/tiw6QAAR/zQ
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Steven Legg" <steven.legg@eb2bcom.com>,
        "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 17 Nov 2004 05:29:40.0783 (UTC) FILETIME=[6FCFB3F0:01C4CC66]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iAH5U3nJ007543
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Isn't the problem that LDAPprep appears to be preparing the value for matching. Surely it should only *clean* the string and leave matching optimisations to the implementations.

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Steven Legg
Sent: Wednesday, 17 November 2004 16:11
To: Kurt D. Zeilenga
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values



Kurt,

Just so we're clear, I started out arguing that LDAPprep should allow an
empty string as output to avoid anomalous behaviour in substring matching.
I concede that this may produce more matches than the user was expecting.
It is clear to me now that treating all strings and substrings exactly
the same way is the problem, no matter what that way is. I am now arguing
for LDAPprep and/or syntaxes to be revised so that whitespace treatment is
dependent on the context of the (sub)string. Sometimes that means reducing
a string of all spaces to an empty string, and sometimes it doesn't.

More comments below.

Kurt D. Zeilenga wrote:
> At 10:38 PM 11/15/2004, Steven Legg wrote:
> 
>>Kurt,
>>Kurt D. Zeilenga wrote:
>>
>>>Steven suggested that changing LDAPprep such that string
>>>comprising only of whitespace would be mapped to "" instead
>>>of " ".  I believe a poor approach for a number reasons.
>>>While it can be argued (as Steven has) that such mapping
>>>may make some assertions more intuitive, I argue that such
>>>mapping will make various assertions less intuitive.
>>>More importantly, the assertion (l=* *), which says "match a
>>>significant space in values of l", would no longer behave
>>>properly.  The " " ANY string would be mapped to "", leading
>>>to (l=* *) matching any value instead of only those values
>>>which contained a significant space.  This would likely
>>>break a number of applications.
>>
>>I agree that matching everything in such a case is excessive.
>>
>>
>>>It's my view that the assertion (l= *) says  "match a
>>>significant leading space in values of l".  These assertions
>>>intuitively should only match strings which are all whitespace,
>>>as leading whitespace is otherwise insignificant.
>>
>>Wouldn't it be easier to just say (l= ) ?
> 
> 
> Yes, but X.520 allows (l= *) instead.  What does your
> implementation do today?

(l= ) matches any string composed entirely of spaces.
(l= *) is equivalent to a presence match.

 > In OpenLDAP, this assertion
> will only match values which are composed entirely
> of whitespace.  Others?
> 
> The logic here is that, except in one special case, that
> leading and trailing spaces are insignificant.  One cannot
> match on insignificant portions of the value without giving
> them significance.

The way I see it I am treating leading space as insignificant.
Treating (l= *) like a presence match is saying that leading space
is insignificant. One gets the same result whether or not attribute
values have leading space.

 > And giving leading and trailing spaces
> significance changes the character of the rules in a major
> way.

I think I'm actually doing the opposite.

It is LDAPprep that is sometimes giving whitespace in substring assertions
the wrong significance because the context of the substrings is being ignored.

> 
> 
>>>Likewise
>>>for (l=* ).  Note that this behavior is actually useful.  One
>>>can assert (!(l= *))
>>
>>or (!(l= ))
>>
>>
>>>to match all values which are not
>>>all whitespace.  Having (l= * * ) behave like (l=*)
>>>substracts value (and likely will break applications, see
>>>above).
>>
>>In the current specifications (l= * * ) will never match anything!
> 
> 
> I believe that this is correct.  As the old adage goes:
> ask a stupid question, get a stupid answer.

If it's a stupid question then why the concern about breaking applications ?

>>A value can only match (l= *) or (l=* ) if it is all whitespace.
> 
> 
> I believe that this is correct.  As every string ("X") is equivalent
> to some string which has insignificant leading and trailing
> whitespace (" X "), these assertions would match the same
> entries as (l=*).   The client should simply do (l=*) if that
> what it wants. 
> 
> 
>>If it is all whitespace then LDAPprep reduces it to a single space.
>>A single space cannot simultaneuously satisfy the initial, any and
>>final substrings.
> 
> 
> I believe that this is proper as there is only one significant
> space and the assertion asked whether there is three significant
> spaces.
> 
> 
>>What we are running into I think is the problem that whitespace in
>>different parts of an attribute value are treated differently, but the
>>whitespace in each substring of a substring assertion is treated the
>>same. Intuitively, one might expect that (l= * * ) should match a
>>value like "  foo  bar  ".  It doesn't with the current specifications.
>>It would if whitespace were reduced to nothing, but it would match everything else as well.
> 
> 
> If intuitively one might expect this, then they might also
> expect (l=* * *) to match "x  x"

Given the explicit statement that multiple consecutive spaces are equivalent
to a single space I now think it is quite reasonable to regard (l=* * *) as a
request for something significant separated by whitespace from something
significant separated by whitespace from something significant, so "x  x"
doesn't match.

Following the same point of view, it would be reasonable to regard (l=* x *)
as a request to match something significant separated by whitespace from an
"x" separated by whitespace from something significant. With the current
specifications the request will actually match any string that has an "x" in
it somewhere, regardless of whether it is preceded or followed by whitespace.
This is because LDAPprep applied to the any substring treats the whitespace
as leading and trailing whitespace and removes it leaving only "x".
However, the fact that the user has put the string into an any substring
makes it highly likely the user intended the spaces to be significant.
If we change syntaxes + LDAPprep to conditionally strip leading and trailing
spaces then an any substring of " x " would not be further reduced and the
request would match only those values containing an "x" surrounded by whitespace.

 >(or (l=*  *) to match "x  x"
> but not "x x").

LDAP and X.520 are pretty clear that multiple consecutive spaces are equivalent
to a single space. Anyone who expects "x  x" to match but not "x x" hasn't
read the matching rule descriptions.

 > If one can match insignificant leading and
> trailing spaces, then it intuitively follows one can match
> insignificant consecutive spaces.

It doesn't automatically follow since it is clear from X.520 that the significance
of interior spaces is treated differently to leading and trailing spaces.

> I believe that this is nonsense and that we should redesign
> matching to support matching of insignificant spaces.

I assume you left a "not" out of there.

I now think we should redesign substring matching so that the treatment of
whitespace in a substring is consistent with the part of the attribute value
that substring is expected to match. Thus, leading whitespace is removed from
an initial substring because the part of the attribute value it potentially
matches also has leading whitespace removed. Likewise, the trailing whitespace
is removed from a final substring because the part of the attribute value it
potentially matches also has trailing whitespace removed. All other consecutive
whitespace characters, including trailing whitespace in an initial substring
and leading whitespace in a final substring, are reduced to a single space because
they are expected to match significant whitespace within the attribute value.

> 
> 
>>What we seem to need here is for leading whitespace in the initial substring
>>and trailing whitespace in the final substring to be reduced to nothing,
>>while every other sequence of whitespace characters, in the initial, any or
>>final substring, reduces to a single space.
> 
> 
> If there is a need to match insignificant spaces, a rule which
> is specifically design to support that matching should be used.
> These rules were designed to ignore insignificant spaces.  We
> should not change that.
> 
> 
>>It would be a modest change to LDAPprep
> 
> 
> What you ask for, IMO, is a change to matching rule to support
> matching of insignificant spaces in certain cases.  I believe
> that such a change is inappropriate and certainly should be
> viewed as a new feature.

I see it differently. It is clear from X.520 that some spaces are
significant and some are not. We have a problem in substring matching,
as it is currently specified, that it loses track of which is which,
leading to unintuitive results. I'm suggesting a way to fix that.

> 
> 
>>to enable something like this.
>>We just need two parameters for each string handed to LDAPprep: a boolean
>>flag that indicates whether whitespace in the initial part of the string
>>is to be treated as leading whitespace, and a boolean flag that indicates
>>whether whitespace in the final part of the string is to be treated as
>>trailing whitespace. The syntaxes draft can then nominate values for the
>>flags for each string or substring it passes to LDAPprep. Alternatively,
>>LDAPprep can just reduce consecutive whitespace to a single space in every
>>case and leave the syntaxes draft to nominate the circumstances under
>>which a leading or trailing space is to be removed.

Regards,
Steven




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 02:06: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 CAA24627
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 02:06:56 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH749RT009891;
	Wed, 17 Nov 2004 07: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 iAH707d2009813;
	Wed, 17 Nov 2004 07:00: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, 17 Nov 2004 07:00: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 iAH705UG009803
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 07:00: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 iAH6xwZv021705;
	Wed, 17 Nov 2004 07:00:03 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041116223709.02efefc0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 16 Nov 2004 23:00:27 -0800
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <419ADD77.7090508@eb2bcom.com>
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1>
 <4199A06D.3030302@eb2bcom.com>
 <6.1.2.0.0.20041116014902.03597728@127.0.0.1>
 <419ADD77.7090508@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:11 PM 11/16/2004, Steven Legg wrote:
>It is clear to me now that treating all strings and substrings exactly
>the same way is the problem, no matter what that way is.

I actually reached the same conclusion.  As it stands now,
(l=foo * bar) will match "foobar".  That seems counter to
the X.520/LDAP specification of these matching rules.

>I am now arguing for LDAPprep and/or syntaxes to be revised so that whitespace treatment is dependent on the context of the (sub)string. Sometimes that means reducing a string of all spaces to an empty string,
>and sometimes it doesn't.

Problem is that this is not sufficient in the above case.
(l=foo * bar) needs to match "foo bar" as well as "foo  bar"
as well as "foo X bar"  We cannot simply apply LDAPprep to
each substring and the value and match octet wise.  Also,
as Rici noted, we have to be careful not that (l=x*)
doesn't match "x'" where ' is a combining character.

Seems what we to do is remove the insignificant character
removal step from LDAPprep (or have it only collapse
adjacent spaces into one space) and then deal with
space issues in matching rule specification.

This implies a divergence from Stringprep which calls
for the output to compared code-point for code-point.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 02:51:22 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 CAA23340
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 02:51:22 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAH7lOID011797;
	Wed, 17 Nov 2004 07:49:52 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 iAH7jA77011780;
	Wed, 17 Nov 2004 07:45: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); Wed, 17 Nov 2004 07:45: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 iAH7j8EZ011770
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 07:45:08 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 iAH7j7Zv022000;
	Wed, 17 Nov 2004 07:45:08 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041115171902.02fabc90@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 16 Nov 2004 23:45:36 -0800
To: Rici Lake <rici@ricilake.net>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: BIDI (was: Stringprep Considered Harmful)
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
 <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
 <419449BC.6010003@eb2bcom.com>
 <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
 <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I've given this a new subject heading to indicate the scope
of the discussion has narrowed to the question of whether
LDAPprep should or not ignore BIDI (as discussed in Section
6 of [Stringprep]), in particular in the general-purpose
text matching rules, e.g., caseIgnoreMatch and friends.

There have been a number of good points made in this thread.

I believe these matching rules are generally applicable to
the matching text values, and in particular short descriptive
text (e.g., values used in naming).  I believe they are not
applicable to the matching values of non-text abstractions,
such as DNs, domain names, email addresses, and URIs.  Use
of text matching rules will lead to inappropriate matching
including rule(A,A') evaluating to FALSE even though A and A'
are represent the same abstract value and rule(A,B)
evaluating to TRUE even though A and B represent two
non-equivalent abstract values.  (I believe we need to
explicitly state the applicability of these rules)

It is recognized that the Standard Track does not yet
include matching rules appropriate to match
internationalized domain names (or domain components),
email addresses (or local-parts), or URIs.  This is an
area where future standardization is needed and, in
particular, something this WG likely could consider
undertaking after we deliver the revised LDAP TS.

It can be argued that the text rules are not well suited
(regardless of BIDI issue) for matching large values of
running text (e.g., anything more than a line of text).

With all of the above in mind, the question can be narrowed
to whether or not ignoring BIDI makes sense for matching
rules designed to support short descriptive text, such
as values used in naming objects.  For instance, common
names and postal addresses.

Rici detailed his belief that ignoring BIDI makes sense for
short descriptive text.  I find the most of compelling of
his arguments to be those with values of common names
and postal address lines.

And while I believe BIDI (and other) spoofing attacks are
applicable to naming values, I think we can address these
by stating appropriate security considerations.

Hence, I support removal of the BIDI restrictions from
LDAPprep.

-- Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 12: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 MAA20592
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 12:14:02 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHHADu2040979;
	Wed, 17 Nov 2004 17:12:09 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 iAHH9tOG040959;
	Wed, 17 Nov 2004 17:09: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); Wed, 17 Nov 2004 17:09: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 iAHH9sS0040949
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 17:09: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 iAHH9rZv025115
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 17:09:53 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041117090742.02ef8100@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 17 Nov 2004 09:10:22 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: BIDI (was: Stringprep Considered Harmful)
In-Reply-To: <6.1.2.0.0.20041115171902.02fabc90@127.0.0.1>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
 <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
 <419449BC.6010003@eb2bcom.com>
 <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
 <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041115171902.02fabc90@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I have received the following comment regarding removal
of the BIDI restrictions in LDAPPprep:
   If you're absolutely sure that these are strings that
   will not be compared visually by humans, that is OK.
   If humans are supposed to be involved, you are possibly
   creating a very dangerous situation.

Kurt

At 11:45 PM 11/16/2004, Kurt D. Zeilenga wrote:
>I've given this a new subject heading to indicate the scope
>of the discussion has narrowed to the question of whether
>LDAPprep should or not ignore BIDI (as discussed in Section
>6 of [Stringprep]), in particular in the general-purpose
>text matching rules, e.g., caseIgnoreMatch and friends.
>
>There have been a number of good points made in this thread.
>
>I believe these matching rules are generally applicable to
>the matching text values, and in particular short descriptive
>text (e.g., values used in naming).  I believe they are not
>applicable to the matching values of non-text abstractions,
>such as DNs, domain names, email addresses, and URIs.  Use
>of text matching rules will lead to inappropriate matching
>including rule(A,A') evaluating to FALSE even though A and A'
>are represent the same abstract value and rule(A,B)
>evaluating to TRUE even though A and B represent two
>non-equivalent abstract values.  (I believe we need to
>explicitly state the applicability of these rules)
>
>It is recognized that the Standard Track does not yet
>include matching rules appropriate to match
>internationalized domain names (or domain components),
>email addresses (or local-parts), or URIs.  This is an
>area where future standardization is needed and, in
>particular, something this WG likely could consider
>undertaking after we deliver the revised LDAP TS.
>
>It can be argued that the text rules are not well suited
>(regardless of BIDI issue) for matching large values of
>running text (e.g., anything more than a line of text).
>
>With all of the above in mind, the question can be narrowed
>to whether or not ignoring BIDI makes sense for matching
>rules designed to support short descriptive text, such
>as values used in naming objects.  For instance, common
>names and postal addresses.
>
>Rici detailed his belief that ignoring BIDI makes sense for
>short descriptive text.  I find the most of compelling of
>his arguments to be those with values of common names
>and postal address lines.
>
>And while I believe BIDI (and other) spoofing attacks are
>applicable to naming values, I think we can address these
>by stating appropriate security considerations.
>
>Hence, I support removal of the BIDI restrictions from
>LDAPprep.
>
>-- Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 12:48:33 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 MAA24120
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 12:48:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHHkDRd043832;
	Wed, 17 Nov 2004 17:47: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 iAHHgiba043699;
	Wed, 17 Nov 2004 17:42: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, 17 Nov 2004 17:42: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 iAHHghRe043689
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 17:42: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 iAHHghZv025382
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 17:42:43 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041117094136.03301d28@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 17 Nov 2004 09:43:11 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: BIDI (was: Stringprep Considered Harmful)
In-Reply-To: <6.1.2.0.0.20041117090742.02ef8100@127.0.0.1>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
 <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
 <419449BC.6010003@eb2bcom.com>
 <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
 <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041115171902.02fabc90@127.0.0.1>
 <6.1.2.0.0.20041117090742.02ef8100@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:10 AM 11/17/2004, Kurt D. Zeilenga wrote:
>I have received the following comment regarding removal
>of the BIDI restrictions in LDAPPprep:
>   If you're absolutely sure that these are strings that
>   will not be compared visually by humans, that is OK.
>   If humans are supposed to be involved, you are possibly
>   creating a very dangerous situation.

This is was my response to the above comment.
 I suspect there are cases where humans may visually compare  
 these strings.  However, it's been noted that there are numerous
 other visual spoofing attacks which can be made.  It's also
 clear that even with BIDI restrictions, humans could be presented
 with strings to compare which do not adhere to the BIDI restrictions.
 This is because the BIDI restrictions impact how implementations
 do comparisons, they do not impact what Unicode string can or cannot
 be transferred by LDAP (or stored by LDAP implementations).  My
 suggestion is that visual spoofing (BIDI and other) concerns can
 be addressed through security considerations, namely by stating
 (much like IRI I-D does) guidelines for input and rendering of
 BIDI values.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 13:06: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 NAA25747
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 13:06:44 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHI4D1t046599;
	Wed, 17 Nov 2004 18:05: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 iAHHtNC6044993;
	Wed, 17 Nov 2004 17:55: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); Wed, 17 Nov 2004 17:55:23 +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 iAHHtLfv044980
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 17:55:22 GMT
	(envelope-from hbf@bombur2.uio.no)
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.34)
	id 1CUU1V-0002LP-OE
	for ietf-ldapbis@OpenLDAP.org; Wed, 17 Nov 2004 18:55:17 +0100
Received: from bombur2.uio.no ([129.240.186.24])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CUU1Q-00071O-NJ; Wed, 17 Nov 2004 18:55:12 +0100
Received: from hbf by bombur2.uio.no with local (Exim 4.30)
	id 1CUU1O-0008KG-AE; Wed, 17 Nov 2004 18:55:10 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16795.36990.306894.866399@bombur2.uio.no>
Date: Wed, 17 Nov 2004 18:55:10 +0100
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep Failure was: Re: LDAPprep: mapping of " " values
In-Reply-To: <419A9D28.7020407@eb2bcom.com>
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1>
	<4199A06D.3030302@eb2bcom.com>
	<419A9D28.7020407@eb2bcom.com>
X-Mailer: VM 7.18 under Emacs 21.3.1
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Let's see - attribute values that fail LDAPprep...

* cannot coexist with other values in the same attribute,

* cannot be removed by naming the value, only the entire attribute,

* cannot be (successfully) searched for or compared with,

* probably cannot be used in RDNs - the alternative would be a mess like
  they can exist in the RDN but one cannot look up the entry by its DN
  (since that involves comparing the supplied DN with the entry's DN),
  and maybe not add the entry if another entry exists with the same
  parent (since one must check if the other entry has the same name),

* can mess up a replication scheme which checks if a value is already
  present by EQUALITY-comparing the new value with the old value,

* cannot be named as individual values in access controls, if such
  controls use the EQUALITY rule to check if access is allowed,

* cannot be sorted by the ORDERING rule.

Anything else?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 13:06: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 NAA25769
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 13:06:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHI4D1v046599;
	Wed, 17 Nov 2004 18:05: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 iAHI04Op045888;
	Wed, 17 Nov 2004 18:00: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, 17 Nov 2004 18:00:04 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHI01sC045830
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 18:00:02 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAHJNLrJ004984
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 19:23:22 GMT
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=UTF-8; format=flowed
Message-Id: <7D89433A-38C2-11D9-A5A2-000A957D48A8@ricilake.net>
From: Rici Lake <rici@ricilake.net>
Subject: Re: BIDI (was: Stringprep Considered Harmful)
Date: Wed, 17 Nov 2004 12:58:03 -0500
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id iAHI02sC045855
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit


On 17-Nov-04, at 12:10 PM, Kurt D. Zeilenga wrote:

> I have received the following comment regarding removal
> of the BIDI restrictions in LDAPPprep:
>    If you're absolutely sure that these are strings that
>    will not be compared visually by humans, that is OK.
>    If humans are supposed to be involved, you are possibly
>    creating a very dangerous situation.
>
> Kurt

I believe that the above comment is applicable to strings
which have been, for example, digitally signed and are being
used for verification purposes. This situation occurs in
the human validation of an SSL certificate, for example.

I do not believe that this is either a common case in a
directory, a problem unique to bidi visual spoofing, or
worth the the restrictions it would place on the usability
of an LDAP directory.

As I said, rather off-handedly, in a previous message,
any descriptive text can be a lie.

cn: Rici Lake
description: three-time nobel prize winner

Admittedly, that particular lie would probably not pass
most people's skepticism filter, but the success of lies
transmitted by email ("I represent the family of a deceased
Nigerian millionaire....") leads me to wonder.

Visual spoofing is just another type of lie. The only problem
occurs when the truth has been certified by a trusted third
party, and the lie is visually indistinguishable from the truth
(and I would like to add, that the lie has also been certified
but by a non-trusted third party; unfortunately most people
have not been sufficiently educated about PKI and friends to
even notice this detail).

I truly do not understand why bidi visual spoofing has been
identified as The One Big Problem when there are a huge
number of visual spoofing attacks which have nothing to
with bidi. (I believe that www.paypaI.com was even used
as a visual spoof at some point, based on the use of sans
serif fonts, but there are a number of other spoofs which
are less font-dependent, such as the use of Cyrillic and
Greek characters which are indistinguishable, pixel by pixel,
from Latin characters.)

I would hate to think that the elevated profile of bidi attacks
is the result of some kind of subconscious prejudice against
right-to-left languages, although these days you can never tell.
In any event, users of utf-8-enabled mail client are invited to
visually verify the identity of the following common name:

cn: Міϲrοѕоft Іnс

There are a few IA5 characters in there, and the spacing (at least
on the Mac OS X font I'm using) is slightly imperfect, but I suspect
that it would be accepted by more people than believe in recently
deceased Nigerian millionaires.

I also suspect that most non-arabic readers would not do well at
visually distinguishing Arabic words from each other, with or
without bidi spoofing.

It is not, in my opinion, the business of a directory protocol to
police the contents of the directory. It would be just as inappropriate
to, for example, syntactically prohibit the use of pornographic words in
a descriptive text string, even though such words may trigger strong
cultural rejection amongst certain user communities (viz. the discussion
of the .xxx TLD in Arabic).

Any such protection should be performed by application specific
protocols, such as IDNA, in combination with sensible security
policies on digital signatures and verification of certificate
authorities, and a lot more public education than has been done
up to now. ("Watch out! There are monsters on the Net!" does not
count as adequate public education.)

Rici





From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 13:20: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 NAA26939
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 13:20:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHIGD9l048838;
	Wed, 17 Nov 2004 18:19: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 iAHIBARQ048419;
	Wed, 17 Nov 2004 18:11: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); Wed, 17 Nov 2004 18:11:10 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHIB7vb048387;
	Wed, 17 Nov 2004 18:11:08 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAHJYPrJ005173;
	Wed, 17 Nov 2004 19:34:26 GMT
In-Reply-To: <6.1.2.0.0.20041117090742.02ef8100@127.0.0.1>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net> <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1> <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net> <419449BC.6010003@eb2bcom.com> <6.1.2.0.0.20041113091926.031def28@127.0.0.1> <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net> <6.1.2.0.0.20041115171902.02fabc90@127.0.0.1> <6.1.2.0.0.20041117090742.02ef8100@127.0.0.1>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <0907779E-38C4-11D9-A5A2-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: BIDI (was: Stringprep Considered Harmful)
Date: Wed, 17 Nov 2004 13:11:00 -0500
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

A small anecdote about application-specific directory protocols:

When I was in Greece many years ago (and I don't know if this is
still the case), vehicle licence plates were alphanumeric using
Greek capital letters -- but only those Greek capital letters
which are identical to Latin capital letters. This seems like
an appropriate protocol for licence plates, but would not be
generally applicable.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 13:28: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 NAA27555
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 13:28:58 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHIMDME049465;
	Wed, 17 Nov 2004 18:28: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 iAHIKfXv049329;
	Wed, 17 Nov 2004 18:20: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); Wed, 17 Nov 2004 18:20:41 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHIKe3V049318
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 18:20:40 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAHJgwrK005782
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 19:43:57 GMT
Mime-Version: 1.0 (Apple Message framework v619)
In-Reply-To: <16795.36990.306894.866399@bombur2.uio.no>
References: <6.1.2.0.0.20041114173514.02e0cd80@127.0.0.1> <4199A06D.3030302@eb2bcom.com> <419A9D28.7020407@eb2bcom.com> <16795.36990.306894.866399@bombur2.uio.no>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5E143A6C-38C5-11D9-A5A2-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
From: Rici Lake <rici@ricilake.net>
Subject: Re: LDAPprep Failure was: Re: LDAPprep: mapping of " " values
Date: Wed, 17 Nov 2004 13:20:32 -0500
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

	From: 	  rici@ricilake.net
	Subject: 	Re: LDAPprep Failure was: Re: LDAPprep: mapping of " " values
	Date: 	November 17, 2004 1:19:32 PM GMT-05:00
	To: 	  h.b.furuseth@usit.uio.no


On 17-Nov-04, at 12:55 PM, Hallvard B Furuseth wrote:

> Let's see - attribute values that fail LDAPprep...
 > ...

It seems to me that there are only two possible solutions:

1) Reject as syntactically invalid any value which would
    not compare equal to itself, as Kurt suggested

2) Specify the fall-back of either octet identity matching
    or NFD/NFC matching (i.e. not compatibility, just
    canonicalisation) for values which fail the LDAPprep
    conversion.

I would personally prefer the second option, although it is
not ideal either, since it would allow the use of characters
added to Unicode since Unicode 3.2. Some of these characters
are necessary for the representation of names in African and
Native American languages.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 15:37: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 PAA09968
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 15:37:44 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHKYJjH062731;
	Wed, 17 Nov 2004 20:36: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 iAHKVqpa062380;
	Wed, 17 Nov 2004 20:31: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); Wed, 17 Nov 2004 20:31:51 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHKVk7t062369
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 20:31:47 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAHLsxrJ008858
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 21:55:01 GMT
Mime-Version: 1.0 (Apple Message framework v619)
Content-Transfer-Encoding: 7bit
Message-Id: <AB444A24-38D7-11D9-A5A2-000A957D48A8@ricilake.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Draft: Additional Security Considerations for Use of LDAP Directories
Date: Wed, 17 Nov 2004 15:31:32 -0500
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Since I'm currently being paid to do work on security systems, I would 
hate for it to be thought that I don't take security seriously. I 
prepared the following over lunch; if the WG feels that it might be 
useful in some LDAP document, edited or otherwise, feel free to use it. 
(A few phrases were cribbed from RFC-2616, but most of the words are 
mine.)

Additional Security Considerations for Use of LDAP Directories

LDAP is a protocol for interchange of information between Directories 
and Directory Applications, including Directory clients. Like any 
generic data transfer protocol, it cannot and does not pretend to 
regulate the content of the data that is transferred. However, the 
following guidelines are provided for application developers, directory 
providers, and users of directory services.

Information stored in Directories is often used for authentication, 
authorisation and validation of principals and resources. In 
particular, attribute values in the Directory may be used as 
identification strings in other applications. Care must be taken to 
ensure interoperability of the Directory with such applications.

It is rare that an identifier string is simply an uninterpreted 
sequence of octets. Most applications impose syntactic limitations on 
identifier strings, provide canonical equivalence of different octet 
sequences, and in many cases reinterpret the identifier string as a 
more complex structure of individual components, each of which may have 
their own syntax and equivalence rules. Significant security problems 
can arise from the use of naive string comparison of such identifiers.

In particular, identifier strings SHOULD be stored in the Directory 
with Syntaxes and Matching Rules which precisely correspond to the 
Syntax and Matching Rules used by the other application(s) which use 
the same identifier strings. Failure to do so may result in incorrect 
authentication or authorisation decisions. For example, a resource with 
a case-insensitive name cannot be protected by an authorisation rule 
based on case-sensitive pattern matching. Similarly, case-insensitive 
matching of case-sensitive principal identities may result in a 
principal being granted access to a resource belong to a different 
principal.

Consideration should be given to representing identifier strings which 
are representations of complex abstract syntaxes in a form which more 
precisely captures the nature of the string. DistinguishedName syntax 
can be used, for example, in the same way that DNS names are 
represented as a sequence of dc attribute assertions. This may allow 
for customising syntax and matching rules of individual components of 
an identifier string.

Some information stored in Directories may be used for visual 
validation by human readers. Directory clients displaying such 
information SHOULD follow the guidelines provided in [UTR 36 Security 
Considerations for the Implementation of Unicode and Related 
Technology], particularly the section on visual spoofing. Common visual 
spoofing techniques such as bidi spoofing and substitution of 
homographs from other scripts can be avoided by restricting each 
individual component of an identifier string to a single script or 
providing some obvious visual clue when scripts are mixed within a 
component. Bidirectional ambiguity can be controlled with judicious use 
of explicit directionality markers surrounding components and/or the 
composite identifier string.

Some identifier strings may carry private or confidential information 
as part of the string itself. Even a Directory DistinguishedName may 
contain specific information about organizational structure or personal 
data about the user to which it pertains. Distribution of such 
information can be constrained by law in certain countries.




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 15:59: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 PAA12560
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 15:59:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHKqETH066082;
	Wed, 17 Nov 2004 20:58: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 iAHKiav9065358;
	Wed, 17 Nov 2004 20:44: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); Wed, 17 Nov 2004 20:44:36 +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 iAHKiXgw065345
	for <ietf-ldapbis@openldap.org>; Wed, 17 Nov 2004 20:44:34 GMT
	(envelope-from rbunch@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 PAA10688;
	Wed, 17 Nov 2004 15:44:31 -0500 (EST)
Message-Id: <200411172044.PAA10688@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-filter-09.txt
Date: Wed, 17 Nov 2004 15:44:30 -0500
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

--NextPart

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

	Title		: LDAP: String Representation of Search Filters
	Author(s)	: M. Smith, T. Howes
	Filename	: draft-ietf-ldapbis-filter-09.txt
	Pages		: 13
	Date		: 2004-11-17
	
LDAP search filters are transmitted in the LDAP protocol using a
   binary representation that is appropriate for use on the network.
   This document defines a human-readable string representation of LDAP
   search filters that is appropriate for use in LDAP URLs [LDAPURL] and
   in other applications.

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

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


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

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


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

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

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

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

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

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

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

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

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 16:33: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 QAA20188
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 16:33:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHLSKZl070790;
	Wed, 17 Nov 2004 21:32:11 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 iAHLIXH5070002;
	Wed, 17 Nov 2004 21:18: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); Wed, 17 Nov 2004 21:18:33 +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 iAHLIVGa069989
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 21:18:32 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 iAHLIVZv027373
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 21:18:31 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041117130424.0315ad68@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 17 Nov 2004 13:18:59 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-08.txt
In-Reply-To: <200411172044.PAA10728@ietf.org>
References: <200411172044.PAA10728@ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Please review changes made in this revision to ensure that
they were made in accordance with established WG consensus
and comment prior to 24 November 2004.  In absence of
significant contention, this I-D will be recommended to
the IESG for consideration as a Proposed Standard.

-- Kurt, as LDAPBIS co-chair

At 12:44 PM 11/17/2004, Internet-Drafts@ietf.org wrote:
>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.
>
>        Title           : LDAP: Uniform Resource Locator
>        Author(s)       : M. Smith, T. Howes
>        Filename        : draft-ietf-ldapbis-url-08.txt
>        Pages           : 15
>        Date            : 2004-11-17
>        
>This document describes a format for a Lightweight Directory Access
>   Protocol (LDAP) Uniform Resource Locator (URL).  An LDAP URL
>   describes an LDAP search operation that is used to retrieve
>   information from an LDAP directory, or, in the context of an LDAP
>   referral or reference, an LDAP URL describes a service where an LDAP
>   operation may be progressed.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-url-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-url-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-url-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.
>Content-Type: text/plain
>Content-ID:     <2004-11-17150942.I-D@ietf.org>
>
>ENCODING mime
>FILE /internet-drafts/draft-ietf-ldapbis-url-08.txt
>
><ftp://ftp.ietf.org/internet-drafts/draft-ietf-ldapbis-url-08.txt>



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 16:33: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 QAA20218
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 16:33:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHLSKZj070790;
	Wed, 17 Nov 2004 21:32: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 iAHLIxku070027;
	Wed, 17 Nov 2004 21:18:59 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 17 Nov 2004 21:18:59 +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 iAHLIvdn070017
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 21:18: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 iAHLIvZv027378
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 21:18:57 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041117131906.03589a80@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 17 Nov 2004 13:19:25 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-09.txt
In-Reply-To: <200411172044.PAA10688@ietf.org>
References: <200411172044.PAA10688@ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Please review changes made in this revision to ensure that
they were made in accordance with established WG consensus
and comment prior to 24 November 2004.  In absence of
significant contention, this I-D will be recommended to
the IESG for consideration as a Proposed Standard.

-- Kurt, as LDAPBIS co-chair

At 12:44 PM 11/17/2004, 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: String Representation of Search Filters
>        Author(s)       : M. Smith, T. Howes
>        Filename        : draft-ietf-ldapbis-filter-09.txt
>        Pages           : 13
>        Date            : 2004-11-17
>        
>LDAP search filters are transmitted in the LDAP protocol using a
>   binary representation that is appropriate for use on the network.
>   This document defines a human-readable string representation of LDAP
>   search filters that is appropriate for use in LDAP URLs [LDAPURL] and
>   in other applications.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-filter-09.txt
>
>To remove yourself from the I-D Announcement list, send a message to 
>i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
>You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
>to change your subscription settings.
>
>
>Internet-Drafts are also available by anonymous FTP. Login with the username
>"anonymous" and a password of your e-mail address. After logging in,
>type "cd internet-drafts" and then
>        "get draft-ietf-ldapbis-filter-09.txt".
>
>A list of Internet-Drafts directories can be found in
>http://www.ietf.org/shadow.html 
>or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>
>Internet-Drafts can also be obtained by e-mail.
>
>Send a message to:
>        mailserv@ietf.org.
>In the body type:
>        "FILE /internet-drafts/draft-ietf-ldapbis-filter-09.txt".
>        
>NOTE:   The mail server at ietf.org can return the document in
>        MIME-encoded form by using the "mpack" utility.  To use this
>        feature, insert the command "ENCODING mime" before the "FILE"
>        command.  To decode the response(s), you will need "munpack" or
>        a MIME-compliant mail reader.  Different MIME-compliant mail readers
>        exhibit different behavior, especially when dealing with
>        "multipart" MIME messages (i.e. documents which have been split
>        up into multiple messages), so check your local documentation on
>        how to manipulate these messages.
>                
>                
>Below is the data which will enable a MIME compliant mail reader
>implementation to automatically retrieve the ASCII version of the
>Internet-Draft.
>Content-Type: text/plain
>Content-ID:     <2004-11-17150933.I-D@ietf.org>
>
>ENCODING mime
>FILE /internet-drafts/draft-ietf-ldapbis-filter-09.txt
>
><ftp://ftp.ietf.org/internet-drafts/draft-ietf-ldapbis-filter-09.txt>



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 16:44: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 QAA21675
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 16:44:09 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHLeEF2071763;
	Wed, 17 Nov 2004 21:43: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 iAHLZc7H071408;
	Wed, 17 Nov 2004 21:35: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); Wed, 17 Nov 2004 21:35:38 +0000
Received: from e5.ny.us.ibm.com (e5.ny.us.ibm.com [32.97.182.105])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHLZah3071353
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 21:35:36 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e5.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id iAHLZFMW522856
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 16:35:15 -0500
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iAHLZFb3285510
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 16:35:15 -0500
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1])
	by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAHLZESm023089
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 16:35:15 -0500
Received: from d27ml001.rchland.ibm.com (d27ml001.rchland.ibm.com [9.10.229.77])
	by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAHLZEb0023066
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 17 Nov 2004 16:35:14 -0500
In-Reply-To: <6.1.2.0.0.20041116223709.02efefc0@127.0.0.1>
Subject: Re: LDAPprep: mapping of " " values
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OF76227A03.237ABCAB-ON86256F4F.00655EB8-86256F4F.00769274@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Wed, 17 Nov 2004 15:35:13 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Build V70_M2_07222004 Beta 2|July
 22, 2004) at 11/17/2004 03:35:13 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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





I've been trying to think through this and some of the other examples
presented regarding spaces.

I suggest that LDAPprep:
- optionally(?) collapse adjacent spaces into a single space
- state that empty string in = empty string out

I assume we can sort out the combining character issues, BiDi, etc. I am
way out of my depth there.

I further suggest that the matching rules define the handling of leading
and trailing spaces in both the entry values and the assertion values.

Preparation for the existing string matching rules would then be something
like:

Entry values are prepared as follows:
1) apply LDAPprep, collapsing adjacent spaces
2) remove all leading and trailing spaces.  This can result in an empty
string.

Filter substrings are prepared as follows:

Note: Its a bit unclear at the protocol level whether (ou=foo) should
result in an initial, any, or final filter component.  I assume all three
are valid and basically equivalent.  [filter] implies it should be an any
filter -- substring = attr EQUALS [initial] any [final].

1) apply LDAPprep.
2) if this is the first substring in a filter, remove leading spaces.  This
can result in an empty string.
3) if this is the last substring in a filter, remove trailing spaces.  This
can result in an empty string.


Using examples previously presented:
(ou= * ) matches everything (empty substring, *, empty substring)
(ou=* ) matches everything
(ou= *) matches everything

Its clear to me that not everyone will agree on this (a solution follows),
but the existing definitions of string matches imply that " foo " matches
"foo" and vice versa.  I don't see how to reconcile that with having " *"
match values with a leading space; having " foo*" match the value " foobar"
ought to imply that "foo*" should NOT match " foobar".

(l= * * ) matches values containing at least one space (empty substring, *,
" ", *, empty substring)

From the note below:
(l=foo * bar) does not match "foo bar" -- it matches "foo X bar" where X is
zero or more non-whitespace characters.  To match "foo bar" would require
preparing "foo " and " bar" differently depending on the contents of the
other substrings - and not just the next or previous substrings.  That
seems unwieldly.  The alternate filter (&(l=foo *bar)(l=foo* bar)) would
match as Kurt seemed to be suggesting "foo * bar" should act.

And, should we ever resolve the empty IA5 String discussion:
"" matches an empty string or values consisting solely of whitespace

If matching with leading and/or trailing spaces is desired, I suggest
defining new matching rules like caseIgnoreWithWhitespaceMatch.  That name
suggests all whitespace is significant.  Maybe LDAPprep should have a
parameter determining whether spaces should be collapsed at all -- or maybe
it should be left to the matching rules to do this.  But my intent is that
this hypothetical caseIgnoreWithWhitespaceMatch rule could behave like:

Entry values are prepared as follows:
1) apply LDAPprep

Filter substrings are prepared as follws:
1) apply LDAPprep
2) if this is the first substring in a filter, remove all but one leading
spaces
3) if this is the last substring in a filter, remove all but one trailing
spaces

Then:
- " foo " does not match "foo" or vice versa
- " *" matches only values with leading whitespace, etc.
- " * * " matches strings with a leading space, trailing space, and at
least one other embedded space surrounded by non-whitespace


John  McMeeking


owner-ietf-ldapbis@OpenLDAP.org wrote on 11/17/2004 01:00:27 AM:

> At 09:11 PM 11/16/2004, Steven Legg wrote:
> >It is clear to me now that treating all strings and substrings exactly
> >the same way is the problem, no matter what that way is.
>
> I actually reached the same conclusion.  As it stands now,
> (l=foo * bar) will match "foobar".  That seems counter to
> the X.520/LDAP specification of these matching rules.
>
> >I am now arguing for LDAPprep and/or syntaxes to be revised so that
> whitespace treatment is dependent on the context of the (sub)string.
> Sometimes that means reducing a string of all spaces to an empty string,
> >and sometimes it doesn't.
>
> Problem is that this is not sufficient in the above case.
> (l=foo * bar) needs to match "foo bar" as well as "foo  bar"
> as well as "foo X bar"  We cannot simply apply LDAPprep to
> each substring and the value and match octet wise.  Also,
> as Rici noted, we have to be careful not that (l=x*)
> doesn't match "x'" where ' is a combining character.
>
> Seems what we to do is remove the insignificant character
> removal step from LDAPprep (or have it only collapse
> adjacent spaces into one space) and then deal with
> space issues in matching rule specification.
>
> This implies a divergence from Stringprep which calls
> for the output to compared code-point for code-point.
>
> Kurt
>



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 16:48: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 PAA12564
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 15:59:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAHKqETJ066082;
	Wed, 17 Nov 2004 20:58: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 iAHKig8B065376;
	Wed, 17 Nov 2004 20:44: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); Wed, 17 Nov 2004 20:44:42 +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 iAHKieKL065366
	for <ietf-ldapbis@openldap.org>; Wed, 17 Nov 2004 20:44:40 GMT
	(envelope-from rbunch@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 PAA10728;
	Wed, 17 Nov 2004 15:44:37 -0500 (EST)
Message-Id: <200411172044.PAA10728@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-url-08.txt
Date: Wed, 17 Nov 2004 15:44:37 -0500
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

--NextPart

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

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

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-url-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-url-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-url-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-11-17150942.I-D@ietf.org>

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

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

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

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 17 19:33: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 TAA07129
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Nov 2004 19:33:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAI0MPXN080794;
	Thu, 18 Nov 2004 00:31: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 iAI0LlJP080785;
	Thu, 18 Nov 2004 00:21:47 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, 18 Nov 2004 00:21:47 +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 iAI0LgJS080774
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 00:21:46 GMT
	(envelope-from hbf@bombur2.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.34)
	id 1CUa3P-0000qG-9T
	for ietf-ldapbis@OpenLDAP.org; Thu, 18 Nov 2004 01:21:39 +0100
Received: from bombur2.uio.no ([129.240.186.24])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CUa3K-0000ue-HX
	for ietf-ldapbis@OpenLDAP.org; Thu, 18 Nov 2004 01:21:34 +0100
Received: from hbf by bombur2.uio.no with local (Exim 4.30)
	id 1CUa3K-00008w-0d
	for ietf-ldapbis@OpenLDAP.org; Thu, 18 Nov 2004 01:21:34 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20041118qz0j@bombur2.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: mail loss
Date: Thu, 18 Nov 2004 01:21:34 +0100
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

If anyone feel I owe them a reply, please tell me.  I've lost
some mail and may lose a little more until the problem is fixed.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 01:49:54 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 BAA06798
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 01:49:54 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAI6kIjN095441;
	Thu, 18 Nov 2004 06:48: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 iAI6iG5e095402;
	Thu, 18 Nov 2004 06:44: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); Thu, 18 Nov 2004 06:44:15 +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 iAI6iEtD095392
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 06:44:14 GMT
	(envelope-from hbf@bombur2.uio.no)
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.34)
	id 1CUg1a-00079f-Pn
	for ietf-ldapbis@OpenLDAP.org; Thu, 18 Nov 2004 07:44:10 +0100
Received: from bombur2.uio.no ([129.240.186.24])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CUg1X-00079y-Qb; Thu, 18 Nov 2004 07:44:07 +0100
Received: from hbf by bombur2.uio.no with local (Exim 4.30)
	id 1CUg1W-0000bQ-Vu; Thu, 18 Nov 2004 07:44:06 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16796.17590.974287.33142@bombur2.uio.no>
Date: Thu, 18 Nov 2004 07:44:06 +0100
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values
In-Reply-To: <OF76227A03.237ABCAB-ON86256F4F.00655EB8-86256F4F.00769274@us.ibm.com>
References: <6.1.2.0.0.20041116223709.02efefc0@127.0.0.1>
	<OF76227A03.237ABCAB-ON86256F4F.00655EB8-86256F4F.00769274@us.ibm.com>
X-Mailer: VM 7.18 under Emacs 21.3.1
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I need to read up on X.520, but:  The behaviour which seems most
consistent with the current ldapbis documents seems to me to be:

- "foo * bar" does not match "foo bar" - the two spaces in the
  substrings do not match _disjoint_ portions of "foo bar".
  Nor does it match "foo  bar", which is equivalent to "foo bar".

- " *" matches all non-empty values.
  (Matches " " where the space is significant, matches other
   non-empty values where an initial space is insignificant.)

- "* *" matches all values containing a space.

- So " * * " matches <anything non-space spaces non-space anything>.
  (Collapse multiple spaces, then combine the two rules above.)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 10:05: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 KAA00824
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 10:05:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIEkLSq017641;
	Thu, 18 Nov 2004 15:03: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 iAIEfmg9017343;
	Thu, 18 Nov 2004 14:41:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 18 Nov 2004 14:41:48 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIEflYk017332
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 14:41:48 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP id 4009516D2DC
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 06:41:45 -0800 (PST)
Message-ID: <419CB4A4.2090901@pearlcrescent.com>
Date: Thu, 18 Nov 2004 09:41:40 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-08.txt
References: <200411172044.PAA10728@ietf.org> <6.1.2.0.0.20041117130424.0315ad68@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041117130424.0315ad68@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:
 >
> Please review changes made in this revision to ensure that
> they were made in accordance with established WG consensus
> and comment prior to 24 November 2004.  In absence of
> significant contention, this I-D will be recommended to
> the IESG for consideration as a Proposed Standard.

A reminder: Appendix B provides a detailed list of the changes made for 
this revision.  The most significant change is to the ABNF, which is now 
simpler because it avoids the <prose-val> (bracketed-string) productions 
(as suggested by Steven Legg and seconded by Kurt Zeilenga).

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 10: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 KAA00837
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 10:05:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIEqKMX017932;
	Thu, 18 Nov 2004 15:03: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 iAIElKSh017686;
	Thu, 18 Nov 2004 14:47: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); Thu, 18 Nov 2004 14:47:19 +0000
Received: from murdock.dreamhost.com (postfix@murdock.dreamhost.com [66.33.205.6])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIElFAs017674
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 14:47:19 GMT
	(envelope-from mcs@pearlcrescent.com)
Received: from [127.0.0.1] (pcp04149991pcs.sanarb01.mi.comcast.net [68.41.54.14])
	by murdock.dreamhost.com (Postfix) with ESMTP id 49A2216D267
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 06:47:13 -0800 (PST)
Message-ID: <419CB5F0.7@pearlcrescent.com>
Date: Thu, 18 Nov 2004 09:47:12 -0500
From: Mark Smith <mcs@pearlcrescent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-09.txt
References: <200411172044.PAA10688@ietf.org> <6.1.2.0.0.20041117131906.03589a80@127.0.0.1>
In-Reply-To: <6.1.2.0.0.20041117131906.03589a80@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

See Appendix B for a detailed list of changes made for this revision. 
All of the changes were discussed in detail very recently on the mailing 
list of course.

-Mark


Kurt D. Zeilenga wrote:

> Please review changes made in this revision to ensure that
> they were made in accordance with established WG consensus
> and comment prior to 24 November 2004.  In absence of
> significant contention, this I-D will be recommended to
> the IESG for consideration as a Proposed Standard.
> 
> -- Kurt, as LDAPBIS co-chair
> 
> At 12:44 PM 11/17/2004, 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: String Representation of Search Filters
>>       Author(s)       : M. Smith, T. Howes
>>       Filename        : draft-ietf-ldapbis-filter-09.txt
>>       Pages           : 13
>>       Date            : 2004-11-17
>>  ...



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 10:19: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 KAA02874
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 10:19:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIFGKPr019941;
	Thu, 18 Nov 2004 15:17: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 iAIFFRsC019919;
	Thu, 18 Nov 2004 15:15: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); Thu, 18 Nov 2004 15:15: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 iAIFFPuC019909
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 15:15:26 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 iAIFFPZv033650;
	Thu, 18 Nov 2004 15:15:25 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Thu, 18 Nov 2004 07:15:52 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <16796.17590.974287.33142@bombur2.uio.no>
References: <6.1.2.0.0.20041116223709.02efefc0@127.0.0.1>
 <OF76227A03.237ABCAB-ON86256F4F.00655EB8-86256F4F.00769274@us.ibm.com>
 <16796.17590.974287.33142@bombur2.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:44 PM 11/17/2004, Hallvard B Furuseth wrote:
>I need to read up on X.520, but:  The behaviour which seems most
>consistent with the current ldapbis documents seems to me to be:
>
>- "foo * bar" does not match "foo bar" - the two spaces in the
>  substrings do not match _disjoint_ portions of "foo bar".
>  Nor does it match "foo  bar", which is equivalent to "foo bar".

My view is that (l=foo * bar) since "foo X bar" without
consuming any portion of X, it should match "foo  bar"
(which passes your disjoint concern), and since "foo bar"
is equivalent, that too.

>- " *" matches all non-empty values.
>  (Matches " " where the space is significant, matches other
>   non-empty values where an initial space is insignificant.)

What about (l= * )?  Does it match " "?  If so, wouldn't the
initial and final be matching non-disjoint portions?

I note that by having " *" match "foo", you are saying that
because initial substring is matching leading spaces in an
equivalent value, it must also match "foo".

Why aren't you applying the same logic to the first case? 

>- "* *" matches all values containing a space.

If " *" matches "foo" then "* *" should match "foo" because
the ANY substring has even less restrictions on it than an
INITIAL (or FINAL) substring.  That is, basically by definition,
if (l=X*) matches, (l=*X*) MUST match for all X.  Likewise for
(l=*X).

>- So " * * " matches <anything non-space spaces non-space anything>.
>  (Collapse multiple spaces, then combine the two rules above.)

I disagree.  It should match "foo".  This because the INITIAL
substring can match a leading space in an equivalent value,
the ANY string can match a subsequent leading space in an
equivalent value, and the FINAL can match a trailing space
in the an equivalent value.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 11:29: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 LAA08567
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 11:29:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIGHa4W024822;
	Thu, 18 Nov 2004 16:27:59 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 iAIGG3C7024741;
	Thu, 18 Nov 2004 16: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); Thu, 18 Nov 2004 16:16:03 +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 iAIGFxb3024707;
	Thu, 18 Nov 2004 16:16:00 GMT
	(envelope-from hbf@bombur2.uio.no)
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.34)
	id 1CUowu-0000Nq-FF; Thu, 18 Nov 2004 17:15:56 +0100
Received: from bombur2.uio.no ([129.240.186.24])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CUowk-0007y8-KY; Thu, 18 Nov 2004 17:15:46 +0100
Received: from hbf by bombur2.uio.no with local (Exim 4.30)
	id 1CUowk-0000xx-9a; Thu, 18 Nov 2004 17:15:46 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16796.51890.284780.563253@bombur2.uio.no>
Date: Thu, 18 Nov 2004 17:15:46 +0100
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values
In-Reply-To: <6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
References: <6.1.2.0.0.20041116223709.02efefc0@127.0.0.1>
	<OF76227A03.237ABCAB-ON86256F4F.00655EB8-86256F4F.00769274@us.ibm.com>
	<16796.17590.974287.33142@bombur2.uio.no>
	<6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
X-Mailer: VM 7.18 under Emacs 21.3.1
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I wonder if I should pretend I never wrote that message...
OTOH, I still wonder if something like it does make the best sense.

Kurt D. Zeilenga writes:
> At 10:44 PM 11/17/2004, Hallvard B Furuseth wrote:
>>I need to read up on X.520, but:  The behaviour which seems most
>>consistent with the current ldapbis documents seems to me to be:

Yuck.  That was _not_ the introductory statement which should have been
there.  Add "...plus a reasonable way to treat spaces differently next
to the '*' in substrings, plus not treating empty strings as an error in
this context":-(

>>- "foo * bar" does not match "foo bar" - the two spaces in the
>>  substrings do not match _disjoint_ portions of "foo bar".
>>  Nor does it match "foo  bar", which is equivalent to "foo bar".
>
> My view is that (l=foo * bar) since "foo X bar" without
> consuming any portion of X, it should match "foo  bar"
> (which passes your disjoint concern), and since "foo bar"
> is equivalent, that too.

The _prepared_ substrings are matched with the _prepared_ attribute
value.  E.g. in [Syntaxes] 4.2.6 (caseExactSubstringsMatch).  That one,
at least, seems clear to me with the present drafts if one is to take
the spaces as significant at all.  It would certainly be useful to have
it match "foo bar" but not "foobar", but I can't justify such a result
in a way I can approve of.

Skipping a few now-irrelevant points - but it all made sense until I got
to...

>>- "* *" matches all values containing a space.
>
> If " *" matches "foo" then "* *" should match "foo" because
> the ANY substring has even less restrictions on it than an
> INITIAL (or FINAL) substring.  That is, basically by definition,
> if (l=X*) matches, (l=*X*) MUST match for all X.  Likewise for
> (l=*X).

Oops.  Forgot that one.  I arrived by the other cases by similar logic.
E.g. (l= x*) matches "x", so (l= *) should also match "x".  (l= )
matches " ", so (l= *) should also match " ".  Oh well.

>>- So " * * " matches <anything non-space spaces non-space anything>.
>>  (Collapse multiple spaces, then combine the two rules above.)
>
> I disagree.  It should match "foo".  This because the INITIAL
> substring can match a leading space in an equivalent value,
> the ANY string can match a subsequent leading space in an
> equivalent value, and the FINAL can match a trailing space
> in the an equivalent value.

That's one I disagree with.  And I don't get the explanation, either
in terms of the current draft nor in terms of changing spaces to be
different in substrings.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 11:38: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 LAA09407
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 11:38:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIGZa5X026183;
	Thu, 18 Nov 2004 16:36: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 iAIGUJh1025802;
	Thu, 18 Nov 2004 16:30:19 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, 18 Nov 2004 16:30:19 +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 iAIGUGDf025769;
	Thu, 18 Nov 2004 16:30:16 GMT
	(envelope-from hbf@bombur2.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.34)
	id 1CUpAi-0002eV-V4; Thu, 18 Nov 2004 17:30:13 +0100
Received: from bombur2.uio.no ([129.240.186.24])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CUpAh-000212-1M; Thu, 18 Nov 2004 17:30:11 +0100
Received: from hbf by bombur2.uio.no with local (Exim 4.30)
	id 1CUpAe-0000z9-Rf; Thu, 18 Nov 2004 17:30:08 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16796.52752.846840.9431@bombur2.uio.no>
Date: Thu, 18 Nov 2004 17:30:08 +0100
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values
In-Reply-To: <16796.51890.284780.563253@bombur2.uio.no>
References: <6.1.2.0.0.20041116223709.02efefc0@127.0.0.1>
	<OF76227A03.237ABCAB-ON86256F4F.00655EB8-86256F4F.00769274@us.ibm.com>
	<16796.17590.974287.33142@bombur2.uio.no>
	<6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
	<16796.51890.284780.563253@bombur2.uio.no>
X-Mailer: VM 7.18 under Emacs 21.3.1
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Hallvard B Furuseth writes:
>> My view is that (l=foo * bar) since "foo X bar" without
>> consuming any portion of X, it should match "foo  bar"
>> (which passes your disjoint concern), and since "foo bar"
>> is equivalent, that too.
>
> The _prepared_ substrings are matched with the _prepared_ attribute
> value.  E.g. in [Syntaxes] 4.2.6 (caseExactSubstringsMatch).

I've lost track of this... Is each substring prepared separately?
Then the spaces in the filter disappear, and it matches "foobar".

Otherwise, if the substringAsssertion is prepared before splitting it
at the '*'s, then hex-escaped characters are going to be troublesome.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 13:20: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 NAA18637
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 13:20:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIIGMH0030883;
	Thu, 18 Nov 2004 18:18: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 iAIIEQi6030763;
	Thu, 18 Nov 2004 18:14: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); Thu, 18 Nov 2004 18:14: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 iAIIELku030753
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 18:14:25 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 iAIIEKZv034819
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 18:14:20 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041118101212.034fe388@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Thu, 18 Nov 2004 10:14:47 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: BIDI (was: Stringprep Considered Harmful)
In-Reply-To: <6.1.2.0.0.20041115171902.02fabc90@127.0.0.1>
References: <0CAE7C1A-31B2-11D9-ADDC-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041109123329.02ed39e8@127.0.0.1>
 <3F94FD6A-342A-11D9-ADDC-000A957D48A8@ricilake.net>
 <419449BC.6010003@eb2bcom.com>
 <6.1.2.0.0.20041113091926.031def28@127.0.0.1>
 <2F276C9F-36E1-11D9-A5A2-000A957D48A8@ricilake.net>
 <6.1.2.0.0.20041115171902.02fabc90@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steve Hanna provided the following comment:
>I agree with removing the bidi check from LDAPprep.
>The purpose of LDAPprep and PKIXprep is to allow
>LDAP servers and certification path validators to
>compare Unicode strings in a reasonable and predictable
>manner. Human comparison of strings is not an
>important part of the use case so spoofing is not
>a big concern. The bidi checks outlaw useful Unicode
>strings without providing any benefit in this context.
>Therefore, we should remove them.

-- Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 18 14:49: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 OAA26147
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Nov 2004 14:49:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAIJkM9F034606;
	Thu, 18 Nov 2004 19:48: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 iAIJfZQR034345;
	Thu, 18 Nov 2004 19:41: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); Thu, 18 Nov 2004 19:41:35 +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 iAIJfXI9034335
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 18 Nov 2004 19:41:33 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 iAIJfWZv035275;
	Thu, 18 Nov 2004 19:41:33 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041118113702.03668930@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Thu, 18 Nov 2004 11:41:59 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <16796.52752.846840.9431@bombur2.uio.no>
References: <6.1.2.0.0.20041116223709.02efefc0@127.0.0.1>
 <OF76227A03.237ABCAB-ON86256F4F.00655EB8-86256F4F.00769274@us.ibm.com>
 <16796.17590.974287.33142@bombur2.uio.no>
 <6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
 <16796.51890.284780.563253@bombur2.uio.no>
 <16796.52752.846840.9431@bombur2.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:30 AM 11/18/2004, Hallvard B Furuseth wrote:
>Hallvard B Furuseth writes:
>>> My view is that (l=foo * bar) since "foo X bar" without
>>> consuming any portion of X, it should match "foo  bar"
>>> (which passes your disjoint concern), and since "foo bar"
>>> is equivalent, that too.
>>
>> The _prepared_ substrings are matched with the _prepared_ attribute
>> value.  E.g. in [Syntaxes] 4.2.6 (caseExactSubstringsMatch).
>
>I've lost track of this... Is each substring prepared separately?

At presently specified, yes.

>Then the spaces in the filter disappear, and it matches "foobar".

Right. And that's a problem.  (l=foo *) and (l=* bar) should not
match "foobar", that's plain wrong IMO.

>Otherwise, if the substringAsssertion is prepared before splitting it
>at the '*'s, then hex-escaped characters are going to be troublesome.

Whether or not the assertion was presented via the string
representation or via some other means, is irrelevant to
the protocol and the matching.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 09:38: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 JAA06079
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 09:38:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJEYTuC078847;
	Fri, 19 Nov 2004 14:36: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 iAJEVQ4f078671;
	Fri, 19 Nov 2004 14:31: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); Fri, 19 Nov 2004 14:31:25 +0000
Received: from e5.ny.us.ibm.com (e5.ny.us.ibm.com [32.97.182.105])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJEVL7c078626
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 14:31:24 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e5.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id iAJEUsMW340128
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 09:30:55 -0500
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iAJEUsox230418
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 09:30:54 -0500
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAJEUsQi024964
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 09:30:54 -0500
Received: from d27ml001.rchland.ibm.com (d27ml001.rchland.ibm.com [9.10.229.77])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAJEUsIh024958
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 09:30:54 -0500
In-Reply-To: <6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
Subject: Re: LDAPprep: mapping of " " values
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Fri, 19 Nov 2004 08:30:52 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Build V70_M2_07222004 Beta 2|July
 22, 2004) at 11/19/2004 08:30:53 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>






"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote on 11/18/2004 09:15:52 AM:

> At 10:44 PM 11/17/2004, Hallvard B Furuseth wrote:
> >I need to read up on X.520, but:  The behaviour which seems most
> >consistent with the current ldapbis documents seems to me to be:
> >
> >- "foo * bar" does not match "foo bar" - the two spaces in the
> >  substrings do not match _disjoint_ portions of "foo bar".
> >  Nor does it match "foo  bar", which is equivalent to "foo bar".
>
> My view is that (l=foo * bar) since "foo X bar" without
> consuming any portion of X, it should match "foo  bar"
> (which passes your disjoint concern), and since "foo bar"
> is equivalent, that too.

I don't see how (l=foo * bar) can match "foo bar" (single space).  Doesn't
that require that the trailing and leading spaces in the filter substring
match the same character?  The * is supposed to match zero or more
characters between two substrings, not allow the substrings to overlap.

I'd also argue that (l=foo * bar) does NOT match "foo  bar" because "foo
bar" is equivalent to "foo bar".  I know it seems like it ought to match,
and I wouldn't complain if it did match, but I think it is reasonable to
say that for matching purposes, the server compares filter substrings to
the equivalent prepared string (according to the matching rule) "foo bar",
which (l=foo * bar) does not match (or so I believe).  I think that would
be far easier to describe than, and has a consistency that I find lacking
in, these examples where sometimes a given space is insignificant, and
sometimes the same space in the same string (entry value or filter
substring) is significant.

>
> Kurt
>

John McMeeking



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 10:12: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 KAA09771
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 10:12:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJF4TMc080019;
	Fri, 19 Nov 2004 15:11: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 iAJF1cqi079960;
	Fri, 19 Nov 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); Fri, 19 Nov 2004 15:01:38 +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 iAJF1Wc6079949
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 15:01:32 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 iAJF1VZv041561;
	Fri, 19 Nov 2004 15:01:32 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041119065459.03239588@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Fri, 19 Nov 2004 07:01:57 -0800
To: John McMeeking <jmcmeek@us.ibm.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@
 us.ibm.com>
References: <6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
 <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:30 AM 11/19/2004, John McMeeking wrote:
>"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote on 11/18/2004 09:15:52 AM:
>> At 10:44 PM 11/17/2004, Hallvard B Furuseth wrote:
>> >I need to read up on X.520, but:  The behaviour which seems most
>> >consistent with the current ldapbis documents seems to me to be:
>> >
>> >- "foo * bar" does not match "foo bar" - the two spaces in the
>> >  substrings do not match _disjoint_ portions of "foo bar".
>> >  Nor does it match "foo  bar", which is equivalent to "foo bar".
>>
>> My view is that (l=foo * bar) since "foo X bar" without
>> consuming any portion of X, it should match "foo  bar"
>> (which passes your disjoint concern), and since "foo bar"
>> is equivalent, that too.
>
>I don't see how (l=foo * bar) can match "foo bar" (single space).  Doesn't
>that require that the trailing and leading spaces in the filter substring
>match the same character?  The * is supposed to match zero or more
>characters between two substrings, not allow the substrings to overlap.

It's matching the same trailing/space space in the same sense
that (l= * ) matches " ".

>I'd also argue that (l=foo * bar) does NOT match "foo  bar" because "foo
>bar" is equivalent to "foo bar".  I know it seems like it ought to match,
>and I wouldn't complain if it did match, but I think it is reasonable to
>say that for matching purposes, the server compares filter substrings to
>the equivalent prepared string (according to the matching rule) "foo bar",
>which (l=foo * bar) does not match (or so I believe).  I think that would
>be far easier to describe than, and has a consistency that I find lacking
>in, these examples where sometimes a given space is insignificant, and
>sometimes the same space in the same string (entry value or filter
>substring) is significant.

Here's the question, can spaces in the asserted value match
insignificant spaces in the attribute value?  If we say no,
then (l= * ) must not match any string.  If we say yes,
then (l= * ) matches every string.  And, as I've shown above,
the choice impacts other matching behavior.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 10:25: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 KAA11556
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 10:25:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJFMTAf081087;
	Fri, 19 Nov 2004 15:23: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 iAJFIZQp080908;
	Fri, 19 Nov 2004 15:18: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); Fri, 19 Nov 2004 15:18:35 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJFIWaQ080896
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 15:18:33 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAJGgJrJ018179;
	Fri, 19 Nov 2004 16:42:20 GMT
In-Reply-To: <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@us.ibm.com>
References: <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@us.ibm.com>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <3FA5CC30-3A3E-11D9-A5A2-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org
From: Rici Lake <rici@ricilake.net>
Subject: Re: LDAPprep: mapping of " " values
Date: Fri, 19 Nov 2004 10:18:21 -0500
To: John McMeeking <jmcmeek@us.ibm.com>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I don't know how complex substring matching should get but it does seem 
to me that there is a use for being able to express word-aligned 
substring matches without jumping through a lot of hoops or thinking 
deeply about edge cases.

How about the following:

-- existing wording of substring matching rule

The rule evaluates to TRUE if and only the prepared substrings of the 
assertion value match disjoint portions of the prepared attribute value 
character string in the order of the substrings in the assertion value, 
and

an <initial> substring, if present, matches the beginning of the 
prepared attribute value character string, and

a <final> substring, if present, matches the end of the prepared 
attribute value character string

-- proposed addition:

, and

an <any> substring, if present and starting with an insignificant space 
as per [strprep] either matches the beginning of the prepared attribute 
value character string or matches the attribute value character string 
at a position following a "breaking space", and

an <any> substring, if present and ending with an insignificant space 
as per [strprep] either matches the end of the prepared attribute value 
character string or matches the attribute value character string at a 
position immediately preceding a "breaking space"

where "breaking space" is defined (similarly to [strprep]) as the SPACE 
(U+0020) code point followed by no combining marks.

-- end of proposed addition.

This would have the effect that initial and final spaces in substring 
matches would have the intuitive meaning of restricting the substring 
match to a word boundary. It would also deal with the issue of spaces 
used as base characters for freestanding combining characters, since 
these would not count as "breaking spaces" or "insignificant spaces".

This would allow, for example, the filter:
   (cn=* John * Ellsworth)
to match:
   John Ellsworth
   P. John Ellsworth
   John P. Ellsworth
which is probably what was intended.

It would also allow the filter:
   (|(description=* Angola *)(description=* Mozambique *))
to find references to lusophone African countries, whether or not the 
keywords appeared in initial or final positions.

I don't believe it would add much complexity to the matching algorithm. 
It might be desirable to add a rule to [strprep] which changed SPACE 
(U+0020) to NO-BREAK SPACE (U+00A0) if the following character is a 
combining character, just before the insignificant space removal step 
(at which point, there cannot be any NO-BREAK SPACEs in the string). 
  



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 10:50: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 KAA13996
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 10:50:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJFkT7O082120;
	Fri, 19 Nov 2004 15:48:04 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 iAJFg5Wl081987;
	Fri, 19 Nov 2004 15:42: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, 19 Nov 2004 15:42: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 iAJFg2dM081933;
	Fri, 19 Nov 2004 15:42:03 GMT
	(envelope-from hbf@bombur2.uio.no)
Received: from mail-mx6.uio.no ([129.240.10.47])
	by pat.uio.no with esmtp (Exim 4.34)
	id 1CVAta-0003oA-Fx; Fri, 19 Nov 2004 16:41:58 +0100
Received: from bombur2.uio.no ([129.240.186.24])
	by smtp.uio.no with esmtp (Exim 4.34)
	id 1CVAsl-0006Kd-EX; Fri, 19 Nov 2004 16:41:07 +0100
Received: from hbf by bombur2.uio.no with local (Exim 4.30)
	id 1CVAsk-0002Ee-3P; Fri, 19 Nov 2004 16:41:06 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16798.5137.766552.698963@bombur2.uio.no>
Date: Fri, 19 Nov 2004 16:41:05 +0100
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values
In-Reply-To: <6.1.2.0.0.20041119065459.03239588@127.0.0.1>
References: <6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
	<OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@us.ibm.com>
	<6.1.2.0.0.20041119065459.03239588@127.0.0.1>
X-Mailer: VM 7.18 under Emacs 21.3.1
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga writes:
>At 06:30 AM 11/19/2004, John McMeeking wrote:
>>I don't see how (l=foo * bar) can match "foo bar" (single space).  Doesn't
>>that require that the trailing and leading spaces in the filter substring
>>match the same character?  The * is supposed to match zero or more
>>characters between two substrings, not allow the substrings to overlap.
>
> It's matching the same trailing/space space in the same sense
> that (l= * ) matches " ".

I don't see in which sense (l= * ) matches " " because of trailing
space.  With the old semantics, both spaces in the filter are
significant.  If we make both spaces insignificant, (l= * ) matches " "
becuase (l=*) does.

Going back to "foo bar": If you mean that (l=foo * bar) also matches
"foobar", yes, it also matches "foo bar".  If we are talking about
fixing things so it does not match "foobar", then I don't see it.  You
have to treat one of the spaces in the filter as insignificant and one
as significant.  While that may indeed be preferable, it should be done
with the intent that there is something one can replace the '*' with to
turn it into a successful equality match.

Or we can explicitly decide that it would be very useful to have "word
matching" semantics, where " * " is to be treated as a "*" where the
substrings on both sides are to be delimited by space - even if it is
the same space.

[Skipping the rest for now, this is complex enough already...]

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 11:07:43 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 LAA15819
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 11:07:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJFqTsv082464;
	Fri, 19 Nov 2004 16:06:04 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 iAJFlDId082145;
	Fri, 19 Nov 2004 15:47: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); Fri, 19 Nov 2004 15:47:13 +0000
Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com [32.97.182.102])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJFl7xD082135
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 15:47:07 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e2.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id iAJFl4G4505024
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 10:47:05 -0500
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iAJFl4iH266964
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 10:47:04 -0500
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1])
	by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAJFl4lE014614
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 10:47:04 -0500
Received: from d27ml001.rchland.ibm.com (d27ml001.rchland.ibm.com [9.10.229.77])
	by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAJFl4wq014581
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 10:47:04 -0500
In-Reply-To: <6.1.2.0.0.20041119065459.03239588@127.0.0.1>
Subject: Re: LDAPprep: mapping of " " values
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OFBE0A9077.137A8592-ON86256F51.005543B6-86256F51.0056B4B8@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Fri, 19 Nov 2004 09:47:07 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Build V70_M2_07222004 Beta 2|July
 22, 2004) at 11/19/2004 09:47:04 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





Buried in a previous post, was my view that (l= * ) matches everything
(presence filter the hard way), following these steps:
1) (l = * *) becomes
    initial " ", any "*", final " "
2) preparation of the filter substrings converts this to
   initial "", any "*", final "" (empty substrings)
which is basically a presence filter.

Or it matches nothing because the leading and trailing spaces in "l" values
are not significant.  I think it would not be acceptable to change the
existing string matching rules to state that leading and trailing spaces in
an entry value are significant (or treat consecutive spaces like anything
other than a single space).

And I suggested that if we want a filter like (l = * ) to match " foo " but
not "foo", we should define additional matching rules.

Furthermore, even with such additional matching rules, I'd expect that (l=
* ) would not match " " (single space), as that requires the same character
to be simultaneously matched by all three filter substrings (or at least
the initial and final substrings).

I think I've said enough on this now and will let the working group get on
with their business.


John  McMeeking


owner-ietf-ldapbis@OpenLDAP.org wrote on 11/19/2004 09:01:57 AM:

> At 06:30 AM 11/19/2004, John McMeeking wrote:
> >"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote on 11/18/2004 09:15:52 AM:
> >> At 10:44 PM 11/17/2004, Hallvard B Furuseth wrote:
> >> >I need to read up on X.520, but:  The behaviour which seems most
> >> >consistent with the current ldapbis documents seems to me to be:
> >> >
> >> >- "foo * bar" does not match "foo bar" - the two spaces in the
> >> >  substrings do not match _disjoint_ portions of "foo bar".
> >> >  Nor does it match "foo  bar", which is equivalent to "foo bar".
> >>
> >> My view is that (l=foo * bar) since "foo X bar" without
> >> consuming any portion of X, it should match "foo  bar"
> >> (which passes your disjoint concern), and since "foo bar"
> >> is equivalent, that too.
> >
> >I don't see how (l=foo * bar) can match "foo bar" (single space).
Doesn't
> >that require that the trailing and leading spaces in the filter
substring
> >match the same character?  The * is supposed to match zero or more
> >characters between two substrings, not allow the substrings to overlap.
>
> It's matching the same trailing/space space in the same sense
> that (l= * ) matches " ".
>
> >I'd also argue that (l=foo * bar) does NOT match "foo  bar" because "foo
> >bar" is equivalent to "foo bar".  I know it seems like it ought to
match,
> >and I wouldn't complain if it did match, but I think it is reasonable to
> >say that for matching purposes, the server compares filter substrings to
> >the equivalent prepared string (according to the matching rule) "foo
bar",
> >which (l=foo * bar) does not match (or so I believe).  I think that
would
> >be far easier to describe than, and has a consistency that I find
lacking
> >in, these examples where sometimes a given space is insignificant, and
> >sometimes the same space in the same string (entry value or filter
> >substring) is significant.
>
> Here's the question, can spaces in the asserted value match
> insignificant spaces in the attribute value?  If we say no,
> then (l= * ) must not match any string.  If we say yes,
> then (l= * ) matches every string.  And, as I've shown above,
> the choice impacts other matching behavior.
>
> Kurt
>



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 11:57: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 LAA20797
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 11:57:10 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJGqUo7085900;
	Fri, 19 Nov 2004 16:55: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 iAJGkfGS085572;
	Fri, 19 Nov 2004 16:46: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, 19 Nov 2004 16:46:41 +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 iAJGkeNI085562
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 16:46:40 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 iAJGkdZv042241;
	Fri, 19 Nov 2004 16:46:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041119083106.02d88ff0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Fri, 19 Nov 2004 08:47:03 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <16798.5137.766552.698963@bombur2.uio.no>
References: <6.1.2.0.0.20041118065914.03552e30@127.0.0.1>
 <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@us.ibm.com>
 <6.1.2.0.0.20041119065459.03239588@127.0.0.1>
 <16798.5137.766552.698963@bombur2.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:41 AM 11/19/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 06:30 AM 11/19/2004, John McMeeking wrote:
>>>I don't see how (l=foo * bar) can match "foo bar" (single space).  Doesn't
>>>that require that the trailing and leading spaces in the filter substring
>>>match the same character?  The * is supposed to match zero or more
>>>characters between two substrings, not allow the substrings to overlap.
>>
>> It's matching the same trailing/space space in the same sense
>> that (l= * ) matches " ".
>
>I don't see in which sense (l= * ) matches " " because of trailing
>space.  With the old semantics, both spaces in the filter are
>significant.  If we make both spaces insignificant, (l= * ) matches " "
>becuase (l=*) does.
>
>Going back to "foo bar": If you mean that (l=foo * bar) also matches
>"foobar", yes, it also matches "foo bar".  If we are talking about
>fixing things so it does not match "foobar", then I don't see it.  You
>have to treat one of the spaces in the filter as insignificant and one
>as significant.

Just as in (l= * ) matching " ". 

A single space is significant.  The assertion (l= * ) reads
"match values which start with a space and end with a space".
Can the space the match be same space?
I argue yes, because were there is one space there could be
many spaces.  Hence, each can be viewed as matching different
(disjoint) spaces.

If you take the view that the two spaces in (l= * ) can
only match significant spaces, then (l= * ) cannot matching
any value, not even " ".

>While that may indeed be preferable, it should be done
>with the intent that there is something one can replace the '*' with to
>turn it into a successful equality match.

Er, yes, that is (l=foo * bar) should match "foo X bar" for any
and all X, including an empty X.  "foo " and " bar" are disjoint
parts of "foo X bar" regardless of X.  The insignificant space
rule applies not only the attribute value, but to assertion
value (a sequence of substrings) as a whole.  When matching
against "foo bar", one of the spaces in the assertion value
is insignificant to matching of this attribute value.

One cannot apply the insignificant space rule to individual
substrings as that simply breaks things, leading to oddities
like (l=foo * bar) matching "foobar".

>Or we can explicitly decide that it would be very useful to have "word
>matching" semantics, where " * " is to be treated as a "*" where the
>substrings on both sides are to be delimited by space - even if it is
>the same space.
>
>[Skipping the rest for now, this is complex enough already...]
>
>-- 
>Hallvard


BTW, I'm heading out for a nice weekend away... so have fun
bashing this out without me.




From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 12:13: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 MAA22238
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 12:13:17 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJHAUlw086816;
	Fri, 19 Nov 2004 17:11: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 iAJH5D6e086674;
	Fri, 19 Nov 2004 17:05: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); Fri, 19 Nov 2004 17:05:13 +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 iAJH5C0Z086664
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Nov 2004 17:05: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 iAJH5BZv042377;
	Fri, 19 Nov 2004 17:05:11 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041119085014.0312bda8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Fri, 19 Nov 2004 09:05:35 -0800
To: Rici Lake <rici@ricilake.net>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: John McMeeking <jmcmeek@us.ibm.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <3FA5CC30-3A3E-11D9-A5A2-000A957D48A8@ricilake.net>
References: <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@us.ibm.com>
 <3FA5CC30-3A3E-11D9-A5A2-000A957D48A8@ricilake.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:18 AM 11/19/2004, Rici Lake wrote:
>This would allow, for example, the filter:
>  (cn=* John * Ellsworth)
>to match:
>  John Ellsworth
>  P. John Ellsworth
>  John P. Ellsworth
>which is probably what was intended.

But won't match, as I believe was intended, "JohnEllsworth".

>It would also allow the filter:
>  (|(description=* Angola *)(description=* Mozambique *))
>to find references to lusophone African countries, whether or not the keywords appeared in initial or final positions.

But won't match, as I believe was intended, "Angola&Mozambique".

The problem we have in revised TS is that we're handling
spaces in each substrings in the same way we handle them
in attribute values. This leads to odd behavior.

What we need to do is treat spaces in substrings in
relationship to other substrings and the attribute
value.

-- Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 19 12:39: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 MAA24991
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Nov 2004 12:39:51 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJHYZUn088157;
	Fri, 19 Nov 2004 17:38: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 iAJHUYs1087913;
	Fri, 19 Nov 2004 17:30: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, 19 Nov 2004 17:30:33 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAJHUUG4087881;
	Fri, 19 Nov 2004 17:30:31 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iAJIsJrJ021655;
	Fri, 19 Nov 2004 18:54:21 GMT
In-Reply-To: <6.1.2.0.0.20041119085014.0312bda8@127.0.0.1>
References: <OFBAB09647.9EA5240C-ON86256F51.004D72CE-86256F51.004FB9EA@us.ibm.com> <3FA5CC30-3A3E-11D9-A5A2-000A957D48A8@ricilake.net> <6.1.2.0.0.20041119085014.0312bda8@127.0.0.1>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <B078F03F-3A50-11D9-9A9D-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org, John McMeeking <jmcmeek@us.ibm.com>
From: Rici Lake <rici@ricilake.net>
Subject: Re: LDAPprep: mapping of " " values
Date: Fri, 19 Nov 2004 12:30:21 -0500
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


On 19-Nov-04, at 12:05 PM, Kurt D. Zeilenga wrote:
>
> But won't match, as I believe was intended, "JohnEllsworth".

Actually, I think the average person searching a directory would be 
surprised at a concatenated match like that. It is actually quite 
common for people to do searches which are effectively (with my 
proposal)

   (cn=* J* Ell*)

Which they would probably expect to match "John Ellsworth" and "Jim 
Ellsworth" but not "Jell-O Corporation of America". But maybe I'm 
wrong. (Had they wanted the more inclusive match, they could always 
have left out the second space, so it may be reasonable to assume they 
put it there for some reason.)

> But won't match, as I believe was intended, "Angola&Mozambique".

Ah, well, there you have me. It wouldn't, and that was perhaps not a 
great example. Nor, as written, would it match "Angola, Mozambique, and 
other southern african countries". Matching is an inexact science :) 
And in any case, it is reasonable to expect that Mozambique is not 
going to show up as part of a word, so the word-break comparison is 
maybe not so useful.

It would be possible to define a different substring matching rule 
based, for example, on the Unicode Technical Report which suggests a 
word break algorithm. However, that would be a lot more work for 
implementors, and in any event I don't believe that report is 
normative. It would certainly not be a good idea to attempt to encode 
in a formal specification something like the behaviour of Perl's 
zero-length word-break assertions.

The modest suggestion I made struck me as a reasonable sort of 
compromise between utility and ease of specification/implementation. 
But it was just a little suggestion; take it for what it's worth.

> What we need to do is treat spaces in substrings in
> relationship to other substrings and the attribute
> value.
>

Sure. That's more or less what I was getting at. It was just one way of 
working such a relationship.

I do think that the distinction between spaces (as per strprep, "not 
following by a combining character") and U+0020 is important, although 
not world-shattering. There will be U+0020 U+0301 sequences 
post-strprep, and they really should not cause false matches. Treating 
them as the same character in a (substring) search but handling them 
differently during insignificant space removal is one of those things 
that comes back to bite you.

R.






From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 24 15:17: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 PAA26516
	for <ldapbis-archive@lists.ietf.org>; Wed, 24 Nov 2004 15:17:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAOKBEaD055255;
	Wed, 24 Nov 2004 20:16: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 iAOK68Oj054812;
	Wed, 24 Nov 2004 20:06: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); Wed, 24 Nov 2004 20:06:08 +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 iAOK67iC054802
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 24 Nov 2004 20:06: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 iAOK66Zv082447;
	Wed, 24 Nov 2004 20:06:06 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041124120503.02fd3ab0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 24 Nov 2004 12:06:34 -0800
To: Mark Smith <mcs@pearlcrescent.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-08.txt
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <419CB4A4.2090901@pearlcrescent.com>
References: <200411172044.PAA10728@ietf.org>
 <6.1.2.0.0.20041117130424.0315ad68@127.0.0.1>
 <419CB4A4.2090901@pearlcrescent.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This I-D has now been recommended to the IESG.
        -- Kurt, as LDAPbis co-chair

At 06:41 AM 11/18/2004, Mark Smith wrote:
>Kurt D. Zeilenga wrote:
>>
>>Please review changes made in this revision to ensure that
>>they were made in accordance with established WG consensus
>>and comment prior to 24 November 2004.  In absence of
>>significant contention, this I-D will be recommended to
>>the IESG for consideration as a Proposed Standard.
>
>A reminder: Appendix B provides a detailed list of the changes made for this revision.  The most significant change is to the ABNF, which is now simpler because it avoids the <prose-val> (bracketed-string) productions (as suggested by Steven Legg and seconded by Kurt Zeilenga).
>
>-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 24 15:17: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 PAA26539
	for <ldapbis-archive@lists.ietf.org>; Wed, 24 Nov 2004 15:17:55 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAOKBEaF055255;
	Wed, 24 Nov 2004 20:16: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 iAOK6UCt054837;
	Wed, 24 Nov 2004 20:06: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); Wed, 24 Nov 2004 20:06:30 +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 iAOK6TxN054827
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 24 Nov 2004 20:06:29 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 iAOK6TZv082456;
	Wed, 24 Nov 2004 20:06:29 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041124120639.02fd36d8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 24 Nov 2004 12:06:57 -0800
To: Mark Smith <mcs@pearlcrescent.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-09.txt
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <419CB5F0.7@pearlcrescent.com>
References: <200411172044.PAA10688@ietf.org>
 <6.1.2.0.0.20041117131906.03589a80@127.0.0.1>
 <419CB5F0.7@pearlcrescent.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This I-D has now been recommended to the IESG.
        -- Kurt, as LDAPbis co-chair

At 06:47 AM 11/18/2004, Mark Smith wrote:
>See Appendix B for a detailed list of changes made for this revision. All of the changes were discussed in detail very recently on the mailing list of course.
>
>-Mark
>
>
>Kurt D. Zeilenga wrote:
>
>>Please review changes made in this revision to ensure that
>>they were made in accordance with established WG consensus
>>and comment prior to 24 November 2004.  In absence of
>>significant contention, this I-D will be recommended to
>>the IESG for consideration as a Proposed Standard.
>>-- Kurt, as LDAPBIS co-chair
>>At 12:44 PM 11/17/2004, 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: String Representation of Search Filters
>>>      Author(s)       : M. Smith, T. Howes
>>>      Filename        : draft-ietf-ldapbis-filter-09.txt
>>>      Pages           : 13
>>>      Date            : 2004-11-17
>>> ...



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 25 04:05: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 EAA17832
	for <ldapbis-archive@lists.ietf.org>; Thu, 25 Nov 2004 04:05:24 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAP8xJTP000509;
	Thu, 25 Nov 2004 09:02: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 iAP8tFD6000360;
	Thu, 25 Nov 2004 08:55: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); Thu, 25 Nov 2004 08:55:15 +0000
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAP8tEv7000350
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 25 Nov 2004 08:55:14 GMT
	(envelope-from rlmorgan@washington.edu)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139])
	by mxout4.cac.washington.edu (8.13.1+UW04.08/8.13.1+UW04.09) with ESMTP id iAP8tD7H016831
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 25 Nov 2004 00:55:13 -0800
Received: from [192.168.1.104] (c-67-170-101-104.client.comcast.net [67.170.101.104])
	(authenticated bits=0)
	by smtp.washington.edu (8.13.1+UW04.08/8.13.1+UW04.11) with ESMTP id iAP8tDqC031600
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT)
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 25 Nov 2004 00:55:13 -0800
Date: Thu, 25 Nov 2004 00:55:11 -0800 (PST)
From: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
X-X-Sender: rlmorgan@perp.cac.washington.edu
To: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-models-12.txt
In-Reply-To: <200410262052.QAA18690@ietf.org>
Message-ID: <Pine.LNX.4.61.0411250351270.3354@perp.cac.washington.edu>
References: <200410262052.QAA18690@ietf.org>
MIME-Version: 1.0
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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


This document has been recommended to the IESG for consideration as a 
Proposed Standard.  Note that comments will be solicited during IETF-wide 
last call also.

  - RL "Bob", WG co-chair

---

On Tue, 26 Oct 2004 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: Directory Information Models
> 	Author(s)	: K. Zeilenga
> 	Filename	: draft-ietf-ldapbis-models-12.txt
> 	Pages		: 50
> 	Date		: 2004-10-26
>
> The Lightweight Directory Access Protocol (LDAP) is an Internet
>  protocol for accessing distributed directory services which act in
>  accordance with X.500 data and service models.  This document
>  describes the X.500 Directory Information Models, as used in LDAP.
>
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-models-12.txt



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 10:52: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 KAA00372
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 10:52:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAUFm5cM005598;
	Tue, 30 Nov 2004 15:50: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 iAUFjlSc005483;
	Tue, 30 Nov 2004 15:45:47 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, 30 Nov 2004 15:45:47 +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 iAUFjjN1005456
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 30 Nov 2004 15:45:46 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 30 Nov 2004 08:45:25 -0700
Message-Id: <s1ac3325.008@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 30 Nov 2004 08:45:04 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: When can Search return errors (post name resolution)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part80A06090.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

How literally are we to take the statement from X.511:
"The request succeeds, subject to access controls, if the baseObject is
located, regardless of whether there are any
subordinates to return"?
 
For example, if an alias loop is detected while searching, is it
silently ignored? Similarly, if an alias cannot be dereferenced while
searching, do we not return aliasProblem?
 
Surely, if there is an internal error (out of memory, etc.) the request
does not succeed. 
 
Of course sizeLimitExceeded and timeLimitExceeded may be returned even
if the base object is located, but in X.511 these are not returned as
ERRORS, they are returned in partialOutcomeQualifier.
 
[Protocol] says this instead:
"   Servers MUST NOT return errors if attribute descriptions or
matching 
   rule ids are not recognized, assertion values are invalid, or the 
   assertion syntax is not supported. More details of filter processing

   are given in Clause 7.8 of [X.511]."
 
I've had it asked whether LDAP implementations are to go beyond this
statement and never fail a search once name resolution has completed (as
is implied by X.511), and specifically, what to do about alias
derefrencing problems while searching.
 
Jim


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>How literally are we to take the statement from X.511:</DIV>
<DIV>"The request succeeds, subject to access controls, if the baseObject =
is located, regardless of whether there are any<BR>subordinates to =
return"?</DIV>
<DIV>&nbsp;</DIV>
<DIV>For example, if an alias loop is detected while searching, is it =
silently ignored? Similarly, if an alias cannot be dereferenced while =
searching, do we not return aliasProblem?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Surely, if there is an internal error (out of memory, etc.) the =
request does not succeed. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Of course sizeLimitExceeded and timeLimitExceeded may be returned =
even if the base object is located, but in X.511 these are not returned&nbs=
p;as ERRORS, they are returned in partialOutcomeQualifier.</DIV>
<DIV>&nbsp;</DIV>
<DIV>[Protocol] says this instead:</DIV>
<DIV>"&nbsp;&nbsp; Servers MUST NOT return errors if attribute descriptions=
 or matching <BR>&nbsp;&nbsp; rule ids are not recognized, assertion =
values are invalid, or the <BR>&nbsp;&nbsp; assertion syntax is not =
supported. More details of filter processing <BR>&nbsp;&nbsp; are given in =
Clause 7.8 of [X.511]."</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've had it asked whether LDAP implementations are to go beyond this =
statement and never fail a search once name resolution has completed (as =
is implied by X.511), and specifically, what to do about alias derefrencing=
 problems while searching.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR></DIV></BODY></HTML>

--=__Part80A06090.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 12:33: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 MAA10219
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 12:33:08 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAUHU5Of023133;
	Tue, 30 Nov 2004 17:31:36 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 iAUHPafd022439;
	Tue, 30 Nov 2004 17:25: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, 30 Nov 2004 17:25: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 iAUHPVxJ022407
	for <ietf-ldapbis@openldap.org>; Tue, 30 Nov 2004 17:25:31 GMT
	(envelope-from David.Wilson@isode.com)
Received: from concorde.isode.net (shiny.isode.com [62.3.217.250]) 
          by rufus.isode.com via TCP (submission) with ESMTPA;
          Tue, 30 Nov 2004 17:25:21 +0000
Subject: Re: LDAPprep: mapping of " " values
From: David Wilson <David.Wilson@isode.com>
To: ietf-ldapbis@OpenLDAP.org
Content-Type: text/plain
Message-Id: <1101835520.17676.69.camel@concorde.isode.net>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) 
Date: 30 Nov 2004 17:25:21 +0000
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I'm sorry that I'm a bit late into this discussion (because I'm not
actually a recipient of this list). But I am interested in the question
of spaces at the start and end of substring filter strings.

Something important needs to be remembered in this discussion: that a
substring matching rule has a closely associated equality matching rule.
The association is summarized in X.501 8.8.5:

"With respect to a specific attribute type, the equality and substrings
rule (if both present) shall always be related in at least the following
respect: for all x and y that match according to the equality relation,
then for all values z of the  substring relation, the result of
evaluating the assertion against the value x equals the result of
evaluating the assertion  against the value y. That is, two values that
are indistinguishable using the equality relation are also
indistinguishable using the substrings relation."

This seems a very reasonable requirement. But it does impact the
behaviour of matching a substring filter when there are spaces at the
start or end of the strings within the filter.

X.520 Section 6.1 is not very clear about when spaces are insignificant
in the strings within substring filters. It CAN be interpreted to mean
that any space at the start or end of the individual strings is ignored,
and so discarded, before the process of comparing the sequence of
strings in the filter with the value being tested. This interpretation
is consistent with the above requirement.

If one does not discard the spaces at the start, and that seems
desirable from some points of view, then this makes matching more
complicated, because of the requirement.

Firstly, if an "initial" substring starts with spaces, these can be
regarded as insignificant. Clearly:

	(cn= foo*)

should match (using quotation marks to make the spaces clearer)

	cn=" foobar"

but since this matches for equality (because of the insignificant
initial space)

	cn="foobar"

the filter should also match this second value.

Similarly, spaces at the end of a "final" substring is insignificant.

The problem arises with spaces at the end of an "initial" substring, the
start of a "final" substring and at the start or end of an "any"
substring. In each case, there can be a natural match with a value where
the space in question can be an initial space in a value, a final space
in a value, or one of a sequence of spaces within a value.

Consider these cases:

	(cn=foo *)

which matches

	cn="foo "

and so MUST match

	cn="foo"

Then:

	(cn=John * Smith)

clearly matches

	cn="John  Smith"

(two spaces in the middle), but the value matches for equality with

	cn="John Smith"

(one space in the middle). So the two spaces in the filter need to match
a SINGLE space in the second value.

It is possible to write a substring matching rule that does the right
thing, but it does have to deal with some interesting cases. You cannot
do this in a simple minded fashion, or you run the risk of matching too
few strings. The simpler choice of stripping spaces from the start and
end of each substring in the filter has the property of matching,
perhaps, too many strings. But that seems a better failing.

[So, what about (cn= * )? This has a natural match to any value which
starts and ends with a space. But since these spaces are insignificant
for the equality match, if this filter matches any value, it matches all
values. The insignificant space rule for the equality matching rule
means that the corresponding substring rule cannot be used to find
values which start or end with spaces.]


Part of the problem, it seems to me, is that people are wanting NOT to
match spaces, but word boundaries. In terms of regular expressions, a
word boundary is a zero-width regular expression. But even the
definition of "word-boundary" can be defined in lots of ways. X.520
(Section 6.5) does define some word matching rules. However, the
definition of a word is, in the famous exit-strategy of the standards
writer "a local matter".

But I don't think that substring filters should be changed to interpret
spaces as word boundary matches. Different matching rules should be used
for word matching semantics, however defined.

-- 
David Wilson <David.Wilson@isode.com>



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 12:34:33 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 MAA10457
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 12:34:33 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAUHU5Od023133;
	Tue, 30 Nov 2004 17:31: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 iAUHShTs022910;
	Tue, 30 Nov 2004 17:28: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, 30 Nov 2004 17:28:43 +0000
Received: from highlandsun.propagation.net (highlandsun.propagation.net [66.221.212.168])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAUHSfWQ022899
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 30 Nov 2004 17:28:42 GMT
	(envelope-from hyc@highlandsun.com)
Received: from [127.0.0.1] (highlandsun.com [66.221.212.169])
	by highlandsun.propagation.net (8.12.9/8.12.9) with ESMTP id iAUHScjJ024561;
	Tue, 30 Nov 2004 11:28:38 -0600
Message-ID: <41ACADCF.5020802@highlandsun.com>
Date: Tue, 30 Nov 2004 09:28:47 -0800
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041101
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: When can Search return errors (post name resolution)
References: <s1ac3325.008@sinclair.provo.novell.com>
In-Reply-To: <s1ac3325.008@sinclair.provo.novell.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I've always assumed this only meant "don't return NO_SUCH_OBJECT if the 
search result set is empty." Certainly other issues should be noted if 
they arise.

Jim Sermersheim wrote:
> How literally are we to take the statement from X.511:
> "The request succeeds, subject to access controls, if the baseObject is 
> located, regardless of whether there are any
> subordinates to return"?
>  
> For example, if an alias loop is detected while searching, is it 
> silently ignored? Similarly, if an alias cannot be dereferenced while 
> searching, do we not return aliasProblem?
>  
> Surely, if there is an internal error (out of memory, etc.) the request 
> does not succeed.
>  
> Of course sizeLimitExceeded and timeLimitExceeded may be returned even 
> if the base object is located, but in X.511 these are not returned as 
> ERRORS, they are returned in partialOutcomeQualifier.
>  
> [Protocol] says this instead:
> "   Servers MUST NOT return errors if attribute descriptions or matching
>    rule ids are not recognized, assertion values are invalid, or the
>    assertion syntax is not supported. More details of filter processing
>    are given in Clause 7.8 of [X.511]."
>  
> I've had it asked whether LDAP implementations are to go beyond this 
> statement and never fail a search once name resolution has completed (as 
> is implied by X.511), and specifically, what to do about alias 
> derefrencing problems while searching.
>  
> Jim


-- 
   -- Howard Chu
   Chief Architect, Symas Corp.       Director, Highland Sun
   http://www.symas.com               http://highlandsun.com/hyc
   Symas: Premier OpenSource Development and Support


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 15:21: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 PAA00384
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 15:21:58 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAUKC6TZ039410;
	Tue, 30 Nov 2004 20:18: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 iAUKB68t039257;
	Tue, 30 Nov 2004 20:11: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); Tue, 30 Nov 2004 20:11:06 +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 iAUKB4IU039247
	for <ietf-ldapbis@openldap.org>; Tue, 30 Nov 2004 20:11:05 GMT
	(envelope-from rbunch@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 PAA28846;
	Tue, 30 Nov 2004 15:10:54 -0500 (EST)
Message-Id: <200411302010.PAA28846@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-28.txt
Date: Tue, 30 Nov 2004 15:10:53 -0500
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

--NextPart

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

	Title		: LDAP: The Protocol
	Author(s)	: J. Sermersheim
	Filename	: draft-ietf-ldapbis-protocol-28.txt
	Pages		: 62
	Date		: 2004-11-30
	
This document describes the protocol elements, along with their 
   semantics and encodings, of 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-28.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-28.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-28.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-11-30111310.I-D@ietf.org>

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

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

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

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 16:34: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 QAA13859
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 16:34:54 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAULVUkS047381;
	Tue, 30 Nov 2004 21:32: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 iAULIJOB045201;
	Tue, 30 Nov 2004 21:18:19 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, 30 Nov 2004 21:18:19 +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 iAULIEoD045116
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 30 Nov 2004 21:18:14 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by sinclair.provo.novell.com
	with Novell_GroupWise; Tue, 30 Nov 2004 14:17:54 -0700
Message-Id: <s1ac8112.049@sinclair.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.3 Beta
Date: Tue, 30 Nov 2004 14:17:31 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-protocol-28.txt
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part1D3DFD7B.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

The updates to this version include:
 
- Changes to session/connection/exchange terminology. Please review
section 2 for the definitions and then the rest of the document for
usage. I just noticed that section 2 should say "...of these _five_
terms" (not four).
- Removal of definition of authorization
- Added section numbers below 4.5.1 and re-arranged text so it flows
correctly
- re-associated strongAuthRequired's indication of invalidated
credentials back to being used with Notice of Disconnection
- re-added the SIZE constraint to Filter.and and Filter.or
- removed certain specific imperatives in update operations and more
generally stated that entries must adhere to the data model
- Editorial changes for consistency (mainly to the way operations are
referenced)
 
Jim

>>> <Internet-Drafts@ietf.org> 11/30/04 1:10:53 PM >>>
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-28.txt
Pages: 62
Date: 2004-11-30

This document describes the protocol elements, along with their 
semantics and encodings, of 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-28.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-28.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-28.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.


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

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>The updates to this version include:</DIV>
<DIV>&nbsp;</DIV>
<DIV>- Changes to session/connection/exchange terminology. Please review =
section 2 for the definitions and then the rest of the document for usage. =
I just noticed that section 2 should say "...of these _five_ terms" (not =
four).</DIV>
<DIV>- Removal of definition of authorization</DIV>
<DIV>- Added section numbers below 4.5.1 and re-arranged text so it flows =
correctly</DIV>
<DIV>- re-associated&nbsp;strongAuthRequired's indication of invalidated =
credentials back to being used with Notice of Disconnection</DIV>
<DIV>- re-added the SIZE constraint to Filter.and and Filter.or</DIV>
<DIV>- removed certain specific imperatives in update operations and more =
generally stated that entries must adhere to the data model</DIV>
<DIV>- Editorial changes for consistency (mainly to the way operations are =
referenced)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; &lt;Internet-Drafts@ietf.org&gt; 11/30/04 =
1:10:53 PM &gt;&gt;&gt;<BR>A New Internet-Draft is available from the =
on-line Internet-Drafts directories.<BR>This draft is a work item of the =
LDAP (v3) Revision Working Group of the IETF.<BR><BR>Title: LDAP: The =
Protocol<BR>Author(s): J. Sermersheim<BR>Filename: draft-ietf-ldapbis-proto=
col-28.txt<BR>Pages: 62<BR>Date: 2004-11-30<BR><BR>This document describes =
the protocol elements, along with their <BR>semantics and encodings, of =
the Lightweight Directory Access Protocol <BR>(LDAP). LDAP provides access =
to distributed directory services that <BR>act in accordance with X.500 =
data and service models. These protocol <BR>elements are based on those =
described in the X.500 Directory Access <BR>Protocol (DAP).<BR><BR>A URL =
for this Internet-Draft is:<BR><U><A href=3D"http://www.ietf.org/internet-d=
rafts/draft-ietf-ldapbis-protocol-28.txt">http://www.ietf.org/internet-draf=
ts/draft-ietf-ldapbis-protocol-28.txt</A></U> <BR><BR>To remove yourself =
from the I-D Announcement list, send a message to <BR><U><A href=3D"mailto:=
i-d-announce-request@ietf.org">i-d-announce-request@ietf.org</A></U> with =
the word unsubscribe in the body of the message. <BR>You can also visit =
<U><A href=3D"https://www1.ietf.org/mailman/listinfo/I-D-announce">https://=
www1.ietf.org/mailman/listinfo/I-D-announce</A></U> <BR>to change your =
subscription settings.<BR><BR><BR>Internet-Drafts are also available by =
anonymous FTP. Login with the username<BR>"anonymous" and a password of =
your e-mail address. After logging in,<BR>type "cd internet-drafts" and =
then<BR>"get draft-ietf-ldapbis-protocol-28.txt".<BR><BR>A list of =
Internet-Drafts directories can be found in<BR><U><A href=3D"http://www.iet=
f.org/shadow.html">http://www.ietf.org/shadow.html</A></U> <BR>or <U><A =
href=3D"http://ftp://ftp.ietf.org/ietf/1shadow-sites.txt">ftp://ftp.ietf.or=
g/ietf/1shadow-sites.txt</A></U> <BR><BR><BR>Internet-Drafts can also be =
obtained by e-mail.<BR><BR>Send a message to:<BR><U><A href=3D"mailto:mails=
erv@ietf.org">mailserv@ietf.org</A></U> .<BR>In the body type:<BR>"FILE =
/internet-drafts/draft-ietf-ldapbis-protocol-28.txt".<BR><BR>NOTE:The mail =
server at ietf.org can return the document in<BR>MIME-encoded form by =
using the "mpack" utility. To use this<BR>feature, insert the command =
"ENCODING mime" before the "FILE"<BR>command. To decode the response(s), =
you will need "munpack" or<BR>a MIME-compliant mail reader. Different =
MIME-compliant mail readers<BR>exhibit different behavior, especially when =
dealing with<BR>"multipart" MIME messages (i.e. documents which have been =
split<BR>up into multiple messages), so check your local documentation =
on<BR>how to manipulate these messages.<BR><BR><BR>Below is the data which =
will enable a MIME compliant mail reader<BR>implementation to automatically=
 retrieve the ASCII version of the<BR>Internet-Draft.<BR></DIV></BODY></HTM=
L>

--=__Part1D3DFD7B.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 17:28: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 RAA23032
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 17:28:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iAUMO75T052295;
	Tue, 30 Nov 2004 22:26: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 iAUMMnv8052164;
	Tue, 30 Nov 2004 22:22: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); Tue, 30 Nov 2004 22:22:49 +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 iAUMMlKf052153
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 30 Nov 2004 22:22: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 iAUMMlZv028282
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 30 Nov 2004 22:22:47 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041130141916.030bf930@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 30 Nov 2004 14:23:23 -0800
To: <ietf-ldapbis@OpenLDAP.org>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-protocol-28.txt
In-Reply-To: <s1ac8112.049@sinclair.provo.novell.com>
References: <s1ac8112.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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Please review changes made in this revision to ensure that
they were made in accordance with established WG consensus
and comment prior to 8 December 2004.  In absence of
significant contention, this I-D will be recommended to
the IESG for consideration as a Proposed Standard.

Kurt, as LDAPBIS co-chair

At 01:17 PM 11/30/2004, Jim Sermersheim wrote:
>The updates to this version include:
> 
>- Changes to session/connection/exchange terminology. Please review section 2 for the definitions and then the rest of the document for usage. I just noticed that section 2 should say "...of these _five_ terms" (not four).
>- Removal of definition of authorization
>- Added section numbers below 4.5.1 and re-arranged text so it flows correctly
>- re-associated strongAuthRequired's indication of invalidated credentials back to being used with Notice of Disconnection
>- re-added the SIZE constraint to Filter.and and Filter.or
>- removed certain specific imperatives in update operations and more generally stated that entries must adhere to the data model
>- Editorial changes for consistency (mainly to the way operations are referenced)
> 
>Jim
>
>>>> <Internet-Drafts@ietf.org> 11/30/04 1:10:53 PM >>>
>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-28.txt
>Pages: 62
>Date: 2004-11-30
>
>This document describes the protocol elements, along with their 
>semantics and encodings, of 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-28.txt>http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-protocol-28.txt 
>
>To remove yourself from the I-D Announcement list, send a message to 
><mailto:i-d-announce-request@ietf.org>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>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-28.txt".
>
>A list of Internet-Drafts directories can be found in
><http://www.ietf.org/shadow.html>http://www.ietf.org/shadow.html 
>or <http://ftp://ftp.ietf.org/ietf/1shadow-sites.txt>ftp://ftp.ietf.org/ietf/1shadow-sites.txt 
>
>
>Internet-Drafts can also be obtained by e-mail.
>
>Send a message to:
><mailto:mailserv@ietf.org>mailserv@ietf.org .
>In the body type:
>"FILE /internet-drafts/draft-ietf-ldapbis-protocol-28.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.



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 20:08: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 UAA08643
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 20:08:10 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB1107SY061410;
	Wed, 1 Dec 2004 01:05: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 iB10rSbt060997;
	Wed, 1 Dec 2004 00:53: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); Wed, 1 Dec 2004 00:53:28 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB10rDbD060957
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 1 Dec 2004 00:53:27 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 41A13B7400000EF6; Wed, 1 Dec 2004 11:57:59 +1100
Message-ID: <41AD1595.2020201@eb2bcom.com>
Date: Wed, 01 Dec 2004 11:51:33 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: When can Search return errors (post name resolution)
References: <s1ac3325.008@sinclair.provo.novell.com>
In-Reply-To: <s1ac3325.008@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-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Jim,

Jim Sermersheim wrote:
> How literally are we to take the statement from X.511:
> "The request succeeds, subject to access controls, if the baseObject is 
> located, regardless of whether there are any
> subordinates to return"?

If one takes the statements in X.500 literally then it is all too easy to
find inconsistencies and conflicts. A fair dose of common sense is required.
I have found it best to look for the point of any statement rather than agonize
over its exact wording. The point of this statement is that it is not an error
if the base entry of a search has no subordinates.

>  
> For example, if an alias loop is detected while searching, is it 
> silently ignored? Similarly, if an alias cannot be dereferenced while 
> searching, do we not return aliasProblem?

I give the error descriptions more weight (they are more specific) than
more general statements about success and failure.

>  
> Surely, if there is an internal error (out of memory, etc.) the request 
> does not succeed.

Yes, that is the common sense approach.

>  
> Of course sizeLimitExceeded and timeLimitExceeded may be returned even 
> if the base object is located, but in X.511 these are not returned as 
> ERRORS, they are returned in partialOutcomeQualifier.
>  
> [Protocol] says this instead:
> "   Servers MUST NOT return errors if attribute descriptions or matching
>    rule ids are not recognized, assertion values are invalid, or the
>    assertion syntax is not supported. More details of filter processing
>    are given in Clause 7.8 of [X.511]."
>  
> I've had it asked whether LDAP implementations are to go beyond this 
> statement and never fail a search once name resolution has completed (as 
> is implied by X.511),

As it is technically difficult to *force* an operation to succeed in the face
of crippling errors, common sense says to favour the error descriptions over
an imprecise statement regarding success and failure (where there's a conflict).

 > and specifically, what to do about alias
> derefrencing problems while searching.

I ignore alias problems within the subtree being searched since they can arise
through legal operations on the directory, and always raising an error would fail
every attempt to search a subtree that happened to contain a flawed alias.

Regards,
Steven

>  
> Jim


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 20:09: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 UAA08721
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 20:09:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB1107Sa061410;
	Wed, 1 Dec 2004 01:05: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 iB10sBpb061063;
	Wed, 1 Dec 2004 00:54: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, 1 Dec 2004 00:54:11 +0000
Received: from mail17.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB10s9si061009
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 1 Dec 2004 00:54:10 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by mail17.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 1 Dec 2004 11:53:41 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C4D740.3336EDD8"
Subject: RE: When can Search return errors (post name resolution)
Date: Wed, 1 Dec 2004 11:53:41 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B6381020D7A39@ausyms21.ca.com>
Thread-Topic: When can Search return errors (post name resolution)
Thread-Index: AcTW9Gm3XnDlbdD1SFWYFR1eyZvEMgASzGyg
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 01 Dec 2004 00:53:41.0220 (UTC) FILETIME=[33536A40:01C4D740]
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C4D740.3336EDD8
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I think you should take it completely literally.
Yes, silently ignore alias loops while searching (retrieving entries).
Yes, if out of memory return directory unwilling to perform, although =
LDAP has the possibility of returning the entries discovered so far plus =
putting an error in the search done message.
I think the seach done message can be used in place of the partial =
outcome qualifier for size/time limit exceeded.
=20
Ron

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org =
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Jim Sermersheim
Sent: Wednesday, 1 December 2004 02:45
To: ietf-ldapbis@OpenLDAP.org
Subject: When can Search return errors (post name resolution)


How literally are we to take the statement from X.511:
"The request succeeds, subject to access controls, if the baseObject is =
located, regardless of whether there are any
subordinates to return"?
=20
For example, if an alias loop is detected while searching, is it =
silently ignored? Similarly, if an alias cannot be dereferenced while =
searching, do we not return aliasProblem?
=20
Surely, if there is an internal error (out of memory, etc.) the request =
does not succeed.=20
=20
Of course sizeLimitExceeded and timeLimitExceeded may be returned even =
if the base object is located, but in X.511 these are not returned as =
ERRORS, they are returned in partialOutcomeQualifier.
=20
[Protocol] says this instead:
"   Servers MUST NOT return errors if attribute descriptions or matching =

   rule ids are not recognized, assertion values are invalid, or the=20
   assertion syntax is not supported. More details of filter processing=20
   are given in Clause 7.8 of [X.511]."
=20
I've had it asked whether LDAP implementations are to go beyond this =
statement and never fail a search once name resolution has completed (as =
is implied by X.511), and specifically, what to do about alias =
derefrencing problems while searching.
=20
Jim



------_=_NextPart_001_01C4D740.3336EDD8
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><SPAN class=3D368264900-01122004>I think you should take it =
completely=20
literally.</SPAN></DIV>
<DIV><SPAN class=3D368264900-01122004>Yes, silently ignore alias loops =
while=20
searching (retrieving entries).</SPAN></DIV>
<DIV><SPAN class=3D368264900-01122004>Yes, if out of memory return =
directory=20
unwilling to perform, although LDAP has the possibility of returning the =
entries=20
discovered so far plus putting an error in the search done =
message.</SPAN></DIV>
<DIV><SPAN class=3D368264900-01122004>I think the seach done message can =
be used=20
in place of the partial outcome qualifier for size/time limit=20
exceeded.</SPAN></DIV>
<DIV><SPAN class=3D368264900-01122004></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D368264900-01122004>Ron</SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft>-----Original =

  Message-----<BR><B>From:</B> owner-ietf-ldapbis@OpenLDAP.org=20
  [mailto:owner-ietf-ldapbis@OpenLDAP.org]<B>On Behalf Of </B>Jim=20
  Sermersheim<BR><B>Sent:</B> Wednesday, 1 December 2004 =
02:45<BR><B>To:</B>=20
  ietf-ldapbis@OpenLDAP.org<BR><B>Subject:</B> When can Search return =
errors=20
  (post name resolution)<BR><BR></DIV>
  <DIV>How literally are we to take the statement from X.511:</DIV>
  <DIV>"The request succeeds, subject to access controls, if the =
baseObject is=20
  located, regardless of whether there are any<BR>subordinates to =
return"?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>For example, if an alias loop is detected while searching, is it =
silently=20
  ignored? Similarly, if an alias cannot be dereferenced while =
searching, do we=20
  not return aliasProblem?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Surely, if there is an internal error (out of memory, etc.) the =
request=20
  does not succeed. </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Of course sizeLimitExceeded and timeLimitExceeded may be returned =
even if=20
  the base object is located, but in X.511 these are not =
returned&nbsp;as=20
  ERRORS, they are returned in partialOutcomeQualifier.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>[Protocol] says this instead:</DIV>
  <DIV>"&nbsp;&nbsp; Servers MUST NOT return errors if attribute =
descriptions or=20
  matching <BR>&nbsp;&nbsp; rule ids are not recognized, assertion =
values are=20
  invalid, or the <BR>&nbsp;&nbsp; assertion syntax is not supported. =
More=20
  details of filter processing <BR>&nbsp;&nbsp; are given in Clause 7.8 =
of=20
  [X.511]."</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I've had it asked whether LDAP implementations are to go beyond =
this=20
  statement and never fail a search once name resolution has completed =
(as is=20
  implied by X.511), and specifically, what to do about alias =
derefrencing=20
  problems while searching.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Jim<BR></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C4D740.3336EDD8--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 22:23: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 WAA19846
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 22:23:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB13I9Hb068967;
	Wed, 1 Dec 2004 03:19: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 iB13FDe0068897;
	Wed, 1 Dec 2004 03:15: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); Wed, 1 Dec 2004 03:15:13 +0000
Received: from micah.software-aus.com.au (cust3103.vic01.dataco.com.au [202.63.62.31])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB13EgCW068878
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 1 Dec 2004 03:14:56 GMT
	(envelope-from steven.legg@eb2bcom.com)
Received: from eb2bcom.com (192.168.1.166) by micah.software-aus.com.au (7.1.016.1) (authenticated as steven.legg)
        id 41A13B7400000F3E; Wed, 1 Dec 2004 14:19:02 +1100
Message-ID: <41AD36C7.8050807@eb2bcom.com>
Date: Wed, 01 Dec 2004 14:13:11 +1100
From: Steven Legg <steven.legg@eb2bcom.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Wilson <David.Wilson@isode.com>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAPprep: mapping of " " values
References: <1101835520.17676.69.camel@concorde.isode.net>
In-Reply-To: <1101835520.17676.69.camel@concorde.isode.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


David,

David Wilson wrote:

> I'm sorry that I'm a bit late into this discussion (because I'm not
> actually a recipient of this list). But I am interested in the question
> of spaces at the start and end of substring filter strings.
> 
> Something important needs to be remembered in this discussion: that a
> substring matching rule has a closely associated equality matching rule.
> The association is summarized in X.501 8.8.5:
> 
> "With respect to a specific attribute type, the equality and substrings
> rule (if both present) shall always be related in at least the following
> respect: for all x and y that match according to the equality relation,
> then for all values z of the  substring relation, the result of
> evaluating the assertion against the value x equals the result of
> evaluating the assertion  against the value y. That is, two values that
> are indistinguishable using the equality relation are also
> indistinguishable using the substrings relation."
> 
> This seems a very reasonable requirement.

I agree.

 > But it does impact the
> behaviour of matching a substring filter when there are spaces at the
> start or end of the strings within the filter.

It rules out some interpretations, but there is still more than one way to
satisfy the requirement.

> 
> X.520 Section 6.1 is not very clear about when spaces are insignificant
> in the strings within substring filters. It CAN be interpreted to mean
> that any space at the start or end of the individual strings is ignored,
> and so discarded, before the process of comparing the sequence of
> strings in the filter with the value being tested. This interpretation
> is consistent with the above requirement.
> 
> If one does not discard the spaces at the start, and that seems
> desirable from some points of view, then this makes matching more
> complicated, because of the requirement.
> 
> Firstly, if an "initial" substring starts with spaces, these can be
> regarded as insignificant. Clearly:
> 
> 	(cn= foo*)
> 
> should match (using quotation marks to make the spaces clearer)
> 
> 	cn=" foobar"
> 
> but since this matches for equality (because of the insignificant
> initial space)
> 
> 	cn="foobar"
> 
> the filter should also match this second value.
> 
> Similarly, spaces at the end of a "final" substring is insignificant.

Yes, consistency between the equality and substring matching rules requires
that leading spaces in an initial substring and trailing spaces in the final
substring are insignificant. But we are getting into difficulty when the
substrings are all spaces. The consistency requirement doesn't help us here.

> 
> The problem arises with spaces at the end of an "initial" substring, the
> start of a "final" substring and at the start or end of an "any"
> substring. In each case, there can be a natural match with a value where
> the space in question can be an initial space in a value, a final space
> in a value, or one of a sequence of spaces within a value.
> 
> Consider these cases:
> 
> 	(cn=foo *)
> 
> which matches
> 
> 	cn="foo "
> 
> and so MUST match
> 
> 	cn="foo"

One proposal (which I currently favour) would reduce trailing space in an initial
substring to a single space. Trailing space in an attribute value would be removed.
This means that (cn=foo *) does not match cn="foo ", but nor does it match cn="foo",
so the consistency between equality and substring matching is not broken.

> 
> Then:
> 
> 	(cn=John * Smith)
> 
> clearly matches
> 
> 	cn="John  Smith"
> 
> (two spaces in the middle), but the value matches for equality with
> 
> 	cn="John Smith"
> 
> (one space in the middle).

If trailing spaces in an initial substring and leading spaces in a final
substring are reduced to a single space (and multiple consecutive spaces
in an attribute value are replaced by a single space) then neither of the
above values would be matched, and consistency is not broken.

 > So the two spaces in the filter need to match
> a SINGLE space in the second value.

I don't like any solution that requires non-disjoint matching against substrings,
though with spaces it can be finessed. That is, for attribute values remove
leading and trailing spaces and replace one or more consecutive spaces with
*two* space characters. For substrings, remove leading spaces from initial
substrings, remove trailing spaces from final substrings, replace trailing spaces
in an initial or any substring and leading spaces in a final or any substring
with a *single* space, and otherwise replace one or more consecutive spaces
with *two* space characters.

This means that (cn=John * Smith) is unchanged. Both values are normalized to
cn="John  Smith", which the substrings of the assertion match disjointly.

This strategy has the effect of allowing spaces in the substrings to overlap
against the matched values, but I feel it is too unorthodox for substring
matching in the directory.

> 
> It is possible to write a substring matching rule that does the right
> thing, but it does have to deal with some interesting cases. You cannot
> do this in a simple minded fashion, or you run the risk of matching too
> few strings. The simpler choice of stripping spaces from the start and
> end of each substring in the filter has the property of matching,
> perhaps, too many strings. But that seems a better failing.

But what of substrings that are all spaces ?

> 
> [So, what about (cn= * )? This has a natural match to any value which
> starts and ends with a space. But since these spaces are insignificant
> for the equality match, if this filter matches any value, it matches all
> values. The insignificant space rule for the equality matching rule
> means that the corresponding substring rule cannot be used to find
> values which start or end with spaces.]

The insignificant space rule for the equality matching rule says that a
string of all spaces is equivalent to a single space, which leaves wriggle
room for an interpetation where (cn= * ) matches " ", without breaking
consistency.

> 
> 
> Part of the problem, it seems to me, is that people are wanting NOT to
> match spaces, but word boundaries.

That does seem to be the case, but I think that is beyond the mandate of LDAPbis.

 > In terms of regular expressions, a
> word boundary is a zero-width regular expression. But even the
> definition of "word-boundary" can be defined in lots of ways. X.520
> (Section 6.5) does define some word matching rules. However, the
> definition of a word is, in the famous exit-strategy of the standards
> writer "a local matter".
> 
> But I don't think that substring filters should be changed to interpret
> spaces as word boundary matches. Different matching rules should be used
> for word matching semantics, however defined.

I agree.

Regards,
Steven



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 22:51: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 WAA21613
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 22:51:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB13m9og069764;
	Wed, 1 Dec 2004 03:49: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 iB13hNmC069710;
	Wed, 1 Dec 2004 03:43: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); Wed, 1 Dec 2004 03:43: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 iB13gtB5069700
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 1 Dec 2004 03:43: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 iB13gEZv030657;
	Wed, 1 Dec 2004 03:42:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041130193309.02ddd0b8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 30 Nov 2004 19:42:51 -0800
To: Steven Legg <steven.legg@eb2bcom.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: David Wilson <David.Wilson@isode.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <41AD36C7.8050807@eb2bcom.com>
References: <1101835520.17676.69.camel@concorde.isode.net>
 <41AD36C7.8050807@eb2bcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:13 PM 11/30/2004, Steven Legg wrote:
>I don't like any solution that requires non-disjoint matching against substrings, though with spaces it can be finessed. 

How about this:
  Prepare the attribute value such that it always
  starts with a space, ends with a space, and every
  inner sequence of spaces is collapsed (or
  expanded) to two spaces.   In all cases, if the
  string is all spaces, it would collapsed to three
  spaces.

  Prepare the assertion values for ordering and
  equality in the same fashion.

  Prepare initial values such that they always
  start with as space, all inner sequences
  are collapsed to two spaces and any trailing
  spaces collapsed to a single space.  If
  the value is all spaces, it collapses to
  a single space.

  Prepare any values such that they always
  start and end with a space and all inner
  spaces collapse to two spaces.  If
  the value is all spaces, it collapses to
  a single space.

  Prepare final values such that they always
  end with as space, all inner sequences
  are collapsed to two spaces and any leading
  spaces collapsed to a single space.   If
  the value is all spaces, it collapses to
  a single space.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 23:03: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 XAA22572
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 23:03:57 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB1409xh070165;
	Wed, 1 Dec 2004 04:00: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 iB13xAtL070071;
	Wed, 1 Dec 2004 03:59: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); Wed, 1 Dec 2004 03:59: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 iB13x9p4070061
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 1 Dec 2004 03:59:09 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 iB13weZv030718;
	Wed, 1 Dec 2004 03:58:40 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.1.2.0.0.20041130195539.02e62720@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Tue, 30 Nov 2004 19:59:17 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: mapping of " " values
Cc: Steven Legg <steven.legg@eb2bcom.com>,
        David Wilson <David.Wilson@isode.com>
In-Reply-To: <6.1.2.0.0.20041130193309.02ddd0b8@127.0.0.1>
References: <1101835520.17676.69.camel@concorde.isode.net>
 <41AD36C7.8050807@eb2bcom.com>
 <6.1.2.0.0.20041130193309.02ddd0b8@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:42 PM 11/30/2004, Kurt D. Zeilenga wrote:
>At 07:13 PM 11/30/2004, Steven Legg wrote:
>>I don't like any solution that requires non-disjoint matching against substrings, though with spaces it can be finessed. 
>
>How about this:
>  Prepare the attribute value such that it always
>  starts with a space, ends with a space, and every
>  inner sequence of spaces is collapsed (or
>  expanded) to two spaces.   In all cases, if the
>  string is all spaces, it would collapsed to three
>  spaces.
>
>  Prepare the assertion values for ordering and
>  equality in the same fashion.
>
>  Prepare initial values such that they always
>  start with as space, all inner sequences
>  are collapsed to two spaces and any trailing
>  spaces collapsed to a single space.  If
>  the value is all spaces, it collapses to
>  a single space.
>
>  Prepare any values such that they always
>  start and end with a space and all inner
>  spaces collapse to two spaces.  If
>  the value is all spaces, it collapses to
>  a single space.

I hit "send" a bit too fast.  This should be:
   Prepare any values such that any leading
   space is collapsed to a single space,
   any trailing space is collapsed to a single
   space, and all inner space sequences are
   collapsed to two spaces.  If the value is all
   spaces, it collapses to a single space.


>  Prepare final values such that they always
>  end with as space, all inner sequences
>  are collapsed to two spaces and any leading
>  spaces collapsed to a single space.   If
>  the value is all spaces, it collapses to
>  a single space.
>
>Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 30 23:15: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 XAA23464
	for <ldapbis-archive@lists.ietf.org>; Tue, 30 Nov 2004 23:15:33 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [IPv6:::1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB14C9XW070759;
	Wed, 1 Dec 2004 04:13:39 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 iB148NWl070539;
	Wed, 1 Dec 2004 04:08: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); Wed, 1 Dec 2004 04:08:23 +0000
Received: from knee.trellick.net (ns.trellick.net [217.199.179.115])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id iB1487tp070506;
	Wed, 1 Dec 2004 04:08:20 GMT
	(envelope-from rici@ricilake.net)
X-ClientAddr: 200.121.189.78
Received: from [192.168.1.65] (client-200.121.189.78.speedy.net.pe [200.121.189.78] (may be forged))
	(authenticated bits=0)
	by knee.trellick.net (8.12.10/8.12.10) with ESMTP id iB15YqA9031186;
	Wed, 1 Dec 2004 05:34:54 GMT
In-Reply-To: <6.1.2.0.0.20041130193309.02ddd0b8@127.0.0.1>
References: <1101835520.17676.69.camel@concorde.isode.net> <41AD36C7.8050807@eb2bcom.com> <6.1.2.0.0.20041130193309.02ddd0b8@127.0.0.1>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <8FF25933-434E-11D9-9A9D-000A957D48A8@ricilake.net>
Content-Transfer-Encoding: 7bit
Cc: ietf-ldapbis@OpenLDAP.org, Steven Legg <steven.legg@eb2bcom.com>,
        David Wilson <David.Wilson@isode.com>
From: Rici Lake <rici@ricilake.net>
Subject: Re: LDAPprep: mapping of " " values
Date: Tue, 30 Nov 2004 23:07:48 -0500
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
X-Mailer: Apple Mail (2.619)
X-trellick.net-MailScanner-Information: Please contact the ISP for more information
X-trellick.net-MailScanner: Found to be clean
X-MailScanner-From: rici@ricilake.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-ID: ietf-ldapbis mailing list <ietf-ldapbis@OpenLDAP.org>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Surely this would have the effect of making it impossible to match 
non-word aligned substrings? Or am I misunderstanding all the spaces?


On 30-Nov-04, at 10:42 PM, Kurt D. Zeilenga wrote:

> At 07:13 PM 11/30/2004, Steven Legg wrote:
>> I don't like any solution that requires non-disjoint matching against 
>> substrings, though with spaces it can be finessed.
>
> How about this:
>   Prepare the attribute value such that it always
>   starts with a space, ends with a space, and every
>   inner sequence of spaces is collapsed (or
>   expanded) to two spaces.   In all cases, if the
>   string is all spaces, it would collapsed to three
>   spaces.
>
>   Prepare the assertion values for ordering and
>   equality in the same fashion.
>
>   Prepare initial values such that they always
>   start with as space, all inner sequences
>   are collapsed to two spaces and any trailing
>   spaces collapsed to a single space.  If
>   the value is all spaces, it collapses to
>   a single space.
>
>   Prepare any values such that they always
>   start and end with a space and all inner
>   spaces collapse to two spaces.  If
>   the value is all spaces, it collapses to
>   a single space.
>
>   Prepare final values such that they always
>   end with as space, all inner sequences
>   are collapsed to two spaces and any leading
>   spaces collapsed to a single space.   If
>   the value is all spaces, it collapses to
>   a single space.
>
> Kurt



