From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  1 00:15:48 2004
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA04736
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Mar 2004 00:15:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i215EkYX057785;
	Mon, 1 Mar 2004 05:14:51 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i215DpJG057767;
	Mon, 1 Mar 2004 05:13: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, 1 Mar 2004 05:13:51 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i215DdYT057734
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Mar 2004 05:13:40 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B00021c191>; Mon, 01 Mar 2004 16:04:32 +1100
Received: (qmail 26634 invoked from network); 1 Mar 2004 05:13:17 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 1 Mar 2004 05:13:17 -0000
Message-ID: <4042C66C.6060501@adacel.com.au>
Date: Mon, 01 Mar 2004 16:13:16 +1100
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org
Subject: Re: strange uniqueMemberMatch
References: <HBF.20030104hp76@bombur.uio.no>	<00ee01c2b53d$20d2beb0$a518200a@osmium.mtwav.adacel.com.au>	<5.2.0.9.0.20030108110558.02312c88@127.0.0.1> <HBF.20040209qjvn@bombur.uio.no>
In-Reply-To: <HBF.20040209qjvn@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> Any progress with this?

No. The last correspondence with the X.500 group I had on this issue was
on October 31, 2003. They remember discussing it and deciding on a solution
but it seems no one can put their finger on what the resolution was.

I think Skip is editing the amendments for the next edition of X.500 so perhaps
he can tell us if the description of uniqueMember has been updated.

> It's been a year now.  I asked before, but I don't think anyone answered.

Probably my fault. Sorry!

Regards,
Steven

> 
> http://www.OpenLDAP.org/lists/ietf-ldapbis/200301/msg00027.html
> http://www.OpenLDAP.org/lists/ietf-ldapbis/200301/msg00029.html
> 
> At 08 Jan 2003, Kurt D. Zeilenga wrote:
> 
>>At 08:36 PM 1/5/2003, Steven Legg wrote:
>>
>>>The uniqueMemberMatch rule is an equality matching rule that is not
>>>commutative, which causes problems in deciding whether attribute values
>>>are equal or not when adding or deleting values. I've raised this with
>>>the X.500 working group and I'm waiting to see how they resolve it.
>>
>>We likely should nudge them on this.  The current
>>definition is, I think, problematic because uniqueMember
>>is not single-valued.
> 
> 



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  1 09:29: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 JAA24874
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Mar 2004 09:29:51 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i21EQnYX081752;
	Mon, 1 Mar 2004 14:27:27 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i21EOCc9081286;
	Mon, 1 Mar 2004 14:24: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); Mon, 1 Mar 2004 14:24:12 +0000
Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com [32.97.182.102])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i21EOAYT081188
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Mar 2004 14:24:10 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e2.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i21ENn6s308226;
	Mon, 1 Mar 2004 09:23:49 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i21ENlIG121076;
	Mon, 1 Mar 2004 09:23:48 -0500
In-Reply-To: <1395B4B334FCC143B36AF788E68B63810119A756@ausyms21.ca.com>
Subject: RE: Protocol: control specifications.
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
Cc: "Hallvard B Furuseth" <h.b.furuseth@usit.uio.no>,
        ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Mon, 1 Mar 2004 08:23:46 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5.1|January 21, 2004) at
 03/01/2004 08:23:48 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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





I think Hallvard is arguing that 1B -- a control incorrectly marked with
criticality = FALSE -- should result in a failure.  My reading of X.511says
that 1A is not an error (at least not to X.511).

Here's what I can find in X5.11 (1993 & 2001) on critical extensions:

   7.3.1

   ...

   These Directory Specifications defines a number of extensions. The
extensions take such forms as additional numbered
   bits in a BIT STRING, or additional components of a SET or SEQUENCE, and
are ignored by 1988 edition systems.
   Each such extension is assigned an integer identifier, which is the
number of the bit that may be set in
   criticalExtensions. If the criticality of an extension is defined to be
critical, the DUA shall set the corresponding bit in
   criticalExtensions. If the defined criticality is non-critical, the DUA
may or may not set the corresponding bit in
   criticalExtensions.

   The extensions, their identifiers, the operations in which they are
permitted, the recommended criticality, and the clauses
   in which they are defined are shown in Table 1.

The "shalls" cover what the DUA is supposed to do.  I don't know what the
DSA is supposed to do in response to a request that uses a critical
extension but does not have the criticality bit set.  In some cases that
bit is the only protocol element associated with the extension, and it
other cases, X.511 uses similar language:  if the abc field is present, the
xyz criticality bit shall be set.

X.511 uses a recommended criticality  of "critical" in cases where it is
highly unlikely (at least) that a DUA would be content with the extension
be ignored.  For example, the X.511 equivalent of modify DN with new
superior, is an extension with recommended criticality of critical.  I
think the DSA could reject this request and be within bounds of a
reasonable interpretation of X.511, and I think that the application
developer / user would appreciate such behavior once they considered the
consequences of using such an application with a DSA that didn't support
the extension.  I'd sure hate to find out that the extension had been
ignored.

I favor language to the effect that:

A control specification SHOULD include the recommended criticality of a
control.  The control specification may specify the recommended criticality
as critical or not-critical.  If the control specification defines a
control as critical, the client MUST set the control criticality to TRUE; a
server SHOULD reject requests that include this control with a criticality
of FALSE.  If the control specification defines a control as not-critical,
the client can set the control criticality to TRUE or FALSE.  [and include
past language about how server honors controls it supports and are
appropriate to the operation, and returns unavailableCriticalExtension for
controls marked critical that it does not support or are not appropriate to
the operation].

I think this language should keep us out of trouble with respect to
existing implementations, beats RFC 2251's "always critical, never
critical, ..." language, keeps us in line with X.511, and provides a
mechanism to discourage unsafe applications that happen to work great on
the server they were initially tested with.


John  McMeeking



                                                                           
             "Ramsay, Ron"                                                 
             <Ron.Ramsay@ca.co                                             
             m>                                                         To 
             Sent by:                  "Hallvard B Furuseth"               
             owner-ietf-ldapbi         <h.b.furuseth@usit.uio.no>          
             s@OpenLDAP.org                                             cc 
                                       <ietf-ldapbis@OpenLDAP.org>         
                                                                   Subject 
             02/29/2004 10:26          RE: Protocol: control               
             PM                        specifications.                     
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi Hallvard,

I can't help feeling that you have answered your own question. Let's look
at the cases:

1A: Server implements control and criticality incorrectly marked TRUE
1B: Server implements control and criticality incorrectly marked FALSE
2A: Server does not implement control and criticality incorrectly marked
TRUE
2B: Server does not implement control and criticality incorrectly marked
FALSE.

The server response is

1A: Server must use the information in the control to perform the
operation. The result returned is the result of performing the operation;
the server cannot advise the client on the use of controls
1B: This is the same as 1A: if a server CAN perform a control, it MUST
perform it. Servers have no discretion when it comes to controls
2A: Server returns unavailable critical extension
2B: Server ignores the control.

That is, a server cannot make a comment about whether the criticality of
the control is correct. This is because a server MUST take the control into
account if it understands (implenments) it. If the server implements the
control, it doesn't matter if the criticality is TRUE or FALSE.

Therefore, advice on the criticality of the control can only apply to
clients. And servers cannot educate clients in this regard. As the
discretion is with the clients, control designers should direct there
remarks concerning criticality to the client writers.

Of course, there is the issue of response controls, but it seems that the
criticality of these controls should always be FALSE.

Ron


-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Hallvard B Furuseth
Sent: Friday, 27 February 2004 19:46
To: Kurt D. Zeilenga
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Protocol: control specifications.


I should have replied to this before, but I got so frustrated that just
had to quit the discussion for a while.  I'll rush off a reply now
before going on holiday, just so it comes before the next IETF.  Sorry
about the bad timing, and about setting this up so I can't reply in
time.

Kurt, I think we have said to each other what there is to say about my
proposal: that servers SHOULD reject incorrect criticality on known
controls.  However, you have not replied several of the my points about
your proposal.  An argument against my suggested change is _not_ an
argument for the opposite change.

- You say the intent of the original text was to encourage extension
  authors to discuss the circumstances of when particular criticality
  values are appropriate.  I wonder how you know that, since it is
  very different from what rfc2251 says.

- X.500 does mostly mandate criticality TRUE when criticality is
  mentioned, not merely recommend it.  Though there is one place
  where it only recommends.  I don't know if a wrong criticality in
  X.500 is an error which MUST be reported, or MAY be reported, or what.

- I can't see that the current text allows the control spec to mandate a
  particular criticality, it only says the spec can give 'direction' for
  the value.  You said somewhere that 'direction' might be a mandate.
  If so, the text in [Protocol] should mention that explicitly.
  Also, it should make clear if it is talking about mandating the
  criticality protocol field, or the criticality value as used by
  the server (maybe ignoring the protocol field), or either.

- The original text could be read as allowing the server to return an
  error if the wrong criticality is supplied.  I can't see the new text
  saying that.  I don't remember at the moment what who ended up meaning
  about that, except it took some rounds of clarifications because you
  misunderstood why I read the text that way.

The current draft is even worse than your proposal, though:

   - Regardless of the value of the criticality field, if the server
     recognizes the control type and it is appropriate for the
     operation, the server is to make use of the control when
     performing the operation.

Now it _really_ isn't possible to treat wrong criticality as an error.
With this wording it doesn't make sense here to claim that "when
performing the operation" only applies if the operation is performed at
all, and that one can still return an error instead.

Kurt D. Zeilenga writes:
> John, Hallvard,
>
> Are you aware of any server implementation which behaves consistently
> with the interpretation that you and Hallvard favor?

I really don't know many clients at all.

> I think the suggested new text is pretty clear that if a control
> specification really needs to alter the semantics of the server's
> general criticality processing, the control specification needs
> to state an imperative separately from the guidance it gives to
> client.

If you mean stating that the criticality is mandated, then as I've said,
I don't think your text says that at all.  I'd prefer

   - direction as to what value the sender should provide for the
     criticality field

in the current draft to be changed to 'direction or requirements as
to...'.

--
Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  1 19:50: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 TAA16962
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Mar 2004 19:50:08 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i220irYb077673;
	Tue, 2 Mar 2004 00:48:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i220ffsj077021;
	Tue, 2 Mar 2004 00:41:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 2 Mar 2004 00:41:41 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i220fbYT076959
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 2 Mar 2004 00:41:38 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 01 Mar 2004 17:41:17 -0700
Message-Id: <s04375bd.052@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 01 Mar 2004 17:40:48 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Ron.Ramsay@ca.com>, <jmcmeek@us.ibm.com>
Cc: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartB392BD00.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-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.

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

I'd rather leave the language as it is. It's much more simple to think
of criticality in the way it is currently described. 
 
Regarding what I think you're saying below: 
 
- If the client wants the operation to fail when not supported, it
should set the criticality to true.
- If there are cases where clients have a need to set the criticality
to false, and also be notified whether the control was applied, then the
control specification ought to provide some return control for purposes
of acknowledgment.
 
Jim

>>> John McMeeking <jmcmeek@us.ibm.com> 3/1/04 7:23:46 AM >>>




I think Hallvard is arguing that 1B -- a control incorrectly marked
with
criticality = FALSE -- should result in a failure. My reading of
X.511says
that 1A is not an error (at least not to X.511).

Here's what I can find in X5.11 (1993 & 2001) on critical extensions:

7.3.1

...

These Directory Specifications defines a number of extensions. The
extensions take such forms as additional numbered
bits in a BIT STRING, or additional components of a SET or SEQUENCE,
and
are ignored by 1988 edition systems.
Each such extension is assigned an integer identifier, which is the
number of the bit that may be set in
criticalExtensions. If the criticality of an extension is defined to
be
critical, the DUA shall set the corresponding bit in
criticalExtensions. If the defined criticality is non-critical, the
DUA
may or may not set the corresponding bit in
criticalExtensions.

The extensions, their identifiers, the operations in which they are
permitted, the recommended criticality, and the clauses
in which they are defined are shown in Table 1.

The "shalls" cover what the DUA is supposed to do. I don't know what
the
DSA is supposed to do in response to a request that uses a critical
extension but does not have the criticality bit set. In some cases
that
bit is the only protocol element associated with the extension, and it
other cases, X.511 uses similar language: if the abc field is present,
the
xyz criticality bit shall be set.

X.511 uses a recommended criticality of "critical" in cases where it
is
highly unlikely (at least) that a DUA would be content with the
extension
be ignored. For example, the X.511 equivalent of modify DN with new
superior, is an extension with recommended criticality of critical. I
think the DSA could reject this request and be within bounds of a
reasonable interpretation of X.511, and I think that the application
developer / user would appreciate such behavior once they considered
the
consequences of using such an application with a DSA that didn't
support
the extension. I'd sure hate to find out that the extension had been
ignored.

I favor language to the effect that:

A control specification SHOULD include the recommended criticality of
a
control. The control specification may specify the recommended
criticality
as critical or not-critical. If the control specification defines a
control as critical, the client MUST set the control criticality to
TRUE; a
server SHOULD reject requests that include this control with a
criticality
of FALSE. If the control specification defines a control as
not-critical,
the client can set the control criticality to TRUE or FALSE. [and
include
past language about how server honors controls it supports and are
appropriate to the operation, and returns unavailableCriticalExtension
for
controls marked critical that it does not support or are not
appropriate to
the operation].

I think this language should keep us out of trouble with respect to
existing implementations, beats RFC 2251's "always critical, never
critical, ..." language, keeps us in line with X.511, and provides a
mechanism to discourage unsafe applications that happen to work great
on
the server they were initially tested with.


John McMeeking




"Ramsay, Ron" 
< Ron.Ramsay@ca.co 
m> To 
Sent by: "Hallvard B Furuseth" 
owner-ietf-ldapbi < h.b.furuseth@usit.uio.no > 
s@OpenLDAP.org cc 
< ietf-ldapbis@OpenLDAP.org > 
Subject 
02/29/2004 10:26 RE: Protocol: control 
PM specifications. 










Hi Hallvard,

I can't help feeling that you have answered your own question. Let's
look
at the cases:

1A: Server implements control and criticality incorrectly marked TRUE
1B: Server implements control and criticality incorrectly marked FALSE
2A: Server does not implement control and criticality incorrectly
marked
TRUE
2B: Server does not implement control and criticality incorrectly
marked
FALSE.

The server response is

1A: Server must use the information in the control to perform the
operation. The result returned is the result of performing the
operation;
the server cannot advise the client on the use of controls
1B: This is the same as 1A: if a server CAN perform a control, it MUST
perform it. Servers have no discretion when it comes to controls
2A: Server returns unavailable critical extension
2B: Server ignores the control.

That is, a server cannot make a comment about whether the criticality
of
the control is correct. This is because a server MUST take the control
into
account if it understands (implenments) it. If the server implements
the
control, it doesn't matter if the criticality is TRUE or FALSE.

Therefore, advice on the criticality of the control can only apply to
clients. And servers cannot educate clients in this regard. As the
discretion is with the clients, control designers should direct there
remarks concerning criticality to the client writers.

Of course, there is the issue of response controls, but it seems that
the
criticality of these controls should always be FALSE.

Ron


-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org 
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Hallvard B
Furuseth
Sent: Friday, 27 February 2004 19:46
To: Kurt D. Zeilenga
Cc: ietf-ldapbis@OpenLDAP.org 
Subject: Re: Protocol: control specifications.


I should have replied to this before, but I got so frustrated that
just
had to quit the discussion for a while. I'll rush off a reply now
before going on holiday, just so it comes before the next IETF. Sorry
about the bad timing, and about setting this up so I can't reply in
time.

Kurt, I think we have said to each other what there is to say about my
proposal: that servers SHOULD reject incorrect criticality on known
controls. However, you have not replied several of the my points about
your proposal. An argument against my suggested change is _not_ an
argument for the opposite change.

- You say the intent of the original text was to encourage extension
authors to discuss the circumstances of when particular criticality
values are appropriate. I wonder how you know that, since it is
very different from what rfc2251 says.

- X.500 does mostly mandate criticality TRUE when criticality is
mentioned, not merely recommend it. Though there is one place
where it only recommends. I don't know if a wrong criticality in
X.500 is an error which MUST be reported, or MAY be reported, or what.

- I can't see that the current text allows the control spec to mandate
a
particular criticality, it only says the spec can give 'direction' for
the value. You said somewhere that 'direction' might be a mandate.
If so, the text in [Protocol] should mention that explicitly.
Also, it should make clear if it is talking about mandating the
criticality protocol field, or the criticality value as used by
the server (maybe ignoring the protocol field), or either.

- The original text could be read as allowing the server to return an
error if the wrong criticality is supplied. I can't see the new text
saying that. I don't remember at the moment what who ended up meaning
about that, except it took some rounds of clarifications because you
misunderstood why I read the text that way.

The current draft is even worse than your proposal, though:

- Regardless of the value of the criticality field, if the server
recognizes the control type and it is appropriate for the
operation, the server is to make use of the control when
performing the operation.

Now it _really_ isn't possible to treat wrong criticality as an error.
With this wording it doesn't make sense here to claim that "when
performing the operation" only applies if the operation is performed
at
all, and that one can still return an error instead.

Kurt D. Zeilenga writes:
> John, Hallvard,
>
> Are you aware of any server implementation which behaves
consistently
> with the interpretation that you and Hallvard favor?

I really don't know many clients at all.

> I think the suggested new text is pretty clear that if a control
> specification really needs to alter the semantics of the server's
> general criticality processing, the control specification needs
> to state an imperative separately from the guidance it gives to
> client.

If you mean stating that the criticality is mandated, then as I've
said,
I don't think your text says that at all. I'd prefer

- direction as to what value the sender should provide for the
criticality field

in the current draft to be changed to 'direction or requirements as
to...'.

--
Hallvard




--=__PartB392BD00.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>I'd rather leave the language as it is. It's much more simple to =
think of criticality in the way it is currently described. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Regarding what I think you're saying below: </DIV>
<DIV>&nbsp;</DIV>
<DIV>- If the client wants the operation to fail when not supported, it =
should set the criticality to true.</DIV>
<DIV>- If there are cases where clients have a need to set the criticality =
to false, and also be notified whether the control was applied, then the =
control specification ought to provide some return control for purposes of =
acknowledgment.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; John McMeeking &lt;jmcmeek@us.ibm.com&gt; =
3/1/04 7:23:46 AM &gt;&gt;&gt;<BR><BR><BR><BR><BR>I think Hallvard is =
arguing that 1B -- a control incorrectly marked with<BR>criticality =3D =
FALSE -- should result in a failure. My reading of X.511says<BR>that 1A is =
not an error (at least not to X.511).<BR><BR>Here's what I can find in =
X5.11 (1993 &amp; 2001) on critical extensions:<BR><BR>7.3.1<BR><BR>...<BR>=
<BR>These Directory Specifications defines a number of extensions. =
The<BR>extensions take such forms as additional numbered<BR>bits in a BIT =
STRING, or additional components of a SET or SEQUENCE, and<BR>are ignored =
by 1988 edition systems.<BR>Each such extension is assigned an integer =
identifier, which is the<BR>number of the bit that may be set in<BR>critica=
lExtensions. If the criticality of an extension is defined to be<BR>critica=
l, the DUA shall set the corresponding bit in<BR>criticalExtensions. If =
the defined criticality is non-critical, the DUA<BR>may or may not set the =
corresponding bit in<BR>criticalExtensions.<BR><BR>The extensions, their =
identifiers, the operations in which they are<BR>permitted, the recommended=
 criticality, and the clauses<BR>in which they are defined are shown in =
Table 1.<BR><BR>The "shalls" cover what the DUA is supposed to do. I don't =
know what the<BR>DSA is supposed to do in response to a request that uses =
a critical<BR>extension but does not have the criticality bit set. In some =
cases that<BR>bit is the only protocol element associated with the =
extension, and it<BR>other cases, X.511 uses similar language: if the abc =
field is present, the<BR>xyz criticality bit shall be set.<BR><BR>X.511 =
uses a recommended criticality of "critical" in cases where it is<BR>highly=
 unlikely (at least) that a DUA would be content with the extension<BR>be =
ignored. For example, the X.511 equivalent of modify DN with new<BR>superio=
r, is an extension with recommended criticality of critical. I<BR>think =
the DSA could reject this request and be within bounds of a<BR>reasonable =
interpretation of X.511, and I think that the application<BR>developer / =
user would appreciate such behavior once they considered the<BR>consequence=
s of using such an application with a DSA that didn't support<BR>the =
extension. I'd sure hate to find out that the extension had been<BR>ignored=
.<BR><BR>I favor language to the effect that:<BR><BR>A control specificatio=
n SHOULD include the recommended criticality of a<BR>control. The control =
specification may specify the recommended criticality<BR>as critical or =
not-critical. If the control specification defines a<BR>control as =
critical, the client MUST set the control criticality to TRUE; a<BR>server =
SHOULD reject requests that include this control with a criticality<BR>of =
FALSE. If the control specification defines a control as not-critical,<BR>t=
he client can set the control criticality to TRUE or FALSE. [and include<BR=
>past language about how server honors controls it supports and are<BR>appr=
opriate to the operation, and returns unavailableCriticalExtension =
for<BR>controls marked critical that it does not support or are not =
appropriate to<BR>the operation].<BR><BR>I think this language should keep =
us out of trouble with respect to<BR>existing implementations, beats RFC =
2251's "always critical, never<BR>critical, ..." language, keeps us in =
line with X.511, and provides a<BR>mechanism to discourage unsafe =
applications that happen to work great on<BR>the server they were =
initially tested with.<BR><BR><BR>John McMeeking<BR><BR><BR><BR><BR>"Ramsay=
, Ron" <BR>&lt;<U> <A href=3D"mailto:Ron.Ramsay@ca.co">Ron.Ramsay@ca.co</A>=
</U> <BR>m&gt; To <BR>Sent by: "Hallvard B Furuseth" <BR>owner-ietf-ldapbi =
&lt;<U> <A href=3D"mailto:h.b.furuseth@usit.uio.no">h.b.furuseth@usit.uio.n=
o</A></U> &gt; <BR><U><A href=3D"mailto:s@OpenLDAP.org">s@OpenLDAP.org</A><=
/U> cc <BR>&lt;<U> <A href=3D"mailto:ietf-ldapbis@OpenLDAP.org">ietf-ldapbi=
s@OpenLDAP.org</A></U> &gt; <BR>Subject <BR>02/29/2004 10:26 RE: Protocol: =
control <BR>PM specifications. <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>=
Hi Hallvard,<BR><BR>I can't help feeling that you have answered your own =
question. Let's look<BR>at the cases:<BR><BR>1A: Server implements control =
and criticality incorrectly marked TRUE<BR>1B: Server implements control =
and criticality incorrectly marked FALSE<BR>2A: Server does not implement =
control and criticality incorrectly marked<BR>TRUE<BR>2B: Server does not =
implement control and criticality incorrectly marked<BR>FALSE.<BR><BR>The =
server response is<BR><BR>1A: Server must use the information in the =
control to perform the<BR>operation. The result returned is the result of =
performing the operation;<BR>the server cannot advise the client on the =
use of controls<BR>1B: This is the same as 1A: if a server CAN perform a =
control, it MUST<BR>perform it. Servers have no discretion when it comes =
to controls<BR>2A: Server returns unavailable critical extension<BR>2B: =
Server ignores the control.<BR><BR>That is, a server cannot make a comment =
about whether the criticality of<BR>the control is correct. This is =
because a server MUST take the control into<BR>account if it understands =
(implenments) it. If the server implements the<BR>control, it doesn't =
matter if the criticality is TRUE or FALSE.<BR><BR>Therefore, advice on =
the criticality of the control can only apply to<BR>clients. And servers =
cannot educate clients in this regard. As the<BR>discretion is with the =
clients, control designers should direct there<BR>remarks concerning =
criticality to the client writers.<BR><BR>Of course, there is the issue of =
response controls, but it seems that the<BR>criticality of these controls =
should always be FALSE.<BR><BR>Ron<BR><BR><BR>-----Original Message-----<BR=
>From: <U><A href=3D"mailto:owner-ietf-ldapbis@OpenLDAP.org">owner-ietf-lda=
pbis@OpenLDAP.org</A></U> <BR><U><A href=3D"mailto:[mailto:owner-ietf-ldapb=
is@OpenLDAP.org]On">[mailto:owner-ietf-ldapbis@OpenLDAP.org]On</A></U> =
Behalf Of Hallvard B Furuseth<BR>Sent: Friday, 27 February 2004 19:46<BR>To=
: Kurt D. Zeilenga<BR>Cc: <U><A href=3D"mailto:ietf-ldapbis@OpenLDAP.org">i=
etf-ldapbis@OpenLDAP.org</A></U> <BR>Subject: Re: Protocol: control =
specifications.<BR><BR><BR>I should have replied to this before, but I got =
so frustrated that just<BR>had to quit the discussion for a while. I'll =
rush off a reply now<BR>before going on holiday, just so it comes before =
the next IETF. Sorry<BR>about the bad timing, and about setting this up so =
I can't reply in<BR>time.<BR><BR>Kurt, I think we have said to each other =
what there is to say about my<BR>proposal: that servers SHOULD reject =
incorrect criticality on known<BR>controls. However, you have not replied =
several of the my points about<BR>your proposal. An argument against my =
suggested change is _not_ an<BR>argument for the opposite change.<BR><BR>- =
You say the intent of the original text was to encourage extension<BR>autho=
rs to discuss the circumstances of when particular criticality<BR>values =
are appropriate. I wonder how you know that, since it is<BR>very different =
from what rfc2251 says.<BR><BR>- X.500 does mostly mandate criticality =
TRUE when criticality is<BR>mentioned, not merely recommend it. Though =
there is one place<BR>where it only recommends. I don't know if a wrong =
criticality in<BR>X.500 is an error which MUST be reported, or MAY be =
reported, or what.<BR><BR>- I can't see that the current text allows the =
control spec to mandate a<BR>particular criticality, it only says the spec =
can give 'direction' for<BR>the value. You said somewhere that 'direction' =
might be a mandate.<BR>If so, the text in [Protocol] should mention that =
explicitly.<BR>Also, it should make clear if it is talking about mandating =
the<BR>criticality protocol field, or the criticality value as used =
by<BR>the server (maybe ignoring the protocol field), or either.<BR><BR>- =
The original text could be read as allowing the server to return an<BR>erro=
r if the wrong criticality is supplied. I can't see the new text<BR>saying =
that. I don't remember at the moment what who ended up meaning<BR>about =
that, except it took some rounds of clarifications because you<BR>misunders=
tood why I read the text that way.<BR><BR>The current draft is even worse =
than your proposal, though:<BR><BR>- Regardless of the value of the =
criticality field, if the server<BR>recognizes the control type and it is =
appropriate for the<BR>operation, the server is to make use of the control =
when<BR>performing the operation.<BR><BR>Now it _really_ isn't possible to =
treat wrong criticality as an error.<BR>With this wording it doesn't make =
sense here to claim that "when<BR>performing the operation" only applies =
if the operation is performed at<BR>all, and that one can still return an =
error instead.<BR><BR>Kurt D. Zeilenga writes:<BR>&gt; John, Hallvard,<BR>&=
gt;<BR>&gt; Are you aware of any server implementation which behaves =
consistently<BR>&gt; with the interpretation that you and Hallvard =
favor?<BR><BR>I really don't know many clients at all.<BR><BR>&gt; I think =
the suggested new text is pretty clear that if a control<BR>&gt; specificat=
ion really needs to alter the semantics of the server's<BR>&gt; general =
criticality processing, the control specification needs<BR>&gt; to state =
an imperative separately from the guidance it gives to<BR>&gt; client.<BR><=
BR>If you mean stating that the criticality is mandated, then as I've =
said,<BR>I don't think your text says that at all. I'd prefer<BR><BR>- =
direction as to what value the sender should provide for the<BR>criticality=
 field<BR><BR>in the current draft to be changed to 'direction or =
requirements as<BR>to...'.<BR><BR>--<BR>Hallvard<BR><BR><BR></DIV></BODY></=
HTML>

--=__PartB392BD00.1__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  1 19:54: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 TAA17204
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Mar 2004 19:54:39 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i220orYX079464;
	Tue, 2 Mar 2004 00:54:04 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i220nJAv079040;
	Tue, 2 Mar 2004 00:49: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, 2 Mar 2004 00:49:19 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i220nGYT078912;
	Tue, 2 Mar 2004 00:49:16 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 01 Mar 2004 17:48:56 -0700
Message-Id: <s0437788.012@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 01 Mar 2004 17:48: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: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part7D5C73CF.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

Hallvard,
 
>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 2/27/04 1:45:49 AM
>>>
>The current draft is even worse than your proposal, though:
>
>   - Regardless of the value of the criticality field, if the server 
>     recognizes the control type and it is appropriate for the 
>     operation, the server is to make use of the control when 
>     performing the operation. 
>
>Now it _really_ isn't possible to treat wrong criticality as an
error.

I think that's the point (we are trying to remove ambiguity). This
language is simple to understand and implement. Any recommendations
given in control specifications are to the client implementer.
 
>With this wording it doesn't make sense here to claim that "when
>performing the operation" only applies if the operation is performed
at
>all, and that one can still return an error instead.

I agree. Hopefully no one will twist the language in that way.
 
Jim

--=__Part7D5C73CF.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>Hallvard,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.no&gt; =
2/27/04 1:45:49 AM &gt;&gt;&gt;<BR>&gt;The current draft is even worse =
than your proposal, though:</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;&nbsp; - Regardless of the value of the criticality field, =
if the server <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; recognizes the control type =
and it is appropriate for the <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; operation, =
the server is to make use of the control when <BR>&gt;&nbsp;&nbsp;&nbsp;&nb=
sp; performing the operation. </DIV>
<DIV>&gt;</DIV>
<DIV>&gt;Now it _really_ isn't possible to treat wrong criticality as an =
error.<BR></DIV>
<DIV>I think that's the point (we are trying to remove ambiguity). This =
language is simple to understand and implement. Any recommendations given =
in control specifications are to the client implementer.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;With this wording it doesn't make sense here to claim that =
"when<BR>&gt;performing the operation" only applies if the operation is =
performed at<BR>&gt;all, and that one can still return an error instead.<BR=
></DIV>
<DIV>I agree. Hopefully no one will twist the language&nbsp;in that =
way.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__Part7D5C73CF.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  1 22:46: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 WAA27013
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Mar 2004 22:46:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i223isYX002577;
	Tue, 2 Mar 2004 03:45:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i223hhG2002563;
	Tue, 2 Mar 2004 03:43: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, 2 Mar 2004 03:43:43 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i223h6YT002540
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 2 Mar 2004 03:43:06 GMT
	(envelope-from RHARRISON@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 01 Mar 2004 20:42:46 -0700
Message-Id: <s043a046.062@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 01 Mar 2004 20:42:22 -0700
From: "Roger Harrison" <RHARRISON@novell.com>
To: <michael@stroeder.com>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: authmeth: user-specified SASL mechanisms
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartE0C1E98E.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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


>=20
> >>> Michael Str=F6der <michael@stroeder.com> 1/4/2004 4:24:25 AM >>>
> Hallvard B Furuseth wrote:
> > authmeth-09 says:
> >=20
>>3.3.5. Rules for using SASL security layers
>=20
> >> Because SASL mechanisms provide critical security functions, clients
> >> and servers should allow the user to specify what mechanisms are
> >> acceptable and allow only those mechanisms to be used.
> >=20
> By itself, I think this is bad advice, because most users know very
> little about security. I suppose many clients will have to ask
> their users, but preferably they should also explain the
> implications of what they allow the user to select.
>=20
> Hmm, maybe the term "user" should be made more clear. At first glance =
one=20
> understands non-technical end-users sitting in front of their workstation=
.=20
> But you could also think of a user being a site administrator choosing =
the=20
> acceptable SASL mechanism(s) for a centrally configured LDAP client.=20
> Therefore the client and the server should allow the "user" to specify =
an=20
> acceptable SASL mechanism.
>=20
> Ciao, Michael.

How about this wording:

Because SASL mechanisms provide critical security functions, clients
and servers should be configurable to specify what mechanisms are
acceptable and allow only those mechanisms to be used.
=20
Roger


--=__PartE0C1E98E.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><BR>&gt; <BR>&gt; &gt;&gt;&gt; Michael Str=F6der &lt;michael@stroeder.=
com&gt; 1/4/2004 4:24:25 AM &gt;&gt;&gt;<BR>&gt; Hallvard B Furuseth =
wrote:<BR>&gt; &gt; authmeth-09 says:<BR>&gt; &gt; <BR>&gt;&gt;3.3.5. =
Rules for using SASL security layers<BR>&gt; <BR>&gt; &gt;&gt; Because =
SASL mechanisms provide critical security functions, clients<BR>&gt; =
&gt;&gt; and servers should allow the user to specify what mechanisms =
are<BR>&gt; &gt;&gt; acceptable and allow only those mechanisms to be =
used.<BR>&gt; &gt; <BR>&gt; By itself, I think this is bad advice, because =
most users know very<BR>&gt; little about security. I suppose many clients =
will have to ask<BR>&gt; their users, but preferably they should also =
explain the<BR>&gt; implications of what they allow the user to select.<BR>=
&gt; <BR>&gt; Hmm, maybe the term "user" should be made more clear. At =
first glance one <BR>&gt; understands non-technical end-users sitting in =
front of their workstation. <BR>&gt; But you could also think of a user =
being a site administrator choosing the <BR>&gt; acceptable SASL mechanism(=
s) for a centrally configured LDAP client. <BR>&gt; Therefore the client =
and the server should allow the "user" to specify an <BR>&gt; acceptable =
SASL mechanism.<BR>&gt; <BR>&gt; Ciao, Michael.<BR></DIV>
<DIV>How about this wording:</DIV>
<DIV><BR>Because SASL mechanisms provide critical security functions, =
clients<BR>and servers should be configurable to specify what mechanisms =
are<BR>acceptable and allow only those mechanisms to be used.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Roger</DIV></BODY></HTML>

--=__PartE0C1E98E.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  2 04:29: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 EAA29014
	for <ldapbis-archive@lists.ietf.org>; Tue, 2 Mar 2004 04:29:06 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i229R1YX015606;
	Tue, 2 Mar 2004 09:27:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i229Of6r015459;
	Tue, 2 Mar 2004 09:24:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 2 Mar 2004 09:24:41 +0000
Received: from nb2.stroeder.com (du-006-006.access.de.clara.net [212.82.229.6])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i229OOYT015398;
	Tue, 2 Mar 2004 09:24:25 GMT
	(envelope-from michael@stroeder.com)
Received: from stroeder.com (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id ED35D2AB38; Mon,  1 Mar 2004 18:04:07 +0100 (CET)
Message-ID: <40436D07.2090008@stroeder.com>
Date: Mon, 01 Mar 2004 18:04:07 +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.6) Gecko/20040113
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: authmeth review notes [long]
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:
> 
>  LDAP implementations SHOULD support the simple DN/password mechanism
>  of the simple Bind method (as detailed in Section X).

s/SHOULD/MUST/

>  Implementations
>  which support this mechanism MUST be capable of protecting it by
>  establishment (as discussed in Section 3) of TLS. 

s/MUST/SHOULD/

Kurt, although I appreciate your intention to emphasize the need for
transport layer security for clear-text passwords I see it the other way round.

> Instead, I suggest:
> [..]
> 	The server is only to return success result
> 	code when the credentials are valid and the server is willing
> 	to provide service to the entity these credentials identify.

Hmm, this combined sentence mixes authentication and authorization. I don't
like that since an LDAP application cannot distinguish between failed
authentication and missing authorization. IMO in the latter case
insufficientAccessRights should be returned.

>> 9. SASL EXTERNAL Mechanism
> [..] For ease of implementation, we should avoid mandating
> mechanism-specific failure handling.

Yes!

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  3 00:39: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 AAA03031
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Mar 2004 00:39:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i235R3ZF056215;
	Wed, 3 Mar 2004 05:38:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i235M64x054865;
	Wed, 3 Mar 2004 05:22: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, 3 Mar 2004 05:22:06 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i235M3YT054849
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Mar 2004 05:22: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.10) with ESMTP id i235M2Ms067727
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Mar 2004 05:22:02 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040303141943.04eba520@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 03 Mar 2004 14:21:59 +0900
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: chatroom log from IETF#59 session
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

For your info, here is the chatroom log from our IETF#59 session.
Thanks to Alexey for being our scribe!

[3:42 PM]<alexeymelnikov> Kurt: is talking about WG status
[3:42 PM]<alexeymelnikov> WG had two documents last time
[3:43 PM]<alexeymelnikov> Protocol is pretty much done, authmech still remains
[3:43 PM]<alexeymelnikov> Kurt is hoping to finish this quickly (optimist ;-))
[3:43 PM]<alexeymelnikov> Next step is to Last Call "protocol" document
[3:44 PM]<alexeymelnikov> Kurt is expecting approx. 2 revs on authmethods before it is done
[3:44 PM]<alexeymelnikov> Next time Kurt is hope to talk about new work (if any)
[3:45 PM]<alexeymelnikov> Jim is doing update on "protocol"
[3:46 PM]<alexeymelnikov> Issues:
[3:47 PM]<alexeymelnikov> 1) attributesd with no equality rules (Jim hopes that "model" can be updated)
[3:47 PM]<alexeymelnikov> 2) Server-enforced control criticality (more list discussion might be required)
[3:49 PM]<alexeymelnikov> should the server return error if criticality flag doesn't much criticality as described for a control extension
[3:50 PM]<alexeymelnikov> Kurt: are there any server implementors that implement as Howard interpreted the spec. Nobody come up with any example
[3:51 PM]<ludomp> It's Hallvard (Furuseth) not Howard
[3:51 PM]<alexeymelnikov> [disclaimer: non english speaker can't spell names ;-)]
[3:52 PM]<ludomp> [disclaimer: non english corrector neither, but it was for correctness of minutes/scribings]
[3:53 PM]<alexeymelnikov> Ted is asking what kind of problems would arise if a server enforces check for criticality matching a control spec
[3:54 PM]<alexeymelnikov> Kurt is saying that criticality may change over time, the server should not care
[3:55 PM]<alexeymelnikov> Hallvard wants the following: if the client doesn't set criticality flag properly, the server should return an error. This will cause the client author to fix it.
[3:55 PM]<alexeymelnikov> Kurt: this might be useful for debuging
[3:56 PM]<alexeymelnikov> Ted suggests to ask Hallvard to come up with a useful usecase (not for debugging)
[3:57 PM]<alexeymelnikov> Action: ask Halvard about a non diagnostic use case
[3:58 PM]<alexeymelnikov> Kurt: the document was listing 3 options: control criticality must be TRUE, must be FALSE, up to the client. But the reality is that this might depend on other conditions
[4:00 PM]<alexeymelnikov> Jim: most servers check if control is enabled and if it is not, but required, the server should return an error. Those server has to be updated
[4:00 PM]<alexeymelnikov> [I might be misinterpreted the last statement]
[4:01 PM]<alexeymelnikov> 3) AuthMech reconciliation. Some text was duplicated in both authmech and protocol, should be removed from authmech
[4:01 PM]<alexeymelnikov> Jim: we are ready for WG last call
[4:02 PM]<ludomp> most servers check if they know the control, if they don't they check criticality to decide to abort the operation or ignore the control. If Hallvard recommendations are added, some servers implementation will have to be updated.
[4:03 PM]<alexeymelnikov> [yes, that is better]
[4:04 PM]<alexeymelnikov> Kurt: Last Call mid March?
[4:04 PM]<alexeymelnikov> Jim is presenting on AuthMech
[4:04 PM]<alexeymelnikov> revision 10
[4:05 PM]<alexeymelnikov> 1) Password Considerations (clarify that password considerations only apply to cleartext passwords in bind)
[4:06 PM]<alexeymelnikov> 2) Move mandatory-to-implement features into its own section
[4:06 PM]<alexeymelnikov> 3) Start TLS sequencing warning
[4:07 PM]<alexeymelnikov> (all oustanding operations must be completed)
[4:07 PM]<alexeymelnikov> some clients are used to send StartTLS before receiving responses to outstanding operations
[4:08 PM]<alexeymelnikov> ... because most servers will finish all operations or cancel them
[4:08 PM]<alexeymelnikov> Kurt: client is supposed to wait, but some don't
[4:09 PM]<alexeymelnikov> Kurt: some servers process one operation at a time, so badly behaved clients can get away with there behaviour
[4:10 PM]<alexeymelnikov> Personal Comment: I think some Microsoft client has the broken behaviour
[4:10 PM]<alexeymelnikov> 4) Anonymous authentication (need to remove the statement whcih says it's typical to bind anonymously when no updating)
[4:11 PM]<alexeymelnikov> 5) Rules for SASL layers
[4:12 PM]<alexeymelnikov> The current wording is limited (suggestion: allow both clients and server to enforce which mechanisms to use)
[4:13 PM]<alexeymelnikov> Kurt: think in terms of security levels, not SASL mechs
[4:13 PM]<alexeymelnikov> because a stronger mech can be used in weaker mode (i.e. GSSAPI with no security layer)
[4:13 PM]<alexeymelnikov> 6) Sample Deployment Secnarios
[4:14 PM]<alexeymelnikov> People not sure what is this all about
[4:14 PM]<alexeymelnikov> Roger is working on the document this week
[4:16 PM]<alexeymelnikov> Kurt: the authmech needs review rant
[4:17 PM]<alexeymelnikov> Kurt: other outstanding issues
[4:18 PM]<alexeymelnikov> Kurt: quality matching rules (current proposal doesn't agree with X501)
[4:19 PM]<alexeymelnikov> Kurt will cut and paste from X501
[4:19 PM]<alexeymelnikov> Kurt: some minor changes will be done if X500 don't agree with LDAP
[4:20 PM]<ludomp> [This is about the absence of equality matching rule and how to treat such attributes]
[4:21 PM]<alexeymelnikov> Kurt: the document has passed the Last Call, so the changes should be reviewed on the mailing list
[4:22 PM]<alexeymelnikov> Ted: break protocols in chinks for IESG review, so that a Discuss comment on one document doesn't hold 8 other
[4:23 PM]<alexeymelnikov> Kurt: document have interdependencies, so it actually might be reasonable for 1 doc to delay all
[4:24 PM]<alexeymelnikov> Kurt: minor clarifications in URL, filter, etc
[4:25 PM]<alexeymelnikov> Syntaxes is done, the question is whether all standard track matching rules should be absorbed by the document
[4:27 PM]<ludomp> the additional matching rules published to standard tracks just been published in rfc 3698
[4:27 PM]<alexeymelnikov> Kurt is asking if there is any opposition to the plan
[4:28 PM]<alexeymelnikov> Jim: must identify which matching rules are elective
[4:28 PM]<alexeymelnikov> Kurt: les
[4:29 PM]<alexeymelnikov> s/les/let's talk about milestones/
[4:30 PM]<alexeymelnikov> Kurt: "protocol" - march, "authmech" - april, may for the rest
[4:31 PM]<alexeymelnikov> Interop report is 6 month after approval as RFC
[4:32 PM]<alexeymelnikov> the meeting is closed
[4:33 PM]<ludomp> Thanks Alexey... Great scribing !
[4:33 PM]<rlbob> yes, thanks Alexey
p




From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar  4 00:59: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 AAA02200
	for <ldapbis-archive@lists.ietf.org>; Thu, 4 Mar 2004 00:59:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i245vCYX019507;
	Thu, 4 Mar 2004 05:58:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i245v4DC019458;
	Thu, 4 Mar 2004 05:57: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); Thu, 4 Mar 2004 05:57:04 +0000
Received: from au.padl.com (au.padl.com [203.13.32.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i245urYT019396
	for <ietf-ldapbis@openldap.org>; Thu, 4 Mar 2004 05:56:53 GMT
	(envelope-from lukeh@au.padl.com)
Received: (from lukeh@localhost)
	by au.padl.com (8.9.3/8.9.3) id QAA02107;
	Thu, 4 Mar 2004 16:56:39 +1100 (EST)
From: Luke Howard <lukeh@PADL.COM>
Message-Id: <200403040556.QAA02107@au.padl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Organization: PADL Software Pty Ltd
To: ietf-ldapbis@OpenLDAP.org
Subject: SASL mechanisms that return no data in last leg
Reply-To: lukeh@PADL.COM
Date: Thu, 4 Mar 2004 16:56:32 +1100
Versions: dmail (bsd44) 2.4c/makemail 2.9d
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


We have noticed an interoperability issue with clients that
assume that saslServerCreds will be present, but zero length,
when a SASL mechanism returns no data for the last leg of an
authentication. (An example of such a mechanism is GSSAPI.)

OpenLDAP and PADL GSS-SASL both omit saslServerCreds in this
case, whereas Active Directory returns it with a zero-length
octet. It seems to me that the Active Directory behaviour
actually makes more sense, and the OpenLDAP client (which
uses Cyrus SASL) accepts both behaviours. However, we have
noticed that some proprietary GSSAPI SASL clients fail if
saslServerCreds is not present.

See:

  http://www.openldap.org/its/index.cgi/Incoming?id=2994

RFC 2222 doesn't really distinguished between not present and
zero length; it merely says that after the server receives the
last client response the "authentication process is complete". 

-- Luke



From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar  6 20:30: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 UAA14321
	for <ldapbis-archive@lists.ietf.org>; Sat, 6 Mar 2004 20:30:44 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i271TYYT088111;
	Sun, 7 Mar 2004 01:29:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i271GFmj087495;
	Sun, 7 Mar 2004 01:16: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); Sun, 7 Mar 2004 01:16:15 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i271GAYT087482
	for <ietf-ldapbis@OpenLDAP.org>; Sun, 7 Mar 2004 01:16:11 GMT
	(envelope-from Alexey.Melnikov@isode.com)
Received: from isode.com ([211.255.232.93]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Sun, 7 Mar 2004 01:15:09 +0000
Message-ID: <404A778D.90302@isode.com>
Date: Sun, 07 Mar 2004 10:14:53 +0900
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: lukeh@PADL.COM
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: SASL mechanisms that return no data in last leg
References: <200403040556.QAA02107@au.padl.com>
In-Reply-To: <200403040556.QAA02107@au.padl.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Luke Howard wrote:

>We have noticed an interoperability issue with clients that
>assume that saslServerCreds will be present, but zero length,
>when a SASL mechanism returns no data for the last leg of an
>authentication. (An example of such a mechanism is GSSAPI.)
>
>OpenLDAP and PADL GSS-SASL both omit saslServerCreds in this
>case, whereas Active Directory returns it with a zero-length
>octet. It seems to me that the Active Directory behaviour
>actually makes more sense, and the OpenLDAP client (which
>uses Cyrus SASL) accepts both behaviours.
>
Actually might interpretation of RFC 2222 would be exactly the opposite.
If the last leg from the server to the client doesn't send anything, 
this means there is no "additional data with success". The latter 
implies that nothing should be sent.

> However, we have
>noticed that some proprietary GSSAPI SASL clients fail if
>saslServerCreds is not present.
>
>See:
>
>  http://www.openldap.org/its/index.cgi/Incoming?id=2994
>
>RFC 2222 doesn't really distinguished between not present and
>zero length; it merely says that after the server receives the
>last client response the "authentication process is complete". 
>  
>
I guess the authmech document should say that clients should treat 
missing data in the last response from the server as if a zero length 
response was sent. And that for interoperability it is recommended to 
send zero length response.

Alexey




From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 13:53: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 NAA20590
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 13:53:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28IpoYX041446;
	Mon, 8 Mar 2004 18:52:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28IpVjO041422;
	Mon, 8 Mar 2004 18:51: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); Mon, 8 Mar 2004 18:51:31 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28IpTYT041371
	for <ietf-ldapbis@openldap.org>; Mon, 8 Mar 2004 18:51:30 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.20)
	id 1B0PqV-0002dv-GV; Mon, 08 Mar 2004 19:51:23 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B0PqL-0000De-5X; Mon, 08 Mar 2004 19:51:13 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0PqL-0003ZZ-00; Mon, 8 Mar 2004 19:51:13 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040308m9cl@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: Ron.Ramsay@ca.com, jmcmeek@us.ibm.com, ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <s04375bd.054@prv-mail20.provo.novell.com>
References: <s04375bd.054@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Mar 2004 19:51: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> - If there are cases where clients have a need to set the criticality
> to false, and also be notified whether the control was applied, then
> the control specification ought to provide some return control for
> purposes of acknowledgment.

...if the control was applied.  True, but that's another issue.
I think it's covered by this text in the draft:

     (note: the semantics of the criticality field 
     are defined above should not be altered by the control's 
     specification)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 14:40: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 NAA20589
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 13:53:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28IpoYZ041446;
	Mon, 8 Mar 2004 18:52:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28Iid5E040819;
	Mon, 8 Mar 2004 18:44: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 Mar 2004 18:44:39 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28IiXYT040786
	for <ietf-ldapbis@openldap.org>; Mon, 8 Mar 2004 18:44:37 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.20)
	id 1B0Pjg-0001bS-Pr; Mon, 08 Mar 2004 19:44:20 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B0Pjc-0007go-8Q; Mon, 08 Mar 2004 19:44:16 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0Pja-0003Z3-00; Mon, 8 Mar 2004 19:44:15 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040308mdjk@bombur.uio.no>
To: John McMeeking <jmcmeek@us.ibm.com>
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
References: <1395B4B334FCC143B36AF788E68B63810119A756@ausyms21.ca.com>
	<OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Mar 2004 19:44:15 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Ramsay, Ron writes:
> I can't help feeling that you have answered your own question.

I'm not sure which question you are referring to.  You are just
describing some of the semantics of the current draft.  I'm asking for
responses to my arguments against the change from rfc2251 to that
semantics.  The original change I suggested in the other direction has
been discussed to death, but the change which was actually made has not.

> The server response is (...)

Yes, that's what the current text says.  It's not what rfc2251 said.


John McMeeking writes:

> I think Hallvard is arguing that 1B -- a control incorrectly marked
> with criticality = FALSE -- should result in a failure.

Well, that's what I want (with s/should/SHOULD/), but I've given up that
as a lost cause.  What I'm asking for now is response to my arguments
against even removing the MAY and the change to demote _required_
criticality to mere advice, and for clarification to some of the text
about the latter.

> Here's what I can find in X5.11 (1993 & 2001) on critical extensions:
> (...)
> The "shalls" cover what the DUA is supposed to do.  I don't know what the
> DSA is supposed to do in response to a request that uses a critical
> extension but does not have the criticality bit set.

Yes, I'd like to know what X.500 servers actually do in that case.


BTW, I'm sorry about the sour note I restarted this thread with.  I
guess it's because I wrote it at "33:45 o'clock" and was rather tired
after a long night.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 15:12: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 PAA25644
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 15:12:06 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28KB3YT048646;
	Mon, 8 Mar 2004 20:11:03 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28K3AAR047943;
	Mon, 8 Mar 2004 20:03: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 Mar 2004 20:03:09 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28K2uYT047926
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 20:03: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.10) with ESMTP id i28K2tMs063351;
	Mon, 8 Mar 2004 20:02:55 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040308105644.050de348@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 08 Mar 2004 12:02:53 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040308mdjk@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810119A756@ausyms21.ca.com>
 <OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
 <HBF.20040308mdjk@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Hallvard, John,

In discussing this issue at IETF#59, one of the questions
that came up was whether there were any non-diagnostic
use case for criticality behavior (where control specifications
mandate client send a particular value that servers are to
verify the value and return error if not).  Do you have
any?

It seems that this is not really a protocol interoperability
issue (though requiring verification might actually lead to
some protocol interoperability problems), but a client
development/diagnostic issue.

(Hallvard, you are likely correct that I have not responded to
each of your points.  This is mostly likely due to my attempt
to narrow discussion to key aspects of this issue.  We, of
course, likely differ on what are key aspects of this
discussion.)

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 16:24: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 QAA03547
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 16:24:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28LMvYT058496;
	Mon, 8 Mar 2004 21:22:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28LC2Be057134;
	Mon, 8 Mar 2004 21:12: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 Mar 2004 21:12:02 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28LBxYT057065;
	Mon, 8 Mar 2004 21:11:59 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx1.uio.no ([129.240.10.29])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B0S2W-0000ZR-2Q; Mon, 08 Mar 2004 22:11:56 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.30)
	id 1B0S2T-000798-Mb; Mon, 08 Mar 2004 22:11:53 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0S2M-0003sz-00; Mon, 8 Mar 2004 22:11:46 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040308jwqx@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <6.0.1.1.0.20040308105644.050de348@127.0.0.1>
References: <1395B4B334FCC143B36AF788E68B63810119A756@ausyms21.ca.com>
	<OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
	<HBF.20040308mdjk@bombur.uio.no>
	<6.0.1.1.0.20040308105644.050de348@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Mar 2004 22:11:46 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:

> In discussing this issue at IETF#59, one of the questions that came up
> was whether there were any non-diagnostic use case for criticality
> behavior (where control specifications mandate client send a
> particular value that servers are to verify the value and return error
> if not).  Do you have any?

I'm not sure what is the question and what is not, but I hope you find
the answer here:

- While I think control specs should be able to mandate the
  criticality protocol field, they should not mandate that servers check
  it.  That is a [Protocol] issue.  It would just add to the mess if one
  could trust a server to catch wrong criticality for some controls, but
  not for others.

- I'm aware of no RFC which requires a request control to be
  critical or non-critical.  So of course I'm aware of no RFC which
  requires anything to check the criticality of any control.

- rfc2649 (Signed Results) and rfc2891 (Server Side Sorting) require
  the response control to have criticality FALSE, but does not say that
  the client must check it.  Seems like an uninteresting case to me, in
  particular now that response criticality will be ignored.

- I thought (and still suspect) rfc2251 said wrong criticality was an
  error, and thus a quality server should catch it, but I did not think
  this was a mandate.

- draft-zeilenga-ldap-noop-*.txt requires criticality to be TRUE, but I
  note you have reworded the -04 version to explicitly make it a
  client-side mandate.  Too bad:-)

- rfc 2649 and rfc 2891 alters the semantics to the criticality
  field.  See the last part of this message:

  URL: http://www.OpenLDAP.org/lists/ietf-ldapbis/200401/msg00083.html
  Message-Id: <HBF.20040112qxiq@bombur.uio.no>
  Date: Mon, 12 Jan 2004 01:34:43 +0100
  Subject: Re: Protocol: control specifications.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 16:37: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 QAA04311
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 16:37:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28LRpYl059044;
	Mon, 8 Mar 2004 21:36:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28LN6qT058528;
	Mon, 8 Mar 2004 21:23: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 Mar 2004 21:23:06 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28LN5YT058478
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 21:23:05 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 08 Mar 2004 14:22:45 -0700
Message-Id: <s04c81b5.007@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 08 Mar 2004 14:22:26 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>, <jmcmeek@us.ibm.com>
Subject: RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part82A38302.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-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.

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

Hallvard,
 
I'm guessing that you mis-read my statement because I can't see how the
semantics statement affect the problem I mention.
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/8/04 11:51:13 AM
>>>
Jim Sermersheim writes:
> - If there are cases where clients have a need to set the
criticality
> to false, and also be notified whether the control was applied, then
> the control specification ought to provide some return control for
> purposes of acknowledgment.

...if the control was applied. True, but that's another issue.
I think it's covered by this text in the draft:

(note: the semantics of the criticality field 
are defined above should not be altered by the control's 
specification)

-- 
Hallvard


--=__Part82A38302.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>Hallvard,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm guessing that you mis-read my statement because I can't see how =
the semantics statement affect the problem I mention.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.=
no&gt; 3/8/04 11:51:13 AM &gt;&gt;&gt;<BR>Jim Sermersheim writes:<BR>&gt; =
- If there are cases where clients have a need to set the criticality<BR>&g=
t; to false, and also be notified whether the control was applied, =
then<BR>&gt; the control specification ought to provide some return =
control for<BR>&gt; purposes of acknowledgment.<BR><BR>...if the control =
was applied. True, but that's another issue.<BR>I think it's covered by =
this text in the draft:<BR><BR>(note: the semantics of the criticality =
field <BR>are defined above should not be altered by the control's =
<BR>specification)<BR><BR>-- <BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part82A38302.1__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 16:47: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 QAA04770
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 16:47:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28LkmYT060680;
	Mon, 8 Mar 2004 21:46:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28LbMFb059902;
	Mon, 8 Mar 2004 21: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); Mon, 8 Mar 2004 21:37:22 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28LbKYT059870
	for <ietf-ldapbis@openldap.org>; Mon, 8 Mar 2004 21:37:21 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B0SR1-0003xE-QV; Mon, 08 Mar 2004 22:37:15 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B0SQv-0001Zy-Dm; Mon, 08 Mar 2004 22:37:09 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0SQv-0003wC-00; Mon, 8 Mar 2004 22:37:09 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040308jhhn@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: Ron.Ramsay@ca.com, ietf-ldapbis@OpenLDAP.org, jmcmeek@us.ibm.com
Subject: RE: Protocol: control specifications.
In-Reply-To: <s04c81b5.009@prv-mail20.provo.novell.com>
References: <s04c81b5.009@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 8 Mar 2004 22:37: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> I'm guessing that you mis-read my statement because I can't see how the
> semantics statement affect the problem I mention.

The criticality field is just supposed to say whether or not to perform
the operation.  If the criticality field causes the addition of a return
control, then that violates the semantics statement.

If you meant that a return control should be added independently of the
criticality field, you are right, that has nothing to do with additional
semantics to the criticality field.  But I don't see what that has to do
with the discussion.  Unless you you referred to my message
  http://www.OpenLDAP.org/lists/ietf-ldapbis/200401/msg00083.html
which reported that rfc2649 and rfc2891 do say that criticality TRUE
causes the addition of a return control.  If so, yes I quite agree they
should not have done that.

>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/8/04 11:51:13 AM
>Jim Sermersheim writes:
>> - If there are cases where clients have a need to set the criticality
>> to false, and also be notified whether the control was applied, then
>> the control specification ought to provide some return control for
>> purposes of acknowledgment.
> 
> ...if the control was applied. True, but that's another issue.
> I think it's covered by this text in the draft:
> 
>   (note: the semantics of the criticality field 
>    are defined above should not be altered by the control's 
>   specification)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 17:04: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 RAA06245
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 17:04:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28M3pYX062727;
	Mon, 8 Mar 2004 22:03:58 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28M0tsi062361;
	Mon, 8 Mar 2004 22:00:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 8 Mar 2004 22:00:55 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28M0rYT062319
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 22:00:53 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 08 Mar 2004 15:00:33 -0700
Message-Id: <s04c8a91.008@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 08 Mar 2004 15:00:11 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <jmcmeek@us.ibm.com>, <h.b.furuseth@usit.uio.no>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part735272FB.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-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.

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

So you summary tells me that:
 
a) The issue regarding whether the server should check the validity of
the criticality is a dead horse.
b) More discussion regarding the current wording needs to take place.
 
I suggest (unless there are other reasons I'm not seeing) that we drop
the (a) discussion.
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/8/04 11:44:15 AM
>>>
Ramsay, Ron writes:
> I can't help feeling that you have answered your own question.

I'm not sure which question you are referring to. You are just
describing some of the semantics of the current draft. I'm asking for
responses to my arguments against the change from rfc2251 to that
semantics. The original change I suggested in the other direction has
been discussed to death, but the change which was actually made has
not.

> The server response is (...)

Yes, that's what the current text says. It's not what rfc2251 said.


John McMeeking writes:

> I think Hallvard is arguing that 1B -- a control incorrectly marked
> with criticality = FALSE -- should result in a failure.

Well, that's what I want (with s/should/SHOULD/), but I've given up
that
as a lost cause. What I'm asking for now is response to my arguments
against even removing the MAY and the change to demote _required_
criticality to mere advice, and for clarification to some of the text
about the latter.

> Here's what I can find in X5.11 (1993 & 2001) on critical
extensions:
> (...)
> The "shalls" cover what the DUA is supposed to do. I don't know what
the
> DSA is supposed to do in response to a request that uses a critical
> extension but does not have the criticality bit set.

Yes, I'd like to know what X.500 servers actually do in that case.


BTW, I'm sorry about the sour note I restarted this thread with. I
guess it's because I wrote it at "33:45 o'clock" and was rather tired
after a long night.

-- 
Hallvard


--=__Part735272FB.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>So you summary tells me that:</DIV>
<DIV>&nbsp;</DIV>
<DIV>a) The issue regarding whether the server should check the validity =
of the criticality is a dead horse.</DIV>
<DIV>b) More discussion regarding the current wording needs to take =
place.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I suggest (unless there are other reasons I'm not seeing) that we =
drop the (a) discussion.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.=
no&gt; 3/8/04 11:44:15 AM &gt;&gt;&gt;<BR>Ramsay, Ron writes:<BR>&gt; I =
can't help feeling that you have answered your own question.<BR><BR>I'm =
not sure which question you are referring to. You are just<BR>describing =
some of the semantics of the current draft. I'm asking for<BR>responses to =
my arguments against the change from rfc2251 to that<BR>semantics. The =
original change I suggested in the other direction has<BR>been discussed =
to death, but the change which was actually made has not.<BR><BR>&gt; The =
server response is (...)<BR><BR>Yes, that's what the current text says. =
It's not what rfc2251 said.<BR><BR><BR>John McMeeking writes:<BR><BR>&gt; =
I think Hallvard is arguing that 1B -- a control incorrectly marked<BR>&gt;=
 with criticality =3D FALSE -- should result in a failure.<BR><BR>Well, =
that's what I want (with s/should/SHOULD/), but I've given up that<BR>as a =
lost cause. What I'm asking for now is response to my arguments<BR>against =
even removing the MAY and the change to demote _required_<BR>criticality =
to mere advice, and for clarification to some of the text<BR>about the =
latter.<BR><BR>&gt; Here's what I can find in X5.11 (1993 &amp; 2001) on =
critical extensions:<BR>&gt; (...)<BR>&gt; The "shalls" cover what the DUA =
is supposed to do. I don't know what the<BR>&gt; DSA is supposed to do in =
response to a request that uses a critical<BR>&gt; extension but does not =
have the criticality bit set.<BR><BR>Yes, I'd like to know what X.500 =
servers actually do in that case.<BR><BR><BR>BTW, I'm sorry about the sour =
note I restarted this thread with. I<BR>guess it's because I wrote it at =
"33:45 o'clock" and was rather tired<BR>after a long night.<BR><BR>-- =
<BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part735272FB.1__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 17:19: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 RAA06914
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 17:19:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MFpYX063936;
	Mon, 8 Mar 2004 22:19:04 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28MEclk063797;
	Mon, 8 Mar 2004 22:14: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 Mar 2004 22:14:38 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MEaYT063771
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 22:14:36 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 08 Mar 2004 15:14:16 -0700
Message-Id: <s04c8dc8.064@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 08 Mar 2004 15:13:56 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <jmcmeek@us.ibm.com>, <h.b.furuseth@usit.uio.no>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Regarding the current text:
 
direction as to what value the sender should provide for the
criticality field (note: the semantics of the criticality field are
defined above should not be altered by the control's specification)
 
versus the old text:

whether the control is always noncritical, always critical, or critical
at the client's option

These can either be read to have the same or very similar meanings, or
they can be read to have at least two different meanings:

1) the old text can be read to imply that the control spec can mandate
the criticality, and the server should validate the criticality
2) the old text can be read to imply that the control spec can mandate
the criticality, but it's the clien't responsibility to validate it.

(1) has been argued abck and forth, and it seems consensus is to not do
that.
(2) in my mind is still allowed by the new text.

Let me know if there is something I'm not considering.

Jim


>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/8/04 11:44:15 AM
>>>
Ramsay, Ron writes:
> I can't help feeling that you have answered your own question.

I'm not sure which question you are referring to. You are just
describing some of the semantics of the current draft. I'm asking for
responses to my arguments against the change from rfc2251 to that
semantics. The original change I suggested in the other direction has
been discussed to death, but the change which was actually made has
not.

> The server response is (...)

Yes, that's what the current text says. It's not what rfc2251 said.



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 17:25: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 RAA07196
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 17:25:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MLpYX064373;
	Mon, 8 Mar 2004 22:25:03 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28MJoK2064213;
	Mon, 8 Mar 2004 22:19: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); Mon, 8 Mar 2004 22:19:50 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MJiYT064202
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 22:19:45 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.10) with ESMTP id i28MJiMs065585;
	Mon, 8 Mar 2004 22:19:44 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040308132319.050f30c0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 08 Mar 2004 14:19:42 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040308jwqx@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810119A756@ausyms21.ca.com>
 <OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
 <HBF.20040308mdjk@bombur.uio.no>
 <6.0.1.1.0.20040308105644.050de348@127.0.0.1>
 <HBF.20040308jwqx@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Well, I think the question was more about what use scenarios server-side
enforcement of a particular criticality value would be useful.  In the
past, the use scenario discussed was so that client developers would,
if they tested against a server which implemented such checks, receive
a diagnostic (a protocolError) that would tell them that they didn't
provide the particular criticality value called for.  The question was
whether this wether or not there were other (non-diagnostic) use cases.


At 01:11 PM 3/8/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>
>> In discussing this issue at IETF#59, one of the questions that came up
>> was whether there were any non-diagnostic use case for criticality
>> behavior (where control specifications mandate client send a
>> particular value that servers are to verify the value and return error
>> if not).  Do you have any?
>
>I'm not sure what is the question and what is not, but I hope you find
>the answer here:
>
>- While I think control specs should be able to mandate the
>  criticality protocol field, they should not mandate that servers check
>  it.  That is a [Protocol] issue.  It would just add to the mess if one
>  could trust a server to catch wrong criticality for some controls, but
>  not for others.

Problem here is that any mandated value is control-specific.  The [protocol]
discusses criticality handling which is not control-specific.  While a control
specification can certainly say "servers implementing this control are to
verify its critical field is TRUE", just as that control specification could
mandate that a search scope be baseObject, or a target DN be empty, etc.),
this is a control specific semantic and not part of the control-neutral
criticality processing discussed in [Protocol].  Whether or not such
statements are or aren't appropriate can be left to discussions regarding
particular control specifications which attempt to make them (as any
such verification is part of the control-specific processing).

Instead of saying the control specifications may require such a verification
(or verification of any number of other things), it would like be better
to clarify that the scope of any LDAP extension is only limited by what
can be supported in a truly optional manner. 

>- I thought (and still suspect) rfc2251 said wrong criticality was an
>  error,

I do not believe your view is supported by the consensus of the WG
nor by existing implementations (many of which implement controls
whose specifications mandate clients provide particular criticality
values).

At present, I am inclined to either treat your request as a new feature
(and hence out-of-scope) or as a clarification to an un-implemented
interpretation (which we should avoid), or simply as a change which
is not supported by WG consensus.  However, to ensure the WG fully
considers all issues, it seemed appropriate to see if there were
other use scenarios.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 17:34:36 2004
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA07714
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 17:34:35 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MXpYX065407;
	Mon, 8 Mar 2004 22:33:56 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28MTsvp065076;
	Mon, 8 Mar 2004 22:29: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); Mon, 8 Mar 2004 22:29:54 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MTrYT065065
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 22:29:53 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.10) with ESMTP id i28MTqMs065838;
	Mon, 8 Mar 2004 22:29:53 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040308141944.050db8c8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 08 Mar 2004 14:29:50 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040308jhhn@bombur.uio.no>
References: <s04c81b5.009@prv-mail20.provo.novell.com>
 <HBF.20040308jhhn@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I note that we had a number of discussions in LDAPEXT regarding
flaws in RFC 2649 and RFC 2891 (and a number of other control
specifications) criticality handling, mostly dealing with
overloading of criticality semantics but also dealing with
criticality of response controls.

In general, I believe the consensus (at that time) was:
        a) control specifications should not make server
        processing of an operation extended by a control
        dependent on the criticality of that control, and
        b) criticality of a response control is not generally
       relevant to client processing of an operation extended
        by a control.

I think consensus today is much the same.  [Protocol] appears
to reflect this.

Kurt

At 01:37 PM 3/8/2004, Hallvard B Furuseth wrote:
>Jim Sermersheim writes:
>> I'm guessing that you mis-read my statement because I can't see how the
>> semantics statement affect the problem I mention.
>
>The criticality field is just supposed to say whether or not to perform
>the operation.  If the criticality field causes the addition of a return
>control, then that violates the semantics statement.
>
>If you meant that a return control should be added independently of the
>criticality field, you are right, that has nothing to do with additional
>semantics to the criticality field.  But I don't see what that has to do
>with the discussion.  Unless you you referred to my message
>  http://www.OpenLDAP.org/lists/ietf-ldapbis/200401/msg00083.html
>which reported that rfc2649 and rfc2891 do say that criticality TRUE
>causes the addition of a return control.  If so, yes I quite agree they
>should not have done that.
>
>>>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/8/04 11:51:13 AM
>>Jim Sermersheim writes:
>>> - If there are cases where clients have a need to set the criticality
>>> to false, and also be notified whether the control was applied, then
>>> the control specification ought to provide some return control for
>>> purposes of acknowledgment.
>> 
>> ...if the control was applied. True, but that's another issue.
>> I think it's covered by this text in the draft:
>> 
>>   (note: the semantics of the criticality field 
>>    are defined above should not be altered by the control's 
>>   specification)
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 17:50: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 RAA06246
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 17:04:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28M3pYZ062727;
	Mon, 8 Mar 2004 22:03:58 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28LtJ3k061747;
	Mon, 8 Mar 2004 21:55: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); Mon, 8 Mar 2004 21:55:19 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28LtFYT061641
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 21:55:15 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 08 Mar 2004 14:54:55 -0700
Message-Id: <s04c893f.081@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 08 Mar 2004 14:54:32 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>, <jmcmeek@us.ibm.com>
Subject: RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part07260688.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-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.

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

I see where you're going now.
 
No, my problem and solution don't attempt to change the semantics of
the criticality. 
 
I saw a statement made by John McMeeking which said "... I'd sure hate
to find out that the extension had been ignored."
 
From that, I assumed that there are use cases where the client wishes
to send a control marked non-critical, yet also wishes to know if the
control was applied.
 
So,  I was suggesting that good control specifications can be written
such that there is either: a) always a response control, or b) a field
in the request control that causes a response control to be returned.
This allows the client to know whether the control was applied (the
absence of a response control indicates that the control was ignored).
This does not alter the semantics of the criticality field.
 
You're right, this is not germane to the current discussion. I just
wanted to note it because I didn't want that aspect of John's statement
to be seen as another requirement for causing the server to enforce
correct criticality.
 
Jim

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/8/04 2:37:09 PM
>>>
Jim Sermersheim writes:
> I'm guessing that you mis-read my statement because I can't see how
the
> semantics statement affect the problem I mention.

The criticality field is just supposed to say whether or not to
perform
the operation. If the criticality field causes the addition of a
return
control, then that violates the semantics statement.

If you meant that a return control should be added independently of
the
criticality field, you are right, that has nothing to do with
additional
semantics to the criticality field. But I don't see what that has to
do
with the discussion. Unless you you referred to my message
http://www.OpenLDAP.org/lists/ietf-ldapbis/200401/msg00083.html 
which reported that rfc2649 and rfc2891 do say that criticality TRUE
causes the addition of a return control. If so, yes I quite agree they
should not have done that.

>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 3/8/04 11:51:13
AM
>Jim Sermersheim writes:
>> - If there are cases where clients have a need to set the
criticality
>> to false, and also be notified whether the control was applied,
then
>> the control specification ought to provide some return control for
>> purposes of acknowledgment.
> 
> ...if the control was applied. True, but that's another issue.
> I think it's covered by this text in the draft:
> 
> (note: the semantics of the criticality field 
> are defined above should not be altered by the control's 
> specification)

-- 
Hallvard


--=__Part07260688.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>I see where you're going now.</DIV>
<DIV>&nbsp;</DIV>
<DIV>No, my problem and solution don't attempt to change the semantics of =
the criticality. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I saw a statement made by John McMeeking which said "... I'd sure =
hate to find out that the extension had been ignored."</DIV>
<DIV>&nbsp;</DIV>
<DIV>From that, I assumed that there are use cases where the client wishes =
to send a control marked non-critical, yet also wishes to know if the =
control was applied.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So,&nbsp; I was suggesting that good control specifications can be =
written such that there is either: a) always a response control, or b) a =
field in the request control that causes a response control to be =
returned. This allows the client to know whether the control was applied =
(the absence of a response control indicates that the control was =
ignored). This does not alter the semantics of the criticality field.</DIV>=

<DIV>&nbsp;</DIV>
<DIV>You're right, this is not germane to the current discussion. I just =
wanted to note it because I didn't want that aspect of John's statement to =
be seen as another requirement for causing the server to enforce correct =
criticality.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV>
<DIV><BR>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.no&gt; =
3/8/04 2:37:09 PM &gt;&gt;&gt;<BR>Jim Sermersheim writes:<BR>&gt; I'm =
guessing that you mis-read my statement because I can't see how the<BR>&gt;=
 semantics statement affect the problem I mention.<BR><BR>The criticality =
field is just supposed to say whether or not to perform<BR>the operation. =
If the criticality field causes the addition of a return<BR>control, then =
that violates the semantics statement.<BR><BR>If you meant that a return =
control should be added independently of the<BR>criticality field, you are =
right, that has nothing to do with additional<BR>semantics to the =
criticality field. But I don't see what that has to do<BR>with the =
discussion. Unless you you referred to my message<BR><U><A href=3D"http://w=
ww.openldap.org/lists/ietf-ldapbis/200401/msg00083.html">http://www.OpenLDA=
P.org/lists/ietf-ldapbis/200401/msg00083.html</A></U> <BR>which reported =
that rfc2649 and rfc2891 do say that criticality TRUE<BR>causes the =
addition of a return control. If so, yes I quite agree they<BR>should not =
have done that.<BR><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; 3/8/04 11:51:13 AM<BR>&gt;Jim Sermersheim writes:<BR>&gt;&gt; - If =
there are cases where clients have a need to set the criticality<BR>&gt;&gt=
; to false, and also be notified whether the control was applied, =
then<BR>&gt;&gt; the control specification ought to provide some return =
control for<BR>&gt;&gt; purposes of acknowledgment.<BR>&gt; <BR>&gt; ...if =
the control was applied. True, but that's another issue.<BR>&gt; I think =
it's covered by this text in the draft:<BR>&gt; <BR>&gt; (note: the =
semantics of the criticality field <BR>&gt; are defined above should not =
be altered by the control's <BR>&gt; specification)<BR><BR>-- <BR>Hallvard<=
BR></DIV></BODY></HTML>

--=__Part07260688.1__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 17:52: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 RAA08373
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 17:52:49 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MppYX066632;
	Mon, 8 Mar 2004 22:51:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28Mn4DN066490;
	Mon, 8 Mar 2004 22:49: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); Mon, 8 Mar 2004 22:49:04 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MmvYT066442;
	Mon, 8 Mar 2004 22:48:57 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 08 Mar 2004 15:48:36 -0700
Message-Id: <s04c95d4.024@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 08 Mar 2004 15:48:18 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartBE9FBF22.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

I agree, and suggest that once we have a stable control guidelines
document, that we revise the existing control specifications to bring
them inline (though I'm not implicitly volunteering to do the work).
 
JIm

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 3/8/04 3:29:50 PM >>>
I note that we had a number of discussions in LDAPEXT regarding
flaws in RFC 2649 and RFC 2891 (and a number of other control
specifications) criticality handling, mostly dealing with
overloading of criticality semantics but also dealing with
criticality of response controls.

In general, I believe the consensus (at that time) was:
a) control specifications should not make server
processing of an operation extended by a control
dependent on the criticality of that control, and
b) criticality of a response control is not generally
relevant to client processing of an operation extended
by a control.

I think consensus today is much the same. [Protocol] appears
to reflect this.

Kurt

At 01:37 PM 3/8/2004, Hallvard B Furuseth wrote:
>Jim Sermersheim writes:
>> I'm guessing that you mis-read my statement because I can't see how
the
>> semantics statement affect the problem I mention.
>
>The criticality field is just supposed to say whether or not to
perform
>the operation. If the criticality field causes the addition of a
return
>control, then that violates the semantics statement.
>
>If you meant that a return control should be added independently of
the
>criticality field, you are right, that has nothing to do with
additional
>semantics to the criticality field. But I don't see what that has to
do
>with the discussion. Unless you you referred to my message
> http://www.OpenLDAP.org/lists/ietf-ldapbis/200401/msg00083.html 
>which reported that rfc2649 and rfc2891 do say that criticality TRUE
>causes the addition of a return control. If so, yes I quite agree
they
>should not have done that.
>
>>>>> Hallvard B Furuseth < h.b.furuseth@usit.uio.no > 3/8/04 11:51:13
AM
>>Jim Sermersheim writes:
>>> - If there are cases where clients have a need to set the
criticality
>>> to false, and also be notified whether the control was applied,
then
>>> the control specification ought to provide some return control for
>>> purposes of acknowledgment.
>> 
>> ...if the control was applied. True, but that's another issue.
>> I think it's covered by this text in the draft:
>> 
>> (note: the semantics of the criticality field 
>> are defined above should not be altered by the control's 
>> specification)
>
>-- 
>Hallvard



--=__PartBE9FBF22.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>I agree, and suggest that once we have a stable control guidelines =
document, that we revise the existing control specifications to bring them =
inline (though I'm not implicitly volunteering to do the work).</DIV>
<DIV>&nbsp;</DIV>
<DIV>JIm<BR><BR>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; =
3/8/04 3:29:50 PM &gt;&gt;&gt;<BR>I note that we had a number of discussion=
s in LDAPEXT regarding<BR>flaws in RFC 2649 and RFC 2891 (and a number of =
other control<BR>specifications) criticality handling, mostly dealing =
with<BR>overloading of criticality semantics but also dealing with<BR>criti=
cality of response controls.<BR><BR>In general, I believe the consensus =
(at that time) was:<BR>a) control specifications should not make server<BR>=
processing of an operation extended by a control<BR>dependent on the =
criticality of that control, and<BR>b) criticality of a response control =
is not generally<BR>relevant to client processing of an operation =
extended<BR>by a control.<BR><BR>I think consensus today is much the same. =
[Protocol] appears<BR>to reflect this.<BR><BR>Kurt<BR><BR>At 01:37 PM =
3/8/2004, Hallvard B Furuseth wrote:<BR>&gt;Jim Sermersheim writes:<BR>&gt;=
&gt; I'm guessing that you mis-read my statement because I can't see how =
the<BR>&gt;&gt; semantics statement affect the problem I mention.<BR>&gt;<B=
R>&gt;The criticality field is just supposed to say whether or not to =
perform<BR>&gt;the operation. If the criticality field causes the addition =
of a return<BR>&gt;control, then that violates the semantics statement.<BR>=
&gt;<BR>&gt;If you meant that a return control should be added independentl=
y of the<BR>&gt;criticality field, you are right, that has nothing to do =
with additional<BR>&gt;semantics to the criticality field. But I don't see =
what that has to do<BR>&gt;with the discussion. Unless you you referred to =
my message<BR>&gt; <U><A href=3D"http://www.openldap.org/lists/ietf-ldapbis=
/200401/msg00083.html">http://www.OpenLDAP.org/lists/ietf-ldapbis/200401/ms=
g00083.html</A></U> <BR>&gt;which reported that rfc2649 and rfc2891 do say =
that criticality TRUE<BR>&gt;causes the addition of a return control. If =
so, yes I quite agree they<BR>&gt;should not have done that.<BR>&gt;<BR>&gt=
;&gt;&gt;&gt;&gt; Hallvard B Furuseth &lt;<U> <A href=3D"mailto:h.b.furuset=
h@usit.uio.no">h.b.furuseth@usit.uio.no</A></U> &gt; 3/8/04 11:51:13 =
AM<BR>&gt;&gt;Jim Sermersheim writes:<BR>&gt;&gt;&gt; - If there are cases =
where clients have a need to set the criticality<BR>&gt;&gt;&gt; to false, =
and also be notified whether the control was applied, then<BR>&gt;&gt;&gt; =
the control specification ought to provide some return control for<BR>&gt;&=
gt;&gt; purposes of acknowledgment.<BR>&gt;&gt; <BR>&gt;&gt; ...if the =
control was applied. True, but that's another issue.<BR>&gt;&gt; I think =
it's covered by this text in the draft:<BR>&gt;&gt; <BR>&gt;&gt; (note: =
the semantics of the criticality field <BR>&gt;&gt; are defined above =
should not be altered by the control's <BR>&gt;&gt; specification)<BR>&gt;<=
BR>&gt;-- <BR>&gt;Hallvard<BR><BR></DIV></BODY></HTML>

--=__PartBE9FBF22.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 17:58: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 RAA08733
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 17:58:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MvpYX067083;
	Mon, 8 Mar 2004 22:57:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28MvTV0067021;
	Mon, 8 Mar 2004 22:57: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, 8 Mar 2004 22:57:29 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28MvOYT067001
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 22:57:28 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 08 Mar 2004 15:57:04 -0700
Message-Id: <s04c97d0.086@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 08 Mar 2004 15:56:45 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Models: Aux class deletion
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartA382A23D.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

All,
 
From reading the Models draft, we can't find how to handle this
scenario:
 
1) Aux2 subclasses Aux1
2) Aux2 and Aux1 are added to the objectClass attribute of an entry
3) Aux2 is allowed by the DIT content rule for the structural object
class of the entry, so the add (or modify) succeeds
4) Aux2 is removed from the entry's objecClass
 
Should Aux1 remain in the objectClass attribute when Aux2 is removed?
How do we know the user's intent? They likely added Aux1 while adding
Aux2 because of the inheritance.
 
Now, say in step 2, only Aux2 is added, and the DSA implicitly adds
Aux1. Again, should Aux1 remain or be removed when Aux2 is removed?
 
Puzzled,
 
Jim

--=__PartA382A23D.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>From reading the Models draft, we can't find&nbsp;how to handle this =
scenario:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1)&nbsp;Aux2&nbsp;subclasses Aux1</DIV>
<DIV>2)&nbsp;Aux2 and Aux1 are added to the objectClass attribute of an =
entry</DIV>
<DIV>3)&nbsp;Aux2 is allowed by the DIT content rule for the structural =
object class of the entry, so the add (or modify) succeeds</DIV>
<DIV>4)&nbsp;Aux2 is removed from the entry's objecClass</DIV>
<DIV>&nbsp;</DIV>
<DIV>Should Aux1 remain in the objectClass attribute when Aux2 is removed? =
How do we know the user's intent? They likely added Aux1 while adding Aux2 =
because of the inheritance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now,&nbsp;say in step 2, only Aux2 is added, and the DSA implicitly =
adds Aux1. Again, should Aux1 remain or be removed when Aux2 is removed?</D=
IV>
<DIV>&nbsp;</DIV>
<DIV>Puzzled,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__PartA382A23D.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 18:35: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 SAA11688
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 18:35:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28NXpYX070342;
	Mon, 8 Mar 2004 23:34:06 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i28NXpsF070334;
	Mon, 8 Mar 2004 23:33: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 Mar 2004 23:33:51 +0000
Received: from boole.openldap.org (kurt@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28NXoYT070323
	for <ietf-ldapbis@openldap.org>; Mon, 8 Mar 2004 23:33:50 GMT
	(envelope-from kurt@boole.openldap.org)
Received: (from kurt@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) id i28NXoST070322
	for ietf-ldapbis@openldap.org; Mon, 8 Mar 2004 15:33:50 -0800 (PST)
	(envelope-from kurt)
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i28NWlYT070240
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 8 Mar 2004 23:32: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.10) with ESMTP id i28NWjMs066654;
	Mon, 8 Mar 2004 23:32:45 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040308152557.05106878@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 08 Mar 2004 15:32:42 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Models: Aux class deletion
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s04c97d0.086@prv-mail20.provo.novell.com>
References: <s04c97d0.086@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 02:56 PM 3/8/2004, Jim Sermersheim wrote:
>From reading the Models draft, we can't find how to handle this scenario:
> 
>1) Aux2 subclasses Aux1
>2) Aux2 and Aux1 are added to the objectClass attribute of an entry
>3) Aux2 is allowed by the DIT content rule for the structural object class of the entry, so the add (or modify) succeeds
>4) Aux2 is removed from the entry's objecClass

As servers are required to ensure the result of the modification
still conforms to the schema and the schema doesn't allow
aux1 to allowed (except as a superclass of a allowed subclass),
the operation must fail.

>Should Aux1 remain in the objectClass attribute when Aux2 is removed?

Well, given both were explicitly added, I'd say that the requesting
only aux2 to be removed is an error.  It clearly leaves a
non-allowed auxiliary in place.

Now, if Aux1 was only implicitly added, one could argue that it
was implicitly deleted as well.  However, it seems that view
wasn't supported by consensus.  Hence, auxiliary classes must
be explicitly removed even when their addition was implicit.

Kurt 


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar  8 20:08: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 UAA14927
	for <ldapbis-archive@lists.ietf.org>; Mon, 8 Mar 2004 20:08:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2913qYt080302;
	Tue, 9 Mar 2004 01:07:42 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2913bsW080219;
	Tue, 9 Mar 2004 01:03: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 Mar 2004 01:03:37 +0000
Received: from boole.openldap.org (kurt@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2913aYT080203
	for <ietf-ldapbis@openldap.org>; Tue, 9 Mar 2004 01:03:36 GMT
	(envelope-from kurt@boole.openldap.org)
Received: (from kurt@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) id i2913a89080202
	for ietf-ldapbis@openldap.org; Mon, 8 Mar 2004 17:03:36 -0800 (PST)
	(envelope-from kurt)
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i290mhYT077791;
	Tue, 9 Mar 2004 00:48:43 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 08 Mar 2004 17:48:23 -0700
Message-Id: <s04cb1e7.005@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 08 Mar 2004 17:48:01 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Models: Aux class deletion
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part20012051.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

Yeah, I mis-read Models to say that one could add an aux class if it is
a superclass of an allowed aux class.
 
So in the case where Aux1 gets implicitly added, if it is not
explicitly removed along with Aux2, the server will return
objectClassViolation.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 3/8/04 4:32:42 PM >>>
At 02:56 PM 3/8/2004, Jim Sermersheim wrote:
>From reading the Models draft, we can't find how to handle this
scenario:
> 
>1) Aux2 subclasses Aux1
>2) Aux2 and Aux1 are added to the objectClass attribute of an entry
>3) Aux2 is allowed by the DIT content rule for the structural object
class of the entry, so the add (or modify) succeeds
>4) Aux2 is removed from the entry's objecClass

As servers are required to ensure the result of the modification
still conforms to the schema and the schema doesn't allow
aux1 to allowed (except as a superclass of a allowed subclass),
the operation must fail.

>Should Aux1 remain in the objectClass attribute when Aux2 is removed?

Well, given both were explicitly added, I'd say that the requesting
only aux2 to be removed is an error. It clearly leaves a
non-allowed auxiliary in place.

Now, if Aux1 was only implicitly added, one could argue that it
was implicitly deleted as well. However, it seems that view
wasn't supported by consensus. Hence, auxiliary classes must
be explicitly removed even when their addition was implicit.

Kurt 



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

Yeah, I mis-read Models to say that one could add an aux class if it = is a superclass of an allowed aux class.
 
So in the case where Aux1 gets implicitly added, if it is not = explicitly removed along with Aux2, the server will return objectClassViola= tion.

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> = 3/8/04 4:32:42 PM >>>
At 02:56 PM 3/8/2004, Jim Sermersheim = wrote:
>From reading the Models draft, we can't find how to handle = this scenario:
> 
>1) Aux2 subclasses Aux1
>2) Aux2 and = Aux1 are added to the objectClass attribute of an entry
>3) Aux2 is = allowed by the DIT content rule for the structural object class of the = entry, so the add (or modify) succeeds
>4) Aux2 is removed from the = entry's objecClass

As servers are required to ensure the result of = the modification
still conforms to the schema and the schema doesn't = allow
aux1 to allowed (except as a superclass of a allowed subclass),
the operation must fail.

>Should Aux1 remain in the objectClass = attribute when Aux2 is removed?

Well, given both were explicitly = added, I'd say that the requesting
only aux2 to be removed is an error. = It clearly leaves a
non-allowed auxiliary in place.

Now, if Aux1 = was only implicitly added, one could argue that it
was implicitly = deleted as well. However, it seems that view
wasn't supported by = consensus. Hence, auxiliary classes must
be explicitly removed even = when their addition was implicit.

Kurt 


--=__Part20012051.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 08:59: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 IAA27657
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 08:59:10 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29DvuYd034811;
	Tue, 9 Mar 2004 13:58:19 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29DrKMZ034154;
	Tue, 9 Mar 2004 13:53:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 9 Mar 2004 13:53:20 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29DrFYT034138
	for <ietf-ldapbis@openldap.org>; Tue, 9 Mar 2004 13:53:16 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.20)
	id 1B0hfU-0004FT-9m
	for ietf-ldapbis@openldap.org; Tue, 09 Mar 2004 14:53:12 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1B0heu-0007Nh-28; Tue, 09 Mar 2004 14:52:36 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0het-0006NW-00; Tue, 9 Mar 2004 14:52:35 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309t6eu@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Protocol: Omitting default values
Date: Tue, 9 Mar 2004 14:52: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Protocol-22 says:

> 5.1. Protocol Encoding

>    The protocol elements of LDAP SHALL be encoded for exchange using the
>    Basic Encoding Rules [BER] of [ASN.1] with the following
>    restrictions:
>    (...)
>    - If a value of a type is its default value, it is absent. Only some
>      BOOLEAN and INTEGER types have default values in this protocol
>      definition.

This restriction can be impractical to implement for default values of
complex types.  It might be better if it only applied to simple types
That's not relevant for the core protocol, but can be for controls and
extended requests/responses whose values are encoded as ASN.1:

  4.1.11. Controls 
     When a controlValue is defined in terms 
     of ASN.1, and BER encoded according to Section 5.1, it also follows 
     the extensibility rules in Section 4. 
  4.12. Extended Operation 
     Values that are defined in terms of ASN.1 and BER encoded 
     according to Section 5.1, also follow the extensibility rules in 
     Section 4. 

Note that these texts do not say that ASN.1 values need to obey these
restrictions; the extensions could instead define their own restrictions
without the one I quoted.  But I suspect extensions that do use ASN.1
with complex defaults would prefer to do just that, so it would be
simpler if they didn't have to.  OTOH, changing this now will change
the spec of such extensions that already depend on this restriction.
So I'm not sure what is best.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 08:59: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 IAA27679
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 08:59:11 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29DvuYf034811;
	Tue, 9 Mar 2004 13:58:19 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29DjM7Q033364;
	Tue, 9 Mar 2004 13:45: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); Tue, 9 Mar 2004 13:45:22 +0000
Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.103])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29DjHYT033248;
	Tue, 9 Mar 2004 13:45:17 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [9.56.224.206])
	by e3.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id i29DiuAB715914;
	Tue, 9 Mar 2004 08:44:56 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i29Dj6JG085198;
	Tue, 9 Mar 2004 08:45:07 -0500
In-Reply-To: <6.0.1.1.0.20040308105644.050de348@127.0.0.1>
Subject: RE: Protocol: control specifications.
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org,
        owner-ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
Message-ID: <OFC02DE16C.77858291-ON86256E52.0049BD4E-86256E52.004B8543@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Tue, 9 Mar 2004 07:44:51 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5.1|January 21, 2004) at
 03/09/2004 07:44:55 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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





I have already noted the X.511 statement that a DUA shall set the
corresponding bit of the critical extensions field when using extensions
that X.511 defines as critical.  Beyond that, no I am aware of no
"non-diagnostic" use.

Clearly, if a server recognizes the control and it is appropriate to use,
the RFC 2251 and ldapbis language both require the server to honor the
control independent of criticality.

I consider the existing language an improvement over RFC 2251.  The RFC
2251 language of "always critical" and "never critical" implies behavior
that does not exist; "critical at senders request" is the only thing that
is consistent with the servers' required behavior.  Its possible the
language was intended to mean more but lost something during editing, but
that is pure conjecture on my part.

I guess I'll accept any language that clearly states what the server is
supposed to do with control criticality, and uses consistent language for
guidance/requirements of control definitions.


John  McMeeking


owner-ietf-ldapbis@OpenLDAP.org wrote on 03/08/2004 02:02:53 PM:

> Hallvard, John,
>
> In discussing this issue at IETF#59, one of the questions
> that came up was whether there were any non-diagnostic
> use case for criticality behavior (where control specifications
> mandate client send a particular value that servers are to
> verify the value and return error if not).  Do you have
> any?
>
> It seems that this is not really a protocol interoperability
> issue (though requiring verification might actually lead to
> some protocol interoperability problems), but a client
> development/diagnostic issue.
>
> (Hallvard, you are likely correct that I have not responded to
> each of your points.  This is mostly likely due to my attempt
> to narrow discussion to key aspects of this issue.  We, of
> course, likely differ on what are key aspects of this
> discussion.)
>
> Kurt
>



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 09:16: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 JAA28187
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 09:16:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29EFwYT037067;
	Tue, 9 Mar 2004 14:15:58 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29E4SwD035635;
	Tue, 9 Mar 2004 14:04: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, 9 Mar 2004 14:04:28 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29E4PYT035622
	for <ietf-ldapbis@openldap.org>; Tue, 9 Mar 2004 14:04:26 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.20)
	id 1B0hqH-0006K8-57
	for ietf-ldapbis@openldap.org; Tue, 09 Mar 2004 15:04:21 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0hqF-0006Nx-HB; Tue, 09 Mar 2004 15:04:19 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0hqF-0006Oz-00; Tue, 9 Mar 2004 15:04:19 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309szcl@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Access control vs. caches and gateways
Date: Tue, 9 Mar 2004 15:04: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Protocol-22 contains the following.  BTW, I wonder if that and my
suggested addition fits better in [Authmeth].

> 6. Security Considerations

>    Implementations which cache attributes and entries obtained via LDAP
>    MUST ensure that access controls are maintained if that information
>    is to be provided to multiple clients, since servers may have access
>    control policies which prevent the return of entries or attributes in
>    search results except to particular authenticated clients. For
>    example, caches could serve result information only to the client
>    whose request caused it to be in the cache.

s/client(s)/client(s) or association(s)/.  A client could bind, read a
protected entry, bind again, and try to reread the entry without
sufficient access to it.

The "MUST ensure that access controls are maintained" is troublesome.
To obey this requirement, the implementation must know which factors
affect authorization on the server.  I suspect that's just too hard, so
we can only make it a SHOULD.  We could say it MUST at least obey access
control based on the authorization identity, except that the cache
server might not be able to figure out what that is either if there are
different authentication methods involved.  If the authorization
identity is not supplied, it is derived from the authentication
identity, but need not be identical to it ([Authmeth] section C.4).

Also, I suggest a somewhat related security consideration is added:

   Access controls, in particular those based on other factors than
   authentication, can be unintentionally broken by gateways to the
   server.  For example, a server can let some data be accessible only
   for connections from IP addresses in the local network.  A gateway
   which can be used by outsiders but is placed in the local network
   will then give outsiders the same access as locals.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 09:34: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 JAA28820
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 09:34:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29ETDYb038729;
	Tue, 9 Mar 2004 14:33:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29ELjsU037930;
	Tue, 9 Mar 2004 14:21: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 Mar 2004 14:21:45 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29ELeYT037920
	for <ietf-ldapbis@openldap.org>; Tue, 9 Mar 2004 14:21:40 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.20)
	id 1B0i6z-0001c8-0W
	for ietf-ldapbis@openldap.org; Tue, 09 Mar 2004 15:21:37 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0i5j-0008VI-R8; Tue, 09 Mar 2004 15:20:19 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0i5j-0006Qq-00; Tue, 9 Mar 2004 15:20:19 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309sppw@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: protocol-22 comments
Date: Tue, 9 Mar 2004 15:20: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Various comments to protocol-22 follow.

> 4.1.11. Controls

>    When an extension calls for a particular response control to be sent
>    in response to a request control, the response and request controls
>    are termed to be "paired".
>    (...)
>    The controlType field is the dotted-decimal representation of an
>    OBJECT IDENTIFIER which uniquely identifies the control, or the
>    request control and its paired response control.

These paragraphs seem to imply that a request control may only solicit a
response control with the same OID as the request control, and it cannot
solicit two response controls (with different OIDs).  I think that's
wrong.

>    Additionally, unless order-dependent semantics are given in a
>    specification, the order of a combination of controls in the SEQUENCE
>    is ignored.

This implies that controls (A, B) MUST behave identically with controls
(B, A).  I think it should be, "the effect of the ordering of a
combination of controls in the SEQUENCE is unspecified"?

> 4.7. Add Operation

>    If the entry to be added would not fall within a naming context
>    [Section 5 of Models] held by the server, and the server has
>    knowledge of where that entry is to be located, a referral to the
>    server(s) holding the parent entry should be returned.

Unless the server chains the operation to another server (i.e. it sends
the request to the server which masters that naming context, and returns
the response from that server to the client).

> 4.12. Extended Operation

>    Extended operations may be specified in other documents. The
>    specification of an extended operation consists of:
>
>    - the OBJECT IDENTIFIER assigned to the requestName (and possibly
>      responseName),

Does this mean responseName must be empty or equal to requestName?
This should be clarified in the paragraph about responseName.

> 4.13. IntermediateResponse Message

>    Although the responseName and responseValue are optional in some
>    circumstances, generally speaking IntermediateResponse messages have
>    a predefined responseName and a responseValue.

I do not understand.  Are they any more predefined than other
LDAPMessages?

> A.1 Non-Error Result Codes

>         compareTrue (6),
>         compareFalse (7),

Should be 5 and 6.

> A.2 Result Codes

>         protocolError (2)
>            Indicates the server received data which has incorrect
>            structure.
>
>            For bind operation only, this code is also used to indicate
>            that the server does not support the requested protocol
>            version.

For Start TLS, it is also used to indicate that TLS is currently
unsupported.

>         compareFalse (5)
>            Indicates that the compare operation has successfully
>            completed and the assertion has evaluated to FALSE.

... or Undefined.

>         affectsMultipleDSAs (71)
>            Indicates that the operation cannot be completed as it
>            affects multiple servers (DSAs).

s/completed/performed/, s/affects/would affect/.

(The code doesn't mean that the operation may have been partially
performed but could not be completed.)

------------------------------------------------------------------------

Editorial comments:

> 4.2. Bind Operation

>    Authorization is the use of this authentication information when
>    performing operations.

No, authorization need not make use of the authentication information.
One could e.g. base it on IP addresses only (but only for read
operations, I would hope:-)

Nitpick:  The word "use" is wrong.  Putting the currently active
authentication identity in LDAPResult.diagnosticMessage is "use" of auth
info, but not authorization.  Not sure if this is worth bothering with,
though.

>    Authorization MAY be affected by factors
>    outside of the LDAP Bind Request, such as those provided by lower
>    layer security services.

Here is a suggestion, though it's a bit long.  Maybe the last sentence
should be dropped.

     Authorization is the decision of which access an operation has to
     the directory.  It may be affected by many factors, often including
     the association's authorization identity, which again was derived
     from or authorized via the authentication information.
     Authorization may be affected by factors outside of the LDAP Bind
     Request, such as those provided by lower layer security services.

> 4.2.1. Processing of the Bind Request

>    Before processing a BindRequest, all outstanding operations MUST
>    either complete or be abandoned.

This could be read as a suggestion for the client to abandon the
operations.  I suggest:

     The server MUST NOT process a BindRequest until no earlier
     operations are outstanding.

I added "earlier" because it shouldn't complete or abandon operations
submitted _after_ the Bind.

>    The server may either wait for the 
>    outstanding operations to complete, or abandon them.


> 4.5.3. Continuation References in the Search Result
> 4.5.3.1. Examples

>    If the contacted server does not hold the base object for the search,
>    then it will return a referral to the client.

s/will/may/.

> 4.10. Compare Operation

>    The resultCode field is set to compareTrue, compareFalse, or an
>    appropriate error. compareTrue indicates that the assertion value in
>    the ava field is equivalent to a value of the attribute or subtype
>    (according to the attribute's EQUALITY matching rule).

Maybe remove the "()"'s?

>    compareFalse
>    indicates that the comparison of the assertion value in the ava field
>    and the values of the attribute or subtype resulted in an Undefined
                                                            ^^
>    (Section 4.5.1) or non-equivalent match.
                     ^^                ^^^^^
s/an/only/, s/or/and/, s/match/matches/.

> 4.11. Abandon Operation

>    Operation responses are not sent for successfully
>    abandoned operations,

This can be read as 'the server performs abandoned operations but does
not send their responses':-)

>    thus the application of the Abandon operation
>    is limited to uses where the client does not require an indication of
>    its outcome.

You could say "Since operation responses are not ..." and strike "thus".
However, the reasoning is a bit unclear in any case.  I suggest:

     Since the client cannot tell the difference between a successfully
     abandoned operation and an outstanding operation yet to be
     performed, the application of (...)

>    Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned.
>    The ability to abandon other (particularly update) operations is at
>    the discretion of the server.

The last sentence is contradicted by the next paragraph.  You can move
the sentence below the offending paragraph, or swap the two paragraphs.

>    In the event that a server receives an Abandon Request on a Search
>    Operation in the midst of transmitting responses (...)

> 4.13. IntermediateResponse Message

>    Similarly, it is intended that clients will explicitly solicit
>    IntermediateResponse messages by issuing operations that specifically
>    call for their return.

Delete this, it's repeated in stronger language in the next paragraph.

>         IntermediateResponse ::= [APPLICATION 25] SEQUENCE {
>                 responseName     [0] LDAPOID OPTIONAL,
>                 responseValue    [1] OCTET STRING OPTIONAL }

This is missing from Appendix B (Complete ASN.1 Definition).

>    The value of the
>    responseName (if present), the syntax of the responseValue (if
>    present) and the semantics associated with a particular
>    IntermediateResponse message MUST be specified in documents
>    describing the extended operation or request control that uses them.
>    Sections 4.13.1 and 4.13.2 describe additional requirements on the
>    inclusion of responseName and responseValue in IntermediateResponse
>    messages.

I suggest you reformat this to a list of things the spec consists of,
similar to "The specification of an extended operation consists of:..."
in section 4.12.
    
> 4.13.1. Usage with LDAP ExtendedRequest and ExtendedResponse

>    An extended operation that defines the return of multiple kinds of
>    IntermediateResponse messages MUST provide and document a mechanism
>    for the client to distinguish the kind of IntermediateResponse
>    message being sent.  This SHALL be accomplished by using different
>    responseName values for each type of IntermediateResponse message
>    associated with the extended operation or by including identifying
>    information in the responseValue of each type of IntermediateResponse
>    message associated with the extended operation.

s/type/kind/ or s/kind(s)/type(s)/.

I think this can be shortened a lot:

     An extended operation that defines the return of multiple kinds of
     IntermediateResponse messages SHALL identify those different kinds
     either by giving them different responseName values or by including
     identifying information in their responseValues.

However, this - and the original - does not allow one ExtendedRequest to
solicit some IntermediateResponse types identified by responseName and
some types identified by the contents of responseValue.  This does:

     (...) SHALL identify those different kinds by giving them different
     responseName values and/or including identifying information in
     their responseValues.

Finally, I suggest to factor this and the equivalent statement for
request controls, out to section 4.13: Just move the statement and do
s/extended operation/extended operation or request control/.

> 4.14.1. StartTLS Request

>    The client MUST NOT send any PDUs on this connection following this
>    request until it receives a StartTLS extended response and

, in case of a success response,

>    completes
>    TLS negotiations.

> 4.14.2.2. Response other than "success"

>    If the ExtendedResponse contains a result code other than success,
>    (...)

>    The
>    client's current association is unaffected if the server does not
>    support TLS.

It is also unaffected if StartTLS returns non-success for some other
reason.  Also, move it to the first paragraph.  Or maybe delete the
sentence, since [Authmeth] covers it.

> 4.14.3.2. Abrupt Closure
>
>    Either the client or server MAY abruptly close the TLS connection by
>    dropping the underlying transfer protocol connection. In this

s/transfer protocol connection/LDAP connection/; that's the phrase
which is used elsewhere (e.g. in 4.14.3.1).

>    Outstanding
>    operations are handled as specified in Section 5.2.

The same applies to graceful closure.  Delete this sentence, instead put
in 4.14.3 (Closing a TLS Connection):

     If the underlying LDAP connection is dropped, outstanding
     operations are handled as specified in Section 5.2.

> 5.2. Transfer Protocols
>
>    This protocol is designed to run over connection-oriented, reliable
>    transports, with all 8 bits in an octet being significant in the data
>    stream.

The ", with..." part is strange.  How about LDAP over transports that
are not naturally divided into octets, but e.g. 36-bit units?  I suggest
to replace it with:

     , where the data stream is divided into octets (8-bit units).

That all bits in an octet are significant need not be stated; that's
what anyone would assume unless the opposite was specified.

I suggest at least a paragraph break here.  In fact, I think the rest of
the paragraph belongs in a separate section '5.2.2 Connection Closure
Effects'.

>    Protocol operations are tied to a connection, thus if the
>    connection is closed or dropped, the operation is aborted. When this
>    happens, any outstanding operations on the server are, when possible,
>    abandoned, and when not possible, completed without transmission of
>    the response.

s/on the server/on the connection/.  Dropping one connection doesn't
affect operations on another connection to the same server.

The "thus..." is wrong: _aborting_ an operation might leave an update
operation halfway done.  The next sentence corrects it, but I suggest to
just drop the offending sentence:

     Protocol operations are tied to a connection.  If the connection is
     closed or dropped, any outstanding operations on the connection
     are, (...)
     
>    Also, if the connection is closed or dropped, the
>    client MUST NOT assume that any outstanding requests which modified
>    the Directory have succeeded or failed.

Suggest /which modified/to modify/.

> 6. Security Considerations

>    Requirements of authentication methods, SASL mechanisms, and TLS are
>    described in [AuthMeth].

s/Requirements of/Security considerations for/?

> C.1 Changes made to made to RFC 2251:
> C.2 Changes made to made to RFC 2830:
> C.3 Changes made to made to [LIMR]:

s/made to made to/made to/.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 09:45: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 IAA27658
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 08:59:10 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29DvuYb034811;
	Tue, 9 Mar 2004 13:58:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29Dq53L034046;
	Tue, 9 Mar 2004 13:52: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, 9 Mar 2004 13:52:05 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29Dq4YT034033
	for <ietf-ldapbis@openldap.org>; Tue, 9 Mar 2004 13:52:04 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.20)
	id 1B0heK-0003zC-KO
	for ietf-ldapbis@openldap.org; Tue, 09 Mar 2004 14:52:00 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0he3-0004W0-8Y; Tue, 09 Mar 2004 14:51:43 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0he3-0006NU-00; Tue, 9 Mar 2004 14:51:43 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309t6y0@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Protocol: PDUs received during TLS closure
Date: Tue, 9 Mar 2004 14:51: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Protocol-22 says:

> 4.14.3. Closing a TLS Connection
> 4.14.3.1. Graceful Closure

>    The initiating protocol peer sends the TLS closure alert. If it
>    wishes to leave the LDAP connection intact, it then MUST cease to
>    send further PDUs and MUST ignore any received PDUs until it receives
>    a TLS closure alert from the other peer.

Why must the client ignore received PDUs?  It makes sense for servers,
but clients could have use for them.  At least unsolicited
notifications.

Is this some TLS thing, that the network data is unreliable until TLS
closure is completed?  If so there should not be talk about PDUs at all,
since any sent PDUs may be malformed.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 13:21: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 NAA13289
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 13:21:13 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IJbYT062945;
	Tue, 9 Mar 2004 18:19:37 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29I9tij062196;
	Tue, 9 Mar 2004 18: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); Tue, 9 Mar 2004 18:09:55 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29I9mYT062160;
	Tue, 9 Mar 2004 18:09:49 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.20)
	id 1B0lfl-0004MJ-8H; Tue, 09 Mar 2004 19:09:45 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1B0lfi-0007zD-B4; Tue, 09 Mar 2004 19:09:42 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0lfi-0006xg-00; Tue, 9 Mar 2004 19:09:42 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309eff@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: authmeth review notes [long]
In-Reply-To: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Mar 2004 19:09: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>> 1. Introduction
>> (...)
>>    LDAP offers the following security mechanisms:
>>
>>    (1) Authentication by means of the Bind operation.  The Bind
>>        operation provides a simple method which supports anonymous,
>>        unauthenticated, and authenticated with password mechanisms, and
>>        the Secure Authentication and Security Layer (SASL) method which
>>        supports a wide variety of authentication mechanisms and which
>>        may be extended to support additional methods of authentication.
>
> s/./,/
> s/and which...//  (no need to discuss extensibility here)

Whoops, I seem to have lost the thread I started about this with my
earlier review notes.  ('authmeth-09 comments', ended by Kurt's message
<http://www.openldap.org/lists/ietf-ldapbis/200401/msg00073.html>.)

I do not think this list should talk about LDAP operations like Bind.
It should talk about features which LDAP makes use of, such as passwords
and SASL.  That's why I suggested

  (1) Client authentication by various means, including a simple
      password mechanism and the Secure Authentication and Security
      Layer (SASL) [SASL] mechanism set, as well as unauthenticated
      users,

Kurt replied,

  I rather drop the "as well as unauthenticated users" phrase (which
  actually is a problem in my suggestion as well) because we're talking
  about means for establishing the client identity, not means for
  establishing an anonymous association.

I'm fine with that (and maybe s/client//).  Kurt, I'm not sure if you
feel that argument still applies to the current [Authmeth] text, or if
my text - if it is used - should be expanded to mention anonymous and
unauthenticated associations?

>>    (2) Client authorization by means of access control based on the
>>        requestor's authenticated identity,
>
> Given that LDAP doesn't offer an authorization (access control)
> model, this seems dubious (even with the note below).  However, I
> don't have a suggestion (at the moment) on how to better address
> this.

Put "Servers are expected to support" in front of the sentence?

>>    Given the presence of the Directory, there is a strong desire to see
>>    mechanisms where identities take the form of an LDAP distinguished
>>    name [LDAPDN] and authentication data can be stored in the
>>    directory.
>
> s/see/use/
> s/take the form of an LDAP distinguished name/
> s/are represented as distinguished names [X.501][Models] in string
> form [LDAPDN]/.

>>                This means that this data must be updated outside the
>>    protocol or only updated in sessions well protected against
>>    snooping.
>
> s/snooping/eavesdropping/ (use RFC2828 term)

This sentence has nothing to do with DN identities and authentication
data in the directory.  It also applies if the server supports an
extended operation to modify passwords stored outside the directory,
with non-DN identities.  I think it belongs in Section 11 - unless
Section 11 is modified to only talk about authentication, like Kurt
suggested in thread 'authmeth: passwords in the clear', message
<http://www.openldap.org/lists/ietf-ldapbis/200402/msg00086.html>:-)
Also, it applies to any sensitive data, not just authentication data.
So I'm not sure that it is any need to mention this special case at all.

>>                It is also desirable to allow authentication methods to
>>    carry identities not represented as LDAP DNs that are familiar to
>>    the user or that are used in other systems.
>
> suggest:
> 	It is also desirable to allow authentication methods to
> 	carry identities (other than DNs) that are familiar to the
> 	user or that are used in other systems.

...and also to authenticate against existing credentials maintained and
stored outside the LDAP installation.

> I would like to add a new section (or possible placed subsequent
> to the technical specification of these features) which gathers the
> high level implementation requirements.

Good idea, if you mean to move the requirements to this section,
rather than to copy them.  However, you have made many changes:

> 2.  Implementation Requirements

>  LDAP implementations which support any authentication mechanism
>  (other than anonymous mechanism of the simple Bind method) MUST
>  support the DIGEST-MD5 [RFC2831bis] mechanism of the SASL Bind
>  method (as detailed in Section X).

I preferred the authmeth-10 text which only required this of servers,
not "implementations".  It should be OK to write thin clients.

Also, the original text from Section 10 (quoted below) seems clear
enough to me, I don't see why you spelled it out more than this?

   LDAP servers that implement any authentication method or mechanism 
   other than simple anonymous bind MUST implement the SASL 
   DIGEST-MD5 mechanism [DIGEST-MD5].

(Well, I liked your s/method or mechanism/mechanism/, and I'd suggest
s/DIGEST-MD5 mechanism/DIGEST-MD5 authentication mechanism/ if that
text is moved the new section.)

>  That is, excepting those
>  implementations which only support anonymous connections, all
>  implementations MUST support DIGEST-MD5.

Strike this, it is clear enough from the first sentence.  Though we
could rearrange that sentence a bit to emphasize the DIGEST-MD5
requirement, if we keep your spelled-out version:

   LDAP {servers/implementations} MUST support the DIGEST-MD5
   [DIGEST-MD5] mechanism of the SASL Bind method (as detailed in
   Section X) if they support any authentication mechanism other than
   the anonymous mechanism of the Simple Bind method.

>  LDAP implementations SHOULD support the simple DN/password mechanism
>  of the simple Bind method (as detailed in Section X).  Implementations
>  which support this mechanism MUST be capable of protecting it by
>  establishment (as discussed in Section 3) of TLS.

This has several differences from the requirements in Section 7.  I seem
to remember there have been previous discussions about just what bind
methods should be supported when.  I don't think this should be changed
without more discussion.  E.g., I disagree with the TLS requirement.
Other protection, like IPSec, ldap://localhost/, or a Unix filename
socket, is fine.  Also note section H.45:

   Based on WG list discussion, Kurt Zeilenga has gaged a lack of WG 
   consensus that Simple+TLS should be mandatory to implement. No 
   further discussion is necessary. 

BTW, I can't find any requirement that TLS be supported.

>  LDAP server implementations MUST support the anonymous mechanism of
>  the simple Bind method.

You changed this from "implementations" to "server implementations".
I guess I agree with that.

BTW, MUST they support unauthenticated binds?  Section 6 says those
SHOULD by default be rejected; I'm not sure if that means it MUST be
possible to turn the default off.

>  Implementations MAY support additional authentication mechanisms of
>  the simple and SASL bind methods, and/or mechanisms of other bind
>  methods.  Some of these mechanisms are discussed below.

I think this paragraph can be dropped.

>> 3.1.1. Start TLS Request
>>
>>    A client may send the Start TLS extended request at any time after
>>    establishing an LDAP connection, except:
>>
>>       - when TLS is currently established on the connection,
>>       - when a multi-stage SASL negotiation is in progress on the
>>         connection, or
>>       - when there are outstanding LDAP operations on the connection.
>
> s/LDAP operations/responses for previously issued operations/
>
> This makes, I think, it clear that clients are to wait.

I don't see the difference; I liked the original better.  However, I
like your following change anyway:

> Hence,
> the following paragraph can be replaced with:
>
> 	As described in [Protocol, Section 4.13.2.2], a (detected)
> 	violation of any of these requirements results in return of
> 	the operationsError resultCode.


>> 6. Anonymous Authentication
>>
>>    Directory operations that modify entries or access protected
>>    attributes or entries generally require client authentication.
>>    Clients that do not intend to perform any of these operations
>>    typically use anonymous authentication.
>
> I hope this is not typical.

Why?

> I think this paragraph should simply be deleted.

Yes.

>> 7. Simple Authentication

>>    An LDAP client may establish an LDAP association by sending a Bind
>>    Request with a name value consisting of an LDAP distinguished name
>>    [LDAPDN] and specifying the simple authentication choice with a
>>    password value.
>
> s/an LDAP distinguished name/a distinguished name in LDAP string
> form [LDAPDN]/

I don't see why, except the [LDAPDN] reference.

> s/password value/password value, an OCTET STRING.

Why?

>>    DSAs that map the DN sent in the bind request to a directory entry
>>    with an associated set of one or more passwords will compare the
>>    presented password to the set of passwords associated with that
>>    entry.

> s/more passwords/more passwords, each an OCTET STRING,/
> s/compare/compare octet wise/

No!

- [SASLprep] may apply first.

- If the directory entry contains a password, how to compare the
  passwords should be defined by the password attribute's syntax.  For
  example, caseExactMatch would be appropriate if one uses long
  passwords that consist of several easy-to-remember words instead of
  short cryptic passwords.

- Even if DN is mapped to a directory entry, the entry's password
  attribute may refer to some user's password stored in the operating
  system, and one must use the operating system's routine to compare
  passwords.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 13:30: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 NAA13854
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 13:30:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IRwYX063549;
	Tue, 9 Mar 2004 18:28:04 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29IPM35063410;
	Tue, 9 Mar 2004 18:25: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); Tue, 9 Mar 2004 18:25:22 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IPJYT063379;
	Tue, 9 Mar 2004 18:25:20 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.20)
	id 1B0lum-0006aX-31; Tue, 09 Mar 2004 19:25:16 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.30)
	id 1B0luc-0000uH-P3; Tue, 09 Mar 2004 19:25:06 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0luZ-0006zt-00; Tue, 9 Mar 2004 19:25:03 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309576@bombur.uio.no>
To: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
Cc: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org
Subject: Simple auth and TLS (Was: authmeth review notes [long])
In-Reply-To: <40436D07.2090008@stroeder.com>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<40436D07.2090008@stroeder.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Date: Tue, 9 Mar 2004 19:25: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=0, required 12)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i29IPKYT063380
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Michael Ströder writes:
>Kurt D. Zeilenga wrote:
>> 
>>  LDAP implementations SHOULD support the simple DN/password mechanism
>>  of the simple Bind method (as detailed in Section X).
> 
> s/SHOULD/MUST/
> 
>>  Implementations
>>  which support this mechanism MUST be capable of protecting it by
>>  establishment (as discussed in Section 3) of TLS. 
> 
> s/MUST/SHOULD/

Still wrong.  Together, these changes require implementations that do
not support TLS, to implement a security hole.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 14:00: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 OAA15184
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 14:00:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IjwZD064944;
	Tue, 9 Mar 2004 18:59:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29IiO0I064860;
	Tue, 9 Mar 2004 18:44: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 Mar 2004 18:44:24 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IiLYT064781;
	Tue, 9 Mar 2004 18:44:22 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.20)
	id 1B0mDC-00029E-7u; Tue, 09 Mar 2004 19:44:18 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0mD9-0000xN-4N; Tue, 09 Mar 2004 19:44:15 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0mD8-000742-00; Tue, 9 Mar 2004 19:44:14 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309ytn5@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: authmeth: passwords in the clear
In-Reply-To: <6.0.1.1.0.20040229145453.02c78ab8@127.0.0.1>
References: <HBF.20040227jcov@bombur.uio.no>
	<6.0.1.1.0.20040229145453.02c78ab8@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Mar 2004 19:44: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 08:53 AM 2/28/2004, Hallvard B Furuseth wrote:
>>authmeth-10 says:
>>
>>> 11. General Requirements for Password-based Authentication
>>> (...)
>>>   To mitigate the security risks associated with the use of passwords, 
>>>   a server implementation MUST implement a configuration that at the 
>>>   time of authentication or password modification, requires: 
> (...)
>>
>>This should only apply to cleartext passwords, not e.g. modifications of
>>attributes that contain encrypted passwords.
> 
> I concur that this particular section should be limited to
> cleartext passwords used in authentication.  

I didn't say that (that it should only be about authentication).  I
agree that a "MUST" is too strong for other operations than
authentication.  However, it really is the same issue - protecting
passwords - for other operations.  I suggest a paragraph at the end of
this section that it is RECOMMENDED that the configuration in question
treats other operations that contain cleartext passwords, such as
passwords modifications, the same way.  Or if not:

> I think other "uses" of cleartext passwords (such as modification)
> should be address in documents detail specific mechanisms (e.g.,
> LDAP Password Modify Operation) and/or password schema.

Then most password-related operations and password attributes will end
up with different ways to treat passwords vs. protection mechanisms, and
the server may have to implement them all.  Whatever we do, I'd prefer a
single section in [Authmeth] or [Protocol] which suggests how to deal
with passwords in non-bind operations.  Then the Password Modify
Operation, the userPassword definition and so on could refer to that if
they wish.

> (And,
> aside from some very general guidance, issues associated with
> gateways, caching proxies, chaining servers, and/or replicas
> should be addressed in documents discussing such these things.)

Yes.  Maybe such general guidance should be included in the section
about passwords in non-bind LDAP operations.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 14:00: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 OAA15202
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 14:00:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IjwZF064944;
	Tue, 9 Mar 2004 18:59:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29IYiaq064019;
	Tue, 9 Mar 2004 18:34: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 Mar 2004 18:34:44 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IYhYT064009
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Mar 2004 18:34: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.10) with ESMTP id i29IYgMs080370;
	Tue, 9 Mar 2004 18:34:43 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309101825.05048758@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 10:34:39 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Access control vs. caches and gateways
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309szcl@bombur.uio.no>
References: <HBF.20040309szcl@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:04 AM 3/9/2004, Hallvard B Furuseth wrote:
>Protocol-22 contains the following.  BTW, I wonder if that and my
>suggested addition fits better in [Authmeth].
>
>> 6. Security Considerations
>
>>    Implementations which cache attributes and entries obtained via LDAP
>>    MUST ensure that access controls are maintained if that information
>>    is to be provided to multiple clients, since servers may have access
>>    control policies which prevent the return of entries or attributes in
>>    search results except to particular authenticated clients. For
>>    example, caches could serve result information only to the client
>>    whose request caused it to be in the cache.
>
>s/client(s)/client(s) or association(s)/.  A client could bind, read a
>protected entry, bind again, and try to reread the entry without
>sufficient access to it.
>
>The "MUST ensure that access controls are maintained" is troublesome.

I concur, especially as this applies to caching.  Caching procedures and
policies are outside the scope of the directory specification [X.525].
This should apply to access control (in caching environments) as well as
it applies to replication of information (by caching).

It seems odd to address the access control issue by placing requirements
upon the consumer DSA to honor the trust of the provider DSA.  Instead,
caution should be stated to operators of provider DSA that they need to
be careful who they trust.  If worded well (e.g., very general), such
a consideration could cover Hallvard's consideration below as well.

>To obey this requirement, the implementation must know which factors
>affect authorization on the server.  I suspect that's just too hard, so
>we can only make it a SHOULD.  We could say it MUST at least obey access
>control based on the authorization identity, except that the cache
>server might not be able to figure out what that is either if there are
>different authentication methods involved.  If the authorization
>identity is not supplied, it is derived from the authentication
>identity, but need not be identical to it ([Authmeth] section C.4).
>
>Also, I suggest a somewhat related security consideration is added:
>
>   Access controls, in particular those based on other factors than
>   authentication, can be unintentionally broken by gateways to the
>   server.  For example, a server can let some data be accessible only
>   for connections from IP addresses in the local network.  A gateway
>   which can be used by outsiders but is placed in the local network
>   will then give outsiders the same access as locals.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 14:00: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 OAA15222
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 14:00:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29IjwZB064944;
	Tue, 9 Mar 2004 18:59:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29Ia57D064081;
	Tue, 9 Mar 2004 18:36: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, 9 Mar 2004 18:36:05 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29Ia4YT064071
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Mar 2004 18:36:04 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.10) with ESMTP id i29Ia4Ms080404;
	Tue, 9 Mar 2004 18:36:04 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309103506.0500ef50@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 10:36:00 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Simple auth and TLS (Was: authmeth review notes [long])
Cc: Michael =?iso-8859-1?Q?Str=F6der?= <michael@stroeder.com>,
        ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309576@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <40436D07.2090008@stroeder.com>
 <HBF.20040309576@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i29Ia4YT064072
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

At 10:25 AM 3/9/2004, Hallvard B Furuseth wrote:
>Michael Ströder writes:
>>Kurt D. Zeilenga wrote:
>>> 
>>>  LDAP implementations SHOULD support the simple DN/password mechanism
>>>  of the simple Bind method (as detailed in Section X).
>> 
>> s/SHOULD/MUST/
>> 
>>>  Implementations
>>>  which support this mechanism MUST be capable of protecting it by
>>>  establishment (as discussed in Section 3) of TLS. 
>> 
>> s/MUST/SHOULD/
>
>Still wrong.  Together, these changes require implementations that do
>not support TLS, to implement a security hole.

Which security hole you refer to here?

Kurt 




From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 14:11: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 OAA15620
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 14:11:36 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29J4wYT067351;
	Tue, 9 Mar 2004 19:04:58 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29ItHgc066046;
	Tue, 9 Mar 2004 18:55:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 9 Mar 2004 18:55:17 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29ItGYT066034
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Mar 2004 18:55:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i29ItFMs080642;
	Tue, 9 Mar 2004 18:55:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309104330.05044440@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 10:55:12 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Simple auth and TLS (Was: authmeth review notes [long])
Cc: Michael =?iso-8859-1?Q?Str=F6der?= <michael@stroeder.com>,
        ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309576@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <40436D07.2090008@stroeder.com>
 <HBF.20040309576@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i29ItGYT066035
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Hallvard, nevermind regarding my previous post.  After re-reading
Michael's and your messages, I believe I understand what each of
you are getting at.

Michael, I believe the text, which mandates implementations be
capable of protecting simple password authentication using TLS,
is supported by WG consensus.  Operational experience has shown,
that in absence of such mandates, implementations will not offer
adequate protective services.

Kurt

At 10:25 AM 3/9/2004, Hallvard B Furuseth wrote:
>Michael Ströder writes:
>>Kurt D. Zeilenga wrote:
>>> 
>>>  LDAP implementations SHOULD support the simple DN/password mechanism
>>>  of the simple Bind method (as detailed in Section X).
>> 
>> s/SHOULD/MUST/
>> 
>>>  Implementations
>>>  which support this mechanism MUST be capable of protecting it by
>>>  establishment (as discussed in Section 3) of TLS. 
>> 
>> s/MUST/SHOULD/
>
>Still wrong.  Together, these changes require implementations that do
>not support TLS, to implement a security hole.
>
>-- 
>Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 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 OAA15662
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 14:12:06 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29J4SYV067289;
	Tue, 9 Mar 2004 19:04:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29ImxFb065328;
	Tue, 9 Mar 2004 18:48: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 Mar 2004 18:48:59 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29ImuYT065290;
	Tue, 9 Mar 2004 18:48:56 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.20)
	id 1B0mHc-0002rn-QX; Tue, 09 Mar 2004 19:48:52 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B0mHZ-0008Lb-8C; Tue, 09 Mar 2004 19:48:49 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0mHY-00075t-00; Tue, 9 Mar 2004 19:48:48 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309yqw6@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Michael =?iso-8859-1?Q?Str=F6der?= <michael@stroeder.com>,
        ietf-ldapbis@OpenLDAP.org
Subject: Re: Simple auth and TLS (Was: authmeth review notes [long])
In-Reply-To: <6.0.1.1.0.20040309103506.0500ef50@127.0.0.1>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<40436D07.2090008@stroeder.com>
	<HBF.20040309576@bombur.uio.no>
	<6.0.1.1.0.20040309103506.0500ef50@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Date: Tue, 9 Mar 2004 19:48: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=0, required 12)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i29ImvYT065297
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Kurt D. Zeilenga writes:
>At 10:25 AM 3/9/2004, Hallvard B Furuseth wrote:
>>Michael Ströder writes:
>>>Kurt D. Zeilenga wrote:
>>>> 
>>>>  LDAP implementations SHOULD support the simple DN/password mechanism
>>>>  of the simple Bind method (as detailed in Section X).
>>> 
>>> s/SHOULD/MUST/
>>> 
>>>>  Implementations
>>>>  which support this mechanism MUST be capable of protecting it by
>>>>  establishment (as discussed in Section 3) of TLS. 
>>> 
>>> s/MUST/SHOULD/
>>
>>Still wrong.  Together, these changes require implementations that do
>>not support TLS, to implement a security hole.
> 
> Which security hole you refer to here?

Simple bind with an unprotected cleartext password.  But I should have
said, implementations will be required to _support_ a security hole.
They don't have to activate it.  Unfortunately, one can trust some users
to activate it, and some server admins to allow such binds.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 15:21: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 PAA20927
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 15:21:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29KKKYV077429;
	Tue, 9 Mar 2004 20:20:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29K40Bw075323;
	Tue, 9 Mar 2004 20:04:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 9 Mar 2004 20:04:00 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29K3wYT075304
	for <ietf-ldapbis@openldap.org>; Tue, 9 Mar 2004 20:03:59 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.20)
	id 1B0nSD-0006pe-5t; Tue, 09 Mar 2004 21:03:53 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0nS9-0004up-MM; Tue, 09 Mar 2004 21:03:49 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0nS8-0007KB-00; Tue, 9 Mar 2004 21:03:48 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309xhr5@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: jmcmeek@us.ibm.com, Ron.Ramsay@ca.com, ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <s04c8dc8.066@prv-mail20.provo.novell.com>
References: <s04c8dc8.066@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Mar 2004 21:03: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> Regarding the current text:
>  
> direction as to what value the sender should provide for the
> criticality field (note: the semantics of the criticality field are
> defined above should not be altered by the control's specification)
>  
> versus the old text:
> 
> whether the control is always noncritical, always critical, or critical
> at the client's option
> 
> These can either be read to have the same or very similar meanings, or
> they can be read to have at least two different meanings:
> 
> 1) the old text can be read to imply that the control spec can mandate
> the criticality, and the server should validate the criticality

Not quite.  I thought - and still think - this meant a wrong criticality
is an error, so server MAY validate it, and thus a good quality server
would do so.  I asked for a SHOULD, but have lost that argument.

> 2) the old text can be read to imply that the control spec can mandate
> the criticality, but it's the clien't responsibility to validate it.

There was also a significant confusion about the criticality which is
used by the server vs. the criticality protocol field.  E.g., for the
old text,

  3) If the control is implemented, the server uses the criticality
     given in the control specification and ignores the criticality
     protocol field.

or variants like using either (3) or (2) depending on the wording of the
control spec.

I even seem to remember someone (Kurt?) said (3) was common to
implement.  However, after the debate shifted to client-specified
criticality, I don't remember anyone arguing to keep (3).  I may be
wrong.

> (1) has been argued abck and forth, and it seems consensus is to not
> do that.

(1) as in "SHOULD", yes.

(1) as in "MAY" - the arguments against the "SHOULD" seem to have become
the reason for even removing the "MAY".  I've argued against that, but
the change happened without response to my arguments, except some
misunderstandings about why I thought it said that.

> (2) in my mind is still allowed by the new text.

It can be read that way, but "direction" can also be seen as saying the
spec may recommend a criticality, but that it does not say anything
about allowing the spec to mandate a criticality.  So I've asked
for a clarification.

Also, note John's point that unlike LDAP, X.500 does not let the control
spec to mandate a criticality of FALSE.

Finally, the old text did not allow the control spec to mandate a
specific criticality only in some circumstances.  I like that, but I
think that too differs from X.500.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 15:21: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 PAA20953
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 15:21:30 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29KKKYT077429;
	Tue, 9 Mar 2004 20:20:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29K7c8X075845;
	Tue, 9 Mar 2004 20:07: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 Mar 2004 20:07:38 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29K7aYT075834
	for <ietf-ldapbis@openldap.org>; Tue, 9 Mar 2004 20:07:37 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.20)
	id 1B0nVi-0007ZA-ST; Tue, 09 Mar 2004 21:07:30 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0nVg-0005Y9-4a; Tue, 09 Mar 2004 21:07:28 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0nVg-0007Ku-00; Tue, 9 Mar 2004 21:07:28 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309xfk1@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
cc: jmcmeek@us.ibm.com, Ron.Ramsay@ca.com, ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <HBF.20040309xhr5@bombur.uio.no>
References: <s04c8dc8.066@prv-mail20.provo.novell.com>
	<HBF.20040309xhr5@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Mar 2004 21:07: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I wrote:
> Finally, the old text did not allow the control spec to mandate a
> specific criticality only in some circumstances.  I like that, but I
> think that too differs from X.500.

Sorry, s/that/the new text about that/.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 15:32: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 PAA21549
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 15:32:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29KRxYX078029;
	Tue, 9 Mar 2004 20:31:46 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29KMgK0077586;
	Tue, 9 Mar 2004 20:22: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); Tue, 9 Mar 2004 20:22:42 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29KMeYT077575
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Mar 2004 20:22: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.10) with ESMTP id i29KMdMs081905;
	Tue, 9 Mar 2004 20:22:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 12:22:31 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Applicability (Was: authmeth review notes [long])
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309eff@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:09 AM 3/9/2004, Hallvard B Furuseth wrote:
>> I would like to add a new section (or possible placed subsequent
>> to the technical specification of these features) which gathers the
>> high level implementation requirements.
>
>Good idea, if you mean to move the requirements to this section,
>rather than to copy them.

The idea is to provide a brief general "applicability statement"
which details which security services are required, recommended,
or elective (but not detailing how those services are to be
implemented).  That is, it details the what should be implemented,
not the how they should be implemented.

It might be best to title the section "General Applicability Statement"

>However, you have made many changes:

Yes.  authmeth-10, I believe, is not fully consistent with the WG
consensus as previously gauged.  Hence, the changes.

>> 2.  Implementation Requirements
>
>>  LDAP implementations which support any authentication mechanism
>>  (other than anonymous mechanism of the simple Bind method) MUST
>>  support the DIGEST-MD5 [RFC2831bis] mechanism of the SASL Bind
>>  method (as detailed in Section X).
>
>I preferred the authmeth-10 text which only required this of servers,
>not "implementations".  It should be OK to write thin clients.

I believe similar concerns were previously discussed.  I believe
consensus supports the requirement as applying to both clients and
servers.

>Also, the original text from Section 10 (quoted below) seems clear
>enough to me, I don't see why you spelled it out more than this?
>
>   LDAP servers that implement any authentication method or mechanism 
>   other than simple anonymous bind MUST implement the SASL 
>   DIGEST-MD5 mechanism [DIGEST-MD5].

I have tried to be more precise regarding Bind methods and
authentication mechanisms.  Each Bind method can support multiple
mechanisms.  I hope that we can carry this precision into
the rest of the specification.

>(Well, I liked your s/method or mechanism/mechanism/, and I'd suggest
>s/DIGEST-MD5 mechanism/DIGEST-MD5 authentication mechanism/ if that
>text is moved the new section.)

I actually had in a rough draft written "authentication mechanism"
in the second sentence.  I removed it because, without it, it should
be clear I'm referring to mechanisms of the first sentence but
with it, it **could** be viewed as referring to only the authentication
aspects of the DIGEST-MD5 mechanism.  (English is a fun language.)

However, I'm fine either way.  Just wanted to let you know that I
had considered that wording and why I opted for this instead.

>>  That is, excepting those
>>  implementations which only support anonymous connections, all
>>  implementations MUST support DIGEST-MD5.
>
>Strike this, it is clear enough from the first sentence.

We've had a bit of confusion here, I added this statement to
really drive it home.  That is, while I agree that the first
sentence should be clear enough, it seems some are having a
hard time understanding its meaning.  So I think reenforcement
here is good.

>Though we
>could rearrange that sentence a bit to emphasize the DIGEST-MD5
>requirement, if we keep your spelled-out version:
>
>   LDAP {servers/implementations} MUST support the DIGEST-MD5
>   [DIGEST-MD5] mechanism of the SASL Bind method (as detailed in
>   Section X) if they support any authentication mechanism other than
>   the anonymous mechanism of the Simple Bind method.

I prefer my wording.  It avoids the "if ... other than" construction
(which I think was causing some of the confusion).

>>  LDAP implementations SHOULD support the simple DN/password mechanism
>>  of the simple Bind method (as detailed in Section X).  Implementations
>>  which support this mechanism MUST be capable of protecting it by
>>  establishment (as discussed in Section 3) of TLS.
>
>This has several differences from the requirements in Section 7.  I seem
>to remember there have been previous discussions about just what bind
>methods should be supported when.  I don't think this should be changed
>without more discussion.

Actually, I think we've discussed this in gory detail repeatedly.
While I put forth this text as what I believe the consensus to be,
wether or not the text actually does reflects consensus is certain
a matter for discussion.  That is, the chairs have declared consensus
in a number of related issues here, but have not yet declared the
text as being consistent with that consensus.  It is hoped we can
fine tune the text without having to reopen previously hashed issues.

>E.g., I disagree with the TLS requirement.

I think it would be fine to extend this with something like:
"or other suitable means (e.g., IPSec)".

>Other protection, like IPSec, ldap://localhost/, or a Unix filename
>socket, is fine.

I assume you meant ldaps://.


>Also note section H.45:
>
>   Based on WG list discussion, Kurt Zeilenga has gaged a lack of WG 
>   consensus that Simple+TLS should be mandatory to implement. No 
>   further discussion is necessary. 

Simple+TLS is not mandatory to implement.  But if you implement
Simple, you must implement a means to protect Simple.  This comes
from concerns raised at IETF#58 (and, if I recall correctly, on list).

>BTW, I can't find any requirement that TLS be supported.

It's not.  DIGEST-MD5 is LDAP's strong authentication mechanism
(which provides adequate data security services).  There is no
interop or security reason to mandate or recommend more (except
in limited cases, such as when Simple is to be used).

>>  LDAP server implementations MUST support the anonymous mechanism of
>>  the simple Bind method.
>
>You changed this from "implementations" to "server implementations".
>I guess I agree with that.

This is because servers need to support various initial operation
sequences discussed in [Protocol].  However, clients need not support
all of these.  For instance, a client is free to initially request
DIGEST-MD5 authentication.  Such a client need not support the
anonymous mechanism.  But because a client might attempt discovery
and hence might anonymously bind first, servers need to be capable
of supporting this (even though the only thing they might allow
an anonymous client to do is discovery).

>BTW, MUST they support unauthenticated binds?

I believe consensus is that the unauthenticated mechanism of the simple
method is elective, but those implementations which do support this
mechanism should, by default, have it disabled (e.g., reject such
requests).

I didn't enumerate elective mechanisms... nor attempt to discuss how
any mechanism should be implemented.

>Section 6 says those
>SHOULD by default be rejected; I'm not sure if that means it MUST be
>possible to turn the default off.
>
>>  Implementations MAY support additional authentication mechanisms of
>>  the simple and SASL bind methods, and/or mechanisms of other bind
>>  methods.  Some of these mechanisms are discussed below.
>
>I think this paragraph can be dropped.

I think it is important to say that other mechanisms are elective.



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 15:53: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 PAA22699
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 15:53:13 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29KXxZD078630;
	Tue, 9 Mar 2004 20:48:03 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29KUcnv078384;
	Tue, 9 Mar 2004 20:30: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 Mar 2004 20:30:38 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29KUYYT078354;
	Tue, 9 Mar 2004 20:30: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.20)
	id 1B0nrz-0003Km-D1; Tue, 09 Mar 2004 21:30:31 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0nrx-00089h-OA; Tue, 09 Mar 2004 21:30:29 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0nrx-0007Oy-00; Tue, 9 Mar 2004 21:30:29 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309x1oy@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <6.0.1.1.0.20040308132319.050f30c0@127.0.0.1>
References: <1395B4B334FCC143B36AF788E68B63810119A756@ausyms21.ca.com>
	<OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
	<HBF.20040308mdjk@bombur.uio.no>
	<6.0.1.1.0.20040308105644.050de348@127.0.0.1>
	<HBF.20040308jwqx@bombur.uio.no>
	<6.0.1.1.0.20040308132319.050f30c0@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Mar 2004 21:30:29 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> Well, I think the question was more about what use scenarios
> server-side enforcement of a particular criticality value would be
> useful.  In the past, the use scenario discussed was so that client
> developers would, if they tested against a server which implemented
> such checks, receive a diagnostic (a protocolError) that would tell
> them that they didn't provide the particular criticality value called
> for.  The question was whether this wether or not there were other
> (non-diagnostic) use cases.

I cannot think of any.

>At 01:11 PM 3/8/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:

>>- While I think control specs should be able to mandate the
>>  criticality protocol field, they should not mandate that servers check
>>  it.  That is a [Protocol] issue.  It would just add to the mess if one
>>  could trust a server to catch wrong criticality for some controls, but
>>  not for others.
>

> Problem here is that any mandated value is control-specific.  The
> [protocol] discusses criticality handling which is not
> control-specific.

So if a server wishes to verify the criticality of controls in general,
it must do it in the implementation of each control.  I don't see a
problem with that, as long as the server does it consistently.  Which is
a quality of implementation issue, not a [protocol] or control spec
issue.

> While a control specification can certainly say
> "servers implementing this control are to verify its critical field is
> TRUE", (...), this is a control
> specific semantic and not part of the control-neutral criticality
> processing discussed in [Protocol].

Yes.  Which is why I don't want control specs to say that.
Because...

> Whether or not such statements
> are or aren't appropriate can be left to discussions regarding
> particular control specifications which attempt to make them (as any
> such verification is part of the control-specific processing).

No.  If the control spec says that, it is altering the semantics of the
criticality field.  Which [Protocol] says should not be done.

> Instead of saying the control specifications may require such a
> verification (or verification of any number of other things), it would
> like be better to clarify that the scope of any LDAP extension is only
> limited by what can be supported in a truly optional manner.

It's not clear to me what this suggestion means in practice.
I _think_ it at least means to remove the text
     (note: the semantics of the criticality field 
     are defined above should not be altered by the control's 
     specification)

>>- I thought (and still suspect) rfc2251 said wrong criticality was an
>>  error,
> 
> I do not believe your view is supported by the consensus of the WG

It's been a while since the discussion, but at the moment I don't
remember anyone but you and me saying what we think rfc2251 was meant to
say.  Though I assume Jim agrees with you, since he adopted your changes
so easily.

> nor by existing implementations (many of which implement controls
> whose specifications mandate clients provide particular criticality
> values).

Well, the question would be what most servers do; enough that a change
will not be a problem, not what many servers do.  I don't think we
disagree about what clients may or should do.

> At present, I am inclined to either treat your request as a new feature
> (and hence out-of-scope) or as a clarification to an un-implemented
> interpretation (which we should avoid), or simply as a change which
> is not supported by WG consensus.  However, to ensure the WG fully
> considers all issues, it seemed appropriate to see if there were
> other use scenarios.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 16:44: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 QAA00546
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 16:44:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29LRxZJ084630;
	Tue, 9 Mar 2004 21:42:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29LNmS7084196;
	Tue, 9 Mar 2004 21:23: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, 9 Mar 2004 21:23:48 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29LNiYT084130;
	Tue, 9 Mar 2004 21:23:44 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B0ohQ-0004VZ-Dk; Tue, 09 Mar 2004 22:23:40 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B0ohO-0005R1-6d; Tue, 09 Mar 2004 22:23:38 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0ohN-0007Z6-00; Tue, 9 Mar 2004 22:23:37 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309w5q2@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Applicability (Was: authmeth review notes [long])
In-Reply-To: <6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<HBF.20040309eff@bombur.uio.no>
	<6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Mar 2004 22:23:37 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 10:09 AM 3/9/2004, Hallvard B Furuseth wrote:

>> Other protection, like IPSec, ldap://localhost/, or a Unix filename
>> socket, is fine.
>
> I assume you meant ldaps://.

For the filename socket?  Yes, ldaps:// sounds familiar.

>> BTW, I can't find any requirement that TLS be supported.
>
> It's not.

Sorry, I meant 'no requirement in any circumstance', like required when
you implement Simple Bind.  But you have already addressed that.

> DIGEST-MD5 is LDAP's strong authentication mechanism
> (which provides adequate data security services).  There is no
> interop or security reason to mandate or recommend more (except
> in limited cases, such as when Simple is to be used).

While I like that TLS is optional, I don't buy this as an argument for
it.  DIGEST-MD5...

- cannot be used if the server-side password store is maintained
  encrypted by the OS, so there are no cleartext passwords to
  make MD5 digests from.

- is compromised if the store of MD5-digested passwords is compromised.
  (Or if just one such digested password is compromised?  I don't
  remember.)  If that happens, one must rehash the entire password
  store.  That means one must either maintain a cleartext password
  store, which may be unacceptable, or all users must change their
  passwords, which can be from expensive to near impossible for large
  organizations.

Since I don't actually want a change, this is obviously not important to
me, but it might be important to those who feel DIGEST-MD5 as an
argument for optional TLS.

>> BTW, MUST they support unauthenticated binds?
>
> I believe consensus is that the unauthenticated mechanism of the simple
> method is elective, (...)

Then this is wrong:

 LDAP server implementations MUST support the anonymous mechanism of
 the simple Bind method.

It should be 'support anonymous binds with...' (according to section 6),
or 'anonymous authentication via the simple Bind method with no name or
password'.

>>>  Implementations MAY support additional authentication mechanisms of
>>>  the simple and SASL bind methods, and/or mechanisms of other bind
>>>  methods.  Some of these mechanisms are discussed below.
>>
>> I think this paragraph can be dropped.
>
> I think it is important to say that other mechanisms are elective.

If you mean _all_ other mechanisms, the paragraph doesn't say that.  It
just says there are elective mechanisms.  But I agree such a statement
would be nice.  As well as a similar statement for basic TLS features.


These seem inconsistent to me:

>>>  LDAP implementations which support any authentication mechanism
>>>  (other than anonymous mechanism of the simple Bind method) MUST
>>>  support the DIGEST-MD5 [RFC2831bis] mechanism of the SASL Bind
>>>  method (as detailed in Section X).
>>
>> I preferred the authmeth-10 text which only required this of servers,
>> not "implementations".  It should be OK to write thin clients.
>
> I believe similar concerns were previously discussed.  I believe
> consensus supports the requirement as applying to both clients and
> servers.

Above, clients that do not use DIGEST-MD5 must support it anyway.
Below, clients that do not use simple/anon need not support it.

>>>  LDAP server implementations MUST support the anonymous mechanism of
>>>  the simple Bind method.
>>
>> You changed this from "implementations" to "server implementations".
>> I guess I agree with that.
>
> This is because servers need to support various initial operation
> sequences discussed in [Protocol].  However, clients need not support
> all of these.  For instance, a client is free to initially request
> DIGEST-MD5 authentication.  Such a client need not support the
> anonymous mechanism.  (...)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 16:52: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 QAA01289
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 16:52:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29LpxYT087485;
	Tue, 9 Mar 2004 21:51:59 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29LgBOv086201;
	Tue, 9 Mar 2004 21:42: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 Mar 2004 21:42:11 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29Lg8YT086166;
	Tue, 9 Mar 2004 21:42:09 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B0ozF-0007T1-GT; Tue, 09 Mar 2004 22:42:05 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B0ozD-00085p-8N; Tue, 09 Mar 2004 22:42:03 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0ozC-0007e1-00; Tue, 9 Mar 2004 22:42:02 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040309vun0@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Applicability (Was: authmeth review notes [long])
In-Reply-To: <HBF.20040309w5q2@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<HBF.20040309eff@bombur.uio.no>
	<6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
	<HBF.20040309w5q2@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 9 Mar 2004 22:42:02 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I wrote:
> Kurt D. Zeilenga writes:
>
>>> BTW, I can't find any requirement that TLS be supported.
>>
>> It's not.
> (...)
>> DIGEST-MD5 is LDAP's strong authentication mechanism
>> (which provides adequate data security services).  There is no
>> interop or security reason to mandate or recommend more (except
>> in limited cases, such as when Simple is to be used).
> 
> While I like that TLS is optional, I don't buy this as an argument for
> it.  DIGEST-MD5...

... is also vulnerable to active intermediary attacks ([Authmeth]
section 10).

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 18:10: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 SAA05650
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 18:10:32 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29MjxZL092295;
	Tue, 9 Mar 2004 23:09:31 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29MhDJX092010;
	Tue, 9 Mar 2004 22:43:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 9 Mar 2004 22:43:13 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29MhBYT092000
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Mar 2004 22:43:11 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.10) with ESMTP id i29MhAMs083949;
	Tue, 9 Mar 2004 22:43:11 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309125922.05155e68@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 14:43:07 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309x1oy@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810119A756@ausyms21.ca.com>
 <OF7ED07CAF.49AE2974-ON86256E4A.004A2997-86256E4A.004F14EA@us.ibm.com>
 <HBF.20040308mdjk@bombur.uio.no>
 <6.0.1.1.0.20040308105644.050de348@127.0.0.1>
 <HBF.20040308jwqx@bombur.uio.no>
 <6.0.1.1.0.20040308132319.050f30c0@127.0.0.1>
 <HBF.20040309x1oy@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 12:30 PM 3/9/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> Well, I think the question was more about what use scenarios
>> server-side enforcement of a particular criticality value would be
>> useful.  In the past, the use scenario discussed was so that client
>> developers would, if they tested against a server which implemented
>> such checks, receive a diagnostic (a protocolError) that would tell
>> them that they didn't provide the particular criticality value called
>> for.  The question was whether this wether or not there were other
>> (non-diagnostic) use cases.
>
>I cannot think of any.

noted.


>>At 01:11 PM 3/8/2004, Hallvard B Furuseth wrote:
>>>Kurt D. Zeilenga writes:
>
>>>- While I think control specs should be able to mandate the
>>>  criticality protocol field, they should not mandate that servers check
>>>  it.  That is a [Protocol] issue.  It would just add to the mess if one
>>>  could trust a server to catch wrong criticality for some controls, but
>>>  not for others.
>>
>
>> Problem here is that any mandated value is control-specific.  The
>> [protocol] discusses criticality handling which is not
>> control-specific.
>
>So if a server wishes to verify the criticality of controls in general,
>it must do it in the implementation of each control.

Well, I rather not get into implementation detail.  It is possible
that a server could implement their general control processing
in a manner which allowed them to verify criticality values
mandated by the control specification.  My point is that there
is a logic separation of control-neutral and control-specific
processing and any criticality verification is logically part of
the control-specific processing (as its specification is
control specific).

>I don't see a
>problem with that, as long as the server does it consistently.

Consistent with the control's specification!  The behavior
is control-specific...  one specification could say "incorrect
criticality is to be treated as a protocolError" while another
specification could say "incorrect criticality should be viewed
as constraintViolation" while another could say "if a incorrect
criticality is detected, it should be logged but otherwise
ignored".

I would hope most specifications would opt for the last (with
ability to disable logging) as a) it provides a useful diagnostic
and b) encourages servers to be liberal in what they accept.

I, for one, would likely ignore mandates to return errors where
I could instead process the operation unambigiously.

>Which is
>a quality of implementation issue, not a [protocol] or control spec
>issue.
>
>> While a control specification can certainly say
>> "servers implementing this control are to verify its critical field is
>> TRUE", (...), this is a control
>> specific semantic and not part of the control-neutral criticality
>> processing discussed in [Protocol].
>
>Yes.  Which is why I don't want control specs to say that.
>Because...
>
>> Whether or not such statements
>> are or aren't appropriate can be left to discussions regarding
>> particular control specifications which attempt to make them (as any
>> such verification is part of the control-specific processing).
>
>No.  If the control spec says that, it is altering the semantics of the
>criticality field.  Which [Protocol] says should not be done.

While [Protocol] says future specifications should not overload
criticality field, [Protocol] does not restrict the scope of
extension which a control might express.

>> Instead of saying the control specifications may require such a
>> verification (or verification of any number of other things), it would
>> like be better to clarify that the scope of any LDAP extension is only
>> limited by what can be supported in a truly optional manner.
>
>It's not clear to me what this suggestion means in practice.

Well, I would agree that some extension authors don't understand
that extensions should be truly optional.

>I _think_ it at least means to remove the text
>     (note: the semantics of the criticality field 
>     are defined above should not be altered by the control's 
>     specification)

This text is intended to highlight an important change in practice,
a change that resulted from significant discussion (namely in LDAPEXT)
of technical issues with existing extension specifications (some
"in progress", some published).  As the consensus was, and appears to
still be, that the overloading criticality is generally not appropriate,
it is appropriative for us to say so in this revision.  Otherwise
it is likely the practice would continue (especially given that not
all control specifications are subject to IETF review).

I note as well that this practice, aside from causing issues with
each overloading specification, also caused and continues to cause
confusion as to precise what are the criticality semantics.  Hence,
aside from clarifying what future specifications should avoid doing,
the note also reenforces that criticality semantics are just those
which were specified in RFC 2251.

>>>- I thought (and still suspect) rfc2251 said wrong criticality was an
>>>  error,
>> 
>> I do not believe your view is supported by the consensus of the WG
>
>It's been a while since the discussion, but at the moment I don't
>remember anyone but you and me saying what we think rfc2251 was meant to
>say.  Though I assume Jim agrees with you, since he adopted your changes
>so easily.

Consensus, especially when limited to just list posts, can be a
hard thing to judge.  I've tried to take all inputs (from list,
from personal conversations, from face-to-face meetings, etc..)
and weight them to come up with a belief of what the consensus
(or lack thereof) is.  I then generally try to state this belief
(as I have done here) as well as what actions I am considering
taking based upon this belief.  This is intended to allow
additional input (regarding either my view of consensus or the
proposed actions).

>> nor by existing implementations (many of which implement controls
>> whose specifications mandate clients provide particular criticality
>> values).
>
>Well, the question would be what most servers do;

Actually, the question is whether there are multiple independently
developed implementations.  2 servers would be enough... but I
not aware of any.

>> At present, I am inclined to either treat your request as a new feature
>> (and hence out-of-scope) or as a clarification to an un-implemented
>> interpretation (which we should avoid), or simply as a change which
>> is not supported by WG consensus.  However, to ensure the WG fully
>> considers all issues, it seemed appropriate to see if there were
>> other use scenarios.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 18:50: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 SAA07797
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 18:50:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29Nk4YX099229;
	Tue, 9 Mar 2004 23:49:22 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i29Njk55099218;
	Tue, 9 Mar 2004 23:45: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 Mar 2004 23:45:46 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i29NjiYT099208
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Mar 2004 23:45:44 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.10) with ESMTP id i29NjiMs084913;
	Tue, 9 Mar 2004 23:45:44 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309151232.05151910@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 15:45:40 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Applicability (Was: authmeth review notes [long])
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309w5q2@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
 <6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
 <HBF.20040309w5q2@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:23 PM 3/9/2004, Hallvard B Furuseth wrote:
>> DIGEST-MD5 is LDAP's strong authentication mechanism
>> (which provides adequate data security services).  There is no
>> interop or security reason to mandate or recommend more (except
>> in limited cases, such as when Simple is to be used).
>
>While I like that TLS is optional, I don't buy this as an argument for
>it.

The argument is a) DIGEST-MD5 is good enough to be the
mandatory-to-implement authentication mechanism and
b) there only needs to be one mandatory-to-implement
authentication mechanism.

The reason why Simple+TLS is optional is simply due to
fact that once you've met the IETF requirements for
reasonable strong authentication mechanism and there doesn't
appear to much of a reason to require/recommend everyone to
implement yet another authentication mechanism.

I note that the WG did consider making Simple+TLS the
mandatory-to-implement strong authentication method, but
choose to stick with DIGEST-MD5.

>>> BTW, MUST they support unauthenticated binds?
>>
>> I believe consensus is that the unauthenticated mechanism of the simple
>> method is elective, (...)
>
>Then this is wrong:
>
> LDAP server implementations MUST support the anonymous mechanism of
> the simple Bind method.

No, that's talking about the anonymous mechanism, not the
unauthenticated mechanism.

Simple bind support three mechanisms: anonymous, unauthenticated,
and authenticated.  While the first two both result in an anonymous
associations, they are different mechanisms.

>It should be 'support anonymous binds with...' (according to section 6),
>or 'anonymous authentication via the simple Bind method with no name or
>password'.

I think we just need to be more precise when it comes to
distinguishing mechanisms from outcomes.  One could say
that the use of SASL/ANONYMOUS mechanism is an "anonymous
bind".  But it is a different mechanism from the simple
method's anonymous mechanism.

>>>>  Implementations MAY support additional authentication mechanisms of
>>>>  the simple and SASL bind methods, and/or mechanisms of other bind
>>>>  methods.  Some of these mechanisms are discussed below.
>>>
>>> I think this paragraph can be dropped.
>>
>> I think it is important to say that other mechanisms are elective.
>
>If you mean _all_ other mechanisms, the paragraph doesn't say that.
>It just says there are elective mechanisms.  But I agree such a statement
>would be nice.  As well as a similar statement for basic TLS features.

I rather not say _all_ other mechanisms, as some mechanisms have
very limited applicability (and some other mechanisms may actually
be deprecated (for very good reasons)).  So, I guess, it may be best
not to actually say other mechanisms are elective.

Maybe we should just s/MAY/may/ (or s/MAY/can/) here.  That is,
just point out that implementations can support other implementations
but avoid discussing there applicability.  It might be appropriate
to note that implementors considering supporting additional mechanisms
should carefully consider their applicability to LDAP and directory
applications they intend to support.

>These seem inconsistent to me:
>
>>>>  LDAP implementations which support any authentication mechanism
>>>>  (other than anonymous mechanism of the simple Bind method) MUST
>>>>  support the DIGEST-MD5 [RFC2831bis] mechanism of the SASL Bind
>>>>  method (as detailed in Section X).
>>>
>>> I preferred the authmeth-10 text which only required this of servers,
>>> not "implementations".  It should be OK to write thin clients.
>>
>> I believe similar concerns were previously discussed.  I believe
>> consensus supports the requirement as applying to both clients and
>> servers.
>
>Above, clients that do not use DIGEST-MD5 must support it anyway.
>Below, clients that do not use simple/anon need not support it.

Because the requirements address different concerns.

The former requirement is to ensure that all implementations
share a strong authentication mechanism.

The latter requirement is to ensure that all servers provide
adequate support for discovery.  Clients are not generally
required to use discovery (or use simple/anon with discovery),
but servers are generally required to support discovery (if
so configured).

>>>>  LDAP server implementations MUST support the anonymous mechanism of
>>>>  the simple Bind method.
>>>
>>> You changed this from "implementations" to "server implementations".
>>> I guess I agree with that.
>>
>> This is because servers need to support various initial operation
>> sequences discussed in [Protocol].  However, clients need not support
>> all of these.  For instance, a client is free to initially request
>> DIGEST-MD5 authentication.  Such a client need not support the
>> anonymous mechanism.  (...)
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 19:21: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 TAA08994
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 19:21:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A0A0ZH001772;
	Wed, 10 Mar 2004 00:20:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A07QY7001589;
	Wed, 10 Mar 2004 00:07: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 Mar 2004 00:07:26 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A07OYT001577
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 00:07: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.10) with ESMTP id i2A079Ms085149;
	Wed, 10 Mar 2004 00:07:10 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309155948.0515df90@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 16:07:05 -0800
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: SASL mechanisms that return no data in last leg
Cc: lukeh@PADL.COM, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <404A778D.90302@isode.com>
References: <200403040556.QAA02107@au.padl.com>
 <404A778D.90302@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I'd have to agree with Alexey.  The mechanism for provide data
with the last leg of the exchange is optional.  That is, if there
is data to be sent AND the server chooses not to require
another roundtrip, the server can attach the data to last
message.

Another point is that SASL allows the mechanism data
in any message of the exchange to be any octet string,
including a zero length string.  Hence, it seems that
no string and a zero length string are not necessarily
semantically equivalent here.

Kurt

At 05:14 PM 3/6/2004, Alexey Melnikov wrote:
>Luke Howard wrote:
>
>>We have noticed an interoperability issue with clients that
>>assume that saslServerCreds will be present, but zero length,
>>when a SASL mechanism returns no data for the last leg of an
>>authentication. (An example of such a mechanism is GSSAPI.)
>>
>>OpenLDAP and PADL GSS-SASL both omit saslServerCreds in this
>>case, whereas Active Directory returns it with a zero-length
>>octet. It seems to me that the Active Directory behaviour
>>actually makes more sense, and the OpenLDAP client (which
>>uses Cyrus SASL) accepts both behaviours.
>Actually might interpretation of RFC 2222 would be exactly the opposite.
>If the last leg from the server to the client doesn't send anything, this means there is no "additional data with success". The latter implies that nothing should be sent.
>
>>However, we have
>>noticed that some proprietary GSSAPI SASL clients fail if
>>saslServerCreds is not present.
>>
>>See:
>>
>> http://www.openldap.org/its/index.cgi/Incoming?id=2994
>>
>>RFC 2222 doesn't really distinguished between not present and
>>zero length; it merely says that after the server receives the
>>last client response the "authentication process is complete".  
>I guess the authmech document should say that clients should treat missing data in the last response from the server as if a zero length response was sent. And that for interoperability it is recommended to send zero length response.
>
>Alexey
>



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 19:49: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 TAA09973
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 19:49:49 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A0Y0ZR004896;
	Wed, 10 Mar 2004 00:48:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A0Vls1004492;
	Wed, 10 Mar 2004 00:31: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); Wed, 10 Mar 2004 00:31:47 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A0VeYT004446;
	Wed, 10 Mar 2004 00:31:44 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.20)
	id 1B0rdJ-0003Lm-Jl; Wed, 10 Mar 2004 01:31:37 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0rdB-0003nC-A3; Wed, 10 Mar 2004 01:31:29 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0rdB-0000OK-00; Wed, 10 Mar 2004 01:31:29 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040310t0nh@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Applicability (Was: authmeth review notes [long])
In-Reply-To: <6.0.1.1.0.20040309151232.05151910@127.0.0.1>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<HBF.20040309eff@bombur.uio.no>
	<6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
	<HBF.20040309w5q2@bombur.uio.no>
	<6.0.1.1.0.20040309151232.05151910@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Mar 2004 01:31:29 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 01:23 PM 3/9/2004, Hallvard B Furuseth wrote:

>>>> BTW, MUST they support unauthenticated binds?
>>>
>>> I believe consensus is that the unauthenticated mechanism of the simple
>>> method is elective, (...)
>>
>>Then this is wrong:
>>
>> LDAP server implementations MUST support the anonymous mechanism of
>> the simple Bind method.
> 
> No, that's talking about the anonymous mechanism, not the
> unauthenticated mechanism.
> 
> Simple bind support three mechanisms: anonymous, unauthenticated,
> and authenticated.  While the first two both result in an anonymous
> associations, they are different mechanisms.

Oh.  The problem is, the 'anonymous mechanism' of Simple Bind isn't
defined anywhere, so it can be read eather as your definition or as
anonymous binds.  I see no reason to define it either, just to be able
to use it here.  So I suggest again:

>> It should be 'support anonymous binds with...' (according to section 6),
>> or 'anonymous authentication via the simple Bind method with no name or
>> password'.

Also, this text from your suggestion must be fixed in the same way:

  LDAP implementations which support any authentication mechanism
  (other than anonymous mechanism of the simple Bind method) MUST
  support the DIGEST-MD5 (...)

> I think we just need to be more precise when it comes to
> distinguishing mechanisms from outcomes.  One could say
> that the use of SASL/ANONYMOUS mechanism is an "anonymous
> bind".  But it is a different mechanism from the simple
> method's anonymous mechanism.

My suggested texts do refer to anonymous simple bind, so they exclude
SASL/ANONYMOUS.

>>>>>  Implementations MAY support additional authentication mechanisms of
>>>>>  the simple and SASL bind methods, and/or mechanisms of other bind
>>>>>  methods.  Some of these mechanisms are discussed below.
>>>>
>>>> I think this paragraph can be dropped.
>>>
>>> I think it is important to say that other mechanisms are elective.
>>
>>If you mean _all_ other mechanisms, the paragraph doesn't say that.
>>It just says there are elective mechanisms.  But I agree such a statement
>>would be nice.  As well as a similar statement for basic TLS features.
> 
> I rather not say _all_ other mechanisms, as some mechanisms have
> very limited applicability (and some other mechanisms may actually
> be deprecated (for very good reasons)).  So, I guess, it may be best
> not to actually say other mechanisms are elective.

This should cover both needs: 'Of the mechanisms defined in this
document, only the above mechanisms are mandatory'.

> Maybe we should just s/MAY/may/ (or s/MAY/can/) here.

Also an improvement over your original text.

> It might be appropriate
> to note that implementors considering supporting additional mechanisms
> should carefully consider their applicability to LDAP and directory
> applications they intend to support.

I don't understand.  Are you talking about a security consideration, or
something else?  Why and how would they consider it?

>>These seem inconsistent to me:
>>
>>>>>  LDAP implementations which support any authentication mechanism
>>>>>  (other than anonymous mechanism of the simple Bind method) MUST
>>>>>  support the DIGEST-MD5 [RFC2831bis] mechanism of the SASL Bind
>>>>>  method (as detailed in Section X).
>>>>
>>>> I preferred the authmeth-10 text which only required this of servers,
>>>> not "implementations".  It should be OK to write thin clients.
>>>
>>> I believe similar concerns were previously discussed.  I believe
>>> consensus supports the requirement as applying to both clients and
>>> servers.
>>
>>Above, clients that do not use DIGEST-MD5 must support it anyway.
>>Below, clients that do not use simple/anon need not support it.
> 
> Because the requirements address different concerns.
> 
> The former requirement is to ensure that all implementations
> share a strong authentication mechanism.

If this is to satisfy some formal IETF requirement that they must share
such a mechanism, I'm with you.  Otherwise I still don't see the
difference between clients that don't need DIGEST-MD5 and clients that
don't need discovery (below).  Also, that all implementations 'share'
DIGEST-MD5 doesn't mean that one can bind with DIGEST-MD5 to all servers
supporting it, for the reasons I meantioned before about DIGEST-MD5.

> The latter requirement is to ensure that all servers provide
> adequate support for discovery.  Clients are not generally
> required to use discovery (or use simple/anon with discovery),
> but servers are generally required to support discovery (if
> so configured).
> 
>>>>>  LDAP server implementations MUST support the anonymous mechanism of
>>>>>  the simple Bind method.
>>>>
>>>> You changed this from "implementations" to "server implementations".
>>>> I guess I agree with that.
>>>
>>> This is because servers need to support various initial operation
>>> sequences discussed in [Protocol].  However, clients need not support
>>> all of these.  For instance, a client is free to initially request
>>> DIGEST-MD5 authentication.  Such a client need not support the
>>> anonymous mechanism.  (...)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 20:10: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 UAA10844
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 20:10:55 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1A3YT008627;
	Wed, 10 Mar 2004 01:10:03 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A13YnG008285;
	Wed, 10 Mar 2004 01:03:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 10 Mar 2004 01:03:34 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A13WYT008275
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 01:03: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.10) with ESMTP id i2A13VMs086152;
	Wed, 10 Mar 2004 01:03:31 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309163631.05167678@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 17:03:27 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Applicability (Was: authmeth review notes [long])
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040310t0nh@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
 <6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
 <HBF.20040309w5q2@bombur.uio.no>
 <6.0.1.1.0.20040309151232.05151910@127.0.0.1>
 <HBF.20040310t0nh@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 04:31 PM 3/9/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 01:23 PM 3/9/2004, Hallvard B Furuseth wrote:
>
>>>>> BTW, MUST they support unauthenticated binds?
>>>>
>>>> I believe consensus is that the unauthenticated mechanism of the simple
>>>> method is elective, (...)
>>>
>>>Then this is wrong:
>>>
>>> LDAP server implementations MUST support the anonymous mechanism of
>>> the simple Bind method.
>> 
>> No, that's talking about the anonymous mechanism, not the
>> unauthenticated mechanism.
>> 
>> Simple bind support three mechanisms: anonymous, unauthenticated,
>> and authenticated.  While the first two both result in an anonymous
>> associations, they are different mechanisms.
>
>Oh.  The problem is, the 'anonymous mechanism' of Simple Bind isn't
>defined anywhere,

It should be.  We need to be distinguish this mechanism from
other simple mechanisms and well as other mechanisms whose
purpose is to establish an anonymous association.

>so it can be read eather as your definition or as
>anonymous binds.  I see no reason to define it either, just to be able
>to use it here.  So I suggest again:

We need to precise in this area as we have different requirements
for different mechanisms.

>>> It should be 'support anonymous binds with...' (according to section 6),
>>> or 'anonymous authentication via the simple Bind method with no name or
>>> password'.
>
>Also, this text from your suggestion must be fixed in the same way:
>
>  LDAP implementations which support any authentication mechanism
>  (other than anonymous mechanism of the simple Bind method) MUST
>  support the DIGEST-MD5 (...)

I think it better to precisely define the "anonymous mechanism of
the simple Bind method".

>> I think we just need to be more precise when it comes to
>> distinguishing mechanisms from outcomes.  One could say
>> that the use of SASL/ANONYMOUS mechanism is an "anonymous
>> bind".  But it is a different mechanism from the simple
>> method's anonymous mechanism.
>
>My suggested texts do refer to anonymous simple bind, so they exclude
>SASL/ANONYMOUS.

Yes, but my point "anonymous simple bind" as you just used it
is ambiguous.  It could mean binding with the anonymous
mechanism of the simple method or binding with the unauthenticated
mechanism of the simple method.  I think the term "anonymous
simple bind" should be avoid.  We should, depending on the
circumstances, either talk in terms of what kinds of associations
will/have been established, or in terms the particular
mechanisms to used in establishing the association.


>>>>>>  Implementations MAY support additional authentication mechanisms of
>>>>>>  the simple and SASL bind methods, and/or mechanisms of other bind
>>>>>>  methods.  Some of these mechanisms are discussed below.
>>>>>
>>>>> I think this paragraph can be dropped.
>>>>
>>>> I think it is important to say that other mechanisms are elective.
>>>
>>>If you mean _all_ other mechanisms, the paragraph doesn't say that.
>>>It just says there are elective mechanisms.  But I agree such a statement
>>>would be nice.  As well as a similar statement for basic TLS features.
>> 
>> I rather not say _all_ other mechanisms, as some mechanisms have
>> very limited applicability (and some other mechanisms may actually
>> be deprecated (for very good reasons)).  So, I guess, it may be best
>> not to actually say other mechanisms are elective.
>
>This should cover both needs: 'Of the mechanisms defined in this
>document, only the above mechanisms are mandatory'.

I don't believe all the mechanisms "above" are mandatory.

>> Maybe we should just s/MAY/may/ (or s/MAY/can/) here.
>
>Also an improvement over your original text.

Okay.


>> It might be appropriate
>> to note that implementors considering supporting additional mechanisms
>> should carefully consider their applicability to LDAP and directory
>> applications they intend to support.
>
>I don't understand.  Are you talking about a security consideration, or
>something else?  Why and how would they consider it?

Applicability of a mechanism certain encompasses security
considerations, but can also encompass other factors.
Note that I use the term applicability in the RFC 2026 sense.

>>>These seem inconsistent to me:
>>>
>>>>>>  LDAP implementations which support any authentication mechanism
>>>>>>  (other than anonymous mechanism of the simple Bind method) MUST
>>>>>>  support the DIGEST-MD5 [RFC2831bis] mechanism of the SASL Bind
>>>>>>  method (as detailed in Section X).
>>>>>
>>>>> I preferred the authmeth-10 text which only required this of servers,
>>>>> not "implementations".  It should be OK to write thin clients.
>>>>
>>>> I believe similar concerns were previously discussed.  I believe
>>>> consensus supports the requirement as applying to both clients and
>>>> servers.
>>>
>>>Above, clients that do not use DIGEST-MD5 must support it anyway.
>>>Below, clients that do not use simple/anon need not support it.
>> 
>> Because the requirements address different concerns.
>> 
>> The former requirement is to ensure that all implementations
>> share a strong authentication mechanism.
>
>If this is to satisfy some formal IETF requirement that they must share
>such a mechanism, I'm with you.

There is a requirement for all IETF protocols to have a reasonable
strong authentication mechanism.  (I forget where it is formalized.)

> Otherwise I still don't see the
>difference between clients that don't need DIGEST-MD5 and clients that
>don't need discovery (below).

Maybe someone else can take a stab at explaining the difference
better than I.

>Also, that all implementations 'share'
>DIGEST-MD5 doesn't mean that one can bind with DIGEST-MD5 to all servers
>supporting it, for the reasons I meantioned before about DIGEST-MD5.

Assuming you are referring to interoperability issues
(as opposed to local policy/configuration issues), please
drop me a note with a quick summary of the reasons and
pointers to past discussions.

(I have some interoperability concerns with DIGEST-MD5,
especially with layers.  I intend to do a quick interop
study in this area in the next few weeks to ensure we
have (or likely will have) multiple independently developed
implementations of DIGEST-MD5 (including layers).)


>> The latter requirement is to ensure that all servers provide
>> adequate support for discovery.  Clients are not generally
>> required to use discovery (or use simple/anon with discovery),
>> but servers are generally required to support discovery (if
>> so configured).
>> 
>>>>>>  LDAP server implementations MUST support the anonymous mechanism of
>>>>>>  the simple Bind method.
>>>>>
>>>>> You changed this from "implementations" to "server implementations".
>>>>> I guess I agree with that.
>>>>
>>>> This is because servers need to support various initial operation
>>>> sequences discussed in [Protocol].  However, clients need not support
>>>> all of these.  For instance, a client is free to initially request
>>>> DIGEST-MD5 authentication.  Such a client need not support the
>>>> anonymous mechanism.  (...)
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 20:29: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 UAA11777
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 20:29:27 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1S0Yf010112;
	Wed, 10 Mar 2004 01:28:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A1O3fV009905;
	Wed, 10 Mar 2004 01:24: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 Mar 2004 01:24:03 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1O1YT009852;
	Wed, 10 Mar 2004 01:24:01 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.20)
	id 1B0sRx-0002IW-OH; Wed, 10 Mar 2004 02:23:57 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1B0sRt-0004xj-Mt; Wed, 10 Mar 2004 02:23:53 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0sRt-0000Xg-00; Wed, 10 Mar 2004 02:23:53 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040310s544@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Attributes with no equality matching rule
In-Reply-To: <6.0.1.1.0.20040228163825.04913020@127.0.0.1>
References: <HBF.20040227iwun@bombur.uio.no>
	<6.0.1.1.0.20040228163825.04913020@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Mar 2004 02:23: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Been thinking a bit more about this:

Kurt D. Zeilenga writes:
>At 11:19 PM 2/26/2004, Hallvard B Furuseth wrote:

>> Or - maybe implementations SHOULD behave as stated today, but MAY behave
>> like X.500?  Otherwise I think LDAP-X.500 gateways are in trouble.
> 
> I think it needs to be one way or the other. Otherwise clients
> designed for one way won't interoperate properly with servers
> designed for the other way.

OTOH, I don't think rfc2251 matches X.501 12.4.5 (a)/(b), so if we
change LDAP to conform to that, new and old LDAP implementations won't
interoperate properly.

I don't know about 12.4.5 (e).  What does it mean to "evaluate" an AVA?
The only meaning I can think of is the same as (d).


If I'm right that X.501 12.4.5a says that one can store a DN in a
telexNumber, I don't see how a combined X.500/LDAP server would do that:

If the DN is stored via DAP, it will be ASN.1-encoded, and I don't think
it contains any indication that it is a DN.  So if it is retrieved over
LDAP, it will have to be sent in ASN.1 form or some textual
representation of that.  While a DN stored over LDAP would have to be
stored as some arbitrarily chosen ASN.1 type, e.g. an OCTET STRING.

If an ASN.1 value is stored over DAP in an attribute without EQUALITY,
and that value cannot be interpreted as a value with the expected
syntax, the value which the server returns over LDAP might accidentally
conform to the LDAP textual syntax of the attribute's syntax, so one
cannot tell if the value is an ASN.1 value of wrong syntax or a value in
LDAP syntax.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 20:29: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 UAA11779
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 20:29:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1S0Yj010112;
	Wed, 10 Mar 2004 01:28:19 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A1M3IY009753;
	Wed, 10 Mar 2004 01:22: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 Mar 2004 01:22:03 +0000
Received: from ausyms50.ca.com ([155.35.248.106])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1LwYT009690;
	Wed, 10 Mar 2004 01:21:58 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 10 Mar 2004 12:21:37 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Protocol: control specifications.
Date: Wed, 10 Mar 2004 12:21:36 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
Thread-Topic: Protocol: control specifications.
Thread-Index: AcQGK5oxRrzmUVHGSieUJPI80fGhZwAEU/bg
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>,
        "Hallvard B Furuseth" <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 10 Mar 2004 01:21:37.0113 (UTC) FILETIME=[085AE490:01C4063E]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i2A1LxYT009721
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

I can see no point in discussions of how a server should handle incorrect criticality. Presumably, if the server knows the criticality is wrong then it knows enough to inplement it. Then, according to the rules, the criticality from the server's perspective is TRUE - controls that are implemented have to be performed. So, you would be asking a server to tell the client either
1) I did it this time, but don't send it to another server as you may get an incorrect result, or
2) I didn't do it. I could have but, na-na-na, you got the criticality wrong. Let that teach you a lesson!

I don't see either as acceptable server behaviour. I thought this had been settled. I thought I would see no more text on this.

Ron

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Kurt D. Zeilenga
Sent: Wednesday, 10 March 2004 09:43
To: Hallvard B Furuseth
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.


At 12:30 PM 3/9/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> Well, I think the question was more about what use scenarios
>> server-side enforcement of a particular criticality value would be
>> useful.  In the past, the use scenario discussed was so that client
>> developers would, if they tested against a server which implemented
>> such checks, receive a diagnostic (a protocolError) that would tell
>> them that they didn't provide the particular criticality value called
>> for.  The question was whether this wether or not there were other
>> (non-diagnostic) use cases.
>
>I cannot think of any.

noted.


>>At 01:11 PM 3/8/2004, Hallvard B Furuseth wrote:
>>>Kurt D. Zeilenga writes:
>
>>>- While I think control specs should be able to mandate the
>>>  criticality protocol field, they should not mandate that servers check
>>>  it.  That is a [Protocol] issue.  It would just add to the mess if one
>>>  could trust a server to catch wrong criticality for some controls, but
>>>  not for others.
>>
>
>> Problem here is that any mandated value is control-specific.  The
>> [protocol] discusses criticality handling which is not
>> control-specific.
>
>So if a server wishes to verify the criticality of controls in general,
>it must do it in the implementation of each control.

Well, I rather not get into implementation detail.  It is possible
that a server could implement their general control processing
in a manner which allowed them to verify criticality values
mandated by the control specification.  My point is that there
is a logic separation of control-neutral and control-specific
processing and any criticality verification is logically part of
the control-specific processing (as its specification is
control specific).

>I don't see a
>problem with that, as long as the server does it consistently.

Consistent with the control's specification!  The behavior
is control-specific...  one specification could say "incorrect
criticality is to be treated as a protocolError" while another
specification could say "incorrect criticality should be viewed
as constraintViolation" while another could say "if a incorrect
criticality is detected, it should be logged but otherwise
ignored".

I would hope most specifications would opt for the last (with
ability to disable logging) as a) it provides a useful diagnostic
and b) encourages servers to be liberal in what they accept.

I, for one, would likely ignore mandates to return errors where
I could instead process the operation unambigiously.

>Which is
>a quality of implementation issue, not a [protocol] or control spec
>issue.
>
>> While a control specification can certainly say
>> "servers implementing this control are to verify its critical field is
>> TRUE", (...), this is a control
>> specific semantic and not part of the control-neutral criticality
>> processing discussed in [Protocol].
>
>Yes.  Which is why I don't want control specs to say that.
>Because...
>
>> Whether or not such statements
>> are or aren't appropriate can be left to discussions regarding
>> particular control specifications which attempt to make them (as any
>> such verification is part of the control-specific processing).
>
>No.  If the control spec says that, it is altering the semantics of the
>criticality field.  Which [Protocol] says should not be done.

While [Protocol] says future specifications should not overload
criticality field, [Protocol] does not restrict the scope of
extension which a control might express.

>> Instead of saying the control specifications may require such a
>> verification (or verification of any number of other things), it would
>> like be better to clarify that the scope of any LDAP extension is only
>> limited by what can be supported in a truly optional manner.
>
>It's not clear to me what this suggestion means in practice.

Well, I would agree that some extension authors don't understand
that extensions should be truly optional.

>I _think_ it at least means to remove the text
>     (note: the semantics of the criticality field 
>     are defined above should not be altered by the control's 
>     specification)

This text is intended to highlight an important change in practice,
a change that resulted from significant discussion (namely in LDAPEXT)
of technical issues with existing extension specifications (some
"in progress", some published).  As the consensus was, and appears to
still be, that the overloading criticality is generally not appropriate,
it is appropriative for us to say so in this revision.  Otherwise
it is likely the practice would continue (especially given that not
all control specifications are subject to IETF review).

I note as well that this practice, aside from causing issues with
each overloading specification, also caused and continues to cause
confusion as to precise what are the criticality semantics.  Hence,
aside from clarifying what future specifications should avoid doing,
the note also reenforces that criticality semantics are just those
which were specified in RFC 2251.

>>>- I thought (and still suspect) rfc2251 said wrong criticality was an
>>>  error,
>> 
>> I do not believe your view is supported by the consensus of the WG
>
>It's been a while since the discussion, but at the moment I don't
>remember anyone but you and me saying what we think rfc2251 was meant to
>say.  Though I assume Jim agrees with you, since he adopted your changes
>so easily.

Consensus, especially when limited to just list posts, can be a
hard thing to judge.  I've tried to take all inputs (from list,
from personal conversations, from face-to-face meetings, etc..)
and weight them to come up with a belief of what the consensus
(or lack thereof) is.  I then generally try to state this belief
(as I have done here) as well as what actions I am considering
taking based upon this belief.  This is intended to allow
additional input (regarding either my view of consensus or the
proposed actions).

>> nor by existing implementations (many of which implement controls
>> whose specifications mandate clients provide particular criticality
>> values).
>
>Well, the question would be what most servers do;

Actually, the question is whether there are multiple independently
developed implementations.  2 servers would be enough... but I
not aware of any.

>> At present, I am inclined to either treat your request as a new feature
>> (and hence out-of-scope) or as a clarification to an un-implemented
>> interpretation (which we should avoid), or simply as a change which
>> is not supported by WG consensus.  However, to ensure the WG fully
>> considers all issues, it seemed appropriate to see if there were
>> other use scenarios.
>
>-- 
>Hallvard





From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 20:29: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 UAA11813
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 20:29:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1S0Yh010112;
	Wed, 10 Mar 2004 01:28:19 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A1Q42D010005;
	Wed, 10 Mar 2004 01:26: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, 10 Mar 2004 01:26:04 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1Q2YT009978
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 01:26:02 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Tue, 09 Mar 2004 18:25:42 -0700
Message-Id: <s04e0c26.075@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Tue, 09 Mar 2004 18:25:24 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <Ron.Ramsay@ca.com>, <ietf-ldapbis@OpenLDAP.org>, <jmcmeek@us.ibm.com>
Subject: RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/9/04 1:03:48 PM
>>>
>Jim Sermersheim writes:
>> Regarding the current text:
>> 
>> direction as to what value the sender should provide for the
>> criticality field (note: the semantics of the criticality field are
>> defined above should not be altered by the control's specification)
>> 
>> versus the old text:
>> 
>> whether the control is always noncritical, always critical, or
critical
>> at the client's option
>> 
>> These can either be read to have the same or very similar meanings,
or
>> they can be read to have at least two different meanings:
>> 
>> 1) the old text can be read to imply that the control spec can
mandate
>> the criticality, and the server should validate the criticality
>
>Not quite. I thought - and still think - this meant a wrong
criticality
>is an error, so server MAY validate it, and thus a good quality
server
>would do so. I asked for a SHOULD, but have lost that argument.

ok

>> 2) the old text can be read to imply that the control spec can
mandate
>> the criticality, but it's the clien't responsibility to validate
it.
>
>There was also a significant confusion about the criticality which is
>used by the server vs. the criticality protocol field. E.g., for the
>old text,
>
>3) If the control is implemented, the server uses the criticality
>given in the control specification and ignores the criticality
>protocol field.

yuk

>or variants like using either (3) or (2) depending on the wording of
the
>control spec.
>
>I even seem to remember someone (Kurt?) said (3) was common to
>implement. However, after the debate shifted to client-specified
>criticality, I don't remember anyone arguing to keep (3). I may be
>wrong.
>
>> (1) has been argued abck and forth, and it seems consensus is to
not
>> do that.
>
>(1) as in "SHOULD", yes.
>
>(1) as in "MAY" - the arguments against the "SHOULD" seem to have
become
>the reason for even removing the "MAY". I've argued against that, but
>the change happened without response to my arguments, except some
>misunderstandings about why I thought it said that.

I would just add that a MAY will cause differing implementations, and
it would seem better in this scenario to have consistent implementations
and lose the benefit of having the server validate. Also, adding the MAY
will cause rewrites of other text (Regardless of the value of the
criticality field, if the server recognizes the control type and it is
appropriate for the operation, the server is to make use of the control
when performing the operation.)

>> (2) in my mind is still allowed by the new text.
>
>It can be read that way, but "direction" can also be seen as saying
the
>spec may recommend a criticality, but that it does not say anything
>about allowing the spec to mandate a criticality. So I've asked
>for a clarification.

Does it help to explicitly state that a spec can mandate criticality?
If so, we can add it, but I worry about getting too far into the realm
of writing a 'specification for control specifications' (as if we're not
already too far into that realm already). Frankly, I feel that the
community's experience in writing control specifications is still very
limited, so I hesitate to add anything here that's not very general in
nature.

>Also, note John's point that unlike LDAP, X.500 does not let the
control
>spec to mandate a criticality of FALSE.

True, the current wording neither explicitly allows nor disallows it.

>Finally, the old text did not allow the control spec to mandate a
>specific criticality only in some circumstances. I like that, but I
>think that too differs from X.500.

My feeling in general is to push as much of this as possible to the
guidelines for control specifications document.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 20:40: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 UAA12224
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 20:40:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1e0YX011038;
	Wed, 10 Mar 2004 01:40:03 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A1YPEA010698;
	Wed, 10 Mar 2004 01:34: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); Wed, 10 Mar 2004 01:34:25 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1YOYT010688
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 01:34: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.10) with ESMTP id i2A1YOMs086676;
	Wed, 10 Mar 2004 01:34:24 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309172155.05130580@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 17:34:20 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: active attacks (Was: Applicability (Was: authmeth review notes
  [long]))
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309vun0@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
 <6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
 <HBF.20040309w5q2@bombur.uio.no>
 <HBF.20040309vun0@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:42 PM 3/9/2004, Hallvard B Furuseth wrote:
>I wrote:
>> Kurt D. Zeilenga writes:
>>>>> BTW, I can't find any requirement that TLS be supported.
>>>
>>> It's not.
>> (...)
>>> DIGEST-MD5 is LDAP's strong authentication mechanism
>>> (which provides adequate data security services).  There is no
>>> interop or security reason to mandate or recommend more (except
>>> in limited cases, such as when Simple is to be used).
>> 
>> While I like that TLS is optional, I don't buy this as an argument for
>> it.  DIGEST-MD5...
>
>... is also vulnerable to active intermediary attacks ([Authmeth]
>section 10).

So is TLS (version downgrade attack), see RFC 2246.

DIGEST-MD5 addresses the known active intermediate vulnerability
(the layer downgrade attack) of the authentication exchange by
stating that both peers must ensure that adequate protections have
been established before transferring any application-protocol data.
Likewise, [Authmeth] must say this for its use of SASL as LDAP's
SASL mechanism discovery facility is also subject to downgrade
attacks (unless protected by other means).

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 20:47: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 UAA12447
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 20:47:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1k0Yf011479;
	Wed, 10 Mar 2004 01:46:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A1j93M011414;
	Wed, 10 Mar 2004 01:45: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); Wed, 10 Mar 2004 01:45:09 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1j8YT011404
	for <ietf-ldapbis@openldap.org>; Wed, 10 Mar 2004 01:45:08 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.20)
	id 1B0smM-0005Gl-Px; Wed, 10 Mar 2004 02:45:02 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0smH-0002VH-Sp; Wed, 10 Mar 2004 02:44:57 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0smH-0000cA-00; Wed, 10 Mar 2004 02:44:57 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040310rsfn@bombur.uio.no>
To: "Jim Sermersheim" <jimse@novell.com>
Cc: Ron.Ramsay@ca.com, ietf-ldapbis@OpenLDAP.org, jmcmeek@us.ibm.com
Subject: RE: Protocol: control specifications.
In-Reply-To: <s04e0c26.077@prv-mail20.provo.novell.com>
References: <s04e0c26.077@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Mar 2004 02:44:57 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
> >>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/9/04 1:03:48 PM
> >Jim Sermersheim writes:
> >> 
> >> 1) the old text can be read to imply that the control spec can mandate
> >> the criticality, and the server should validate the criticality
> >
> >Not quite. I thought - and still think - this meant a wrong criticality
> >is an error, so server MAY validate it, and thus a good quality server
> >would do so. I asked for a SHOULD, but have lost that argument.
> 
> (...)
> 
> >(1) as in "MAY" - the arguments against the "SHOULD" seem to have become
> >the reason for even removing the "MAY". I've argued against that, but
> >the change happened without response to my arguments, except some
> >misunderstandings about why I thought it said that.
> 
> I would just add that a MAY will cause differing implementations, and
> it would seem better in this scenario to have consistent implementations
> and lose the benefit of having the server validate.

I don't see that.  The only difference is that some servers will catch
more client errors than other servers.  Which is true anyway.

> Also, adding the MAY
> will cause rewrites of other text (Regardless of the value of the
> criticality field, if the server recognizes the control type and it is
> appropriate for the operation, the server is to make use of the control
> when performing the operation.)

Well, rewriting the draft is what we are discussing in this forum.
s/when performing/if it performs/, I guess.

>>> (2) in my mind is still allowed by the new text.
>>
>> It can be read that way, but "direction" can also be seen as saying the
>> spec may recommend a criticality, but that it does not say anything
>> about allowing the spec to mandate a criticality. So I've asked
>> for a clarification.
> 
> Does it help to explicitly state that a spec can mandate criticality?

Yes.

> If so, we can add it, but I worry about getting too far into the realm
> of writing a 'specification for control specifications' (as if we're not
> already too far into that realm already). Frankly, I feel that the
> community's experience in writing control specifications is still very
> limited, so I hesitate to add anything here that's not very general in
> nature.

The current text is:

   - direction as to what value the sender should provide for the 
     criticality field (note: the semantics of the criticality field 
     are defined above should not be altered by the control's 
     specification),  

Would s/direction/direction or requirements/ be OK?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 20:58: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 UAA12796
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 20:58:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1w1YX012238;
	Wed, 10 Mar 2004 01:58:06 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A1qZwL011971;
	Wed, 10 Mar 2004 01:52: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); Wed, 10 Mar 2004 01:52:35 +0000
Received: from ausyms50.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A1qWYT011934;
	Wed, 10 Mar 2004 01:52:33 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 10 Mar 2004 12:52:11 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Attributes with no equality matching rule
Date: Wed, 10 Mar 2004 12:52:11 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B63810121C6E1@ausyms21.ca.com>
Thread-Topic: Attributes with no equality matching rule
Thread-Index: AcQGPv3V+DAVITa+RxS2ttLMowABswAAvIkQ
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Hallvard B Furuseth" <h.b.furuseth@usit.uio.no>,
        "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 10 Mar 2004 01:52:11.0746 (UTC) FILETIME=[4DE1AC20:01C40642]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i2A1qXYT011941
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

I don't think X.501(93):12.4.5a says that you can store a DN in a teletex number - it says that a server cannot verify the syntax. If it could detect that the value is a DN by some other means, I am sure it could return an error.

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Hallvard B Furuseth
Sent: Wednesday, 10 March 2004 12:24
To: Kurt D. Zeilenga
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Attributes with no equality matching rule


Been thinking a bit more about this:

Kurt D. Zeilenga writes:
>At 11:19 PM 2/26/2004, Hallvard B Furuseth wrote:

>> Or - maybe implementations SHOULD behave as stated today, but MAY behave
>> like X.500?  Otherwise I think LDAP-X.500 gateways are in trouble.
> 
> I think it needs to be one way or the other. Otherwise clients
> designed for one way won't interoperate properly with servers
> designed for the other way.

OTOH, I don't think rfc2251 matches X.501 12.4.5 (a)/(b), so if we
change LDAP to conform to that, new and old LDAP implementations won't
interoperate properly.

I don't know about 12.4.5 (e).  What does it mean to "evaluate" an AVA?
The only meaning I can think of is the same as (d).


If I'm right that X.501 12.4.5a says that one can store a DN in a
telexNumber, I don't see how a combined X.500/LDAP server would do that:

If the DN is stored via DAP, it will be ASN.1-encoded, and I don't think
it contains any indication that it is a DN.  So if it is retrieved over
LDAP, it will have to be sent in ASN.1 form or some textual
representation of that.  While a DN stored over LDAP would have to be
stored as some arbitrarily chosen ASN.1 type, e.g. an OCTET STRING.

If an ASN.1 value is stored over DAP in an attribute without EQUALITY,
and that value cannot be interpreted as a value with the expected
syntax, the value which the server returns over LDAP might accidentally
conform to the LDAP textual syntax of the attribute's syntax, so one
cannot tell if the value is an ASN.1 value of wrong syntax or a value in
LDAP syntax.

-- 
Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 21:04: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 VAA12932
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 21:04:53 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A242Yb012583;
	Wed, 10 Mar 2004 02:04:14 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A22v0g012533;
	Wed, 10 Mar 2004 02:02:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 10 Mar 2004 02:02:57 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A22tYT012515
	for <ietf-ldapbis@openldap.org>; Wed, 10 Mar 2004 02:02:56 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.20)
	id 1B0t3c-0007d6-Bs; Wed, 10 Mar 2004 03:02:52 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B0t3V-0004oW-4g; Wed, 10 Mar 2004 03:02:45 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B0t3V-0000g7-00; Wed, 10 Mar 2004 03:02:45 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040310rhqb@bombur.uio.no>
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
References: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Mar 2004 03:02: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Ramsay, Ron writes:

> I can see no point in discussions of how a server should handle
> incorrect criticality.

Whether there is any point in discussing it anymore I don't know.

I do wish someone knew what some X.500 servers do about wrong
criticality.

> Presumably, if the server knows the criticality
> is wrong then it knows enough to inplement it.

Of course.

> Then, according to the rules, the criticality from the server's
> perspective is TRUE - controls that are implemented have to be
> performed.

The new rules, yes.

> So, you would be asking a server to tell the client either

s/asking/allowing/.

> 2) I didn't do it. I could have but, na-na-na, you got the criticality
> wrong. Let that teach you a lesson!

Yes.  You have a strange way of saying it, but since you do:

> I don't see either as acceptable server behaviour.

And I don't see why servers should be forbidden to catch this particular
client error.  There are plenty of client errors that servers may, but
need not, catch.  I think it's an important client error to catch, since
it can be so damaging.  As important as rejecting cleartext password
binds done without TLS.  After all, rejecting the bind doesn't protect
the password, that has already been sent in the clear.  But it
encourages the client to be fixed.

> I thought this had been settled. I thought I would see no more text on
> this.

I was arguing and arguing against the new rules when they were
suggested, but got little reply except a few misunderstandings.
OK, now I do get replies.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 21:41: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 VAA13661
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 21:41:37 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A2e1YX014519;
	Wed, 10 Mar 2004 02:40:31 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A2cotW014468;
	Wed, 10 Mar 2004 02:38: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 Mar 2004 02:38:50 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A2cmYT014455
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 02:38:49 GMT
	(envelope-from mark.ennis@adacel.com)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B00022223c>; Wed, 10 Mar 2004 13:28:34 +1100
Received: (qmail 21526 invoked from network); 10 Mar 2004 02:38:24 -0000
Received: from unknown (HELO edmund.mtwav.adacel.com.au) (10.32.24.160)
  by nexus.adacel.com with SMTP; 10 Mar 2004 02:38:24 -0000
Received: from adacel.com (xenon.mtwav.adacel.com.au [10.32.24.164])
	by edmund.mtwav.adacel.com.au (8.11.6/8.11.6) with ESMTP id i2A2cOF16947;
	Wed, 10 Mar 2004 13:38:24 +1100
Message-ID: <404E7F9A.3050804@adacel.com>
Date: Wed, 10 Mar 2004 13:38:18 +1100
From: Mark Ennis <mark.ennis@adacel.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Protocol: control specifications.
References: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com> <HBF.20040310rhqb@bombur.uio.no>
In-Reply-To: <HBF.20040310rhqb@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Hallvard,

To answer your question about what X.500 servers do about wrong 
criticality, I can answer for our implementation of X.500. The answer is 
nothing. We use the criticalExtensions to determine whether any 
extensions we do not support are "critical" and if so, we generate an 
unavailableCriticalExtension error. Otherwise, we ignore the 
criticalExtensions except where critical extensions have been used to 
flag different behaviour (a misuse of critical extensions in my 
opinion), for example useAliasOnUpdate changes the behaviour of the 
dontDereferenceAliases service control option, rather than indicating 
the existence of a new flag for this purpose.

We treat the criticality flag in the LDAP controls in the same manner. 
If we support the control, we ignore the criticality flag.

- Mark.

Hallvard B Furuseth wrote:
> Ramsay, Ron writes:
> 
> 
>>I can see no point in discussions of how a server should handle
>>incorrect criticality.
> 
> 
> Whether there is any point in discussing it anymore I don't know.
> 
> I do wish someone knew what some X.500 servers do about wrong
> criticality.
> 
> 
>>Presumably, if the server knows the criticality
>>is wrong then it knows enough to inplement it.
> 
> 
> Of course.
> 
> 
>>Then, according to the rules, the criticality from the server's
>>perspective is TRUE - controls that are implemented have to be
>>performed.
> 
> 
> The new rules, yes.
> 
> 
>>So, you would be asking a server to tell the client either
> 
> 
> s/asking/allowing/.
> 
> 
>>2) I didn't do it. I could have but, na-na-na, you got the criticality
>>wrong. Let that teach you a lesson!
> 
> 
> Yes.  You have a strange way of saying it, but since you do:
> 
> 
>>I don't see either as acceptable server behaviour.
> 
> 
> And I don't see why servers should be forbidden to catch this particular
> client error.  There are plenty of client errors that servers may, but
> need not, catch.  I think it's an important client error to catch, since
> it can be so damaging.  As important as rejecting cleartext password
> binds done without TLS.  After all, rejecting the bind doesn't protect
> the password, that has already been sent in the clear.  But it
> encourages the client to be fixed.
> 
> 
>>I thought this had been settled. I thought I would see no more text on
>>this.
> 
> 
> I was arguing and arguing against the new rules when they were
> suggested, but got little reply except a few misunderstandings.
> OK, now I do get replies.
> 


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 22:01: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 WAA14174
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 22:01:59 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A318YX015929;
	Wed, 10 Mar 2004 03:01:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A2x255015455;
	Wed, 10 Mar 2004 02:59:02 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 10 Mar 2004 02:59:02 +0000
Received: from ausyms50.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A2wxYT015432
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 02:59:00 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 10 Mar 2004 13:58:38 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Protocol: control specifications.
Date: Wed, 10 Mar 2004 13:58:38 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B63810121C823@ausyms21.ca.com>
Thread-Topic: Protocol: control specifications.
Thread-Index: AcQGQ9DGfZq4GcxPQlelYooRKrwysQABnW2A
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Hallvard B Furuseth" <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 10 Mar 2004 02:58:38.0696 (UTC) FILETIME=[9649F680:01C4064B]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i2A2x0YT015443
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

1. Are they the *new* rules? I've been following the *new* paradigm for some time.
2. It is NOT like rejecting the bind. We are able to process the request; it is the other servers that may not be able to process it. It is like rejecting a bind because *another* server might not handle it correctly!

In short, you are asking one server to behave in a particul;ar way JUST BECAUSE another server may behave differently. The problem is not with THIS server. Therefore, THIS server should not worry about the criticality. It also should not worry about any OTHER server and whether it would do the right thing.

Ron

-----Original Message-----
From: Hallvard B Furuseth [mailto:h.b.furuseth@usit.uio.no]
Sent: Wednesday, 10 March 2004 13:03
To: Ramsay, Ron
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.


Ramsay, Ron writes:

> I can see no point in discussions of how a server should handle
> incorrect criticality.

Whether there is any point in discussing it anymore I don't know.

I do wish someone knew what some X.500 servers do about wrong
criticality.

> Presumably, if the server knows the criticality
> is wrong then it knows enough to inplement it.

Of course.

> Then, according to the rules, the criticality from the server's
> perspective is TRUE - controls that are implemented have to be
> performed.

The new rules, yes.

> So, you would be asking a server to tell the client either

s/asking/allowing/.

> 2) I didn't do it. I could have but, na-na-na, you got the criticality
> wrong. Let that teach you a lesson!

Yes.  You have a strange way of saying it, but since you do:

> I don't see either as acceptable server behaviour.

And I don't see why servers should be forbidden to catch this particular
client error.  There are plenty of client errors that servers may, but
need not, catch.  I think it's an important client error to catch, since
it can be so damaging.  As important as rejecting cleartext password
binds done without TLS.  After all, rejecting the bind doesn't protect
the password, that has already been sent in the clear.  But it
encourages the client to be fixed.

> I thought this had been settled. I thought I would see no more text on
> this.

I was arguing and arguing against the new rules when they were
suggested, but got little reply except a few misunderstandings.
OK, now I do get replies.

-- 
Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 22:29: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 WAA15181
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 22:29:01 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A3S1YZ017689;
	Wed, 10 Mar 2004 03:28:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A3Mnhx017320;
	Wed, 10 Mar 2004 03: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); Wed, 10 Mar 2004 03:22:49 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A3MiYT017308
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 03:22: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.10) with ESMTP id i2A3MBMs088216;
	Wed, 10 Mar 2004 03:22:11 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309184324.05159560@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 19:22:06 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Cc: "Ramsay, Ron" <Ron.Ramsay@ca.com>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040310rhqb@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
 <HBF.20040310rhqb@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:02 PM 3/9/2004, Hallvard B Furuseth wrote:
>Ramsay, Ron writes:
>> I can see no point in discussions of how a server should handle
>> incorrect criticality.
>
>Whether there is any point in discussing it anymore I don't know.

It does seem we're beating a dead horse.

>I do wish someone knew what some X.500 servers do about wrong
>criticality.

I am pretty sure they behave in a manner consistent with most
LDAP servers.   That is, criticality is irrelevant to a server
making use of the extension information.  However, those
implementing DAP are welcomed to comment here.

But then, again, I don't think it matters all that much.  We
should be more concerned by what LDAP implementatoins are doing,
and how to revise the LDAP specification such that new
implementations are able to interoperate with existing as
well as other new implementations then attempting to re-engineer
LDAP to what we think was intended (or what we think it should
have been).

>> I don't see either as acceptable server behaviour.
>
>And I don't see why servers should be forbidden to catch this particular
>client error.

They aren't forbidden per say, but prohibited from checking unless the
control specification states a specific requirement (against the guidance
against overloading criticality) for that they implement such a check.

Because that can lead to interoperability problems.  That is, while
you intend this to catch errors during development, it might have the
effect of producing non-conforming clients (because they follow a
server which doesn't provide the diagnostic, or provide s a bogus
diagnostic).

It also will lead to cases where an otherwise conforming client and
otherwise conforming server fail to interoperate simply because the
fail to agree to the proper value of criticality.  Such disagreements
should not be fatal to interoperability.

Also, having the server verify criticality limits the kinds of extensions
which can be made to LDAP.  That is, it makes it harder to extend
controls to support new operations, makes it harder to extend operations
extended by controls with new controls, etc..

In the same vein, consider issues regarding changes to the set of appropriate
messages which a control can be attached to.  Should a server verify that
a control whose specification said "MUST be attached only to a search request"
treat attachment of the control to a non-search request as a protocol error?
Shouldn't it be allowed for a new extended operation to say that this old
control can not be attached to the new operation?

What if the appropriate criticality for this new operation was different?
Would it be appropriate to new extended operation to say "old control MUST be
critical" even though the specification for that old control said it MUST
always be non-critical?

And what happens when a new security consideration arises that suggests
that a control, whose previous specification said be non-critical, should
not be critical in a some cases.  A sender verification requirement would
disallow simply changing the guidance provided to the client developer
(or user), but force the introduction of a replacement control.

That is, have criticality be "in the eye of the client" allows a great
deal of revision and extension flexibility.

>There are plenty of client errors that servers may, but
>need not, catch.  I think it's an important client error to catch, since
>it can be so damaging.

It can be damaging to unnecessarily catch errors that don't matter.
That is, the "be liberal in what you accept" principle is quite sound.

>As important as rejecting cleartext password binds done without TLS.

Bad example.  Use of cleartext passwords without TLS is not a protocol
error.

>After all, rejecting the bind doesn't protect the password, that has already been sent in the clear.  But it encourages the client to be fixed.

Some argue that such checks encourage complaints to be made to the
server developer not the client developer.  Some vendors don't think
its there place to police other vendors.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 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 WAA15199
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 22:29:04 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A3S1YX017689;
	Wed, 10 Mar 2004 03:28:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A3IKED016927;
	Wed, 10 Mar 2004 03:18:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 10 Mar 2004 03:18:20 +0000
Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A3IHYT016831
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 03:18:19 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with NetIQ MailMarshal (v5.5.5.9)
	id <B000222295>; Wed, 10 Mar 2004 14:08:06 +1100
Received: (qmail 24271 invoked from network); 10 Mar 2004 03:17:56 -0000
Received: from unknown (HELO adacel.com.au) (10.32.24.165)
  by nexus.adacel.com with SMTP; 10 Mar 2004 03:17:56 -0000
Message-ID: <404E88E3.2040904@adacel.com.au>
Date: Wed, 10 Mar 2004 14:17:55 +1100
From: Steven Legg <steven.legg@adacel.com.au>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Attributes with no equality matching rule
References: <HBF.20040227iwun@bombur.uio.no>	<6.0.1.1.0.20040228163825.04913020@127.0.0.1> <HBF.20040310s544@bombur.uio.no>
In-Reply-To: <HBF.20040310s544@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Hallvard,

Hallvard B Furuseth wrote:
> Been thinking a bit more about this:
> 
> Kurt D. Zeilenga writes:
> 
>>At 11:19 PM 2/26/2004, Hallvard B Furuseth wrote:
> 
> 
>>>Or - maybe implementations SHOULD behave as stated today, but MAY behave
>>>like X.500?  Otherwise I think LDAP-X.500 gateways are in trouble.
>>
>>I think it needs to be one way or the other. Otherwise clients
>>designed for one way won't interoperate properly with servers
>>designed for the other way.
> 
> 
> OTOH, I don't think rfc2251 matches X.501 12.4.5 (a)/(b), so if we
> change LDAP to conform to that, new and old LDAP implementations won't
> interoperate properly.
> 
> I don't know about 12.4.5 (e).  What does it mean to "evaluate" an AVA?
> The only meaning I can think of is the same as (d).

Case (e) does seem redundant, unless one takes a very literal interpretation
of (d) as applying only to compare operations.

> 
> 
> If I'm right that X.501 12.4.5a says that one can store a DN in a
> telexNumber, I don't see how a combined X.500/LDAP server would do that:
> 
> If the DN is stored via DAP, it will be ASN.1-encoded, and I don't think
> it contains any indication that it is a DN.

It doesn't.

 > So if it is retrieved over
> LDAP, it will have to be sent in ASN.1 form or some textual
> representation of that.

The obvious thing to do is to return it in BER encoded form with
the ";binary" attribute option.

 > While a DN stored over LDAP would have to be
> stored as some arbitrarily chosen ASN.1 type, e.g. an OCTET STRING.
 >
> If an ASN.1 value is stored over DAP in an attribute without EQUALITY,
> and that value cannot be interpreted as a value with the expected
> syntax, the value which the server returns over LDAP might accidentally
> conform to the LDAP textual syntax of the attribute's syntax, so one
> cannot tell if the value is an ASN.1 value of wrong syntax or a value in
> LDAP syntax.

12.4.5 (a) is a dumb rule. The ability to verify the syntax has nothing to
do with the presence or absence of an equality matching rule. It can also
be argued that 12.4.5 (a) is in contravention of the rules of ASN.1 since
a BER decoder would know the syntax and would be expected to verify that
the value conformed to that syntax.

While it would be possible to return an unverified BER value through LDAP using
the ";binary" option, it isn't a very useful thing to be doing, and there is
no way to return an unverified value through DAP if it was originally added
through LDAP. 12.4.5 (a) creates nasty problems for LDAP/X.500 interworking,
for no good reason, and should just be ignored.

However, the other cases make sense.

Regards,
Steven



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  9 22:46: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 WAA15689
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Mar 2004 22:46:56 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A3k6YT019057;
	Wed, 10 Mar 2004 03:46:06 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A3aFor018436;
	Wed, 10 Mar 2004 03:36: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 Mar 2004 03:36:15 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A3aEYT018426
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 03:36:14 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.10) with ESMTP id i2A3aDMs088377;
	Wed, 10 Mar 2004 03:36:14 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309192457.0512f878@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 19:36:09 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Attributes with no equality matching rule
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040310s544@bombur.uio.no>
References: <HBF.20040227iwun@bombur.uio.no>
 <6.0.1.1.0.20040228163825.04913020@127.0.0.1>
 <HBF.20040310s544@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:23 PM 3/9/2004, Hallvard B Furuseth wrote:
>Been thinking a bit more about this:

I don't think there is much problem with adjusting [Models] to
be mostly consistent with X.501 here.  The only wrinkle I see
is the impact of LDAP syntaxes on things.   I should have new
text to offer soon and suggest we defer discussion until I'm
able to post that.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 00:24: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 AAA20118
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 00:24:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A5KwYn029662;
	Wed, 10 Mar 2004 05:24:04 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A57sHh027802;
	Wed, 10 Mar 2004 05: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); Wed, 10 Mar 2004 05:07:54 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A57rYT027792
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 05:07:53 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.10) with ESMTP id i2A57qMs089801
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 05:07:52 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040309205927.0506f5c0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 09 Mar 2004 21:07:48 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: New text: Attributes with no equality matching rule
In-Reply-To: <6.0.1.1.0.20040309192457.0512f878@127.0.0.1>
References: <HBF.20040227iwun@bombur.uio.no>
 <6.0.1.1.0.20040228163825.04913020@127.0.0.1>
 <HBF.20040310s544@bombur.uio.no>
 <6.0.1.1.0.20040309192457.0512f878@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

To address this issue, I suggest the following changes be made
to [Models]:

Delete from 2.3 the sentence:
  If the attribute type is defined with no equality matching rule,
  two values are equivalent if and only if they are identical.

Add after first paragraph of section 2.5.1:
  If no equality matching is specified for the attribute type:     
    - the attribute (of the type) cannot be used for naming;            
    - individual values of a multi-valued attribute cannot be
      added or deleted;
    - attribute value assertions using values of such a type
      cannot be performed.

  Otherwise, the equality matching rule is to be used for the
  purposes of evaluating attribute value assertions concerning
  the attribute type.

I note that I didn't say anything about syntax checking of
values as this is already covered in section 2.5.4.  Also,
I didn't think it necessary to call out comparisons from AVAs
(given we describe compares in terms of AVAs).

Comments?

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 03:17: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 DAA25498
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 03:17:30 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A8A3Yf044768;
	Wed, 10 Mar 2004 08:16:42 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A87VXn044375;
	Wed, 10 Mar 2004 08:07: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); Wed, 10 Mar 2004 08:07:31 +0000
Received: from nb2.stroeder.com (du-006-071.access.de.clara.net [212.82.229.71])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A87DYT044293;
	Wed, 10 Mar 2004 08:07:15 GMT
	(envelope-from michael@stroeder.com)
Received: from stroeder.com (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id E2BE889058; Wed, 10 Mar 2004 08:37:28 +0100 (CET)
Message-ID: <404EC5B8.50404@stroeder.com>
Date: Wed, 10 Mar 2004 08:37:28 +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.6) Gecko/20040113
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Simple auth and TLS (Was: authmeth review notes [long])
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1> <40436D07.2090008@stroeder.com> <HBF.20040309576@bombur.uio.no> <6.0.1.1.0.20040309104330.05044440@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040309104330.05044440@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:
> 
> Michael, I believe the text, which mandates implementations be
> capable of protecting simple password authentication using TLS,
> is supported by WG consensus.  Operational experience has shown,
> that in absence of such mandates, implementations will not offer
> adequate protective services.

In principle I support the WG consensus that clear-text passwords have to be 
protected. And in most cases I'm in favour of protecting the LDAP connection 
instead of relying on trusted networks etc.

SHOULD seems strong enough to me to require TLS and there are various other 
means by which you can protect clear-text passwords transmitted which are 
outside this specification (e.g. IPsec, Unix domain socket, etc.). That's 
local security policy and the security issues should be made very clear but 
IMHO "MUST [..] TLS" is too strong here.

Ciao, Michael.


From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 04:08: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 EAA27706
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 04:08:45 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A8w4Yh051261;
	Wed, 10 Mar 2004 09:07:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2A8mLIg050464;
	Wed, 10 Mar 2004 08:48: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 Mar 2004 08:48:21 +0000
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2A8m8YT050420
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 08:48:08 GMT
	(envelope-from rlmorgan@washington.edu)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9])
	by mxout1.cac.washington.edu (8.12.11+UW04.02/8.12.11+UW04.02) with ESMTP id i2A8m1uQ015631;
	Wed, 10 Mar 2004 00:48:02 -0800
Received: from [192.168.1.106] (c-24-18-231-60.client.comcast.net [24.18.231.60])
	(authenticated bits=0)
	by smtp.washington.edu (8.12.11+UW04.02/8.12.11+UW04.02) with ESMTP id i2A8m0Ti011906
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT);
	Wed, 10 Mar 2004 00:48:01 -0800
Date: Wed, 10 Mar 2004 00:48:00 -0800 (PST)
From: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
X-X-Sender: rlmorgan@perp.cac.washington.edu
To: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
cc: IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Simple auth and TLS (Was: authmeth review notes [long])
In-Reply-To: <404EC5B8.50404@stroeder.com>
Message-ID: <Pine.LNX.4.58.0403100041400.10308@perp.cac.washington.edu>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1> <40436D07.2090008@stroeder.com>
 <HBF.20040309576@bombur.uio.no> <6.0.1.1.0.20040309104330.05044440@127.0.0.1>
 <404EC5B8.50404@stroeder.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8BIT


On Wed, 10 Mar 2004, Michael Ströder wrote:

> SHOULD seems strong enough to me to require TLS and there are various
> other means by which you can protect clear-text passwords transmitted
> which are outside this specification (e.g. IPsec, Unix domain socket,
> etc.). That's local security policy and the security issues should be
> made very clear but IMHO "MUST [..] TLS" is too strong here.

IETF standard protocol documents describe (and constrain) the behavior of
implementations, as Kurt wrote:

> > Michael, I believe the text, which mandates implementations be
> > capable of protecting simple password authentication using TLS,

The choice of using IPsec, etc, as you suggest, is a deployment-time
choice, and our documents generally say nothing about what deployers can
or should do.  But the requirement, for which MUST is I think entirely
appropriate, for *implementations* of LDAPv3 is that they must *be
capable* of using TLS, if they do password authentication.

 - RL "Bob"



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 11:31: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 LAA18710
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 11:31:11 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AGJ0ZD094051;
	Wed, 10 Mar 2004 16:30:26 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2AG1208091218;
	Wed, 10 Mar 2004 16: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); Wed, 10 Mar 2004 16:01:02 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AG0uYT091206
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 16:00:56 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i2AG0uMs098401;
	Wed, 10 Mar 2004 16:00:56 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040310074203.05184a80@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 10 Mar 2004 08:00:51 -0800
To: "RL 'Bob' Morgan" <rlmorgan@washington.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Simple auth and TLS (Was: authmeth review notes [long])
Cc: Michael =?iso-8859-1?Q?Str=F6der?= <michael@stroeder.com>,
        IETF ldapbis WG <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <Pine.LNX.4.58.0403100041400.10308@perp.cac.washington.edu>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <40436D07.2090008@stroeder.com>
 <HBF.20040309576@bombur.uio.no>
 <6.0.1.1.0.20040309104330.05044440@127.0.0.1>
 <404EC5B8.50404@stroeder.com>
 <Pine.LNX.4.58.0403100041400.10308@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 12:48 AM 3/10/2004, RL 'Bob' Morgan wrote:
>The choice of using IPsec, etc, as you suggest, is a deployment-time
>choice, and our documents generally say nothing about what deployers can
>or should do.  But the requirement, for which MUST is I think entirely
>appropriate, for *implementations* of LDAPv3 is that they must *be
>capable* of using TLS, if they do password authentication. 

In a previous note in response to Hallvard, I had noted that it
likely was fine to add ""or other suitable means (e.g., IPSec)".
However, I now have to retract this.  I agree with you that
we need to place a requirement upon the implementation to
provide adequate protection and the only suitable protective
service to mandate here is TLS.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 12:28: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 MAA22074
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 12:28:22 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AHCGZ1002703;
	Wed, 10 Mar 2004 17:27:31 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2AGuO7Y000440;
	Wed, 10 Mar 2004 16: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); Wed, 10 Mar 2004 16:56:24 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AGuJYT000427
	for <ietf-ldapbis@openldap.org>; Wed, 10 Mar 2004 16:56:23 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.20)
	id 1B170C-0004L2-1t
	for ietf-ldapbis@openldap.org; Wed, 10 Mar 2004 17:56:16 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B1708-0004L9-Sb; Wed, 10 Mar 2004 17:56:12 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1708-0003Bz-00; Wed, 10 Mar 2004 17:56:12 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040310ck03@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Bind before/after StartTLS (was: Re: authmeth-07 issues)
In-Reply-To: <OF6A0836FB.9A523361-ON86256E3C.0050A1FD-86256E3C.0050E10C@us.ibm.com>
References: <s0300f89.025@prv-mail20.provo.novell.com>
	<OF6A0836FB.9A523361-ON86256E3C.0050A1FD-86256E3C.0050E10C@us.ibm.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Mar 2004 17:56: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At Feb 16 2004, Roger Harrison wrote:
> With the fairly extensive reworking of the effect of Start TLS and
> TLS closure on the LDAP association state, I'm wondering how WG
> members view the need for these security considerations proposed by
> Hallvard.  Your comments are greatly appreciated.

At Feb 16 2004, John McMeeking wrote:
> I don't think there is any need to add material to the Security
> Considerations section if the proposed changes to authmethod are made
> (your previous note on StartTLS and StopTLS).

I agree, but I just noticed that my second suggestion still
touches a problem:

> bind before startTLS is an insecure combination, and that an attacker
> also may insert a bind before a startTLS when the client expects to do
> anonymous operations with TLS.

Changing focus a bit, I suggest:

  Since an attacker can sometimes inject a Bind operation before the
  client can perform StartTLS, thus leaving the TLS-protected connection
  with unexpected authentication, it can be prudent to Bind immediately
  after StartTLS.  Servers can enforce this by invalidating the
  association after a successful StartTLS.

I don't quite like the wording, but that's the best I can come up with
at the moment.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 16:32: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 QAA08054
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 16:32:38 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ALG7Yv031144;
	Wed, 10 Mar 2004 21:31:47 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2ALAD37029826;
	Wed, 10 Mar 2004 21:10: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, 10 Mar 2004 21:10:13 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ALA9YT029787;
	Wed, 10 Mar 2004 21:10:10 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.20)
	id 1B1Axp-0004c7-Rw; Wed, 10 Mar 2004 22:10:05 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1B1Axm-0007ol-1Q; Wed, 10 Mar 2004 22:10:02 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1Axi-0003vq-00; Wed, 10 Mar 2004 22:09:58 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040310yb9s@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: New text: Attributes with no equality matching rule
In-Reply-To: <6.0.1.1.0.20040309205927.0506f5c0@127.0.0.1>
References: <HBF.20040227iwun@bombur.uio.no>
	<6.0.1.1.0.20040228163825.04913020@127.0.0.1>
	<HBF.20040310s544@bombur.uio.no>
	<6.0.1.1.0.20040309192457.0512f878@127.0.0.1>
	<6.0.1.1.0.20040309205927.0506f5c0@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Mar 2004 22:09: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> To address this issue, I suggest the following changes be made
> to [Models]:
> 
> Delete from 2.3 the sentence:
>   If the attribute type is defined with no equality matching rule,
>   two values are equivalent if and only if they are identical.

No, keep the definition of equivalence.  Equivalence is not used for
evaluating AVAs and so on, but to ensure that no values of an
attribute are equivalent, and that values equivalent to the stored
value is returned:

- last sentence of the paragraph above your suggested change:

  No two values of an attribute may be equivalent.

- last sentence of section 2.3:

  A 'givenName' attribute cannot hold both "John" and "JOHN" as these
  are equivalent values (...)

- last sentence of 6.1 (Preservation of User Information):

  And where a server is unable (or unwilling) to
  preserve the value of user information, the server SHALL ensure that
  an equivalent value (per Section 2.3) is returned.

- last paragraph of [Protocol] 4.1.7 (Attribute and PartialAttribute):

   No two attribute values are equivalent as described by Section 2.3 of
   [Models]. (...)

- [Protocol] 4.10 (Compare Operation):

This is the only one I can find which must be fixed, I suggest
s/is equivalent to/matches/, s/non-equivalent/FALSE/:

   The resultCode field is set to compareTrue, compareFalse, or an 
   appropriate error. compareTrue indicates that the assertion value in 
   the ava field is equivalent to a value of the attribute or subtype 
   (according to the attribute's EQUALITY matching rule). compareFalse 
   indicates that the comparison of the assertion value in the ava field 
   and the values of the attribute or subtype resulted in an Undefined 
   (Section 4.5.1) or non-equivalent match. 

> Add after first paragraph of section 2.5.1:
> (...)

Looks good, except I suggest:

>     - attribute value assertions

..."(such as matching in filters and Compare operations)"

>       using values of such a type
>       cannot be performed.

...because at that point, [Models] hasn't said what AVAs actually do.


> I note that I didn't say anything about syntax checking of
> values as this is already covered in section 2.5.4.

Not sure what you mean here, but it should probably be mentioned
somewhere that LDAP differs from X.501(1993) section 12.4.5a in that it
can perform syntax checking for attributes without EQUALITY matching
rules.

Also, you might update this statement in 2.5.4 (Attribute Values)
to mention that the name attributes also need EQUALITY rules:

  Only attributes whose descriptions have no options can be used for
  naming.


Finally, this might be copied to [Protocol] 4.6 (Modify Operation):

>     - individual values of a multi-valued attribute cannot be
>       added or deleted;

(...if the attribute has no EQUALITY matching rule.)

BTW, that is actually stricter than rfc2251, which only forbids
_deletion_ of individual values, not addition.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 16: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 QAA08228
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 16:35:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ALYpYV034128;
	Wed, 10 Mar 2004 21:34:52 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2ALG9M6031163;
	Wed, 10 Mar 2004 21:16: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); Wed, 10 Mar 2004 21:16:09 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ALG8YT031153
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 21:16: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.10) with ESMTP id i2ALG8Ms003305;
	Wed, 10 Mar 2004 21:16:08 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040310123746.051a8bf0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 10 Mar 2004 13:16:02 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Protocol: PDUs received during TLS closure
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309t6y0@bombur.uio.no>
References: <HBF.20040309t6y0@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:51 AM 3/9/2004, Hallvard B Furuseth wrote:
>Protocol-22 says:
>> 4.14.3. Closing a TLS Connection
>> 4.14.3.1. Graceful Closure
>
>>    The initiating protocol peer sends the TLS closure alert. If it
>>    wishes to leave the LDAP connection intact, it then MUST cease to
>>    send further PDUs and MUST ignore any received PDUs until it receives
>>    a TLS closure alert from the other peer.
>
>Why must the client ignore received PDUs?  It makes sense for servers,
>but clients could have use for them.  At least unsolicited
>notifications.

I don't think this is an TLS thing...  I think it's more of
an LDAP thing.

 From a server perspective, it trying to say (I think) that a
server initiating the closure should not attempt to continue
returning PDUs for an outstanding operation (or send any additional
notices), and ignore requests to start processing any new
operations until it receives the alert from the client.

And from a client perspective, it trying to say that clients
should not issue new operations until after it receives the
alert from the server.  The text does imply that the client
should ignore notices.  This seems somewhat odd.

I am also concerned that the text doesn't discuss cipher suite
changes, which need similar consideration.

>Is this some TLS thing, that the network data is unreliable until TLS
>closure is completed?  If so there should not be talk about PDUs at all,
>since any sent PDUs may be malformed.

Right, if it a TLS thing (which I don't think it is), it
should that further data arriving on the TLS connection is
to be ignored.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 17:19: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 RAA10219
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 17:19:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AMFEYl042868;
	Wed, 10 Mar 2004 22:18:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2ALtT1R038321;
	Wed, 10 Mar 2004 21:55: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 Mar 2004 21:55:29 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ALtQYT038282;
	Wed, 10 Mar 2004 21:55:27 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.20)
	id 1B1Bff-0002cD-Ip; Wed, 10 Mar 2004 22:55:23 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B1Bfa-00065N-Tf; Wed, 10 Mar 2004 22:55:18 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1Bfa-00044Q-00; Wed, 10 Mar 2004 22:55:18 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040310xjzj@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: active attacks (Was: Applicability (Was: authmeth review notes
  [long]))
In-Reply-To: <6.0.1.1.0.20040309172155.05130580@127.0.0.1>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<HBF.20040309eff@bombur.uio.no>
	<6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
	<HBF.20040309w5q2@bombur.uio.no>
	<HBF.20040309vun0@bombur.uio.no>
	<6.0.1.1.0.20040309172155.05130580@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 10 Mar 2004 22:55:18 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 01:42 PM 3/9/2004, Hallvard B Furuseth wrote:
>>I wrote:
>>
>>> DIGEST-MD5...
>> ... is also vulnerable to active intermediary attacks ([Authmeth]
>> section 10).
> 
> So is TLS (version downgrade attack), see RFC 2246.

I couldn't find that, but I found 'version rollback attack'.  Then
[Authmeth] should mention that TLS is vulnerable too.  However, an
unqualified statement that it is vulnerable seems wrong.  As far as I
can tell from RFC 2246, TLS is 'reasonably secure' if one uses version
3.0+ and addresses the attack properly.  Should be added to Section
3.1.4 (Discovery of Resultant Security Level), which will then need to
be renamed a bit.

> DIGEST-MD5 addresses the known active intermediate vulnerability
> (the layer downgrade attack) of the authentication exchange by
> stating that both peers must ensure that adequate protections have
> been established before transferring any application-protocol data.
> Likewise, [Authmeth] must say this for its use of SASL as LDAP's
> SASL mechanism discovery facility is also subject to downgrade
> attacks (unless protected by other means).

Um... that "also" confuses me.  Are you talking about two different
attacks on DIGEST-MD5, or is it one attack and DIGEST-MD5 is secure
(as far as we know) if one addresses this attack?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 17:42: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 RAA11096
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 17:42:43 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AMg3YT046043;
	Wed, 10 Mar 2004 22:42:03 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2AMQI8C044634;
	Wed, 10 Mar 2004 22:26: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); Wed, 10 Mar 2004 22:26:18 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AMQGYT044623
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 22:26:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i2AMQFMs004377;
	Wed, 10 Mar 2004 22:26:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040310135807.051ede30@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 10 Mar 2004 14:26:10 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: New text: Attributes with no equality matching rule
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040310yb9s@bombur.uio.no>
References: <HBF.20040227iwun@bombur.uio.no>
 <6.0.1.1.0.20040228163825.04913020@127.0.0.1>
 <HBF.20040310s544@bombur.uio.no>
 <6.0.1.1.0.20040309192457.0512f878@127.0.0.1>
 <6.0.1.1.0.20040309205927.0506f5c0@127.0.0.1>
 <HBF.20040310yb9s@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:09 PM 3/10/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> To address this issue, I suggest the following changes be made
>> to [Models]:
>> 
>> Delete from 2.3 the sentence:
>>   If the attribute type is defined with no equality matching rule,
>>   two values are equivalent if and only if they are identical.
>
>No, keep the definition of equivalence.  Equivalence is not used for
>evaluating AVAs and so on, but to ensure that no values of an
>attribute are equivalent, and that values equivalent to the stored
>value is returned:
>
>- last sentence of the paragraph above your suggested change:
>
>  No two values of an attribute may be equivalent.

I actually added the "no equality rule" sentence above
specifically to address issues of creation of an attribute
with multiple-values, not to address issues of individual
value addition/creation nor AVA evalation.

So, I suggest moving the paragraph break up one sentence
and to keep the above sentence.  That is, create a paragraph
that reads as follows:

  No two values of an attribute may be equivalent.  Two values are
  considered equivalent only if they would match according to the
  equality matching rule of the attribute type.  If the attribute
  type is defined with no equality matching rule, two values are      
  equivalent if and only if they are identical.  


>- [Protocol] 4.10 (Compare Operation):

I have no problem with your [Protocol] suggestions.

>>     - attribute value assertions
>
>..."(such as matching in filters and Compare operations)"

Instead:
  (such as matching in search filters and comparisons)

(I rather avoid use of the term "operations" when discussing
the abstract data model.)


>>       using values of such a type
>>       cannot be performed.
>
>...because at that point, [Models] hasn't said what AVAs actually do.
>
>
>> I note that I didn't say anything about syntax checking of
>> values as this is already covered in section 2.5.4.
>
>Not sure what you mean here, but it should probably be mentioned
>somewhere that LDAP differs from X.501(1993) section 12.4.5a in that it
>can perform syntax checking for attributes without EQUALITY matching
>rules.

I was noting that I did not make add a specific statement about
syntax statement as section 2.5.4 already said:
  Attribute values conform to the defined syntax of the attribute.

If you could offer specific wording to call out the difference,
I'd appreciate it.  Right now, all the wording I've thought of
is a bit too intrusive.


>Also, you might update this statement in 2.5.4 (Attribute Values)
>to mention that the name attributes also need EQUALITY rules:
>
>  Only attributes whose descriptions have no options can be used for
>  naming.

Suggest:
   Only attributes whose types have an equality matching rule
   and whose descriptions have no options can be used for naming.

or it may be better to reword this as two sentences, each of
which excludes a set of attributes.

>Finally, this might be copied to [Protocol] 4.6 (Modify Operation):
>
>>     - individual values of a multi-valued attribute cannot be
>>       added or deleted;
>
>(...if the attribute has no EQUALITY matching rule.)
>
>BTW, that is actually stricter than rfc2251, which only forbids
>_deletion_ of individual values, not addition.

Well, if you consider that rfc2251 said that servers MUST
act in accordance with X.501, one can view RFC 2251 as just
not reiterating all the restrictions that are enforce.
I intend to categorize this change (in the Changes since
appendix) as simply addressing a technical omission.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 18:18: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 SAA13481
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 18:18:57 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AN4BYd048025;
	Wed, 10 Mar 2004 23:15:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2AN0lSd047846;
	Wed, 10 Mar 2004 23:00: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); Wed, 10 Mar 2004 23:00:47 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2AN0kYT047836
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 23:00: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.10) with ESMTP id i2AN0jMs004709;
	Wed, 10 Mar 2004 23:00:45 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040310143823.0516b660@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 10 Mar 2004 15:00:40 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: active attacks (Was: Applicability (Was: authmeth review
  notes [long]))
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040310xjzj@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
 <6.0.1.1.0.20040309110733.050420f8@127.0.0.1>
 <HBF.20040309w5q2@bombur.uio.no>
 <HBF.20040309vun0@bombur.uio.no>
 <6.0.1.1.0.20040309172155.05130580@127.0.0.1>
 <HBF.20040310xjzj@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:55 PM 3/10/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 01:42 PM 3/9/2004, Hallvard B Furuseth wrote:
>>>I wrote:
>>>
>>>> DIGEST-MD5...
>>> ... is also vulnerable to active intermediary attacks ([Authmeth]
>>> section 10).
>> 
>> So is TLS (version downgrade attack), see RFC 2246.
>
>I couldn't find that, but I found 'version rollback attack'.

That's it.

>Then [Authmeth] should mention that TLS is vulnerable too.

Or simply say that implementors should be aware of and understand
TLS security considerations as discussed in RFC 2246.  It does
not make much sense trying to reiterate this material, it can
be incorporated by reference.  However, [Authmeth] should discuss
any LDAP-specific attacks or any LDAP-specific defenses against
these attacks.

>However, an
>unqualified statement that it is vulnerable seems wrong.

My point exactly, as applied to both TLS or DIGEST-MD5.

>As far as I can tell from RFC 2246, TLS is 'reasonably secure'
>if one uses version 3.0+ and addresses the attack properly.

Same can be said for DIGEST-MD5 and it's technical specification.

>Should be added to Section
>3.1.4 (Discovery of Resultant Security Level), which will then need to
>
>> DIGEST-MD5 addresses the known active intermediate vulnerability
>> (the layer downgrade attack) of the authentication exchange by
>> stating that both peers must ensure that adequate protections have
>> been established before transferring any application-protocol data.
>> Likewise, [Authmeth] must say this for its use of SASL as LDAP's
>> SASL mechanism discovery facility is also subject to downgrade
>> attacks (unless protected by other means).
>
>Um... that "also" confuses me.  Are you talking about two different
>attacks on DIGEST-MD5, or is it one attack and DIGEST-MD5 is secure
>(as far as we know) if one addresses this attack?

There is an attack on SASL mechanism discovery (mechanism downgrade)
and an attack on DIGEST-MD5 mechanism (layer downgrade) and, these
attacks can be used together in some interesting ways.  Both
attacks (and combined attacks) are addressed by having each peer
ensure the resultant security level meets their minimum
requirements before continuing.  (It is also wise to avoid
entering into an exchange which cannot possible result in
acceptable security level.)

I believe all known attacks upon DIGEST-MD5 are discussed in
draft-ietf-sasl-rfc2831bis.  If not, please holler on the SASL
WG list.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 10 18:55: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 SAA14807
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Mar 2004 18:55:15 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ANsGYZ051924;
	Wed, 10 Mar 2004 23:54:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2ANYg0A050361;
	Wed, 10 Mar 2004 23:34: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 Mar 2004 23:34:42 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ANYfYT050350
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Mar 2004 23:34:41 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.10) with ESMTP id i2ANYeMs005156;
	Wed, 10 Mar 2004 23:34:40 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040310153021.051d17f0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Wed, 10 Mar 2004 15:34:35 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: Protocol: control specifications.
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <s04e0c26.075@prv-mail20.provo.novell.com>
References: <s04e0c26.075@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:25 PM 3/9/2004, Jim Sermersheim wrote:
>>Finally, the old text did not allow the control spec to mandate a
>>specific criticality only in some circumstances. I like that, but I
>>think that too differs from X.500.
>
>My feeling in general is to push as much of this as possible to the
>guidelines for control specifications document. 

I don't think it is necessary, or even necessarily wise, to
be more precise on the range of guidance/direction a control
specification can give to the sender.  It can be argued that
2251's listing just three options here caused some of the
confusion.  Anyway, more to the point is that the scope of
this portion of the document is to provide a profile (an
outline) of the necessary components of a future control
extension specification.  Providing more detailed discussions
of what a control specification may or may not say is seems
beyond the scope of our work here.  That is, I believe such
discussion more appropriately belongs in a separate "guidelines
for LDAP extensions" document or the like.  For instance,
this could be addressed better in
draft-zeilenga-ldap-ext-xx.txt (or similar document) as
it is far easier to elaborate on not only the available
options, but tradeoffs between these options can be
discussed in appropriate detail.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 12:13: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 MAA11896
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 12:13:36 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BHAYYX047064;
	Thu, 11 Mar 2004 17:11:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2BH5hdM046739;
	Thu, 11 Mar 2004 17:05: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 Mar 2004 17:05:43 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BH5PYT046661;
	Thu, 11 Mar 2004 17:05:26 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.20)
	id 1B1TcY-0000KQ-4m; Thu, 11 Mar 2004 18:05:22 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B1TcT-0004D6-DV; Thu, 11 Mar 2004 18:05:17 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1TcS-0007A4-00; Thu, 11 Mar 2004 18:05:16 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040311oun7@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: New text: Attributes with no equality matching rule
In-Reply-To: <6.0.1.1.0.20040310135807.051ede30@127.0.0.1>
References: <HBF.20040227iwun@bombur.uio.no>
	<6.0.1.1.0.20040228163825.04913020@127.0.0.1>
	<HBF.20040310s544@bombur.uio.no>
	<6.0.1.1.0.20040309192457.0512f878@127.0.0.1>
	<6.0.1.1.0.20040309205927.0506f5c0@127.0.0.1>
	<HBF.20040310yb9s@bombur.uio.no>
	<6.0.1.1.0.20040310135807.051ede30@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Thu, 11 Mar 2004 18:05:16 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 01:09 PM 3/10/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:

[Models] 2.3 (Structure of an Entry):

>   No two values of an attribute may be equivalent.  Two values are
>   considered equivalent only if they would match according to the
>   equality matching rule of the attribute type.  If the attribute
>   type is defined with no equality matching rule, two values are      
>   equivalent if and only if they are identical.  

Fine.

>>it should probably be mentioned
>>somewhere that LDAP differs from X.501(1993) section 12.4.5a in that it
>>can perform syntax checking for attributes without EQUALITY matching
>>rules.
> 
> I was noting that I did not make add a specific statement about
> syntax statement as section 2.5.4 already said:
>   Attribute values conform to the defined syntax of the attribute.
>
> If you could offer specific wording to call out the difference,
> I'd appreciate it.  Right now, all the wording I've thought of
> is a bit too intrusive.

Never mind, such a statement about a single difference seems rather
pointless.  A section with a list of significant differences from X.500
among the X.500-features that LDAP supports would be useful, but I'm not
volunteering to write it:-)

[Models] 2.5.4 (Attribute Values):

> Suggest:
>    Only attributes whose types have an equality matching rule
>    and whose descriptions have no options can be used for naming.
> 
> or it may be better to reword this as two sentences, each of
> which excludes a set of attributes.

The single sentence looks fine to me.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 16:36: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 QAA28560
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 16:36:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BLYfYV068965;
	Thu, 11 Mar 2004 21:35:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2BLXrMP068891;
	Thu, 11 Mar 2004 21:33: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 Mar 2004 21:33:53 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BLXmYT068859;
	Thu, 11 Mar 2004 21:33:49 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B1XoD-0004Ig-QH; Thu, 11 Mar 2004 22:33:41 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B1XoB-0003rX-5p; Thu, 11 Mar 2004 22:33:39 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1XoA-0007lP-00; Thu, 11 Mar 2004 22:33:38 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040311kd4i@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Cc: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Mandated non-critical controls (was: Protocol: control specifications.)
in-Reply-To: <6.0.1.1.0.20040309184324.05159560@127.0.0.1>
References: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
	<HBF.20040310rhqb@bombur.uio.no>
	<6.0.1.1.0.20040309184324.05159560@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Thu, 11 Mar 2004 22:33: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:

> what happens when a new security consideration arises that
> suggests that a control, whose previous specification said be
> non-critical, should not be critical in a some cases.  A sender
> verification requirement would disallow simply changing the guidance
> provided to the client developer (or user), but force the introduction
> of a replacement control.

Good point.  That applies to both client verification of user-supplied
criticality, which [Protocol] does allow, and server verification of
criticality.  It looks like X.500 knows what it is doing in only
allowing mandates of TRUE criticality.

I suggest we forbid control specs to mandate a request control to be
non-critical.

Leave response criticality as it is, since it is ignored, and since RFCs
2649 and 2891 already mandate response controls to be non-critical.

If there are existing control specs that mandate a request criticality
of FALSE, we could forbid both servers and clients to verify that,
but the real fix is to update the control specs.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 17:47: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 RAA01303
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 17:47:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BMb7Yl072195;
	Thu, 11 Mar 2004 22:45:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2BMRFEV071590;
	Thu, 11 Mar 2004 22:27: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, 11 Mar 2004 22:27:15 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BMRDYT071579
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Mar 2004 22:27:14 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.10) with ESMTP id i2BMRDMs023328;
	Thu, 11 Mar 2004 22:27:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040311141943.052f7e88@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 11 Mar 2004 14:27:06 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Mandated non-critical controls (was: Protocol: control
  specifications.)
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040311kd4i@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
 <HBF.20040310rhqb@bombur.uio.no>
 <6.0.1.1.0.20040309184324.05159560@127.0.0.1>
 <HBF.20040311kd4i@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I don't think this is a good enough reason to mandate that of 
control specifications.   I am sure someone could come up with
a reasonable control extension which should never be marked
critical, for instance one specifically designed to test that
servers are properly ignoring non-critical controls.  I think
it better to leave whether such a mandate, if one is ever
proposed in a control specification, is appropriate or not
should be left to review/consideration of that specification
for publication (whether by the IETF or other party).

I think this kind of consideration (and I think it really just
something extension authors/reviewers need to consider) is best
left to a document detailing guidelines to authors of extensions.

Kurt

At 01:33 PM 3/11/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>
>> what happens when a new security consideration arises that
>> suggests that a control, whose previous specification said be
>> non-critical, should not be critical in a some cases.  A sender
>> verification requirement would disallow simply changing the guidance
>> provided to the client developer (or user), but force the introduction
>> of a replacement control.
>
>Good point.  That applies to both client verification of user-supplied
>criticality, which [Protocol] does allow, and server verification of
>criticality.  It looks like X.500 knows what it is doing in only
>allowing mandates of TRUE criticality.
>
>I suggest we forbid control specs to mandate a request control to be
>non-critical.
>
>Leave response criticality as it is, since it is ignored, and since RFCs
>2649 and 2891 already mandate response controls to be non-critical.
>
>If there are existing control specs that mandate a request criticality
>of FALSE, we could forbid both servers and clients to verify that,
>but the real fix is to update the control specs.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 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 SAA02627
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 18:23:15 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BNAIYl074767;
	Thu, 11 Mar 2004 23:18:22 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2BNA30a074758;
	Thu, 11 Mar 2004 23:10: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, 11 Mar 2004 23:10:03 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BN9wYT074724;
	Thu, 11 Mar 2004 23:09:58 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.20)
	id 1B1ZJK-0002G4-GW; Fri, 12 Mar 2004 00:09:54 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B1ZJE-00046E-Fs; Fri, 12 Mar 2004 00:09:48 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1ZJE-0000Aj-00; Fri, 12 Mar 2004 00:09:48 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040312ir8v@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <6.0.1.1.0.20040309184324.05159560@127.0.0.1>
References: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
	<HBF.20040310rhqb@bombur.uio.no>
	<6.0.1.1.0.20040309184324.05159560@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Mar 2004 00:09: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Ron, you'll find an answer to your last message on the bottom.
Mark, thanks for your X.500 example.

I'll keep replying while the argument is going, but if we still disagree
after this message, and no X.500 (or LDAP?) servers we should allow for
turn up which do check criticality, I'll accept the case for disallowing
the criticality check as lost.

I still want language which explicitly allows control specs to mandate
criticality, or maybe just to mandate TRUE criticality, but I think
that's another subthread.

Kurt D. Zeilenga writes:
>At 06:02 PM 3/9/2004, Hallvard B Furuseth wrote:

>>I do wish someone knew what some X.500 servers do about wrong
>>criticality.
> 
> I am pretty sure they behave in a manner consistent with most
> LDAP servers.  (...)
> 
> But then, again, I don't think it matters all that much.

Well, an LDAP gateway to an X.500 server which checked criticality would
be breaking the [Protocol] spec, unless each relevant control spec said
(against [Protocol]'s recommendation) that the server may return an
error for wrong criticality.  I agree there could be stronger arguments
against.  Anyway, the only X.500 example that have been posted so far
goes against me:-)

> We
> should be more concerned by what LDAP implementatoins are doing,
> and how to revise the LDAP specification such that new
> implementations are able to interoperate with existing as
> well as other new implementations (...)

A check would only break broken clients, so I'm not too concerned.

>>And I don't see why servers should be forbidden to catch this particular
>>client error.
> 
> They aren't forbidden per say, but prohibited from checking unless the
> control specification states a specific requirement (against the guidance
> against overloading criticality) for that they implement such a check.

Right, but I'm not talking about individual control specs that alter the
semantics to the criticality field.

I'm talking about control specs that simply mandate a criticality, and
servers that check mandated criticalities in general.
That and invalid values in search filters are the only errors I can
think of at the moment which servers will be forbidden to catch.

> Because that can lead to interoperability problems.  That is, while
> you intend this to catch errors during development, it might have the
> effect of producing non-conforming clients (because they follow a
> server which doesn't provide the diagnostic, or provide s a bogus
> diagnostic).

That's the weirdest argument for anything I've heard for a long time.
Server bugs can happen in any area no matter what we specify.  Clients
that cater to such errors should take care to work with correct servers
as well.  If we follow your argument, LDAP should have had fewer and
less informative error codes, and no diagnosticMessage.  And e.g.
require clients to handle spaces after commas in DNs, in case some
server returns that.  That would be more interesting, since I still see
DNs with spaces.  I'm not even sure if that's a bug or not.

> It also will lead to cases where an otherwise conforming client and
> otherwise conforming server fail to interoperate simply because the
> fail to agree to the proper value of criticality.  Such disagreements
> should not be fatal to interoperability.

The same could be said of any bug or optional feature.  Spaces after
commas in DNs, integers prefixed with zeroes, not sending Bind after
StartTLS (even though other servers may invalidate the association).

(BTW, I assume either your client or server above would be conforming,
not just 'otherwise conforming'.  There are only two choices for
criticality, after all.)

> Also, having the server verify criticality limits the kinds of extensions
> which can be made to LDAP.  That is, it makes it harder to extend
> controls to support new operations, makes it harder to extend operations
> extended by controls with new controls, etc..

You mean it makes the criticality check harder to implement?  I don't
see that.  The criticality of most controls can be verified when the
control is parsed.  The exception is if the control spec - or the spec
of another extension which overrides the control spec - says that the
control is critical in circumstances which can not be determined just by
parsing that control.

Anyway, so what?  It's the implementor's choice how much error checking
to do.  Thorough error checking has always been tedious.


> In the same vein, consider issues regarding changes to the set of
> appropriate messages which a control can be attached to.

Now that you mention it, I note that a literal reading of rfc2251
forbids the server to return protocolError for the wrong criticality of
an inappropriate control.  (It must return unsupportedCriticalExtension
if it is marked critical, and ignore it otherwise.)  However, the same
goes for a control with malformed controlValue (inside a well-formed
OCTET STRING, that is), and I don't expect implementations take care to
ignore parse errors in inappropriate controls.

Except for that, this has nothing to do with criticality, but:

> Should a
> server verify that a control whose specification said "MUST be
> attached only to a search request" treat attachment of the control to
> a non-search request as a protocol error?

According to [Protocol] and rfc2251, attaching an inappropriate control
to an operation is not an error, it just means the control should not be
applied.  But if the control is marked critical as well, the server
returns an error.  (unsupportedCriticalExtension, not protocolError.)

I guess one could claim that your example doesn't actually state that
the control is only appropriate for Search, and therefore that the
server MAY return protocolError if it is attached to other operations.

> Shouldn't it be allowed for
> a new extended operation to say that this old control can not be
> attached to the new operation?

Sure.  So when a server which already implements the control, also
implements the new operation, it adds the new operation to the list
of operations appropriate for the control.  What of it?

> What if the appropriate criticality for this new operation was
> different?  Would it be appropriate to new extended operation to say
> "old control MUST be critical" even though the specification for that
> old control said it MUST always be non-critical?

I don't know.  I wouldn't write such an extension without asking
e.g. ldapext for advice.  But that's still another issue than verifying
criticality.  It is an example of making the criticality more cumbersome
to verify as discussed above, but in that regard it is no different from
if the control spec itself said that it is critical with one operation
and non-critical with another.

> And what happens when a new security consideration arises that suggests
> that a control, whose previous specification said be non-critical, should
> not be critical in a some cases.  A sender verification requirement would
> disallow simply changing the guidance provided to the client developer
> (or user), but force the introduction of a replacement control.
>
> That is, have criticality be "in the eye of the client" allows a great
> deal of revision and extension flexibility.

Addressed in my recent message 'Mandated non-critical controls'.

>> There are plenty of client errors that servers may, but need not,
>> catch.  I think it's an important client error to catch, since it can
>> be so damaging.
> 
> It can be damaging to unnecessarily catch errors that don't matter.
> That is, the "be liberal in what you accept" principle is quite sound.

True, but as you may have noticed, my point is that this error does
matter.  If we are going to be liberal in _everything_ we accept, please
remove error returns from [Strprep] and [SASLPrep].  BTW, that's
something I want anyway, so I guess we both are on both sides of the
fence with regards to that principle.

>> As important as rejecting cleartext password binds done without TLS.
> 
> Bad example.  Use of cleartext passwords without TLS is not a protocol
> error.

I didn't mean to imply it was.  It is example of what Ron called
  "I didn't do it. I could have but, na-na-na, you got the (***)
  wrong. Let that teach you a lesson!"
which, as it happens, this example was a reply to.  And I think
both are for good reasons.

If you want an example of rejecting an error which one is able to handle
just because some other server might reject it (as Ron complained this
was not an example of), try a server which is stricter with the syntax
of attributes in update requests than with filter items, and refuses to
add an integer value with leading zeroes instead of stripping the
leading zeroes as it does in filters.  Or maybe rejecting DNs with
spaces, it's not clear to me if those are errors or not.

>> After all, rejecting the bind doesn't protect the password, that has
>> already been sent in the clear.  But it encourages the client to be
>> fixed.
> 
> Some argue that such checks encourage complaints to be made to the
> server developer not the client developer.  Some vendors don't think
> its there place to police other vendors.

Vendors who think so are free to act accordingly.

Vendors can also implement optional checking in order to satisfy people
on both sides of that argument.  Except in the case of checking control
criticality.

For some types of applications, I really appreciate programs with an
option for really paranoid error checking, which I only turn on for bug
hunts and for development of other software.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 18:38: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 SAA03963
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 18:38:42 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BNYJYV076269;
	Thu, 11 Mar 2004 23:38:07 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2BNSnoW076031;
	Thu, 11 Mar 2004 23:28:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 11 Mar 2004 23:28:48 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2BNSkYT076001;
	Thu, 11 Mar 2004 23:28: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.20)
	id 1B1ZbX-0004Md-B5; Fri, 12 Mar 2004 00:28:43 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.30)
	id 1B1ZbW-0006OD-7g; Fri, 12 Mar 2004 00:28:42 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1ZbS-0000Dm-00; Fri, 12 Mar 2004 00:28:38 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040312ifws@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: control specifications.
In-Reply-To: <HBF.20040312ir8v@bombur.uio.no>
References: <1395B4B334FCC143B36AF788E68B63810121C66D@ausyms21.ca.com>
	<HBF.20040310rhqb@bombur.uio.no>
	<6.0.1.1.0.20040309184324.05159560@127.0.0.1>
	<HBF.20040312ir8v@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Mar 2004 00:28: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I wrote:

>>> As important as rejecting cleartext password binds done without TLS.
>> 
>> Bad example.  Use of cleartext passwords without TLS is not a protocol
>> error.
> 
> I didn't mean to imply it was.  It is example of what Ron called
>   "I didn't do it. I could have but, na-na-na, you got the (***)
>   wrong. Let that teach you a lesson!"
> which, as it happens, this example was a reply to.

Before someone complains: I just noticed that I read of 'wrong' as
something like 'bad, therefore unsupported here' while Ron probably
meant 'error'.  Except for that, the point is the same.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 20:30: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 UAA09653
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 20:30:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C1U6YT083578;
	Fri, 12 Mar 2004 01:30:06 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2C1J3g0082824;
	Fri, 12 Mar 2004 01:19: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 Mar 2004 01:19:03 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C1J1YT082806
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 01:19:01 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i2C1J1Ms025748;
	Fri, 12 Mar 2004 01:19:01 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040311170516.047c05d8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 11 Mar 2004 17:18:53 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: authmeth: passwords in the clear
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309ytn5@bombur.uio.no>
References: <HBF.20040227jcov@bombur.uio.no>
 <6.0.1.1.0.20040229145453.02c78ab8@127.0.0.1>
 <HBF.20040309ytn5@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:44 AM 3/9/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 08:53 AM 2/28/2004, Hallvard B Furuseth wrote:
>>>authmeth-10 says:
>>>
>>>> 11. General Requirements for Password-based Authentication
>>>> (...)
>>>>   To mitigate the security risks associated with the use of passwords, 
>>>>   a server implementation MUST implement a configuration that at the 
>>>>   time of authentication or password modification, requires: 
>> (...)
>>>
>>>This should only apply to cleartext passwords, not e.g. modifications of
>>>attributes that contain encrypted passwords.
>> 
>> I concur that this particular section should be limited to
>> cleartext passwords used in authentication.  
>
>I didn't say that (that it should only be about authentication).  I
>agree that a "MUST" is too strong for other operations than
>authentication.  However, it really is the same issue - protecting
>passwords - for other operations.  I suggest a paragraph at the end of
>this section that it is RECOMMENDED that the configuration in question
>treats other operations that contain cleartext passwords, such as
>passwords modifications, the same way.
>Or if not:
>
>> I think other "uses" of cleartext passwords (such as modification)
>> should be address in documents detail specific mechanisms (e.g.,
>> LDAP Password Modify Operation) and/or password schema.
>
>Then most password-related operations and password attributes will end
>up with different ways to treat passwords vs. protection mechanisms, and
>the server may have to implement them all. Whatever we do, I'd prefer a
>single section in [Authmeth] or [Protocol] which suggests how to deal
>with passwords in non-bind operations.  Then the Password Modify
>Operation, the userPassword definition and so on could refer to that if
>they wish.

Well, we might be able to include a security consideration in
[AuthMeth] (or [Protocol]) which not only covers use of clear
text passwords in Bind operations, but use of clear text passwords
in other operations (add, compare, modify, search), but this can
be difficult to accomplish.

My current thinking is that this should be worded more as a security
consideration that specific implementation requirements.

>> (And,
>> aside from some very general guidance, issues associated with
>> gateways, caching proxies, chaining servers, and/or replicas
>> should be addressed in documents discussing such these things.)
>
>Yes.  Maybe such general guidance should be included in the section
>about passwords in non-bind LDAP operations.



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 21:03: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 VAA10908
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 21:03:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C22fYT085540;
	Fri, 12 Mar 2004 02:02:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2C1qGeQ085021;
	Fri, 12 Mar 2004 01:52: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 Mar 2004 01:52:16 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C1qFYT085011
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 01:52:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i2C1qFMs026139;
	Fri, 12 Mar 2004 01:52:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040311173602.047bf528@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 11 Mar 2004 17:52:07 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Intro issues (Was: authmeth review notes [long])
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309eff@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:09 AM 3/9/2004, Hallvard B Furuseth wrote:
>>>    (2) Client authorization by means of access control based on the
>>>        requestor's authenticated identity,
>>
>> Given that LDAP doesn't offer an authorization (access control)
>> model, this seems dubious (even with the note below).  However, I
>> don't have a suggestion (at the moment) on how to better address
>> this.
>
>Put "Servers are expected to support" in front of the sentence?

I don't think servers are necessarily expected to support a means of
access control.  There are, after all, servers which do not support
any form of authentication.  But more importantly, this list is of
security services LDAP provides.  I don't think LDAP provide this
expectation and, even if it did, it's only an expectation.

>>>    Given the presence of the Directory, there is a strong desire to see
>>>    mechanisms where identities take the form of an LDAP distinguished
>>>    name [LDAPDN] and authentication data can be stored in the
>>>    directory.
>>
>> s/see/use/
>> s/take the form of an LDAP distinguished name/
>> s/are represented as distinguished names [X.501][Models] in string
>> form [LDAPDN]/.
>
>>>                This means that this data must be updated outside the
>>>    protocol or only updated in sessions well protected against
>>>    snooping.
>>
>> s/snooping/eavesdropping/ (use RFC2828 term)
>
>This sentence has nothing to do with DN identities and authentication
>data in the directory.  It also applies if the server supports an
>extended operation to modify passwords stored outside the directory,
>with non-DN identities.  I think it belongs in Section 11 - unless

This section is introductory.  It's providing some background as to
why particular security services are offered and why particular
applicability statements have been made.  Section 11 is basically
stating a security consideration.

So, I don't think this introductory/background information should be
moved.  (This is not to say additional security considerations should
or shouldn't be stated.)

>Section 11 is modified to only talk about authentication, like Kurt
>suggested in thread 'authmeth: passwords in the clear', message
><http://www.openldap.org/lists/ietf-ldapbis/200402/msg00086.html>:-)
>Also, it applies to any sensitive data, not just authentication data.
>So I'm not sure that it is any need to mention this special case at all.
>
>>>                It is also desirable to allow authentication methods to
>>>    carry identities not represented as LDAP DNs that are familiar to
>>>    the user or that are used in other systems.
>>
>> suggest:
>>       It is also desirable to allow authentication methods to
>>       carry identities (other than DNs) that are familiar to the
>>       user or that are used in other systems.
>
>...and also to authenticate against existing credentials maintained and
>stored outside the LDAP installation.

It can be argued that "used" encompasses both "maintained" and "stored".



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 21:55: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 VAA13207
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 21:55:11 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C2kKYl088873;
	Fri, 12 Mar 2004 02:54:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2C2e9PT088028;
	Fri, 12 Mar 2004 02:40: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 Mar 2004 02:40:09 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C2e3YT087974;
	Fri, 12 Mar 2004 02:40:07 GMT
	(envelope-from Alexey.Melnikov@isode.com)
Received: from isode.com (1Cust167.tnt102.lnd4.gbr.da.uu.net [213.116.52.167]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Wed, 10 Mar 2004 06:56:33 +0000
Message-ID: <404E882B.8060702@isode.com>
Date: Wed, 10 Mar 2004 12:14:51 +0900
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: lukeh@PADL.COM, ietf-ldapbis@OpenLDAP.org
Subject: Re: SASL mechanisms that return no data in last leg
References: <200403040556.QAA02107@au.padl.com> <404A778D.90302@isode.com> <6.0.1.1.0.20040309155948.0515df90@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040309155948.0515df90@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:

>I'd have to agree with Alexey.  The mechanism for provide data
>with the last leg of the exchange is optional.  That is, if there
>is data to be sent AND the server chooses not to require
>another roundtrip, the server can attach the data to last
>message.
>
>Another point is that SASL allows the mechanism data
>in any message of the exchange to be any octet string,
>including a zero length string.  Hence, it seems that
>no string and a zero length string are not necessarily
>semantically equivalent here.
>
This is correct, however LDAP is the first SASL profile I've seen that 
is able to represent them differently.
Do you think that we should say something about this in the base SASL 
document?

Alexey





From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 22:17:36 2004
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA14150
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 22:17:36 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C3GQYV091098;
	Fri, 12 Mar 2004 03:16:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2C3FVSl091062;
	Fri, 12 Mar 2004 03:15: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); Fri, 12 Mar 2004 03:15:31 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C3FPYT091051
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 03:15: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.10) with ESMTP id i2C3FPMs027509;
	Fri, 12 Mar 2004 03:15:25 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040311183843.047d2950@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 11 Mar 2004 19:15:18 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Authentication issues (Re: authmeth review notes [long])
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040309eff@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:09 AM 3/9/2004, Hallvard B Furuseth wrote:
>>> 6. Anonymous Authentication
>>>
>>>    Directory operations that modify entries or access protected
>>>    attributes or entries generally require client authentication.
>>>    Clients that do not intend to perform any of these operations
>>>    typically use anonymous authentication.
>>
>> I hope this is not typical.
>
>Why?

Because even clients which access attributes or entries that don't
require client authentication often authenticate anyway.

>>> 7. Simple Authentication
>>>    An LDAP client may establish an LDAP association by sending a Bind
>>>    Request with a name value consisting of an LDAP distinguished name
>>>    [LDAPDN] and specifying the simple authentication choice with a
>>>    password value.
>>
>> s/an LDAP distinguished name/a distinguished name in LDAP string
>> form [LDAPDN]/
>
>I don't see why, except the [LDAPDN] reference.

Because the term "LDAP distinguished name" is ambiguous.  It could
mean an X.500 DN, or the LDAP string representation of a X.500 DN.

>> s/password value/password value, an OCTET STRING.
>
>Why?

Because the value, in the protocol, is an OCTET STRING.

>>>    DSAs that map the DN sent in the bind request to a directory entry
>>>    with an associated set of one or more passwords will compare the
>>>    presented password to the set of passwords associated with that
>>>    entry.
>
>> s/more passwords/more passwords, each an OCTET STRING,/
>> s/compare/compare octet wise/
>
>No!

This mechanism's shared secret has always been an OCTET STRING,
to be compared octet wise.  We cannot change that without causing
loads of problems.  In terms of the wire and the server, we're
only trying to allow non-userPassword storage (or verification)
mechanisms, such as authPassword.  However, these storage (or
verification) mechanisms must be consistent with the overall
requirements of the mechanism.
  
>- [SASLprep] may apply first.

Application of SASLprep, where necessary, is done by the binding
client and by password management client (or other management agent).

The rest of your message seems to be a rehash external password
system limitations we already discussed in depth.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 11 22:29: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 WAA14412
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Mar 2004 22:29:39 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C3SRYV091656;
	Fri, 12 Mar 2004 03:28:28 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2C3RD3B091581;
	Fri, 12 Mar 2004 03:27: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, 12 Mar 2004 03:27:13 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C3RCYT091571
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 03:27: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.10) with ESMTP id i2C3QwMs027655;
	Fri, 12 Mar 2004 03:26:58 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040311191811.047f78c8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 11 Mar 2004 19:26:50 -0800
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: SASL mechanisms that return no data in last leg
Cc: lukeh@PADL.COM, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <404E882B.8060702@isode.com>
References: <200403040556.QAA02107@au.padl.com>
 <404A778D.90302@isode.com>
 <6.0.1.1.0.20040309155948.0515df90@127.0.0.1>
 <404E882B.8060702@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:14 PM 3/9/2004, Alexey Melnikov wrote:
>Kurt D. Zeilenga wrote:
>
>>I'd have to agree with Alexey.  The mechanism for provide data
>>with the last leg of the exchange is optional.  That is, if there
>>is data to be sent AND the server chooses not to require
>>another roundtrip, the server can attach the data to last
>>message.
>>
>>Another point is that SASL allows the mechanism data
>>in any message of the exchange to be any octet string,
>>including a zero length string.  Hence, it seems that
>>no string and a zero length string are not necessarily
>>semantically equivalent here.
>This is correct, however LDAP is the first SASL profile I've seen that is able to represent them differently.
>Do you think that we should say something about this in the base SASL document?

I suggest we take this one to the SASL WG list.  I suspect they
will have to say something about this, such as they had to do
for zero-length v. absent authorization identity strings.  Once
they reach consensus as to what to say, we'll adapt as needed.

I suspect they will have to be declared equivalent and a
recommendation made that applications support one or the
other but not both.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 00:33: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 AAA19413
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 00:33:41 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C5STYV097305;
	Fri, 12 Mar 2004 05:32:26 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2C5Ob9i097172;
	Fri, 12 Mar 2004 05:24: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, 12 Mar 2004 05:24:37 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C5OWYT097140;
	Fri, 12 Mar 2004 05:24:33 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.20)
	id 1B1f9p-00009E-JY; Fri, 12 Mar 2004 06:24:29 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B1f9l-0000oe-VD; Fri, 12 Mar 2004 06:24:25 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1f9l-0001KP-00; Fri, 12 Mar 2004 06:24:25 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040312chs4@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Authentication issues (Re: authmeth review notes [long])
In-Reply-To: <6.0.1.1.0.20040311183843.047d2950@127.0.0.1>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<HBF.20040309eff@bombur.uio.no>
	<6.0.1.1.0.20040311183843.047d2950@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Mar 2004 06:24: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 10:09 AM 3/9/2004, Hallvard B Furuseth wrote:
>>>> 6. Anonymous Authentication
>>>> 
>>>>    Directory operations that modify entries or access protected
>>>>    attributes or entries generally require client authentication.
>>>>    Clients that do not intend to perform any of these operations
>>>>    typically use anonymous authentication.
>>> 
>>> I hope this is not typical.
>> 
>> Why?
> 
> Because even clients which access attributes or entries that don't
> require client authentication often authenticate anyway.

Fine, but that doesn't explain why you apparently think it's bad if many
clients don't do that.  Not that it matters to Authmeth, I'm just
curious.

>>>> 7. Simple Authentication
>>>>    An LDAP client may establish an LDAP association by sending a Bind
>>>>    Request with a name value consisting of an LDAP distinguished name
>>>>    [LDAPDN] and specifying the simple authentication choice with a
>>>>    password value.
>>> 
>>> s/an LDAP distinguished name/a distinguished name in LDAP string
>>> form [LDAPDN]/
>> 
>> I don't see why, except the [LDAPDN] reference.
> 
> Because the term "LDAP distinguished name" is ambiguous.  It could
> mean an X.500 DN, or the LDAP string representation of a X.500 DN.

I don't really care about just this change, if it's not repeated in
other places, but:

No, [Protocol] specifies that BindRequest.name is an LDAPDN, as it
specifies the format or syntax of other fields used in [Authmeth].
[Authmeth] should not duplicate that work, except with reminders of what
[Protocol] says at places where we feel that is useful.  Here it is not
useful; everywhere core LDAP mentions DNs (except in [LDAPDN] itself) it
means the LDAP string representation.

Actually, if we are going to fiddle with this one, I would rather
shorten it:  'with a name (a DN [LDAPDN]) and specifying...'.

In any case, there are plenty of other places in [Authmeth] and some in
[Protocol] that talk about DNs or LDAP DNs without clarifying that they
mean the LDAP string representation.

>>> s/password value/password value, an OCTET STRING.
>> 
>> Why?
> 
> Because the value, in the protocol, is an OCTET STRING.

That's why it's pointless to specify it.
Doing so doesn't even restrict what it may contain, since an OCTET
STRING can contain anything.  And to encode the provided value with the
correct ASN.1 type is a [Protocol] matter, not an [Authmeth] matter.

Are we also going to specify that SaslCredentials.mechanism is an
LDAPString and SaslCredentials.credentials an OCTET STRING when their
values are mentioned too?

>>>>    DSAs that map the DN sent in the bind request to a directory entry
>>>>    with an associated set of one or more passwords will compare the
>>>>    presented password to the set of passwords associated with that
>>>>    entry.
>> 
>>> s/more passwords/more passwords, each an OCTET STRING,/
>>> s/compare/compare octet wise/
>> 
>> No!
> 
> This mechanism's shared secret has always been an OCTET STRING,
> to be compared octet wise.  (...)

I can find no indication of either claim in RFC 2251.

- userPassword is OCTET STRING, but implementations can just as well
  use other attributes.

- I can find no mention of how to compare Bind passwords or Simple Bind
  passwords in general.

>> - [SASLprep] may apply first.
> 
> Application of SASLprep, where necessary, is done by the binding
> client

Application to the client-side password, yes.  Application to the
server-side password, no.

> and by password management client (or other management agent).

I don't know what that means, but if it means the server-side password
checker, you just contradicted that comparison is done octet wise.

> The rest of your message seems to be a rehash external password
> system limitations we already discussed in depth.

If you refer to the SASLprep thread, yes.  But in that case there was a
workaround:  One can choose passwords that SASLprep does not modify.

In this case you are totally prohibiting anything else than The LDAP Way
To Compare Passwords, which will _differ_ from what most systems do.
And since that way will not even allow us to compare passwords by
hashing the Bind password and comparing with a stored hash, we'll even
be required to store all the users' plaintext passwords somewhere.  That
is utterly unacceptable.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 02:06: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 CAA28517
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 02:06:08 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C74QYV001117;
	Fri, 12 Mar 2004 07:04:38 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2C6xdL1001011;
	Fri, 12 Mar 2004 06:59: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); Fri, 12 Mar 2004 06:59:39 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2C6xbYT001000
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 06:59:37 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.10) with ESMTP id i2C6xaMs030213;
	Fri, 12 Mar 2004 06:59:37 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040311213043.047c2260@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 11 Mar 2004 22:59:29 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Authentication issues (Re: authmeth review notes [long])
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040312chs4@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
 <6.0.1.1.0.20040311183843.047d2950@127.0.0.1>
 <HBF.20040312chs4@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 09:24 PM 3/11/2004, Hallvard B Furuseth wrote:
>>>>> 7. Simple Authentication
>>>>>    An LDAP client may establish an LDAP association by sending a Bind
>>>>>    Request with a name value consisting of an LDAP distinguished name
>>>>>    [LDAPDN] and specifying the simple authentication choice with a
>>>>>    password value.
>>>> 
>>>> s/an LDAP distinguished name/a distinguished name in LDAP string
>>>> form [LDAPDN]/
>>> 
>>> I don't see why, except the [LDAPDN] reference.
>> 
>> Because the term "LDAP distinguished name" is ambiguous.  It could
>> mean an X.500 DN, or the LDAP string representation of a X.500 DN.
>
>I don't really care about just this change, if it's not repeated in
>other places, but:

I haven't looked at all the other places.  The key is it avoid
the term "LDAP DN" as it is ambiguous.  The ambiguity leads to
improper implementation of DN matching (comparing representations
of DN instead of properly comparing the DN values).

>everywhere core LDAP mentions DNs (except in [LDAPDN] itself) it
>means the LDAP string representation.

Whether you are referring to the current LDAP TS [RFC3377] or the
revised LDAP TS [Roadmap], I doubt this statement is correct.  The
very fact you state this kind of makes the case for more clarification
in this area.

>Actually, if we are going to fiddle with this one, I would rather
>shorten it:  'with a name (a DN [LDAPDN]) and specifying...'.

Since you referring to the name, not the name value, the reference
should be to [Models][X.501] not [LDAPDN].

>In any case, there are plenty of other places in [Authmeth] and some in
>[Protocol] that talk about DNs or LDAP DNs without clarifying that they
>mean the LDAP string representation.

In protocol, the term "LDAP DN" should be replaced with either
"DN" or "LDAPDN" or "string representation of the DN".

>>>> s/password value/password value, an OCTET STRING.
>>> 
>>> Why?
>> 
>> Because the value, in the protocol, is an OCTET STRING.
>
>That's why it's pointless to specify it.

No.  It is reenforcing that this value, which has been misinterpreted
as being a character string, is in fact an OCTET STRING.

>Doing so doesn't even restrict what it may contain, since an OCTET
>STRING can contain anything.

Yes, but stating that it is an OCTET STRING reminds implementors that
they should be capable of handling (in terms of the protocol) any
arbitrary value.   For instance, where a server uses an external system
capable of storing only UTF-8 passwords, the server shouldn't puke
because the value wasn't restricted to UTF-8.

>And to encode the provided value with the
>correct ASN.1 type is a [Protocol] matter, not an [Authmeth] matter.

But using the value in the server is an [Authmeth] matter.  The
server implementor needs to reminded that protocol is providing
an OCTET STRING.

>Are we also going to specify that SaslCredentials.mechanism is an
>LDAPString and SaslCredentials.credentials an OCTET STRING when their
>values are mentioned too?

I'm not aware of any confusion there.

>>>>>    DSAs that map the DN sent in the bind request to a directory entry
>>>>>    with an associated set of one or more passwords will compare the
>>>>>    presented password to the set of passwords associated with that
>>>>>    entry.
>>> 
>>>> s/more passwords/more passwords, each an OCTET STRING,/
>>>> s/compare/compare octet wise/
>>> 
>>> No!
>> 
>> This mechanism's shared secret has always been an OCTET STRING,
>> to be compared octet wise.  (...)
>
>I can find no indication of either claim in RFC 2251.

RFC 2251 has lots a holes. 

>>> - [SASLprep] may apply first.
>> 
>> Application of SASLprep, where necessary, is done by the binding
>> client
>
>Application to the client-side password, yes.  Application to the
>server-side password, no.

I think 'binding client' makes it pretty clear as to which side
I was referring to here.

>> and by password management client (or other management agent).
>
>I don't know what that means,

I likely should have just said "password management entity".

>but if it means the server-side password
>checker,

I don't necessarily (and generally don't) mean the "checker"
(see below).

>you just contradicted that comparison is done octet wise.

Not really.  When textual passwords are used, the shared secret
(on both sides) is the UTF-8 encoded output of SASLprep.  It is
storage mechanism specific when and where this preparation is done,
we can just say that the password management entity takes care of it.
(Note the preparation could occur before or after storage.)

>> The rest of your message seems to be a rehash external password
>> system limitations we already discussed in depth.
>
>If you refer to the SASLprep thread, yes.  But in that case there was a
>workaround:  One can choose passwords that SASLprep does not modify.

It is intended one can do that as well here.  See below.

>In this case you are totally prohibiting anything else than The LDAP Way
>To Compare Passwords, which will _differ_ from what most systems do.
>And since that way will not even allow us to compare passwords by
>hashing the Bind password and comparing with a stored hash, we'll even
>be required to store all the users' plaintext passwords somewhere.  That
>is utterly unacceptable.

The intent was to say things had to be compared in an octet wise
manner, but not necessarily octet wise.  A simple rewording should
provide plenty of wiggle room.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 10:48: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 KAA29028
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 10:48:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CFkWYX029145;
	Fri, 12 Mar 2004 15:47:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CFen0j028584;
	Fri, 12 Mar 2004 15:40:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 12 Mar 2004 15:40:49 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CFejYT028552
	for <ietf-ldapbis@openldap.org>; Fri, 12 Mar 2004 15:40:46 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.20)
	id 1B1om9-0003ZC-Fk
	for ietf-ldapbis@openldap.org; Fri, 12 Mar 2004 16:40:41 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B1om3-000631-SE
	for ietf-ldapbis@openldap.org; Fri, 12 Mar 2004 16:40:35 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1om3-0002ij-00
	for ietf-ldapbis@OpenLDAP.org; Fri, 12 Mar 2004 16:40:35 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040312s6xo@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: models: SINGLE-VALUE
Date: Fri, 12 Mar 2004 16:40: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

An explanation of SINGLE-VALUE is missing from [Models] 4.1.2 (Attribute
Types).

I expect SINGLE-VALUE means that
  an attribute with that attribute type in an entry may have only one
  value, though there can be several such attributes with different
  attribute options
and not that
  an entry may have only one attribute value with that attribute type
?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 11:23: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 LAA00925
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 11:23:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CGMPYV031714;
	Fri, 12 Mar 2004 16:22:31 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CGJVCJ031280;
	Fri, 12 Mar 2004 16:19: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); Fri, 12 Mar 2004 16:19:31 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CGJSYT031269
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 16:19:28 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.10) with ESMTP id i2CGJSMs035689;
	Fri, 12 Mar 2004 16:19:28 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040312081819.04910f90@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 12 Mar 2004 08:19:20 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: models: SINGLE-VALUE
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040312s6xo@bombur.uio.no>
References: <HBF.20040312s6xo@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 07:40 AM 3/12/2004, Hallvard B Furuseth wrote:
>An explanation of SINGLE-VALUE is missing from [Models] 4.1.2 (Attribute
>Types).

I suggest adding:
   SINGLE-VALUE indicates attributes of this type are restricted to
   a single value;

to address this issue.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 11:36: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 KAA29029
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 10:48:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CFkWYZ029145;
	Fri, 12 Mar 2004 15:47:33 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CFjJwT028976;
	Fri, 12 Mar 2004 15:45: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); Fri, 12 Mar 2004 15:45:19 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CFjFYT028966
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 15:45:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i2CFjEMs035163;
	Fri, 12 Mar 2004 15:45:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 12 Mar 2004 07:45:06 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: protocol-22 comments
Cc: ietf-ldapbis@OpenLDAP.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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:20 AM 3/9/2004, you wrote:
>>    Additionally, unless order-dependent semantics are given in a
>>    specification, the order of a combination of controls in the SEQUENCE
>>    is ignored.
>
>This implies that controls (A, B) MUST behave identically with controls
>(B, A).

unless order-dependent semantics are provided.

>I think it should be, "the effect of the ordering of a
>combination of controls in the SEQUENCE is unspecified"?

The problem we current face is that effect of ordering is
generally unspecified.

I think the sentence likely could be better worded:
        Additionally, the order of controls in a combination
        only matters if the specification describing that
        combination details order-specific semantics.

>> 4.7. Add Operation
>>    If the entry to be added would not fall within a naming context
>>    [Section 5 of Models] held by the server, and the server has
>>    knowledge of where that entry is to be located, a referral to the
>>    server(s) holding the parent entry should be returned.
>
>Unless the server chains the operation to another server (i.e. it sends
>the request to the server which masters that naming context, and returns
>the response from that server to the client).

We should avoid discussing chaining (and many other aspects of
distributed directories).   I suggest the quoted paragraph be worded
in more general terms, like:
        Where a server has knowledge that the operation should be
        referred to another server (or server(s), a referral may be
       returned to the client.

Of course, this applies in general so maybe it should be said once.

>> 4.12. Extended Operation
>
>>    Extended operations may be specified in other documents. The
>>    specification of an extended operation consists of:
>>
>>    - the OBJECT IDENTIFIER assigned to the requestName (and possibly
>>      responseName),
>
>Does this mean responseName must be empty or equal to requestName?
>This should be clarified in the paragraph about responseName.

It might be better to say:
   - the OBJECT IDENTIFIER assigned to the requestName,
   - the OBJECT IDENTIFIER, if any, assigned to the responseName
     (note the same OBJECT IDENTIFIER may be used for both)

>> 4.13. IntermediateResponse Message
>>    Although the responseName and responseValue are optional in some
>>    circumstances, generally speaking IntermediateResponse messages have
>>    a predefined responseName and a responseValue.
>
>I do not understand.  Are they any more predefined than other
>LDAPMessages?

The wording does seem a bit odd.

>> A.1 Non-Error Result Codes
>> A.2 Result Codes
>
>>         protocolError (2)
>>            Indicates the server received data which has incorrect
>>            structure.
>>
>>            For bind operation only, this code is also used to indicate
>>            that the server does not support the requested protocol
>>            version.
>
>For Start TLS, it is also used to indicate that TLS is currently
>unsupported.

Actually, I note that Start TLS needs some in this area.  I'll discuss
this in a separate post.

A.2 protocolError should however say:
        For extended operations only, this code is used to indicate
        that the server does not recognize the requestName.

>Editorial comments:
>
>> 4.2. Bind Operation
>
>>    Authorization is the use of this authentication information when
>>    performing operations.
>
>No, authorization need not make use of the authentication information.
>One could e.g. base it on IP addresses only (but only for read
>operations, I would hope:-)

One could argue that the IP address is the authentication information. :-)

>Nitpick:  The word "use" is wrong.  Putting the currently active
>authentication identity in LDAPResult.diagnosticMessage is "use" of auth
>info, but not authorization.  Not sure if this is worth bothering with,
>though.
>
>>    Authorization MAY be affected by factors
>>    outside of the LDAP Bind Request, such as those provided by lower
>>    layer security services.
>
>Here is a suggestion, though it's a bit long.  Maybe the last sentence
>should be dropped.
>
>     Authorization is the decision of which access an operation has to
>     the directory.  It may be affected by many factors, often including
>     the association's authorization identity, which again was derived
>     from or authorized via the authentication information.
>     Authorization may be affected by factors outside of the LDAP Bind
>     Request, such as those provided by lower layer security services.

Better.

>> 4.2.1. Processing of the Bind Request
>
>>    Before processing a BindRequest, all outstanding operations MUST
>>    either complete or be abandoned.
>
>This could be read as a suggestion for the client to abandon the
>operations.  I suggest:
>
>     The server MUST NOT process a BindRequest until no earlier
>     operations are outstanding.
>
>I added "earlier" because it shouldn't complete or abandon operations
>submitted _after_ the Bind.

We likely need to discuss whether a client is allowed to send requests
while a bind response is outstanding.  (another thread to start)

>>    The server may either wait for the 
>>    outstanding operations to complete, or abandon them.
>
>
>> 4.5.3. Continuation References in the Search Result
>> 4.5.3.1. Examples
>
>>    If the contacted server does not hold the base object for the search,
>>    then it will return a referral to the client.
>
>s/will/may/.
>
>> 4.10. Compare Operation
>
>>    The resultCode field is set to compareTrue, compareFalse, or an
>>    appropriate error. compareTrue indicates that the assertion value in
>>    the ava field is equivalent to a value of the attribute or subtype
>>    (according to the attribute's EQUALITY matching rule).
>
>Maybe remove the "()"'s?

s/equivalent/equal/ here and elsewhere where we are specifically
talking about matching using the equality matching rule.

>>    compareFalse
>>    indicates that the comparison of the assertion value in the ava field
>>    and the values of the attribute or subtype resulted in an Undefined
>                                                            ^^
>>    (Section 4.5.1) or non-equivalent match.
>                     ^^                ^^^^^
>s/an/only/, s/or/and/, s/match/matches/.
>
>> 4.11. Abandon Operation
>
>>    Operation responses are not sent for successfully
>>    abandoned operations,
>
>This can be read as 'the server performs abandoned operations but does
>not send their responses':-)
>
>>    thus the application of the Abandon operation
>>    is limited to uses where the client does not require an indication of
>>    its outcome.
>
>You could say "Since operation responses are not ..." and strike "thus".
>However, the reasoning is a bit unclear in any case.  I suggest:
>
>     Since the client cannot tell the difference between a successfully
>     abandoned operation and an outstanding operation yet to be
>     performed, the application of (...)

better.


>>    Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned.
>>    The ability to abandon other (particularly update) operations is at
>>    the discretion of the server.
>
>The last sentence is contradicted by the next paragraph.  You can move
>the sentence below the offending paragraph, or swap the two paragraphs.
>
>>    In the event that a server receives an Abandon Request on a Search
>>    Operation in the midst of transmitting responses (...)
>
>> 4.13. IntermediateResponse Message
>
>>    Similarly, it is intended that clients will explicitly solicit
>>    IntermediateResponse messages by issuing operations that specifically
>>    call for their return.
>
>Delete this, it's repeated in stronger language in the next paragraph.
>
>>         IntermediateResponse ::= [APPLICATION 25] SEQUENCE {
>>                 responseName     [0] LDAPOID OPTIONAL,
>>                 responseValue    [1] OCTET STRING OPTIONAL }
>
>This is missing from Appendix B (Complete ASN.1 Definition).
>
>>    The value of the
>>    responseName (if present), the syntax of the responseValue (if
>>    present) and the semantics associated with a particular
>>    IntermediateResponse message MUST be specified in documents
>>    describing the extended operation or request control that uses them.
>>    Sections 4.13.1 and 4.13.2 describe additional requirements on the
>>    inclusion of responseName and responseValue in IntermediateResponse
>>    messages.
>
>I suggest you reformat this to a list of things the spec consists of,
>similar to "The specification of an extended operation consists of:..."
>in section 4.12.
>    
>> 4.13.1. Usage with LDAP ExtendedRequest and ExtendedResponse
>
>>    An extended operation that defines the return of multiple kinds of
>>    IntermediateResponse messages MUST provide and document a mechanism
>>    for the client to distinguish the kind of IntermediateResponse
>>    message being sent.  This SHALL be accomplished by using different
>>    responseName values for each type of IntermediateResponse message
>>    associated with the extended operation or by including identifying
>>    information in the responseValue of each type of IntermediateResponse
>>    message associated with the extended operation.
>
>s/type/kind/ or s/kind(s)/type(s)/.
>
>I think this can be shortened a lot:
>
>     An extended operation that defines the return of multiple kinds of
>     IntermediateResponse messages SHALL identify those different kinds
>     either by giving them different responseName values or by including
>     identifying information in their responseValues.
>
>However, this - and the original - does not allow one ExtendedRequest to
>solicit some IntermediateResponse types identified by responseName and
>some types identified by the contents of responseValue.

The language of draft-rharrison-ldap-intermediate-resp-01.txt is a bit
odd.

If we take the view that it is the responseName, and only the responseName,
that identifies a particular kind of IntermediateResponse, then we simplify
this text.  That is, while an IntermediateResponse might have an responseValue
which allows a wide range of information to be returned, such is but one
kind of IntermediateResponse.

>This does:
>
>     (...) SHALL identify those different kinds by giving them different
>     responseName values and/or including identifying information in
>     their responseValues.
>
>Finally, I suggest to factor this and the equivalent statement for
>request controls, out to section 4.13: Just move the statement and do
>s/extended operation/extended operation or request control/.

Yes.

The key requirement is that only one kind of IntermediateResponse
sent in response to an extendedRequest can have no responseName.
All other kinds of IntermediateResponse, whether also returned in
response to an extendedRequest or in response to a request control,
must have a responseName and its value must be distinguishing.


>> 4.14.1. StartTLS Request
>
>>    The client MUST NOT send any PDUs on this connection following this
>>    request until it receives a StartTLS extended response and
>
>, in case of a success response,
>
>>    completes
>>    TLS negotiations.
>
>> 4.14.2.2. Response other than "success"
>
>>    If the ExtendedResponse contains a result code other than success,
>>    (...)
>
>>    The
>>    client's current association is unaffected if the server does not
>>    support TLS.
>
>It is also unaffected if StartTLS returns non-success for some other
>reason.  Also, move it to the first paragraph.  Or maybe delete the
>sentence, since [Authmeth] covers it.
>
>> 4.14.3.2. Abrupt Closure
>>
>>    Either the client or server MAY abruptly close the TLS connection by
>>    dropping the underlying transfer protocol connection. In this
>
>s/transfer protocol connection/LDAP connection/; that's the phrase
>which is used elsewhere (e.g. in 4.14.3.1).

No.  The underlying transfer protocol connection is not an LDAP
connection as it cannot directly transfer LDAP messages.  Underlying
here is referring to the TCP (or other transport) protocol connection
and is proper.

>>    Outstanding
>>    operations are handled as specified in Section 5.2.
>
>The same applies to graceful closure.  Delete this sentence, instead put
>in 4.14.3 (Closing a TLS Connection):
>
>     If the underlying LDAP connection is dropped, outstanding
>     operations are handled as specified in Section 5.2.
>
>> 5.2. Transfer Protocols
>>
>>    This protocol is designed to run over connection-oriented, reliable
>>    transports, with all 8 bits in an octet being significant in the data
>>    stream.
>
>The ", with..." part is strange.  How about LDAP over transports that
>are not naturally divided into octets, but e.g. 36-bit units?  I suggest
>to replace it with:
>
>     , where the data stream is divided into octets (8-bit units).
>
>That all bits in an octet are significant need not be stated; that's
>what anyone would assume unless the opposite was specified.
>
>I suggest at least a paragraph break here.  In fact, I think the rest of
>the paragraph belongs in a separate section '5.2.2 Connection Closure
>Effects'.
>
>>    Protocol operations are tied to a connection, thus if the
>>    connection is closed or dropped, the operation is aborted. When this
>>    happens, any outstanding operations on the server are, when possible,
>>    abandoned, and when not possible, completed without transmission of
>>    the response.
>
>s/on the server/on the connection/.  Dropping one connection doesn't
>affect operations on another connection to the same server.
>
>The "thus..." is wrong: _aborting_ an operation might leave an update
>operation halfway done.  The next sentence corrects it, but I suggest to
>just drop the offending sentence:
>
>     Protocol operations are tied to a connection.  If the connection is
>     closed or dropped, any outstanding operations on the connection
>     are, (...)
>     
>>    Also, if the connection is closed or dropped, the
>>    client MUST NOT assume that any outstanding requests which modified
>>    the Directory have succeeded or failed.
>
>Suggest /which modified/to modify/.
>
>> 6. Security Considerations
>
>>    Requirements of authentication methods, SASL mechanisms, and TLS are
>>    described in [AuthMeth].
>
>s/Requirements of/Security considerations for/?
>
>> C.1 Changes made to made to RFC 2251:
>> C.2 Changes made to made to RFC 2830:
>> C.3 Changes made to made to [LIMR]:
>
>s/made to made to/made to/.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 13:06: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 NAA08489
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 13:06:59 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CI4SYp041055;
	Fri, 12 Mar 2004 18:05:30 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CI3xMw041008;
	Fri, 12 Mar 2004 18:03:59 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 12 Mar 2004 18:03:59 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CI3wYT040995
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 18:03:58 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.10) with ESMTP id i2CI3vMs037084;
	Fri, 12 Mar 2004 18:03:57 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040312095443.047299b8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 12 Mar 2004 10:03:49 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: "connections" (Was: protocol-22 comments)
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
References: <6.0.1.1.0.20040312074442.04916570@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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I've been thinking a bit more about the different uses of "connections"
in the document.  It seems that "LDAP connection" is used both to
refer to the underlying transport connection as well as the LDAP-level
connection (e.g., the layer in which LDAP messages are exchanged),
and that this is causing some confusion in the specification.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 13:47: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 NAA10244
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 13:47:41 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CIkRYV043691;
	Fri, 12 Mar 2004 18:46:37 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CIjHfU043671;
	Fri, 12 Mar 2004 18:45:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 12 Mar 2004 18:45:17 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CIjGYT043661
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 18:45:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i2CIjFMs037620
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 18:45:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040311151328.02c3e588@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 12 Mar 2004 10:45:07 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: consensus/action RE: Protocol: control specifications.
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I believe recent discussions reenforce and support my
previously stated belief of WG consensus regarding the
control criticality issues in [Protocol].  I find the WG
consensus supports, in general, the control criticality text
as presently worded in the latest protocol revision.  In
particular, I find that the WG consensus does not support
adopting any specific text that allows (MUST/SHOULD/MAY)
servers to verify that the client provided an appropriate
criticality value.  I also find the WG consensus does not
support removing or diminishing the note regarding
control-specific alteration of criticality semantics.

Lastly, there was an additional related discussion inclusion
of language explicitly stating one or more of the possible
criticality options future control specifications have in
guidance they offer to the control sender.  I find that the
inclusion of such language is not supported by WG consensus.
I note that the document did include such language at one
time, and that text was purposely removed as a result of
previous WG discussions.  I also find that inclusion of such
language would likely lead to a widening of scope of the
document to offer more than a simple profile (outline) for
future extension specifications.

While I do suspect that some minor editorial issues may
remain in this section which the Editor should feel free to
correct, I direct the Editor to avoid making any change of
technical substance in this area (control criticality)
without prior chair consultation.

I encourage individual effort in producing a document
(or documents) detailing considerations for extension
authors (and reviewers).

-- Kurt, LDAPbis co-chair



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 13:59: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 NAA11013
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 13:59:29 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CIwQYV044331;
	Fri, 12 Mar 2004 18:58:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CItTtj044270;
	Fri, 12 Mar 2004 18:55: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); Fri, 12 Mar 2004 18:55:29 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CItQYT044239;
	Fri, 12 Mar 2004 18:55:27 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.20)
	id 1B1roZ-0003x7-7G; Fri, 12 Mar 2004 19:55:23 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B1roS-0000CB-G0; Fri, 12 Mar 2004 19:55:16 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1roS-00039d-00; Fri, 12 Mar 2004 19:55:16 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040312gjc@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: "connections" (Was: protocol-22 comments)
In-Reply-To: <6.0.1.1.0.20040312095443.047299b8@127.0.0.1>
References: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
	<6.0.1.1.0.20040312095443.047299b8@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Mar 2004 19:55:16 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> I've been thinking a bit more about the different uses of "connections"
> in the document.  It seems that "LDAP connection" is used both to
> refer to the underlying transport connection as well as the LDAP-level
> connection (e.g., the layer in which LDAP messages are exchanged),

Can you give an example of the latter?  I can't find any.

> and that this is causing some confusion in the specification.

The definition "LDAP connection" = "underlying transport protocol
connection" does seem confusing, the name sounds more like the LDAP-
level connection.  As you thought it meant in your response to my
'protocol-22 comments'.  Maybe the term should be dropped in favor of
"connection", which is already defined to mean the same thing.
([Protocol] section 2, [Authmeth] section 2.1.)


BTW, I've just been trying to construct a problem with this by messing
up the terminology: Define another service than LDAP over TCP, one which
has a layer between the transport and the LDAP (or LDAP+TLS/SASL)
protocol.  Then the "connection" and the "transport protocol" in the
drafts will have to refer to that layer, not the actual transport.  Some
language like "misdirecting the connection" in [Authmeth] will then be
wrong, since misdirection will occur at the underlying level.  I can't
think of a worse problem than that at the moment, but I haven't exactly
checked all occurrences of "connections" to see if there is a problem.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 14:11: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 OAA11540
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 14:11:52 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CJAZYd045136;
	Fri, 12 Mar 2004 19:10:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CJ5wsF044890;
	Fri, 12 Mar 2004 19:05: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); Fri, 12 Mar 2004 19:05:58 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CJ5vYT044880
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 19:05: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.10) with ESMTP id i2CJ5vMs037887;
	Fri, 12 Mar 2004 19:05:57 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040312105939.047361c8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 12 Mar 2004 11:05:49 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: "connections" (Was: protocol-22 comments)
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040312gjc@bombur.uio.no>
References: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
 <6.0.1.1.0.20040312095443.047299b8@127.0.0.1>
 <HBF.20040312gjc@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:55 AM 3/12/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> I've been thinking a bit more about the different uses of "connections"
>> in the document.  It seems that "LDAP connection" is used both to
>> refer to the underlying transport connection as well as the LDAP-level
>> connection (e.g., the layer in which LDAP messages are exchanged),
>
>Can you give an example of the latter?  I can't find any.

How about the use of the term "TLS-protected LDAP connection"?
TLS is not protecting the underlying connection, it's protecting
the exchange of LDAP messages.

And, is the association really at the underlying connection or
at the LDAP exchange?

In processing a bind, the spec says "to bind on the existing
connection" when the Bind, when TLS or SASL have been establish,
certainly is done on the underlying connection.

>> and that this is causing some confusion in the specification.
>
>The definition "LDAP connection" = "underlying transport protocol
>connection" does seem confusing, the name sounds more like the LDAP-
>level connection.  As you thought it meant in your response to my
>'protocol-22 comments'.  Maybe the term should be dropped in favor of
>"connection", which is already defined to mean the same thing.
>([Protocol] section 2, [Authmeth] section 2.1.)
>
>
>BTW, I've just been trying to construct a problem with this by messing
>up the terminology: Define another service than LDAP over TCP, one which
>has a layer between the transport and the LDAP (or LDAP+TLS/SASL)
>protocol.  Then the "connection" and the "transport protocol" in the
>drafts will have to refer to that layer, not the actual transport.  Some
>language like "misdirecting the connection" in [Authmeth] will then be
>wrong, since misdirection will occur at the underlying level.  I can't
>think of a worse problem than that at the moment, but I haven't exactly
>checked all occurrences of "connections" to see if there is a problem.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 15: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 PAA15226
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 15:05:46 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CK4TYV047774;
	Fri, 12 Mar 2004 20:04:39 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CJwd3v047500;
	Fri, 12 Mar 2004 19:58: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); Fri, 12 Mar 2004 19:58:39 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CJwbYT047489
	for <ietf-ldapbis@openldap.org>; Fri, 12 Mar 2004 19:58:37 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B1snh-0003Ba-7K
	for ietf-ldapbis@openldap.org; Fri, 12 Mar 2004 20:58:33 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1B1sng-0003VO-28; Fri, 12 Mar 2004 20:58:32 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1snf-0003Iq-00; Fri, 12 Mar 2004 20:58:31 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040312yegw@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: TLS/DIGEST-MD5 vs. non-TCP LDAP
Date: Fri, 12 Mar 2004 20:58:31 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Is the following something we ought to care about?


[Protocol] section 5 (Protocol Element Encodings and Transfer) says:

   One underlying service, LDAP over TCP, is defined here.

(It is defined in Section 5.2.1 - which, BTW, I think that section ought
to mention explicitly.)

I assume this means that one may define other underlying services too.
If such a service has the necessary security built in, the IETF
requirements for security services will be satisfied - by the service
definition itself, unlike if one deploys LDAP with IPsec.

Anyway, in this situation TLS might be both unnecessary and
inappropriate.  So circumstances where we currently require TLS ought to
only apply to services like LDAP over TCP which do not include security,
not to all services.

The same goes for DIGEST-MD5, unless we want
- to ensure that it is possible to maintain interoperability between
  this service and LDAP over TCP by setting up a gateway between them
  (assuming DIGEST-MD5 can always work through such a gateway, which I
  do not want to try to figure out),
- or to mandate an authentication mechanism which does not disclose the
  user's password to the server.

BTW, could one cheat and make "LDAP over IPsec" such a service
definition?  In particular, I wonder what "the implementation" would
consist of.  Maybe it would be just a normal LDAP implementation
which refused to run if not deployed with IPsec?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 15:46: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 PAA17878
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 15:46:50 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CKYZZ7050792;
	Fri, 12 Mar 2004 20:45:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CKVivF050475;
	Fri, 12 Mar 2004 20:31:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 12 Mar 2004 20:31:44 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CKVfYT050443;
	Fri, 12 Mar 2004 20:31:42 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.20)
	id 1B1tJi-00074C-Eb; Fri, 12 Mar 2004 21:31:38 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B1tJd-0000jl-0k; Fri, 12 Mar 2004 21:31:33 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B1tJc-0003NJ-00; Fri, 12 Mar 2004 21:31:32 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040312xuli@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: "connections" (Was: protocol-22 comments)
In-Reply-To: <6.0.1.1.0.20040312105939.047361c8@127.0.0.1>
References: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
	<6.0.1.1.0.20040312095443.047299b8@127.0.0.1>
	<HBF.20040312gjc@bombur.uio.no>
	<6.0.1.1.0.20040312105939.047361c8@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 12 Mar 2004 21:31: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 10:55 AM 3/12/2004, Hallvard B Furuseth wrote:
>>Kurt D. Zeilenga writes:
>>> I've been thinking a bit more about the different uses of "connections"
>>> in the document.  It seems that "LDAP connection" is used both to
>>> refer to the underlying transport connection as well as the LDAP-level
>>> connection (e.g., the layer in which LDAP messages are exchanged),
>>
>>Can you give an example of the latter?  I can't find any.
> 
> How about the use of the term "TLS-protected LDAP connection"?
> TLS is not protecting the underlying connection, it's protecting
> the exchange of LDAP messages.

True.  I suggest to use "LDAP connection with TLS protection".

> And, is the association really at the underlying connection or
> at the LDAP exchange?

I can't see that it matters.  The connection and the exchange are
associated, in a 1-1 manner.  When you have one, you have the other.
And data passes through the connection, not through the association.
(At least I hope so.  If anything sends an LDAPMessage "over the
association", it should be fixed.)

> In processing a bind, the spec says "to bind on the existing
> connection" when the Bind, when TLS or SASL have been establish,
> certainly is done on the underlying connection.

Again I don't see that it matters.  But actually I think this one is
correct: "To bind" is an action, not a protocol element.  The client
performs it through the interface it has to the server, in the manner
required by the interface.  And the interface is the connection.
Just as "to fetch a document over HTTP" does not imply that the
resulting document includes the HTTP header.
OTOH, "to send a bind request" over the connection would be wrong.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 12 16:05: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 QAA18352
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Mar 2004 16:05:48 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CKqOYx052386;
	Fri, 12 Mar 2004 21:04:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2CKlAbW051821;
	Fri, 12 Mar 2004 20:47:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 12 Mar 2004 20:47:10 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2CKl8YT051811
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 12 Mar 2004 20:47: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.10) with ESMTP id i2CKl7Ms039218;
	Fri, 12 Mar 2004 20:47:07 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040312123213.02c368c8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 12 Mar 2004 12:46:59 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: TLS/DIGEST-MD5 vs. non-TCP LDAP
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040312yegw@bombur.uio.no>
References: <HBF.20040312yegw@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 11:58 AM 3/12/2004, Hallvard B Furuseth wrote:
>Is the following something we ought to care about?

I think, if someone really cares about this, we could
say that the general applicability statement regarding
security services applies to the TCP-mapping of LDAP and
that applicability of security services to mappings
of LDAP onto other transport protocols is beyond the
scope of this specification.

However, I think it is a bit of rat hole to try to make
the LDAP TS generally neutral of transport (and to call
out those portions specific to the TCP mapping).  And,
I think we have to be very careful not to confuse
implementors of LDAP over TCP with too much talk of other
mappings.

An alternative would be to state (in section 5 of [Protocol])
that the TS is generally written with the TCP-mapping in
mind and that specification detailing other mappings will
likely have to stand the TS on its ear.

Kurt



>[Protocol] section 5 (Protocol Element Encodings and Transfer) says:
>
>   One underlying service, LDAP over TCP, is defined here.
>
>(It is defined in Section 5.2.1 - which, BTW, I think that section ought
>to mention explicitly.)
>
>I assume this means that one may define other underlying services too.
>If such a service has the necessary security built in, the IETF
>requirements for security services will be satisfied - by the service
>definition itself, unlike if one deploys LDAP with IPsec.
>
>Anyway, in this situation TLS might be both unnecessary and
>inappropriate.  So circumstances where we currently require TLS ought to
>only apply to services like LDAP over TCP which do not include security,
>not to all services.
>
>The same goes for DIGEST-MD5, unless we want
>- to ensure that it is possible to maintain interoperability between
>  this service and LDAP over TCP by setting up a gateway between them
>  (assuming DIGEST-MD5 can always work through such a gateway, which I
>  do not want to try to figure out),
>- or to mandate an authentication mechanism which does not disclose the
>  user's password to the server.
>
>BTW, could one cheat and make "LDAP over IPsec" such a service
>definition?  In particular, I wonder what "the implementation" would
>consist of.  Maybe it would be just a normal LDAP implementation
>which refused to run if not deployed with IPsec?
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar 13 07:04: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 HAA11923
	for <ldapbis-archive@lists.ietf.org>; Sat, 13 Mar 2004 07:04:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DC2RYZ094081;
	Sat, 13 Mar 2004 12:03:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2DBgflM093117;
	Sat, 13 Mar 2004 11:42:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Sat, 13 Mar 2004 11:42:41 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DBgdYT093106
	for <ietf-ldapbis@openldap.org>; Sat, 13 Mar 2004 11:42:40 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx6.uio.no ([129.240.10.47])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B27XI-0006dE-IY
	for ietf-ldapbis@openldap.org; Sat, 13 Mar 2004 12:42:36 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1B27XG-0004ku-9k; Sat, 13 Mar 2004 12:42:34 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B27XG-0005fa-00; Sat, 13 Mar 2004 12:42:34 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040313imad@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: IntermediateResponse and extensions
Date: Sat, 13 Mar 2004 12:42: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

It occurs to me that other types of extensions than extended operations
and controls, like new types of LDAPMessage requests, could also solicit
intermediateResponses.

Instead of being intended to be solicited by controls and extended
operations, the text could say that it is intended to be solicited by
extensions, and that two ways of doing that are currently defined: With
controls and extended operations.  Also 'the extended operation' or 'the
control' which caused the intermediateResponse would be changed to 'the
extension'.

One problem:  We must say which kinds of extensions must require the
IntermediateResponse to include a responseName, but I don't know how.
Maybe it's best to let the author of the extension judge that.  Mention
that all previously RFC-defined kinds of extensions that can solicit
intermediateResponses should be considered when deciding that?
Or maybe all this makes it more trouble than it is worth to generalize
IntermediateResponse to all extensions.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar 13 07:51: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 HAA11924
	for <ldapbis-archive@lists.ietf.org>; Sat, 13 Mar 2004 07:04:28 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DBqjYv093435;
	Sat, 13 Mar 2004 12:03:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2DBeaef093027;
	Sat, 13 Mar 2004 11:40: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); Sat, 13 Mar 2004 11:40:36 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DBeWYT092997;
	Sat, 13 Mar 2004 11:40:33 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B27VE-0006LK-OF; Sat, 13 Mar 2004 12:40:28 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B27Ut-0004hr-S1; Sat, 13 Mar 2004 12:40:07 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B27Us-0005eO-00; Sat, 13 Mar 2004 12:40:06 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040313inru@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol-22 comments
In-Reply-To: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
References: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Sat, 13 Mar 2004 12:40:06 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 06:20 AM 3/9/2004, you wrote:
>>>    Additionally, unless order-dependent semantics are given in a
>>>    specification, the order of a combination of controls in the SEQUENCE
>>>    is ignored.
>>
>> This implies that controls (A, B) MUST behave identically with controls
>> (B, A).
>
> unless order-dependent semantics are provided.

Oops, sorry.  I meant to address the part after the comma in the
original sentence.  The same below:

>> I think it should be, "the effect of the ordering of a
>> combination of controls in the SEQUENCE is unspecified"?

> The problem we current face is that effect of ordering is
> generally unspecified.

Hm?  I thought you just agreed that it _is_ specified.

> I think the sentence likely could be better worded:
>         Additionally, the order of controls in a combination
>         only matters if the specification describing that
>         combination details order-specific semantics.

As far as I can tell, that says the same as the original text.
But I think the original was clearer.

>>> 4.7. Add Operation
>>>    If the entry to be added would not fall within a naming context
>>>    [Section 5 of Models] held by the server, and the server has
>>>    knowledge of where that entry is to be located, a referral to the
>>>    server(s) holding the parent entry should be returned.
>>
>> Unless the server chains the operation to another server (i.e. it sends
>> the request to the server which masters that naming context, and returns
>> the response from that server to the client).
>
> We should avoid discussing chaining (and many other aspects of
> distributed directories).   I suggest the quoted paragraph be worded
> in more general terms, like:
>         Where a server has knowledge that the operation should be
>         referred to another server (or server(s), a referral may be
>        returned to the client.
>
> Of course, this applies in general so maybe it should be said once.

Yes, move it to 4.1.10 (Referral), which currently doesn't say when
referrals may be returned, just what they mean.  No other protocol
operations in section 4 mention referrals (except the subsection about
continuation references under Search).

I just noticed an error in 4.1.10 (Referral):

>   The referral result code indicates that the contacted server does not 
>   hold the target entry of the request.

So does noSuchObject.  I suggest:

    A referral indicates that the contacted server cannot perform the
    operation, but one or more other servers can.

I tried at first to formulate it in terms of naming contexts, but that
got too clumsy.  Some operations cannot be performed if the server
doesn't hold the naming context for the entry which the operation
applies to, while others cannot be performed if it doesn't _master_ that
naming context.

>>> 4.12. Extended Operation
>>
>>>    Extended operations may be specified in other documents. The
>>>    specification of an extended operation consists of:

>    - the OBJECT IDENTIFIER assigned to the requestName,
>    - the OBJECT IDENTIFIER, if any, assigned to the responseName
>      (note the same OBJECT IDENTIFIER may be used for both)

Fine.

>>Editorial comments:

>>> 4.2. Bind Operation

>> Here is a suggestion, though it's a bit long.  Maybe the last sentence
>> should be dropped.
>>
>>     Authorization is the decision of which access an operation has to
>>     the directory.  It may be affected by many factors, often including
>>     the association's authorization identity, which again was derived
>>     from or authorized via the authentication information.
>>     Authorization may be affected by factors outside of the LDAP Bind
>>     Request, such as those provided by lower layer security services.

Note that 'authorization identity' is not defined or used elsewhere in
[Protocol].  The paragraph is fairly self-contained anyway, so I hope
that's all right.  Could add an [Authmeth] reference.

>>> 4.10. Compare Operation
>>
>>>    The resultCode field is set to compareTrue, compareFalse, or an
>>>    appropriate error. compareTrue indicates that the assertion value in
>>>    the ava field is equivalent to a value of the attribute or subtype
>>>    (according to the attribute's EQUALITY matching rule).
>>
>> Maybe remove the "()"'s?
>
> s/equivalent/equal/ here and elsewhere where we are specifically
> talking about matching using the equality matching rule.

I prefer s/is equivalent to/matches/, and s/non-equivalent/FALSE/
further down, as I suggested in the thread about no EQUALITY matching
rule.  I don't know of any other "equivalent" things that need fixing.

>>> 4.14.3.2. Abrupt Closure
>>>
>>>    Either the client or server MAY abruptly close the TLS connection by
>>>    dropping the underlying transfer protocol connection. In this
>>
>> s/transfer protocol connection/LDAP connection/; that's the phrase
>> which is used elsewhere (e.g. in 4.14.3.1).
>
> No.  The underlying transfer protocol connection is not an LDAP
> connection

Yes, it is.  That's what "LDAP connection" is defined as in Section 2.
--> New thread '"connections" (Was: protocol-22 comments)'.

I suppose it might be an idea to spell out "transfer protocol
connection" in this case; if so the phrase "LDAP connection" in nearby
sections should be replaced with the same.

>>> 5.2. Transfer Protocols

>> I suggest at least a paragraph break here.  In fact, I think the rest of
>> the paragraph belongs in a separate section '5.2.2 Connection Closure
>> Effects'.

Um... on second thought, it fits better as section 4.2 or 4.15.  This
text is about which directory operations to perform in a particular
situation.  The rest of section 5 is about transfer protocols and has
nothing to do with directory operations.

>>>    Protocol operations are tied to a connection, thus if the
>>>    connection is closed or dropped, the operation is aborted. When this
>>>    happens, any outstanding operations on the server are, when possible,
>>>    abandoned, and when not possible, completed without transmission of
>>>    the response.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar 13 10:24: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 KAA18747
	for <ldapbis-archive@lists.ietf.org>; Sat, 13 Mar 2004 10:24:26 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DFMmYV001099;
	Sat, 13 Mar 2004 15:23:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2DFJXPf001013;
	Sat, 13 Mar 2004 15:19: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); Sat, 13 Mar 2004 15:19:33 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DFJWYT001003
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 13 Mar 2004 15:19: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.10) with ESMTP id i2DFJWMs052032;
	Sat, 13 Mar 2004 15:19:32 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040313064710.04750648@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sat, 13 Mar 2004 07:19:22 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: IntermediateResponse and extensions
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040313imad@bombur.uio.no>
References: <HBF.20040313imad@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 03:42 AM 3/13/2004, Hallvard B Furuseth wrote:
>Or maybe all this makes it more trouble than it is worth to generalize
>IntermediateResponse to all extensions.

I think it unwise to generalize IntermediateResponses to
all extensions.  Someone might actually try to solicit
an IntermediateResponse with attribute option.  If some
document tries to solicit IntermediateResponses with a
new message type, we can discuss that as part of the
review of that document (note that new message types
require standard action to register). 

I think it fine that we only describe solicitation for
the two cases considered by [LDAPIMR].

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar 13 10:41: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 KAA19201
	for <ldapbis-archive@lists.ietf.org>; Sat, 13 Mar 2004 10:41:19 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DFeaYV001859;
	Sat, 13 Mar 2004 15:40:38 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2DFYWVw001587;
	Sat, 13 Mar 2004 15:34: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); Sat, 13 Mar 2004 15:34:31 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DFYSYT001556;
	Sat, 13 Mar 2004 15:34:28 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B2B9c-0002uz-R1; Sat, 13 Mar 2004 16:34:24 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B2B9a-0003z4-61; Sat, 13 Mar 2004 16:34:22 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2B9a-0006A2-00; Sat, 13 Mar 2004 16:34:22 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040313eqsd@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Authentication issues (Re: authmeth review notes [long])
In-Reply-To: <6.0.1.1.0.20040311213043.047c2260@127.0.0.1>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
	<HBF.20040309eff@bombur.uio.no>
	<6.0.1.1.0.20040311183843.047d2950@127.0.0.1>
	<HBF.20040312chs4@bombur.uio.no>
	<6.0.1.1.0.20040311213043.047c2260@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Sat, 13 Mar 2004 16:34: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 09:24 PM 3/11/2004, Hallvard B Furuseth wrote:

>>>>>> 7. Simple Authentication

>>>>> s/password value/password value, an OCTET STRING.
>>>>
>>>> Why?
>>>
>>> Because the value, in the protocol, is an OCTET STRING.
>>
>> That's why it's pointless to specify it.
>
> No.  It is reenforcing that this value, which has been misinterpreted
> as being a character string, is in fact an OCTET STRING.

OK.  A slight change, to make it look less like a definition:

s/password value/password value (an OCTET STRING)/.


>>>>>>    DSAs that map the DN sent in the bind request to a directory entry
>>>>>>    with an associated set of one or more passwords will compare the
>>>>>>    presented password to the set of passwords associated with that
>>>>>>    entry.
>>>>
>>>>> s/more passwords/more passwords, each an OCTET STRING,/
>>>>> s/compare/compare octet wise/
>>>>
>>>> No!
>>>
>>> This mechanism's shared secret has always been an OCTET STRING,
>>> to be compared octet wise.  (...)
>>
>> I can find no indication of either claim in RFC 2251.
>
> RFC 2251 has lots a holes.

If you mean 'hole' as in under-specified compared to X.500, as far as I
can tell LDAP already differs from X.500 in this respect, in that X.500
does not support DIGEST-MD5.  An LDAP/X.500 server can support it over
LDAP, but an LDAP-X.500 gateway can not.  You are also suggesting LDAP
may use a password management entity or the authPassword attribute,
while X.500 explicitly states that Simple bind must compare with the
userPassword attribute (which contains plaintext passwords).
I've only checked X.500(1993) very briefly just now, though:
  X.511: 8.1 (Bind): Only simple/password & strong/certificate auth.
  X.509: 6 (Simple auth): Bind operation sends password, server compares
  with userPassword.


Pasting back from your your previous message (I snipped it because I
partly misunderstood you):

> We cannot change that without causing loads of problems.

I'm asking for a non-change, not a change.  RFC 2251 does not contain
the text you wish to add.  So people must already be having those loads
of problems.  Then why didn't LDAPbis find it necessary to address them
years ago?  Which problems are you referring to anyway?

I'm rearranging the following and snipping some misunderstandings and
clarifications:

>> In this case you are totally prohibiting anything else than The LDAP Way
>> To Compare Passwords, which will _differ_ from what most systems do.
>> And since that way will not even allow us to compare passwords by
>> hashing the Bind password and comparing with a stored hash, we'll even
>> be required to store all the users' plaintext passwords somewhere.  That
>> is utterly unacceptable.
>
> The intent was to say things had to be compared in an octet wise
> manner, but not necessarily octet wise.

Still sounds like not hashing the bind password to me.  But just to be
sure I know what you are talking about, I expect you mean something
like: comparison where all bits (in each octet) are significant though
there may be unorganized information loss?  (Organized information loss
would allow caseIgnore comparison, or only checking the first 8 octets
of the password like old Unix crypt() does.  Don't know if you wish to
forbid both.  As you can tell, I wish to forbid neither.)

As for 'passwords, each an OCTET STRING', that looks like a clear
statement that the password itself must be represented in an octet
string, and not some hash of it.  If you want this statement just so you
can talk about octet wise comparison, and if my guess about what you
meant with comparison above is OK, you can probably drop ", each an
OCTET STRING" and instead say that when comparing, each bit in the
password received over the protocol is significant.
And then I will vote against that too:-)

>>>> - [SASLprep] may apply first.

I still don't get this:

> When textual passwords are used, the shared secret
> (on both sides) is the UTF-8 encoded output of SASLprep.  It is
> storage mechanism specific when and where this preparation is done,
> we can just say that the password management entity takes care of it.
> (Note the preparation could occur before or after storage.)

OK, but now the shared server-side secret is the plaintext password
again, never a one-way hash of the password.  Having it in a password
management entity doesn't fix that.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar 13 10:47: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 KAA19407
	for <ldapbis-archive@lists.ietf.org>; Sat, 13 Mar 2004 10:47:07 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DFkWYV002121;
	Sat, 13 Mar 2004 15:46:33 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2DFhK60001966;
	Sat, 13 Mar 2004 15:43: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); Sat, 13 Mar 2004 15:43:20 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DFhJYT001956
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 13 Mar 2004 15:43:19 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.10) with ESMTP id i2DFhJMs052168;
	Sat, 13 Mar 2004 15:43:19 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040313072802.0488f4a0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sat, 13 Mar 2004 07:43:09 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: protocol-22 comments
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040313inru@bombur.uio.no>
References: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
 <HBF.20040313inru@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 03:40 AM 3/13/2004, Hallvard B Furuseth wrote:
>> The problem we current face is that effect of ordering is
>> generally unspecified.
>
>Hm?  I thought you just agreed that it _is_ specified.

The problem we currently face in the existing TS (RFC3377) is that
the effect of ordering is unspecified.

>I just noticed an error in 4.1.10 (Referral):
>
>>   The referral result code indicates that the contacted server does not 
>>   hold the target entry of the request.
>
>So does noSuchObject.

The quoted text is problematic in that a server which does hold
a target entry can return a referral.

>I suggest:
>
>    A referral indicates that the contacted server cannot perform the
>    operation, but one or more other servers can.
>
>I tried at first to formulate it in terms of naming contexts, but that
>got too clumsy.  Some operations cannot be performed if the server
>doesn't hold the naming context for the entry which the operation
>applies to, while others cannot be performed if it doesn't _master_ that
>naming context.

Right, referrals are be returned when the server chooses to
refer the operation to another server.



From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar 13 12:25: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 MAA22605
	for <ldapbis-archive@lists.ietf.org>; Sat, 13 Mar 2004 12:25:30 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DHMmYZ006959;
	Sat, 13 Mar 2004 17:24:27 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2DHMPjU006936;
	Sat, 13 Mar 2004 17:22:25 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Sat, 13 Mar 2004 17:22:25 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2DHMNYT006926
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 13 Mar 2004 17:22: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.10) with ESMTP id i2DHMMMs053390;
	Sat, 13 Mar 2004 17:22:22 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040313080748.04897250@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sat, 13 Mar 2004 09:22:12 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Authentication issues (Re: authmeth review notes [long])
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040313eqsd@bombur.uio.no>
References: <6.0.1.1.0.20040227070642.04cd3330@127.0.0.1>
 <HBF.20040309eff@bombur.uio.no>
 <6.0.1.1.0.20040311183843.047d2950@127.0.0.1>
 <HBF.20040312chs4@bombur.uio.no>
 <6.0.1.1.0.20040311213043.047c2260@127.0.0.1>
 <HBF.20040313eqsd@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I'm going to avoid responding with nested comments as things are
getting a bit convoluted.

LDAP simple bind method is related to the X.500 simple bind method.
(DIGEST-MD5 is tangential.)

As LDAP servers are to act in accordance with X.500, understanding
how simple bind works in X.500 is key to understanding how LDAP
servers are to act.  X.500 is quite clear that simple bind shared
secret is an octet string and is to be compared in an octet wise
manner.  One can argue that X.500 is even more restrictive
(requires userPassword), but I think it also can be reasonable
be argued the X.500 allowed a limited amount wiggle room here.

I think simply saying that the LDAP simple bind shared secret
is an OCTET STRING to be compared in an octet wise manner gives
plenty of wiggle room, but then it seems I am taking a more
liberal view of what 'shared' and what 'manner' means here.

I don't think 'shared' means that server necessarily has
knowledge of the secret, but that it is able to verify
that the client has knowledge of the secret, an OCTET STRING.
And 'manner' doesn't necessarily imply that this verification
needs to be perfect, but that the server can use a reasonable
verification method.  That is, I think this allows use
of hashes because comparison of hashes is reasonable
verification that the client shares the secret.

Another way to look at this: the specification is providing
a conceptional view of the process, implementation details
may vary.  This is good way to look at the SASLprep issue.

The key SASLprep point is, when textual passwords are used,
that shared secret is the output of SASLprep.  That is what
the client puts on the wire and that's what is to be
verified.

A server is certainly free to, instead of storing this
shared secret, to store something else which can reasonable
be used for verification purposes.  And just as the server
can hash the asserted value as part of the verification
process, a server can apply other reasonable mappings to
the asserted value.

If a server stores the SHA1 hash of a UTF32 password, it
should ensure that stores SASLprep'ed password (or it
restricts passwords to those which x=SASLprep(x)).
Then it compare function can be written:
  if assertedPassword is (looks like) UTF-8;
  then return storedPassword equals
        SHA1(toUTF32(SASLprep(assertedPassword)))
  else return FALSE

This comparison can be said to act in an octet wise manner
as it reasonable verification that the client has knowledge
of the shared secret, an OCTET STRING.

Kurt


At 07:34 AM 3/13/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>>At 09:24 PM 3/11/2004, Hallvard B Furuseth wrote:
>
>>>>>>> 7. Simple Authentication
>
>>>>>> s/password value/password value, an OCTET STRING.
>>>>>
>>>>> Why?
>>>>
>>>> Because the value, in the protocol, is an OCTET STRING.
>>>
>>> That's why it's pointless to specify it.
>>
>> No.  It is reenforcing that this value, which has been misinterpreted
>> as being a character string, is in fact an OCTET STRING.
>
>OK.  A slight change, to make it look less like a definition:
>
>s/password value/password value (an OCTET STRING)/.
>
>
>>>>>>>    DSAs that map the DN sent in the bind request to a directory entry
>>>>>>>    with an associated set of one or more passwords will compare the
>>>>>>>    presented password to the set of passwords associated with that
>>>>>>>    entry.
>>>>>
>>>>>> s/more passwords/more passwords, each an OCTET STRING,/
>>>>>> s/compare/compare octet wise/
>>>>>
>>>>> No!
>>>>
>>>> This mechanism's shared secret has always been an OCTET STRING,
>>>> to be compared octet wise.  (...)
>>>
>>> I can find no indication of either claim in RFC 2251.
>>
>> RFC 2251 has lots a holes.
>
>If you mean 'hole' as in under-specified compared to X.500, as far as I
>can tell LDAP already differs from X.500 in this respect, in that X.500
>does not support DIGEST-MD5.  An LDAP/X.500 server can support it over
>LDAP, but an LDAP-X.500 gateway can not.  You are also suggesting LDAP
>may use a password management entity or the authPassword attribute,
>while X.500 explicitly states that Simple bind must compare with the
>userPassword attribute (which contains plaintext passwords).
>I've only checked X.500(1993) very briefly just now, though:
>  X.511: 8.1 (Bind): Only simple/password & strong/certificate auth.
>  X.509: 6 (Simple auth): Bind operation sends password, server compares
>  with userPassword.
>
>
>Pasting back from your your previous message (I snipped it because I
>partly misunderstood you):
>
>> We cannot change that without causing loads of problems.
>
>I'm asking for a non-change, not a change.  RFC 2251 does not contain
>the text you wish to add.  So people must already be having those loads
>of problems.  Then why didn't LDAPbis find it necessary to address them
>years ago?  Which problems are you referring to anyway?
>
>I'm rearranging the following and snipping some misunderstandings and
>clarifications:
>
>>> In this case you are totally prohibiting anything else than The LDAP Way
>>> To Compare Passwords, which will _differ_ from what most systems do.
>>> And since that way will not even allow us to compare passwords by
>>> hashing the Bind password and comparing with a stored hash, we'll even
>>> be required to store all the users' plaintext passwords somewhere.  That
>>> is utterly unacceptable.
>>
>> The intent was to say things had to be compared in an octet wise
>> manner, but not necessarily octet wise.
>
>Still sounds like not hashing the bind password to me.  But just to be
>sure I know what you are talking about, I expect you mean something
>like: comparison where all bits (in each octet) are significant though
>there may be unorganized information loss?  (Organized information loss
>would allow caseIgnore comparison, or only checking the first 8 octets
>of the password like old Unix crypt() does.  Don't know if you wish to
>forbid both.  As you can tell, I wish to forbid neither.)
>
>As for 'passwords, each an OCTET STRING', that looks like a clear
>statement that the password itself must be represented in an octet
>string, and not some hash of it.  If you want this statement just so you
>can talk about octet wise comparison, and if my guess about what you
>meant with comparison above is OK, you can probably drop ", each an
>OCTET STRING" and instead say that when comparing, each bit in the
>password received over the protocol is significant.
>And then I will vote against that too:-)
>
>>>>> - [SASLprep] may apply first.
>
>I still don't get this:
>
>> When textual passwords are used, the shared secret
>> (on both sides) is the UTF-8 encoded output of SASLprep.  It is
>> storage mechanism specific when and where this preparation is done,
>> we can just say that the password management entity takes care of it.
>> (Note the preparation could occur before or after storage.)
>
>OK, but now the shared server-side secret is the plaintext password
>again, never a one-way hash of the password.  Having it in a password
>management entity doesn't fix that.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Sun Mar 14 15:50: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 PAA07714
	for <ldapbis-archive@lists.ietf.org>; Sun, 14 Mar 2004 15:50:10 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2EKlHYV079560;
	Sun, 14 Mar 2004 20:48:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2EKikWc079500;
	Sun, 14 Mar 2004 20:44: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); Sun, 14 Mar 2004 20:44:46 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2EKiaYT079482
	for <ietf-ldapbis@openldap.org>; Sun, 14 Mar 2004 20:44:40 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.20)
	id 1B2cTI-0006W2-NF
	for ietf-ldapbis@openldap.org; Sun, 14 Mar 2004 21:44:32 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B2cTG-0006Zo-8o; Sun, 14 Mar 2004 21:44:30 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2cTF-0002Rw-00; Sun, 14 Mar 2004 21:44:29 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040314m08c@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: authmeth-10 comments
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Date: Sun, 14 Mar 2004 21:44:29 +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=0, required 12)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i2EKifYT079491
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

I have included the few remaining outstanding Authmeth comments from my
previous messages.


What is an active-intermediary attack (sections 3.1.6, 10, 14.1)?  It is
not defined in RFC 2828 (Internet Security Glossary).  From the context
it seems to be a man-in-the-middle attack (sections 3.1.5, 13, 13.1, 14)
- if so, please use that term instead.  Otherwise, please define it or
add a reference to something which defines it.

> 1. Introduction 

>    Threats (1), (4), (5) and (6) are due to hostile clients. Threats 
>    (2), (3) and (7) are due to hostile agents on the path between 
>    client and server or hostile agents posing as a server, e.g. IP 
>    spoofing. 

Kurt has suggested to also distinguish between between active and
passive attacks.  ('Re: authmeth-09 comments', 06 Jan 2004.)

>    LDAP offers the following security mechanisms: 
> (...)

After this list, I suggest to add:

  LDAP may also be protected by means outside the LDAP protocol,
  e.g. with IP-level security [SecArch].

> 3.1.1. Start TLS Request

>    If the client did not establish a TLS connection before sending some 
>    other request, and the server requires the client to establish a TLS 
>    connection before performing that request, the server MUST reject
>    that request by sending a resultCode of confidentialityRequired or
>    strongAuthRequired.

Not strongAuthRequired.  That requests authentication (Bind), not
StartTLS.

Though I'm not sure how strongAuthRequired is used.
May the server send strongAuthRequired in response to an unprotected
Simple Bind, indicating it will accept e.g. a DIGEST-MD5 Bind?
That's still not what the above paragraph is saying, though.

> 3.2.1. TLS Connection Establishment Effects
>
>    The decision to keep or invalidate the established authentication
>    and authorization identities in place after

I prefer:

     The decision to keep or invalidate (see section 12) the established
     association after

Since an 'invalidate association' is defined, but the effect of
invalidated identities is not.  I.e. could a search still succeed if it
was not affected by access controls that checked the client's
authorization?

Come to think of it, someone might want to implement the equivalent
of 'invalidated associations' which worked just that way, but if we
are to address that, it should be addressed in section 12.

Also, do the same change in 3.2.3 (TLS Connection Closure Effects),
except the reference to section 12 need not be repeated.

>    TLS closure is a matter
>    of local server policy.

s/closure/connection establishment/.

> 3.2.2. Client Assertion of Authorization Identity 
>
>    After successfully establishing a TLS session, a client may request 
>    that its credentials exchanged during the TLS establishment be 
>    utilized to authenticate the LDAP association and thus determine the 
>    client's authorization status.

This statement (about SASL/EXTERNAL) is false.  [SASL] section 7 says:

   the client can make no assumptions as to what
   information the server can use in determining client authorization.
   E.g., just because TLS was established, doesn't mean that the server
   will use the information provided by TLS.

The same mistake occurs in Section 9 (SASL EXTERNAL Mechanism).

Also, 'authenticate the LDAP association' sounds strange.  An
association is already authenticated (or is anonymous or invalidated).

Finally, if you preserve mention of TLS credentials, I suggest
s/(client) credentials/(client) certificate/, which I think it what this
statement is talking about and is more informative.

>    LDAP server implementations SHOULD support this 
>    authentication method. 

This statement belongs in Section 9 (SASL EXTERNAL Mechanism),
or in Kurt's new section "2. Implementation Requirements"
from message "authmeth review notes [long]" of 27 Feb 2004:
<http://www.openldap.org/lists/ietf-ldapbis/200402/msg00083.html>.

> 5. Anonymous LDAP Association on Unbound Connections
>
>    Prior to the successful completion of a Bind operation and during
>    any subsequent authentication exchange, the session has an anonymous
>    LDAP association.

Also after a failed Bind operation.

> 6. Anonymous Authentication

>    An LDAP client may explicitly establish an anonymous association by
>    sending a Bind Request with the simple authentication choice
>    containing a value--construed as the password--of zero length.

s/containing.../and an zero-length password/.

The original text makes little sense.  Either
- a zero length value means it is _not_ a password,
- or the Simple auth value _is_ a password (not just construed as one)
  but a zero length password gives the operation a special meaning.
As you see I prefer the latter, since it is common to talk of empty
passwords for anonymous authentication.  This very paragraph even does
that a bit later.

> 7. Simple Authentication

>    LDAP implementations SHOULD NOT support authentication with the
>    "simple" authentication choice unless the data on the connection is
>    protected using TLS or other data confidentiality and data integrity
>    protection.

Replace 'the "simple" authentication choice' with
'cleartext passwords, such as Simple Authentication,'.

> 8. SASL Authentication Profile 

I think this section should be renamed 'SASL Protocol Profile', so
readers of [SASL] can _find_ the 'protocol profile' by searching the
authmeth document for that phrase.

According to [SASL]-04, the LDAP protocol profile MUST specify that
LDAP supports "multiple authentications".

> 9. SASL EXTERNAL Mechanism

>    A client can use the EXTERNAL SASL [SASL] mechanism to request the 
>    LDAP server to make use of security credentials exchanged by a lower 
>    security layer

The text should specify what the credentials are used _for_:
s/make use of/fetch (or derive?) the authentication identity from/.

I also suggest s/use/Bind with/, as a brief reminder that EXTERNAL is
used via the Bind operation.

>    A client may either implicitly request that its LDAP authorization
>    identity be derived from a lower layer

s/from a lower layer/from the authentication identity/.
It is only the authentication identity which was derived from a lower
layer.  (The same mistake appears in Section A.3; commented later.)

> 9.1. Implicit Assertion
> 9.2. Explicit Assertion

These do not apply just to SASL/EXTERNAL, but to Bind in general (though
not all Bind methods/mechanisms support client-specified authentication
ID and/or explicit assertion).  Replace references to the identity
fetched from TLS with the authentication identity.

Well, that's assuming "implicit/explicit assertion" general terms, and
not just SASL/EXTERNAL terms or SASL terms.  I don't know; I never heard
them before.  Where do the come from?
But most of the info in these sections is general to Bind in any case.

> 9.4 Authorization Identity Syntax

>    The dnAuthzId choice allows clients to assert authorization
>    identities in the form of a distinguished name to be matched in
>    accordance with the distinguishedNameMatch matching rule [Syntaxes].

Maybe s/allows clients to/is used to/ - that is, it is _only_ used for
this purpose, not for other forms of authorization identities?

>    The value contained
>    within a uAuthzId MUST be prepared using [SASLPrep] before being
>    compared octet-wise. The format of userid is defined as only a
>    sequence of [UTF-8] encoded [Unicode] characters, and further
>    interpretation is subject to prior agreement between the client and
>    server.

This is inconsistent.  If userid can be 'interpreted', then that
interpretation can e.g. convert it to lowercase before it is compared,
so it isn't necessarily compared octet-wise as stated at first.
Or is something else meant by 'further interpretation'?

Also, 'compared octet-wise' with what?  I can think of two meanings:

- during bind, compare with the list of authorization IDs which
  the authentication ID may authorize,

- during non-bind, compare with the authorization IDs listed in the
  access controls which apply to that operation.

> 12. Invalidated Associations

>    The association remains
>    invalidated until the next successful bind request.

s/successful//.  A failed bind establishes a new association too.

Also, I suggest to add:

     Note that the server may in any case choose to return
     strongAuthRequired at nearly any time.  The above behavior
     is spelled out because it often makes sense and is simple for
     users [or "simple for clients"?] to understand.

> 13. TLS Ciphersuites

>         Servers SHOULD NOT support
>         weaker ciphersuites unless other data integrity and
>         confidentiality protection (such as a SASL security layer) is
>         in place

I don't know if this is worth worrying about, but: What should the
implementation do if one establishes a SASL security layer, then starts
TLS with such a 'weaker [TLS] ciphersuite' (e.g. a null cipher), and
then Binds to remove the SASL layer?  Should the Bind fail, leaving the
SASL layer intact?  Or should the server perform graceful TLS closure?
That would be a bit backwards...

Also, add '.' at the end of the paragraph.

> 14. Security Considerations

This paragraph:

>    The use of cleartext passwords and other unprotected authentication 
>    credentials is strongly discouraged over open networks when the 
>    underlying transport service cannot guarantee confidentiality. 

...and this one in Section 14.1 (Start TLS Security Considerations):

>    Client and server implementors SHOULD take measures to ensure proper 
>    protection of credentials and other confidential data where such 
>    measures are not otherwise provided by the TLS implementation. 

...can be merged.

>    Operational experience shows that clients can (and frequently do)
>    misuse unauthenticated bind (see section 5.1).  (..) Clients that
>    use the results from a simple bind operation to make authorization
>    decisions should actively detect unauthenticated bind requests (via
>    the empty password value) and react appropriately.

Suggest to replace the last two lines with something more specific:

     decisions should ensure that the supplied password is not empty.

> 14.1. Start TLS Security Considerations

>    The goals of using the TLS protocol with LDAP are to ensure
>    connection confidentiality and integrity, and to optionally provide
>    for authentication. [TLS] expressly provides these capabilities.

...the latter in combination with SASL/EXTERNAL, but only if the EXTERNAL
implementation chooses to make use of the TLS credentials.  It could
make use of some other security service.

This paragraph doesn't look like a security consideration to me, though.

>    The use of TLS does not provide or ensure
>    for confidentiality and/or non-repudiation of the data housed by an
>    LDAP-based directory server. Nor does it secure the data from
>    inspection by the server administrators.

In message 'Re: authmeth: missing protection' at 16 Feb 2004,
<http://www.OpenLDAP.org/lists/ietf-ldapbis/200402/msg00040.html>,
you suggested that this refers to accessing the data through other means
than the protocol.  If so, that is not clear from the text.  I suggest
this paragraph is replaced with:

     LDAP itself provides no security or protection from accessing or
     updating the directory by other means than through the LDAP
     protocol, e.g. from inspection by database administrators.

Now the paragraph should be moved to section 14, since the modified text
is no longer about TLS.

>    Client and server implementors SHOULD take measures to ensure proper
>    protection of credentials and other confidential data where such
>    measures are not otherwise provided by the TLS implementation.

TLS or other protection mechanism.  So move it out of the TLS security
consideration to the general consideration.

>    Server implementors SHOULD allow for server administrators to elect
>    whether and when connection confidentiality and/or integrity is
>    required, as well as elect whether and when client authentication
>    via TLS is required.

By client authentication via TLS, do you mean to demand a client
certificate which the server can certify, or to demand SASL/EXTERNAL
afterwards?

>    Additional security considerations relating to the EXTERNAL
>    mechanism to negotiate TLS can be found in [SASL] and [TLS].

Since this consideration exists, maybe there should be a similar
consideration in section 14 for [SASL], [DIGEST-MD5], [SASLPrep],
[StringPrep], and [UTF-8].

> Appendix A. LDAP Association State Transition Tables

Wow, this table has shrunk a lot more than I dared hope for.
Even so, now that it has done so, it can shrink even more:

> A.1. LDAP Association States

>    S3 Authenticated SASL EXTERNAL, implicit authorization ID
>           Authentication ID = J 
>           Authorization ID = Y 
>    S4 Authenticated SASL EXTERNAL, explicit authorization ID  
>           Authentication ID = J 
>           Authorization ID = Z 

S3 and S4 can be merged.  In the context of associatin states, the
difference between 'Y was derived from J' and 'the bind specified Y,
which was allowed by J' does not seem interesting.  In both cases, the
interesting point is that we end up with an authentication ID and an
authorization ID, both of which resulted from the last Bind.

Also, now that the TLS identities are gone from the table, I do not see
what is so interesting about SASL/EXTERNAL.  It would be more
interesting to distinguish between implicit and explicit assertion
regardless of bind method: Merge states S2 and S3 as well, and merge
actions A4 and A5.  Decision D1 ("Are lower-layer credentials
available?") would then be deleted; SASL/EXTERNAL with D1="no" would
just be a case of a failed bind.

For that matter, D2="no" could also just be classified as a failed bind
and deleted, depending on what you want to show with this table.

> A.2. Actions that Affect LDAP Association State

>    A2  Client successfully performs anonymous simple bind
>    A3  Client successfully performs unauthenticated simple bind

I would merge these, as well as mechanisms like SASL/ANONYMOUS:

     A2  Client successfully binds to produce an anonymous
         association, e.g. with anonymous or unauthenticated
         Simple bind, or with the ANONYMOUS SASL mechanism.

>    A7  Client abandons a bind operation, and server processes the
>         abandon
>    A8  Client abandons a bind operation, and server does not process
>         the abandon

Bind operations can no longer be abandoned.  See [Protocol] 4.11.

> A.3. Decisions Used in Making LDAP Association State Changes

>    D2 Can lower-layer credentials for Auth ID "K" be mapped to
>        asserted AuthZID "L"?

This decision is based on K itself, not on its credentials.
Also the names K and L do not match the state table:

     D2 Can Authentication ID "J" be mapped to the asserted
        Authorization ID "Z"?

> A.4. LDAP Association State Transition Table

>      Any   A10         no    Section 4.2.1
>                       change
>      Any   A11         S1    Section 4.2.3

A10 and A11 should be "either no change or S0", where state S0 is the
state for an invalidated association.

Or one could say that the authorization and authentication IDs are
actually unchanged, but they are unavailable when the association is
invalidated.

------------------------------------------------------------------------

Editorial comments:

References to [Protocol] section 4.13.* should be 4.14.* (StartTLS).

> 3.1.1. Start TLS Request

>    If the client did not establish a TLS connection before sending some
>    other request, and the server requires the client to establish a TLS

s/other//.  We are not really talking about 'other than Start TLS' here,
so there is no operation to be 'other' than.  Sorry, my fault, from an
incomplete change I suggested previously.

> 3.1.4. Discovery of Resultant Security Level

>    Ascertaining the TLS connection's
>    security level is implementation dependent

s/Ascertaining/How to ascertain/.

I suggest to strike the following; it is obvious from the above:

>    and accomplished by
>    communicating with one's respective local TLS implementation.

>    If the client or server decides that the level of authentication or 
>    security is not high enough for it to continue, it SHOULD gracefully 
>    close the TLS connection immediately after the TLS negotiation has 
>    completed (see [Protocol] section 4.13.3.1 and section 3.2.3 below). 

In LDAP context, "authentication" is the Bind operation.  Please use
another term, or clarify that this sentence refers to what [TLS] means
with "authentication".

>    If the client decides to continue, it may gracefully close the TLS 
>    connection and attempt to Start TLS again, it may send an unbind 
>    request, or it may send any other LDAP request. 

This sentence seems redundant to me.  But if you keep it, reword to:

    "If the client decides to continue after TLS closure, it may
    attempt to Start TLS (...)"

since it might have been the server which initiated TLS closure, so it
is wrong to talk about the _client_ doing graceful TLS closure.

> 3.1.5. Server Identity Check

>      - The client MUST use the server provided by the user (or other

s/server/server name/, I think.

>        trusted entity) as the value to compare against the server name
>        as expressed in the server's certificate.

> 6. Anonymous Authentication
>
>    Directory operations that modify entries or access protected 
>    attributes or entries generally require client authentication. 
>    Clients that do not intend to perform any of these operations
>    typically use anonymous authentication.

I agree with Kurt that this should be deleted ('authmeth review notes
[long]', 27 Feb 2004), buf if it is kept:
s/anonymous authentication/anonymous associations/.  The client might
not have authenticated (anonymously).

> 6. Anonymous Authentication

>    clients may 
>    need to actively detect situations where they would

unintentionally

>    make an 
>    unauthenticated bind request. 

> 7. Simple Authentication

>    An LDAP client may establish an LDAP association by sending a Bind
>    Request with a name value consisting of an

...non-empty...   (and s/an/a/ above)

>    LDAP distinguished name
>    [LDAPDN] and specifying the simple authentication choice with a

...non-empty...

>    password value.

>    The simple authentication choice is not suitable for authentication
>    in environments where there is no network or transport layer
>    confidentiality.

s/The simple authentication choice/Simple Authentication/.  'The simple
authentication choice' includes anonymous auth, which is OK without TLS.
'Simple Authentication' does not.

> 8.2. SASL Authentication Initiation and Protocol Exchange

>    To the encapsulating protocol, these challenges and responses are

s/encapsulating protocol/LDAP protocol/ or s/protocol/LDAP protocol/.
I think the former is actually clearer, because it is simpler.

> 8.3. Octet Where Negotiated Security Mechanisms Take Effect

>    Once a SASL security layer providing integrity or confidentiality
>    services takes effect, the layer remains in effect until a new layer
>    is installed (i.e. at the first octet following the final
>    BindResponse of the bind operation that caused the new layer to take
>    effect).

Suggest to add:

     Thus, an established SASL security layer is not affected by a
     failed or non-SASL Bind.

> 8.4. Determination of Supported SASL Mechanisms

>    reading the 'supportedSASLMechanisms ' attribute from the root DSE
                                        ^^^
                                    Remove a space.

> 9. SASL EXTERNAL Mechanism

Suggest s/Mechanism/Authentication Mechanism/ here and in the name
of section 10 (SASL DIGEST-MD5 Mechanism).

> 9.4 Authorization Identity Syntax

I suggest "SASL" in front of the section name.

>    In order to support additional specific authorization identity
>    forms, future updates to this specification may add new choices
>    supporting other forms may be added to the authzId production.

s/may be added to/of the/.

> 10. SASL DIGEST-MD5 Mechanism

>    LDAP servers that implement any authentication method or mechanism
>    other than simple anonymous bind MUST implement the SASL
>    DIGEST-MD5 mechanism [DIGEST-MD5].  This provides client
>    authentication with protection against passive eavesdropping attacks
>    but does not provide protection against active intermediary attacks.
>    DIGEST-MD5 also provides data integrity and data confidentiality
>    capabilities.

There is one blank line too much here.

> 11. General Requirements for Password-based Authentication

The section name should be changed to cover non-bind operations, unless
references to non-bind operations are removed from this section as
discussed in the 'authmeth: passwords in the clear' thread.

>    To mitigate the security risks associated with the use of passwords,
>    a server implementation

which supports other authentication methods than simple anonymous bind

>    MUST implement a configuration that at the
>    time of authentication or password modification, requires:

> 12. Invalidated Associations

>    The server may, at any time, invalidate the association, e.g. if the
>    established security association between the client and server has
>    unexpectedly failed or been compromised.

Too many commas.  Remove the first two.

> 13. TLS Ciphersuites

>         A client or server that supports TLS

s/A client or server/An implementation/?

> 14.1. Start TLS Security Considerations

>    Additionally, an active-
>    intermediary attacker can remove the Start TLS extended operation
>    from the supported attribute of the root DSE.

s/supported/supportedExtension/.

>    Therefore, both
>    parties SHOULD independently ascertain and consent to the security
>    level achieved once TLS is established

s/Therefore//.  This is independent from supportedExtension, which just
advices about whether or not StartTLS is available at all, not about the
resulting security level if StartTLS _is_ used.

> A.2. Actions that Affect LDAP Association State

>    A5  Client Binds SASL EXTERNAL with implicit assertion of
>         authorization ID (section 3.3.6.1)]. The current
>         authentication ID maps to authorization ID = Y.
>    A6  Client Binds SASL EXTERNAL with explicit assertion of
>         authorization ID = Z (section 3.3.6.2)]

Wrong section numbers.

> A.4. LDAP Association State Transition Table

>    Current            Next
>     State  Action    State  Comment
>    ------- -------   -----  ---------------------------------------

That first column with only "Any" values is cute, but not really
necessary anymore, and it does reduce the space for the rest of the
columns.

The [authmeth] section numbers in this table are wrong.

> G.8. Changes for draft-ldap-bis-authmeth-09

>      - Used non-quoted names for all SAL mechanisms

s/SAL/SASL/.

>      - Reworded sentence beginning, "It is also desireable to allow 
>        authentication methods to carry identities based on existingù

s/ù//.  8-bit character.

> H.38 Effect of Start TLS on authentication state 

>    on editorÆs perception of WG consensus gaged by conversations at 

s/Æ/'/.  8-bit character.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Sun Mar 14 16:35: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 QAA09615
	for <ldapbis-archive@lists.ietf.org>; Sun, 14 Mar 2004 16:35:47 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ELYiYV081428;
	Sun, 14 Mar 2004 21:34:47 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2ELWt9v081397;
	Sun, 14 Mar 2004 21:32: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); Sun, 14 Mar 2004 21:32:55 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ELWqYT081359
	for <ietf-ldapbis@openldap.org>; Sun, 14 Mar 2004 21:32:53 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.20)
	id 1B2dE1-0004vN-MY
	for ietf-ldapbis@openldap.org; Sun, 14 Mar 2004 22:32:49 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B2dE0-0003F9-9n; Sun, 14 Mar 2004 22:32:48 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2dDz-0002Xu-00; Sun, 14 Mar 2004 22:32:47 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040314l75t@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: authmeth: password issues
Date: Sun, 14 Mar 2004 22:32:47 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I'd like to see a section like the following in Authmeth, to help people
decide which authentication methods to support and what password
security to expect.  Note that some of my terminology may be bad.

   12. Password issues

   Simple authentication (Simple Bind with DN and password) reveals the
   user's password to the server.  The SASL DIGEST-MD5 mechanism does
   not.

   Neither Simple authentication nor DIGEST-MD5 require the server to
   know the users' passwords; both allow the server (or a password
   management entity which the server makes use of) to only store
   one-way hashes of the passwords.  Whether to actually do so is an
   implementation and deployment decision.

   However, an attacker (or the server administrator) who possesses a
   server's DIGEST-MD5 password hashes can authenticate to that server
   even though he does not know the plaintext passwords.

   The SASL EXTERNAL mechanism does not involve passwords, though the
   external method it uses to establish credentials may do so.  If it
   uses TLS certificates, these neither reveal the user's secret to the
   server nor require the server to know the user's secret.

   Anonymous and unauthenticated Simple Binds do not involve passwords
   or other secrets.

The part about compromised DIGEST-MD5 password hashes is from message
<http://www.openldap.org/lists/ietf-ldapbis/200309/msg00077.html>.
In that message, Alexey also said:

   I believe it is possible to store a salted version of the hash,
   assuming the server always generates nonce-value that uses the salt
   as the prefix. But of course this salted hash will be different from
   traditional UNIX salted hashes.

However, looking at the [DIGEST-MD5] hash function, I do not see how
that is possible, since it includes the MD5 hash [RFC1321] of, roughly,
"username:realm:password".  If it is not possible, then the paragraph
above about compromised DIGEST-MD5 password hashes should end with:

   The server administrator will need the plaintext of all the server's
   DIGEST-MD5 passwords in order to generate a new set of secret
   DIGEST-MD5 password hashes, or all users with passwords unknown to
   the administrator will need new passwords so one can generate new
   hashes.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Mar 14 17:24: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 RAA11148
	for <ldapbis-archive@lists.ietf.org>; Sun, 14 Mar 2004 17:24:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2EMMmYV083132;
	Sun, 14 Mar 2004 22:22:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2EMJJ6C082938;
	Sun, 14 Mar 2004 22:19: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); Sun, 14 Mar 2004 22:19:19 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2EMJHYT082928
	for <ietf-ldapbis@openldap.org>; Sun, 14 Mar 2004 22:19:18 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.20)
	id 1B2dwv-0002Sk-WD
	for ietf-ldapbis@openldap.org; Sun, 14 Mar 2004 23:19:13 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1B2dwr-0000FE-Rc; Sun, 14 Mar 2004 23:19:09 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2dwr-0002dj-00; Sun, 14 Mar 2004 23:19:09 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040314kf96@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: models-10 comments
Date: Sun, 14 Mar 2004 23:19: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

models-10 says:

> 1.4. Common ABNF Productions

>       ; Any UTF-8 [UTF-8] encoded UCS [ISO10646] character

There is no [ISO10646] in the References section.  Perhaps this should
be [Unicode], according to Kurt's suggestion in message 'ISO 10646 v
Unicode' of 07 Jan 2004.  OTOH, UTF-8 is defined in terms of Iso10646,
not Unicode, so [Unicode] does seem strange here.

[UTF-8] should be [RFC3639].

BTW, There are 10646's in [Filters] and [Protocol] too.

> 2.5.1. Attribute Types

>     - a subtype's syntax must be the same, or a refine of, its
>       supertype's syntax, and

What is a refine of a syntax?

> 4.1. Schema Definitions

>       xstring = "X" HYPHEN 1*( UALPHA / HYPHEN / USCORE )

This is a strange change from Models-09, which said

        xstring = X   HYPHEN 1*( ALPHA  / HYPHEN / USCORE )

The X was uppercase only, now it can be either case.
The rest could be either case, now it is uppercase only.
Why such a swap?

------------------------------------------------------------------------

Editorial comments:

> 1.4. Common ABNF Productions

>   Implementations SHOULD treat short names (descriptors) used in an
>   unambiguous manner (as discussed above) as unrecognized.

s/unambiguous/ambiguous/:-)

> 2.3. Structure of an Entry

>   For example, a 'givenName' attribute can have can have more than one

s/can have can have/can have/.

> 4.1.2. Attribute Types

s/SUBSTRING/SUBSTR/ in this section.

> 4.1.3. Matching Rules

>   used in comparison of distinguished names

Add '.' at the end.  Unless some more of the sentence is missing too.

> 9. IANA Considerations

>         structuralObjectClass              A 2.5.21.5

This has OID 2.5.21.9 in section 3.4.5 (structuralObjectClass).
Which is right?

Also, there are too many spaces in front of the "A 2.5.21.5".

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Sun Mar 14 18:30:08 2004
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA13891
	for <ldapbis-archive@lists.ietf.org>; Sun, 14 Mar 2004 18:30:08 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ENSrYV086051;
	Sun, 14 Mar 2004 23:29:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2ENQ4JF085932;
	Sun, 14 Mar 2004 23:26: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, 14 Mar 2004 23:26:04 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2ENQ3YT085922
	for <ietf-ldapbis@OpenLDAP.org>; Sun, 14 Mar 2004 23:26: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.10) with ESMTP id i2ENQ3Ms074010;
	Sun, 14 Mar 2004 23:26:03 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040314145751.047af4b0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Sun, 14 Mar 2004 15:25:50 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: models-10 comments
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040314kf96@bombur.uio.no>
References: <HBF.20040314kf96@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 02:19 PM 3/14/2004, Hallvard B Furuseth wrote:
>models-10 says:
>
>> 1.4. Common ABNF Productions
>>       ; Any UTF-8 [UTF-8] encoded UCS [ISO10646] character

Are you sure you are looking at -10?  

>There is no [ISO10646] in the References section.  Perhaps this should
>be [Unicode], according to Kurt's suggestion in message 'ISO 10646 v
>Unicode' of 07 Jan 2004.

My copy says Unicode here.

>OTOH, UTF-8 is defined in terms of Iso10646, not Unicode, so [Unicode]
>does seem strange here.

[ISO10646] vs [UNICODE] issues are discussed in [RFC3629].

>[UTF-8] should be [RFC3639].

revision -10 does reference [RFC3629].


>BTW, There are 10646's in [Filters] and [Protocol] too.
>
>> 2.5.1. Attribute Types
>
>>     - a subtype's syntax must be the same, or a refine of, its
>>       supertype's syntax, and
>
>What is a refine of a syntax?

s/refine/refinement/ here.

(I don't think we necessarily need to detail precisely what a
"refinement" of a syntax is.)

>> 4.1. Schema Definitions
>
>>       xstring = "X" HYPHEN 1*( UALPHA / HYPHEN / USCORE )
>
>This is a strange change from Models-09, which said
>
>        xstring = X   HYPHEN 1*( ALPHA  / HYPHEN / USCORE )
>
>The X was uppercase only, now it can be either case.

Yes, to be consistent with RFC 2252 (and our discussion regarding
case insensitive).

>The rest could be either case, now it is uppercase only.
>Why such a swap?

Now it can be either case, "X" is case insensitive.

>Editorial comments:

Thanks, Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 04:25: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 EAA16693
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 04:25:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2F9GsYj026124;
	Mon, 15 Mar 2004 09:24:27 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2F9GfbQ026099;
	Mon, 15 Mar 2004 09:16:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 15 Mar 2004 09:16:41 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2F9GbYT026067;
	Mon, 15 Mar 2004 09:16:38 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B2oD3-0004wj-LX; Mon, 15 Mar 2004 10:16:33 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B2o1T-0005hI-39; Mon, 15 Mar 2004 10:04:35 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2o1R-0004Ll-00; Mon, 15 Mar 2004 10:04:33 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040315mtu@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: models-10 comments
In-Reply-To: <6.0.1.1.0.20040314145751.047af4b0@127.0.0.1>
References: <HBF.20040314kf96@bombur.uio.no>
	<6.0.1.1.0.20040314145751.047af4b0@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 15 Mar 2004 10:04: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> >> 1.4. Common ABNF Productions
> >>       ; Any UTF-8 [UTF-8] encoded UCS [ISO10646] character
> 
> Are you sure you are looking at -10?  

Yes, and my copy matches
<http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-models-10.txt>.
I guess you fixed it after submitting the draft.

>>> 2.5.1. Attribute Types
>> 
>>>     - a subtype's syntax must be the same, or a refine of, its
>>>       supertype's syntax, and
>> 
>> What is a refine of a syntax?
> 
> s/refine/refinement/ here.
> 
> (I don't think we necessarily need to detail precisely what a
> "refinement" of a syntax is.)

Well... not knowing what it means, my guesses are:
- The same syntax, but further restricted by e.g. size limitations,
- 'Refining' e.g. a DirectoryString to PrintableString, which is
  one of the ASN.1 CHOICEs for DirectoryString.
- Allowing either of the above.
If you feel it's OK to leave it at that, that's fine with me.
If not, but people should look up X.500 for 'syntax refinements',
perhaps you should add an X.500 reference.

>>> 4.1. Schema Definitions
>> 
>>>       xstring = "X" HYPHEN 1*( UALPHA / HYPHEN / USCORE )
>> 
>> This is a strange change from Models-09, which said
>> 
>>        xstring = X   HYPHEN 1*( ALPHA  / HYPHEN / USCORE )
>> 
>> The X was uppercase only, now it can be either case.
> 
> Yes, to be consistent with RFC 2252 (and our discussion regarding
> case insensitive).
>
>> The rest could be either case, now it is uppercase only.
>> Why such a swap?
> 
> Now it can be either case, "X" is case insensitive.

If "it" = "the rest":  No, that's now UALPHA.
Which is not consistent with the other tokens in these definition
formats; they are case insensitive.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 13:20:08 2004
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA14506
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 13:20:07 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FI8AYj081943;
	Mon, 15 Mar 2004 18:18:50 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FI0WII080367;
	Mon, 15 Mar 2004 18:00: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, 15 Mar 2004 18:00:32 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FI0SYT080354
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Mar 2004 18:00:28 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.10) with ESMTP id i2FI0RMs087544;
	Mon, 15 Mar 2004 18:00:28 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040315095158.048e5bd8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 15 Mar 2004 10:00:14 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: models-10 comments
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040315mtu@bombur.uio.no>
References: <HBF.20040314kf96@bombur.uio.no>
 <6.0.1.1.0.20040314145751.047af4b0@127.0.0.1>
 <HBF.20040315mtu@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:04 AM 3/15/2004, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> >> 1.4. Common ABNF Productions
>> >>       ; Any UTF-8 [UTF-8] encoded UCS [ISO10646] character
>I guess you fixed it after submitting the draft.
yes. -11 should reflect the change.

>>>> 2.5.1. Attribute Types
>>> 
>>>>     - a subtype's syntax must be the same, or a refine of, its
>>>>       supertype's syntax, and
>>> 
>>> What is a refine of a syntax?
>> 
>> s/refine/refinement/ here.
>> 
>> (I don't think we necessarily need to detail precisely what a
>> "refinement" of a syntax is.)
>
>Well... not knowing what it means, my guesses are:
>- The same syntax, but further restricted by e.g. size limitations,
>- 'Refining' e.g. a DirectoryString to PrintableString, which is
>  one of the ASN.1 CHOICEs for DirectoryString.
>- Allowing either of the above.
>If you feel it's OK to leave it at that, that's fine with me.
>If not, but people should look up X.500 for 'syntax refinements',
>perhaps you should add an X.500 reference.

I fine with leaving it as is (no explicit reference).  I think
it follows that the syntax of the supertype should be more
generic than that of the subtype.  I rather no split hairs over
precisely what "more generic" or "refinement" means.


>>>> 4.1. Schema Definitions
>>> 
>>>>       xstring = "X" HYPHEN 1*( UALPHA / HYPHEN / USCORE )
>>> 
>>> This is a strange change from Models-09, which said
>>> 
>>>        xstring = X   HYPHEN 1*( ALPHA  / HYPHEN / USCORE )
>>> 
>>> The X was uppercase only, now it can be either case.
>> 
>> Yes, to be consistent with RFC 2252 (and our discussion regarding
>> case insensitive).
>>
>>> The rest could be either case, now it is uppercase only.
>>> Why such a swap?
>> 
>> Now it can be either case, "X" is case insensitive.
>
>If "it" = "the rest":  No, that's now UALPHA.

That's an error.  It should be ALPHA.  These tokens
are case insensitive (per RFC 2252).

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 13:28: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 NAA14834
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 13:28:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FIRVYT084376;
	Mon, 15 Mar 2004 18:27:31 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FICLfq082479;
	Mon, 15 Mar 2004 18:12: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); Mon, 15 Mar 2004 18:12:21 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FICJYT082464
	for <ietf-ldapbis@openldap.org>; Mon, 15 Mar 2004 18:12:20 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1B2wZT-0000c8-Vt
	for ietf-ldapbis@openldap.org; Mon, 15 Mar 2004 19:12:15 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1B2wZO-0000MG-B9; Mon, 15 Mar 2004 19:12:10 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2wZO-0005o4-00; Mon, 15 Mar 2004 19:12:10 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040315qh96@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Distinguished values
Date: Mon, 15 Mar 2004 19:12:10 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Some nitpicks which I don't know if we should bother to address:

[Models] 2.2.1 Relative Distinguished Names & 2.5.4 Attribute Values
indicate that the attribute values in an RDN must be identical to the
corresponding attribute values in the entry, not merely equivalent to
them.  I expect that is wrong.

[Protocol] 4.9 Modify DN Operation:

If an entry containing the attribute cn:FOO is renamed to cn=foo,
MAY/SHOULD/SHOULD NOT the server replace cn:FOO with cn:foo in the
entry?  The current text (describing the newrdn parameter) does
not permit this.

If an entry is renamed to cn=bar, may the server add the attribute
cn:BAR?

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 14:45: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 OAA18980
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 14:45:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FJhxYV088688;
	Mon, 15 Mar 2004 19:44:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FJaVNj088396;
	Mon, 15 Mar 2004 19:36: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); Mon, 15 Mar 2004 19:36:31 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FJaKYT088323;
	Mon, 15 Mar 2004 19:36:20 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.20)
	id 1B2xsm-0003C1-Im; Mon, 15 Mar 2004 20:36:16 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1B2xse-0004L9-Or; Mon, 15 Mar 2004 20:36:08 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2xse-000602-00; Mon, 15 Mar 2004 20:36:08 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040315lh0@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Distinguished values
In-Reply-To: <6.0.1.1.0.20040315110016.048fa7c8@127.0.0.1>
References: <HBF.20040315qh96@bombur.uio.no>
	<6.0.1.1.0.20040315110016.048fa7c8@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 15 Mar 2004 20:36: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
> For instance, 2.2.1's
>   These AVAs are chosen from the attributes of the entry.
> could be replaced with:
>   These AVAs are chosen to match attributes of the entry.
> 
> And 2.5.4's
>   When an attribute is used for naming of the entry, one and only one
>   value of the attribute is selected to appear in the Relative
>   Distinguished Name.  This value is known as a distinguished value.
> 
> could be reworded:
>   When an attribute is used for naming of the entry, one and only
>   one value of that attribute is used in forming the Relative
>   Distinguished Name.  This value is known as a distinguishing
>   value.

Sounds good to me, except s/distinguishing/distinguished/ according to
X.500(1993).

I failed to come up with brief enough wordings myself.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 15:03: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 PAA19828
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 15:03:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FK1xYV089851;
	Mon, 15 Mar 2004 20:02:02 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FJsfjx089472;
	Mon, 15 Mar 2004 19:54:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 15 Mar 2004 19:54:41 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FJsTYT089438;
	Mon, 15 Mar 2004 19:54: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.20)
	id 1B2yAM-0005c5-OX; Mon, 15 Mar 2004 20:54:26 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.30)
	id 1B2yAK-0002kR-Ly; Mon, 15 Mar 2004 20:54:24 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2yAF-00062g-00; Mon, 15 Mar 2004 20:54:19 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040315ajd@bombur.uio.no>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: protocol-22 comments
In-Reply-To: <6.0.1.1.0.20040313072802.0488f4a0@127.0.0.1>
References: <6.0.1.1.0.20040312074442.04916570@127.0.0.1>
	<HBF.20040313inru@bombur.uio.no>
	<6.0.1.1.0.20040313072802.0488f4a0@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 15 Mar 2004 20:54: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt D. Zeilenga writes:
>At 03:40 AM 3/13/2004, Hallvard B Furuseth wrote:

>> I just noticed an error in 4.1.10 (Referral):
>> 
>>>   The referral result code indicates that the contacted server does not 
>>>   hold the target entry of the request.
>> 
>> I suggest:
>> 
>>    A referral indicates that the contacted server cannot perform the
>>    operation, but one or more other servers can.
>
> Right, referrals are be returned when the server chooses to
> refer the operation to another server.

s/cannot/cannot or will not/ in my suggestion?
Then server A can refer to B and C, and the client chooses B which
refers to A and C, so the client detects a loop and gives up even though
C might be willing to perform the operation.  Whether we add "cannot or
will not" or not, maybe the text should alert implementors to this
possibility.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 16:21: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 QAA27728
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 16:21:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FLKNYT095546;
	Mon, 15 Mar 2004 21:20:23 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FL9pxp094785;
	Mon, 15 Mar 2004 21:09: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, 15 Mar 2004 21:09:51 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FL9mYT094766
	for <ietf-ldapbis@openldap.org>; Mon, 15 Mar 2004 21:09:49 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.20)
	id 1B2zLF-0000VG-3H
	for ietf-ldapbis@openldap.org; Mon, 15 Mar 2004 22:09:45 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.30)
	id 1B2zLD-00079J-LA; Mon, 15 Mar 2004 22:09:43 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B2zLD-0006D2-00; Mon, 15 Mar 2004 22:09:43 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040315y159@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: Protocol: attribute selection
In-Reply-To: <HBF.20040108v42s@bombur.uio.no>
References: <6.0.0.22.0.20040108105153.02725ca0@127.0.0.1>
	<HBF.20040108v42s@bombur.uio.no>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Mon, 15 Mar 2004 22:09: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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I think an earlier message about this may have gotten lost:

In [protocol]-22 4.5.1 (Search Request),

the ASN.1 list of attributes has the confusing names

        AttributeSelection ::= SEQUENCE OF selection LDAPString 
                -- constrained to <attributeSelection> below 

so in plain language, the attributes are a selection of a selection.

Also, it is selection and not AttributeSelection which is constrained to
<attributeSelection>, which is the syntax for _one_ attribute:

     attributeSelection = attributedescription / selectionspecial 

So an AttributeSelection is a sequence of attributeSelections...

I suggest to call the ABNF token and the 'selection' ASN.1 name
'requestedAttribute', 'searchAttr' or something.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 16:41: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 QAA29667
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 16:41:08 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FLd2YV096689;
	Mon, 15 Mar 2004 21:40:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FLXc4f096217;
	Mon, 15 Mar 2004 21:33: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, 15 Mar 2004 21:33:38 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FLXYYT096206
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Mar 2004 21:33: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.10) with ESMTP id i2FLXYMs090578;
	Mon, 15 Mar 2004 21:33:34 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040315133002.04802e18@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 15 Mar 2004 13:33:20 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Protocol: attribute selection
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040315y159@bombur.uio.no>
References: <6.0.0.22.0.20040108105153.02725ca0@127.0.0.1>
 <HBF.20040108v42s@bombur.uio.no>
 <HBF.20040315y159@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:09 PM 3/15/2004, Hallvard B Furuseth wrote:
>I think an earlier message about this may have gotten lost:
>
>In [protocol]-22 4.5.1 (Search Request),
>
>the ASN.1 list of attributes has the confusing names
>
>        AttributeSelection ::= SEQUENCE OF selection LDAPString 
>                -- constrained to <attributeSelection> below 
>
>so in plain language, the attributes are a selection of a selection.

Seems it would be better:
        AttributeSelectors ::= SEQUENCE of selector LDAPString
                -- selector constrained to <attributeSelector>

....

Kurt




>Also, it is selection and not AttributeSelection which is constrained to
><attributeSelection>, which is the syntax for _one_ attribute:
>
>     attributeSelection = attributedescription / selectionspecial 
>
>So an AttributeSelection is a sequence of attributeSelections...
>
>I suggest to call the ABNF token and the 'selection' ASN.1 name
>'requestedAttribute', 'searchAttr' or something.
>
>-- 
>Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 17:45: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 RAA04194
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 17:45:23 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FMi9YV099953;
	Mon, 15 Mar 2004 22:44:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FMbpd8099729;
	Mon, 15 Mar 2004 22:37: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, 15 Mar 2004 22:37:51 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FMbnYT099717
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Mar 2004 22:37: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.10) with ESMTP id i2FMbmMs091760;
	Mon, 15 Mar 2004 22:37:49 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040315143416.047d3a20@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 15 Mar 2004 14:37:35 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: LDAPprep: combining marks
Cc: Paul Hoffman / VPNC <paul.hoffman@vpnc.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-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

In response to Paul's concerns, I have prepared a table of
combining marks for inclusion as Appendix D.  Please verify.
-- Kurt

0300-036F
0483-0486
0488-0489
0591-05A1
05A3-05B9
05BB-05BF  
05C1-05C2  
05C4       
064B-0655  
0670       
06D6-06E4
06E7-06E8
06EA-06ED
0711
0730-074A
07A6-07B0
0901-0903
093C
093E-094D
0951-0954
0962-0963
0981-0983
09BC
09BE-09C4
09C7-09C8
09CB-09CD
09D7
09E2-09E3
0A02
0A3C
0A3E-0A42
0A47-0A48
0A4B-0A4D
0A70-0A71
0A81-0A83
0ABC
0ABE-0AC5
0AC7-0AC9
0ACB-0ACD
0B01-0B03
0B3C
0B3E-0B43
0B47-0B48
0B4B-0B4D
0B56-0B57
0B82
0BBE-0BC2
0BC6-0BC8
0BCA-0BCD
0BD7
0C01-0C03
0C3E-0C44
0C46-0C48
0C4A-0C4D
0C55-0C56
0C82-0C83
0CBE-0CC4
0CC6-0CC8
0CCA-0CCD
0CD5-0CD6
0D02-0D03
0D3E-0D43
0D46-0D48
0D4A-0D4D
0D57
0D82-0D83
0DCA
0DCF-0DD4
0DD6
0DD8-0DDF
0DF2-0DF3
0E31
0E34-0E3A
0E47-0E4E
0EB1
0EB4-0EB9
0EBB-0EBC
0EC8-0ECD
0F18-0F19
0F35
0F37
0F39
0F3E-0F3F
0F71-0F84
0F86-0F87
0F90-0FBC
0FC6
102C-1032
1036-1039
1056-1059
1712-1714
1732-1734
1752-1753
1772-1773
17B4-17D3
180B-180D
18A9
20D0-20EA
302A-302F
3099-309A
FB1E
FE00-FE0F
FE20-FE23
1D165-1D169
1D16D-1D172
1D17B-1D182
1D185-1D18B
1D1AA-1D1AD



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 19:19:14 2004
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA09436
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 19:19:12 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G0AqZ7006517;
	Tue, 16 Mar 2004 00:18:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2G0AKQN006442;
	Tue, 16 Mar 2004 00:10:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 16 Mar 2004 00:10:20 +0000
Received: from ausyms50.ca.com ([155.35.248.106])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G0AHYT006411;
	Tue, 16 Mar 2004 00:10:18 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Tue, 16 Mar 2004 11:10:13 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Distinguished values
Date: Tue, 16 Mar 2004 11:10:13 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B63810127147E@ausyms21.ca.com>
Thread-Topic: Distinguished values
Thread-Index: AcQKxeKcz/8n76jCQBaYkv8q+25FAQAJQw0w
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Hallvard B Furuseth" <h.b.furuseth@usit.uio.no>,
        "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 16 Mar 2004 00:10:13.0870 (UTC) FILETIME=[0DD260E0:01C40AEB]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i2G0AIYT006413
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Yes, but you can't match attributes, only attribute values!

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Hallvard B Furuseth
Sent: Tuesday, 16 March 2004 06:36
To: Kurt D. Zeilenga
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Distinguished values


Kurt D. Zeilenga writes:
> For instance, 2.2.1's
>   These AVAs are chosen from the attributes of the entry.
> could be replaced with:
>   These AVAs are chosen to match attributes of the entry.
> 
> And 2.5.4's
>   When an attribute is used for naming of the entry, one and only one
>   value of the attribute is selected to appear in the Relative
>   Distinguished Name.  This value is known as a distinguished value.
> 
> could be reworded:
>   When an attribute is used for naming of the entry, one and only
>   one value of that attribute is used in forming the Relative
>   Distinguished Name.  This value is known as a distinguishing
>   value.

Sounds good to me, except s/distinguishing/distinguished/ according to
X.500(1993).

I failed to come up with brief enough wordings myself.

-- 
Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 19:27: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 TAA09673
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 19:27:40 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G0MqYd007902;
	Tue, 16 Mar 2004 00:26:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2G0GuOf007337;
	Tue, 16 Mar 2004 00:16: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, 16 Mar 2004 00:16:56 +0000
Received: from ausyms50.ca.com (mail17.ca.com [155.35.248.106])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G0GqYT007300;
	Tue, 16 Mar 2004 00:16:54 GMT
	(envelope-from Ron.Ramsay@ca.com)
Received: from ausyms21.ca.com ([155.35.201.5]) by ausyms50.ca.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Tue, 16 Mar 2004 11:16:32 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6547.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Protocol: attribute selection
Date: Tue, 16 Mar 2004 11:16:32 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B638101271499@ausyms21.ca.com>
Thread-Topic: Protocol: attribute selection
Thread-Index: AcQK1z0MJpt8auhLSbmEnj27knU8ZgAFHPdA
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>,
        "Hallvard B Furuseth" <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 16 Mar 2004 00:16:32.0303 (UTC) FILETIME=[EF62ABF0:01C40AEB]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id i2G0GsYT007307
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

You've simply replaced 'election' with 'electors'. How can this help? Also, to preserve alignment with X.500, I think you should retain the word 'selection' for the SEQUENCE.

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Kurt D. Zeilenga
Sent: Tuesday, 16 March 2004 08:33
To: Hallvard B Furuseth
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Protocol: attribute selection


At 01:09 PM 3/15/2004, Hallvard B Furuseth wrote:
>I think an earlier message about this may have gotten lost:
>
>In [protocol]-22 4.5.1 (Search Request),
>
>the ASN.1 list of attributes has the confusing names
>
>        AttributeSelection ::= SEQUENCE OF selection LDAPString 
>                -- constrained to <attributeSelection> below 
>
>so in plain language, the attributes are a selection of a selection.

Seems it would be better:
        AttributeSelectors ::= SEQUENCE of selector LDAPString
                -- selector constrained to <attributeSelector>

....

Kurt




>Also, it is selection and not AttributeSelection which is constrained to
><attributeSelection>, which is the syntax for _one_ attribute:
>
>     attributeSelection = attributedescription / selectionspecial 
>
>So an AttributeSelection is a sequence of attributeSelections...
>
>I suggest to call the ABNF token and the 'selection' ASN.1 name
>'requestedAttribute', 'searchAttr' or something.
>
>-- 
>Hallvard





From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 15 19:49: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 TAA10741
	for <ldapbis-archive@lists.ietf.org>; Mon, 15 Mar 2004 19:48:59 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FJW3YV088021;
	Mon, 15 Mar 2004 19:32:08 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2FJOp17087432;
	Mon, 15 Mar 2004 19:24: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, 15 Mar 2004 19:24:51 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2FJOkYT087422
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 15 Mar 2004 19:24: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.10) with ESMTP id i2FJOkMs088570;
	Mon, 15 Mar 2004 19:24:46 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040315110016.048fa7c8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 15 Mar 2004 11:24:32 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Distinguished values
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040315qh96@bombur.uio.no>
References: <HBF.20040315qh96@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:12 AM 3/15/2004, Hallvard B Furuseth wrote:
>Some nitpicks which I don't know if we should bother to address:
>
>[Models] 2.2.1 Relative Distinguished Names & 2.5.4 Attribute Values
>indicate that the attribute values in an RDN must be identical to the
>corresponding attribute values in the entry, not merely equivalent to
>them.  I expect that is wrong.

I note that the language used in [Models] comes from similar
language in X.501(93), in particular in 8.1.12 and 8.5.
But X.501 also contains 9 which clarifies that the value in
the RDN only needs to "match" the distinguished value.

I'd be open to some simple clarifications.

For instance, 2.2.1's
  These AVAs are chosen from the attributes of the entry.
could be replaced with:
  These AVAs are chosen to match attributes of the entry.

And 2.5.4's
  When an attribute is used for naming of the entry, one and only one
  value of the attribute is selected to appear in the Relative
  Distinguished Name.  This value is known as a distinguished value.

could be reworded:
  When an attribute is used for naming of the entry, one and only
  one value of that attribute is used in forming the Relative
  Distinguished Name.  This value is known as a distinguishing
  value.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar 16 01:37: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 BAA29056
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Mar 2004 01:37:02 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G6ZAYV030257;
	Tue, 16 Mar 2004 06:35:36 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2G6YBXo030231;
	Tue, 16 Mar 2004 06:34: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, 16 Mar 2004 06:34:11 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G6Y1YT030219
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Mar 2004 06:34:01 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.10/8.12.10) with ESMTP id i2G6Y1Ms098475;
	Tue, 16 Mar 2004 06:34:01 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040315212551.048161e0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Mon, 15 Mar 2004 22:33:46 -0800
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAPprep: combining marks
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <p0610030dbc7c146ceb7f@[63.202.92.152]>
References: <6.0.1.1.0.20040315143416.047d3a20@127.0.0.1>
 <p0610030dbc7c146ceb7f@[63.202.92.152]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:20 PM 3/15/2004, Paul Hoffman / VPNC wrote:
>At 2:37 PM -0800 3/15/04, Kurt D. Zeilenga wrote:
>>In response to Paul's concerns, I have prepared a table of
>>combining marks for inclusion as Appendix D.  Please verify.
>
>Um, how can we "verify" them without knowing what algorithm you used? Please state *in the document* how you created the table.

In my working copy, I have the follow definition:
  The term "combining mark", as used in this specification, refers     
  to any Unicode [Unicode] code point which has a mark property (Mn,         
  Mc, Me).  Appendix D provides a complete list of combining marks.

which I hope is sufficient.  I found a couple of errors in the list
I previously provided.  Here is the new list.
  0300-034F 0360-036F 0483-0486 0488-0489 0591-05A1 05A3-05B9 05BB-05BC
  05BF 05C1-05C2 05C4 064B-0655 0670 06D6-06DC 06DE-06E4 06E7-06E8
  06EA-06ED 0711 0730-074A 07A6-07B0 0901-0903 093C 093E-094F 0951-0954
  0962-0963 0981-0983 09BC 09BE-09C4 09C7-09C8 09CB-09CD 09D7 09E2-09E3
  0A02 0A3C 0A3E-0A42 0A47-0A48 0A4B-0A4D 0A70-0A71 0A81-0A83 0ABC
  0ABE-0AC5 0AC7-0AC9 0ACB-0ACD 0B01-0B03 0B3C 0B3E-0B43 0B47-0B48
  0B4B-0B4D 0B56-0B57 0B82 0BBE-0BC2 0BC6-0BC8 0BCA-0BCD 0BD7 0C01-0C03
  0C3E-0C44 0C46-0C48 0C4A-0C4D 0C55-0C56 0C82-0C83 0CBE-0CC4 0CC6-0CC8
  0CCA-0CCD 0CD5-0CD6 0D02-0D03 0D3E-0D43 0D46-0D48 0D4A-0D4D 0D57
  0D82-0D83 0DCA 0DCF-0DD4 0DD6 0DD8-0DDF 0DF2-0DF3 0E31 0E34-0E3A
  0E47-0E4E 0EB1 0EB4-0EB9 0EBB-0EBC 0EC8-0ECD 0F18-0F19 0F35 0F37 0F39
  0F3E-0F3F 0F71-0F84 0F86-0F87 0F90-0F97 0F99-0FBC 0FC6 102C-1032
  1036-1039 1056-1059 1712-1714 1732-1734 1752-1753 1772-1773 17B4-17D3
  180B-180D 18A9 20D0-20EA 302A-302F 3099-309A FB1E FE00-FE0F FE20-FE23
  1D165-1D169 1D16D-1D172 1D17B-1D182 1D185-1D18B 1D1AA-1D1AD



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar 16 02:52: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 CAA16091
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Mar 2004 02:52:14 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G7erZ9033866;
	Tue, 16 Mar 2004 07:50:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2G7YMKe033132;
	Tue, 16 Mar 2004 07:34: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); Tue, 16 Mar 2004 07:34:22 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G7YKYT033120
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Mar 2004 07:34:21 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Tue, 16 Mar 2004 00:34:00 -0700
Message-Id: <s0564b78.022@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Tue, 16 Mar 2004 00:33:44 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Protocol: attribute selection
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part1B3A00C8.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/15/04 2:09:43 PM
>>>
>I think an earlier message about this may have gotten lost:
>
>In [protocol]-22 4.5.1 (Search Request),
>
>the ASN.1 list of attributes has the confusing names
>
>AttributeSelection ::= SEQUENCE OF selection LDAPString 
>-- constrained to <attributeSelection> below 
>
>so in plain language, the attributes are a selection of a selection.

I would say it is a sequence of strings, but we may have a different
way of reading things.

>Also, it is selection and not AttributeSelection which is constrained
to
><attributeSelection>, which is the syntax for _one_ attribute:

Yes, I'll make that more clear.

>attributeSelection = attributedescription / selectionspecial 
>
>So an AttributeSelection is a sequence of attributeSelections...

No, it's a SEQUENCE OF LDAPString. The identifier 'selection' is just
naming the LDAPString (this was done for
http://www.openldap.org/lists/ietf-ldapbis/200310/msg00007.html). We
could come closer to X.500 and call it select, or as Kurt suggested,
call it selector (except I'd leave the name of the type as
AttributeSelection).
 
I will change the identifier to selector unless anyone objects.
 
Jim

--=__Part1B3A00C8.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth &lt;h.b.furuseth@usit.uio.no&gt; =
3/15/04 2:09:43 PM &gt;&gt;&gt;<BR>&gt;I think an earlier message about =
this may have gotten lost:<BR>&gt;<BR>&gt;In [protocol]-22 4.5.1 (Search =
Request),<BR>&gt;<BR>&gt;the ASN.1 list of attributes has the confusing =
names<BR>&gt;<BR>&gt;AttributeSelection ::=3D SEQUENCE OF selection =
LDAPString <BR>&gt;-- constrained to &lt;attributeSelection&gt; below =
<BR>&gt;<BR>&gt;so in plain language, the attributes are a selection of a =
selection.<BR></DIV>
<DIV>I would say it is a sequence of strings, but we may have a different =
way of reading things.</DIV>
<DIV><BR>&gt;Also, it is selection and not AttributeSelection which is =
constrained to<BR>&gt;&lt;attributeSelection&gt;, which is the syntax for =
_one_ attribute:<BR></DIV>
<DIV>Yes, I'll make that more clear.</DIV>
<DIV><BR>&gt;attributeSelection =3D attributedescription / selectionspecial=
 <BR>&gt;<BR>&gt;So an AttributeSelection is a sequence of attributeSelecti=
ons...<BR></DIV>
<DIV>No, it's a SEQUENCE OF LDAPString. The identifier 'selection' is just =
naming the LDAPString (this was done for <A href=3D"http://www.openldap.org=
/lists/ietf-ldapbis/200310/msg00007.html">http://www.openldap.org/lists/iet=
f-ldapbis/200310/msg00007.html</A>). We could come closer to X.500 and =
call it select, or as Kurt suggested, call it selector (except I'd leave =
the name of the type as AttributeSelection).</DIV>
<DIV>&nbsp;</DIV>
<DIV>I will change the identifier to selector unless anyone objects.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV></BODY></HTML>

--=__Part1B3A00C8.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar 16 03:11: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 DAA17086
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Mar 2004 03:11:18 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G7wvYl035799;
	Tue, 16 Mar 2004 08:10:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2G7qbu8034972;
	Tue, 16 Mar 2004 07:52: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, 16 Mar 2004 07:52:37 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G7qaYT034945
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Mar 2004 07:52:36 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Tue, 16 Mar 2004 00:52:15 -0700
Message-Id: <s0564fbf.095@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Tue, 16 Mar 2004 00:51:52 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: Distinguished values
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartC4E5DF08.0__="
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

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

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

>>> Hallvard B Furuseth h.b.furuseth@usit.uio.no> 3/15/04 11:12:10 AM
>>
>
>[Protocol] 4.9 Modify DN Operation:
>
>If an entry containing the attribute cn:FOO is renamed to cn=foo,
>MAY/SHOULD/SHOULD NOT the server replace cn:FOO with cn:foo in the
>entry? The current text (describing the newrdn parameter) does
>not permit this.

MUST NOT, as the name already exists. Unfortunately this is a common
end-user complaint.
 
I note that Protocol is missing language regarding the scenario where
newrdn should be the same as the existing rdn (when moving and not
renaming). I'll fix that.

>If an entry is renamed to cn=bar, may the server add the attribute
>cn:BAR?

Yes, but I doubt there are many that do,
 
Jim
 

--=__PartC4E5DF08.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.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>&gt;&gt;&gt; Hallvard B Furuseth <A href=3D"mailto:h.b.furuseth@usit.u=
io.no> 3/15/04 11:12:10 AM >>">h.b.furuseth@usit.uio.no&gt; 3/15/04 =
11:12:10 AM &gt;&gt;</A></DIV>
<DIV>&gt;<BR>&gt;[Protocol] 4.9 Modify DN Operation:<BR>&gt;<BR>&gt;If an =
entry containing the attribute cn:FOO is renamed to cn=3Dfoo,<BR>&gt;MAY/SH=
OULD/SHOULD NOT the server replace cn:FOO with cn:foo in the<BR>&gt;entry? =
The current text (describing the newrdn parameter) does<BR>&gt;not permit =
this.<BR></DIV>
<DIV>MUST NOT, as the name already exists. Unfortunately this is a =
common&nbsp;end-user complaint.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I note that Protocol is missing language regarding the scenario where =
newrdn should be the same as the existing rdn (when moving and not =
renaming). I'll fix that.</DIV>
<DIV><BR>&gt;If an entry is renamed to cn=3Dbar, may the server add the =
attribute<BR>&gt;cn:BAR?<BR></DIV>
<DIV>Yes, but I doubt there are&nbsp;many that do,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

--=__PartC4E5DF08.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar 16 08:42: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 IAA00644
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Mar 2004 08:42:59 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2GDfCYV071859;
	Tue, 16 Mar 2004 13:41:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2GDckB0071709;
	Tue, 16 Mar 2004 13:38: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, 16 Mar 2004 13:38:46 +0000
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2GDcjYT071698
	for <ietf-ldapbis@openldap.org>; Tue, 16 Mar 2004 13:38: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.20)
	id 1B3EmI-0004VT-2l; Tue, 16 Mar 2004 14:38:42 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.30)
	id 1B3EmD-0008Em-Aa; Tue, 16 Mar 2004 14:38:37 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1B3EmC-0000r3-00; Tue, 16 Mar 2004 14:38:36 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20040316hhzo@bombur.uio.no>
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Distinguished values
In-Reply-To: <s0564fbf.095@prv-mail20.provo.novell.com>
References: <s0564fbf.095@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 16 Mar 2004 14:38:36 +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=0, required 12)
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Jim Sermersheim writes:
>>>> Hallvard B Furuseth h.b.furuseth@usit.uio.no> 3/15/04 11:12:10 AM
>>[Protocol] 4.9 Modify DN Operation:

> I note that Protocol is missing language regarding the scenario where
> newrdn should be the same as the existing rdn (when moving and not
> renaming).

Partly it does - but it seems all wrong to me:

>    - newrdn: the new RDN of the entry. If an attribute value in the 
>      newrdn does not already exist in the entry (either as part of the 
                                                   ^^^^^^^^^^^^^^^^^^^^^
>      old RDN or as a non-distinguished value), it is added. If it
       ^^^^^^^
>      cannot be added, an appropriate error is returned. 

But the RDN - and thus the values it contains - is not part of the
entry.  Besides, this wording implies that the values in the RDN must be
identical to the distinguished values, not merely equivalent.  Maybe:

    - newrdn: the new RDN of the entry.  Attribute values in the new
      RDN that had no matching values in the entry (and thus did
      not exist in the old RDN), are added to the entry.

>>If an entry is renamed to cn=bar, may the server add the attribute
>>cn:BAR?
> 
> Yes, but I doubt there are many that do,

Me too.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar 16 14:26: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 OAA19581
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Mar 2004 14:26:16 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2GJOtYT000257;
	Tue, 16 Mar 2004 19:24:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2GJBkG0098580;
	Tue, 16 Mar 2004 19:11: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, 16 Mar 2004 19:11:46 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2GJBiYT098515
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Mar 2004 19:11:45 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Tue, 16 Mar 2004 12:11:24 -0700
Message-Id: <s056eeec.016@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Tue, 16 Mar 2004 12:11:09 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <h.b.furuseth@usit.uio.no>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Distinguished values
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 3/16/04 6:38:36 AM
>>>
>> - newrdn: the new RDN of the entry. If an attribute value in the 
>> newrdn does not already exist in the entry (either as part of the 
>^^^^^^^^^^^^^^^^^^^^^
>> old RDN or as a non-distinguished value), it is added. If it
>^^^^^^^
>> cannot be added, an appropriate error is returned. 
>
>But the RDN - and thus the values it contains - is not part of the
>entry. Besides, this wording implies that the values in the RDN must
be
>identical to the distinguished values, not merely equivalent. Maybe:

I don't understand what you're asserting here. As I understand it, each
AVA in the entry's RDN is made up of distinguished attribute values held
in the entry. 
From X.501:
<
Relative Distinguished Names
Each object and entry has a relative distinguished name (RDN). An RDN
of an object or alias entry consists of a set of attribute type and
value pairs, each of which matches, using the equality matching rule, a
distinct distinguished attribute value of the entry. 
>

Thus, in order for the RDN to contain an AVA, that attribute value (ok,
an attribute value equivalent to the AVA) must exist in the entry. So if
it doesn't, one must be added, thus the language above.

Maybe your definition of "identical" means "the same copy", and you're
asserting that the RDN may use equivalent copies of the distinguished
values held in the entry.

>- newrdn: the new RDN of the entry. Attribute values in the new
>RDN that had no matching values in the entry (and thus did
>not exist in the old RDN), are added to the entry.

I suggest:

- newrdn: the new RDN of the entry. If the operation moves the 
  entry to a new superior without changing its RDN, the old RDN
  is supplied for this parameter.
  Attribute values of the new RDN not matching any attribue value
  of the entry are added to the entry and an appropriate error is 
  returned if this fails.

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 17 17:57: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 RAA14232
	for <ldapbis-archive@lists.ietf.org>; Wed, 17 Mar 2004 17:57:14 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2HMsfHE038719;
	Wed, 17 Mar 2004 22:55:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) with SMTP id i2HMsELw038704;
	Wed, 17 Mar 2004 22:54:14 GMT
	(envelope-from 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 Mar 2004 22:54:14 +0000
Received: from boole.openldap.org (kurt@localhost [127.0.0.1])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2HMsDH4038693
	for <ietf-ldapbis@openldap.org>; Wed, 17 Mar 2004 22:54:13 GMT
	(envelope-from kurt@boole.openldap.org)
Received: (from kurt@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) id i2HMsDa1038692
	for ietf-ldapbis@openldap.org; Wed, 17 Mar 2004 14:54:13 -0800 (PST)
	(envelope-from kurt)
Received: from above.proper.com (above.proper.com [208.184.76.39])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id i2G2KPYT017530;
	Tue, 16 Mar 2004 02:20:25 GMT
	(envelope-from paul.hoffman@vpnc.org)
Received: from [63.202.92.152] (adsl-63-202-92-152.dsl.snfc21.pacbell.net [63.202.92.152])
	(authenticated bits=0)
	by above.proper.com (8.12.11/8.12.8) with ESMTP id i2G2KHrJ014303;
	Mon, 15 Mar 2004 18:20:18 -0800 (PST)
	(envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0610030dbc7c146ceb7f@[63.202.92.152]>
In-Reply-To: <6.0.1.1.0.20040315143416.047d3a20@127.0.0.1>
References: <6.0.1.1.0.20040315143416.047d3a20@127.0.0.1>
Date: Mon, 15 Mar 2004 18:20:22 -0800
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: LDAPprep: combining marks
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 2:37 PM -0800 3/15/04, Kurt D. Zeilenga wrote:
>In response to Paul's concerns, I have prepared a table of
>combining marks for inclusion as Appendix D.  Please verify.

Um, how can we "verify" them without knowing what algorithm you used? 
Please state *in the document* how you created the table.

--Paul Hoffman, Director
--VPN Consortium


From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 18 22:43: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 WAA26598
	for <ldapbis-archive@lists.ietf.org>; Thu, 18 Mar 2004 22:43:38 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i2J3fhOc018168;
	Fri, 19 Mar 2004 03:42: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 i2J3f1YQ018151;
	Fri, 19 Mar 2004 03:41: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); Fri, 19 Mar 2004 03:41:01 +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 i2J3euFs018134
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Mar 2004 03:41: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.10) with ESMTP id i2J3etMs060122;
	Fri, 19 Mar 2004 03:40:55 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040318184340.04bb4ab0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Thu, 18 Mar 2004 19:40:36 -0800
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: authmeth: password issues
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20040314l75t@bombur.uio.no>
References: <HBF.20040314l75t@bombur.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 01:32 PM 3/14/2004, Hallvard B Furuseth wrote:
>I'd like to see a section like the following in Authmeth, to help people
>decide which authentication methods to support and what password
>security to expect.

Are you trying to help implementor to decide which mechanisms
to support, or help deployers to decide which mechanisms to
use?  I gather the latter.

I would rather this focus more on the former (as our primary
audience is implementors of LDAP).  In particular, it could
note that while DIGEST-MD5 is specifically designed to allow
storage of a realm-specific but password-equivalent hash of
the password.  Servers implementing simple DN/password mechanism
in addition to DIGEST-MD5, have three basic choices:
        1) use the DIGEST-MD5 hash to verify the simple password;
        2) store the actual password: generating the DIGEST-MD5
        hash as needed, using it directly for simple password; or
        3) store both the DIGEST-MD5 hash and a separate hash
        of the password for use in verifying the simple password.

It might be useful to briefly describe the trade-offs.

1) doesn't work to well if you also need to support
a mechanism that require another hash of the password, but
if you're only supporting DIGEST-MD5 and simple (and PLAIN),
1) seems better than 2).

2) is appropriate where a server needs to support multiple
authentication mechanisms which either require knowledge
of the password, or differing hashes of the password.

3) doesn't scale well to multiple mechanisms... only is as
strong as weakest hash, but even less due to added complexity.

One of the reasons for incorporating SASL into LDAP is that
if major new attacks are found with DIGEST-MD5, it can easily
be replaced.  Hence, I generally think 2) is the best
implementation approach.

>   The server administrator will need the plaintext of all the server's
>   DIGEST-MD5 passwords in order to generate a new set of secret
>   DIGEST-MD5 password hashes, or all users with passwords unknown to
>   the administrator will need new passwords so one can generate new
>   hashes.

Note that the server can obtain the user's password by
forcing use of simple bind until the user's entry in
the new database is prepared, using the old database
for verification of the simple bind used prepare the
entry in the new database.  (The old database should
not be used for DIGEST-MD5 for obvious reasons.)
Where a a server supports realm transition, the
administrator just needs to tell the supporting server
to undertake the transition.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 19 06:29: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 GAA26787
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Mar 2004 06:29:06 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i2JBRtg7040680;
	Fri, 19 Mar 2004 11:27: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 i2JBC9aW039621;
	Fri, 19 Mar 2004 11:12: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, 19 Mar 2004 11:12:09 +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 i2JBC43k039590;
	Fri, 19 Mar 2004 11:12:06 GMT
	(envelope-from Alexey.Melnikov@isode.com)
Received: from isode.com (shiny.isode.com [62.3.217.250]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Fri, 19 Mar 2004 11:12:00 +0000
Message-ID: <405AD57E.2090704@isode.com>
Date: Fri, 19 Mar 2004 11:11:58 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
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: authmeth: password issues
References: <HBF.20040314l75t@bombur.uio.no> <6.0.1.1.0.20040318184340.04bb4ab0@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040318184340.04bb4ab0@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:

>At 01:32 PM 3/14/2004, Hallvard B Furuseth wrote:
>  
>
>>I'd like to see a section like the following in Authmeth, to help people
>>decide which authentication methods to support and what password
>>security to expect.
>>    
>>
>
>Are you trying to help implementor to decide which mechanisms
>to support, or help deployers to decide which mechanisms to
>use?  I gather the latter.
>
>I would rather this focus more on the former (as our primary
>audience is implementors of LDAP).  In particular, it could
>note that while DIGEST-MD5 is specifically designed to allow
>storage of a realm-specific but password-equivalent hash of
>the password.  Servers implementing simple DN/password mechanism
>in addition to DIGEST-MD5, have three basic choices:
>        1) use the DIGEST-MD5 hash to verify the simple password;
>        2) store the actual password: generating the DIGEST-MD5
>        hash as needed, using it directly for simple password; or
>        3) store both the DIGEST-MD5 hash and a separate hash
>        of the password for use in verifying the simple password.
>
>It might be useful to briefly describe the trade-offs.
>
>1) doesn't work to well if you also need to support
>a mechanism that require another hash of the password, but
>if you're only supporting DIGEST-MD5 and simple (and PLAIN),
>1) seems better than 2).
>
>2) is appropriate where a server needs to support multiple
>authentication mechanisms which either require knowledge
>of the password, or differing hashes of the password.
>
>3) doesn't scale well to multiple mechanisms... only is as
>strong as weakest hash, but even less due to added complexity.
>
Kurt, I will point out that what you've written is not specific to LDAP. 
So it might be better if this is incorporated into DIGEST-MD5 itself.

>One of the reasons for incorporating SASL into LDAP is that
>if major new attacks are found with DIGEST-MD5, it can easily
>be replaced.  Hence, I generally think 2) is the best
>implementation approach.
>
>>  The server administrator will need the plaintext of all the server's
>>  DIGEST-MD5 passwords in order to generate a new set of secret
>>  DIGEST-MD5 password hashes, or all users with passwords unknown to
>>  the administrator will need new passwords so one can generate new
>>  hashes.
>>    
>>
>
>Note that the server can obtain the user's password by
>forcing use of simple bind until the user's entry in
>the new database is prepared, using the old database
>for verification of the simple bind used prepare the
>entry in the new database.  (The old database should
>not be used for DIGEST-MD5 for obvious reasons.)
>Where a a server supports realm transition, the
>administrator just needs to tell the supporting server
>to undertake the transition.
>  
>
Alexey





From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 19 12:37: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 MAA12218
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Mar 2004 12:37:38 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i2JHZFvi068413;
	Fri, 19 Mar 2004 17:35: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 i2JHTcFg068151;
	Fri, 19 Mar 2004 17:29: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 Mar 2004 17:29: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 i2JHTa4C068141
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Mar 2004 17:29:37 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.10) with ESMTP id i2JHTAMs071300;
	Fri, 19 Mar 2004 17:29:11 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.1.1.0.20040319092445.04bd0b90@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Fri, 19 Mar 2004 09:28:51 -0800
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: authmeth: password issues
Cc: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, ietf-ldapbis@OpenLDAP.org
In-Reply-To: <405AD57E.2090704@isode.com>
References: <HBF.20040314l75t@bombur.uio.no>
 <6.0.1.1.0.20040318184340.04bb4ab0@127.0.0.1>
 <405AD57E.2090704@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 03:11 AM 3/19/2004, Alexey Melnikov wrote:
>Kurt, I will point out that what you've written is not specific to LDAP. So it might be better if this is incorporated into DIGEST-MD5 itself. 

That would seem appropriate.  I note the PLAIN TS does briefly
discuss that PLAIN might be used to prep a DIGEST-MD5 hash
database.  It might be appropriate for [AuthMeth] to briefly
discuss that simple DN/password mechanism might be used for
this as well.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 19 12:48: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 MAA12476
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Mar 2004 12:48:31 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.11/8.12.11) with ESMTP id i2JHlIBS069308;
	Fri, 19 Mar 2004 17:47: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 i2JHhx5r069116;
	Fri, 19 Mar 2004 17: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); Fri, 19 Mar 2004 17:43:59 +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 i2JHhuNx069085;
	Fri, 19 Mar 2004 17:43:57 GMT
	(envelope-from Alexey.Melnikov@isode.com)
Received: from isode.com (shiny.isode.com [62.3.217.250]) by rufus.isode.com
          via TCP (with SMTP (internal)) with ESMTPA;
          Fri, 19 Mar 2004 17:43:51 +0000
Message-ID: <405B3155.70404@isode.com>
Date: Fri, 19 Mar 2004 17:43:49 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
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: authmeth: password issues
References: <HBF.20040314l75t@bombur.uio.no> <6.0.1.1.0.20040318184340.04bb4ab0@127.0.0.1> <405AD57E.2090704@isode.com> <6.0.1.1.0.20040319092445.04bd0b90@127.0.0.1>
In-Reply-To: <6.0.1.1.0.20040319092445.04bd0b90@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:

>At 03:11 AM 3/19/2004, Alexey Melnikov wrote:
>  
>
>>Kurt, I will point out that what you've written is not specific to LDAP. So it might be better if this is incorporated into DIGEST-MD5 itself. 
>>    
>>
>
>That would seem appropriate.  I note the PLAIN TS does briefly
>discuss that PLAIN might be used to prep a DIGEST-MD5 hash
>database.  It might be appropriate for [AuthMeth] to briefly
>discuss that simple DN/password mechanism might be used for
>this as well.
>
Make sense.

Alexey





