From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov  1 15:57:06 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA15437
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Nov 2003 15:57:05 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1Ks5HW001694;
	Sat, 1 Nov 2003 20:55:40 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA1Knp88001603;
	Sat, 1 Nov 2003 20:49: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); Sat, 1 Nov 2003 20:49:51 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1KnnHS001593
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 1 Nov 2003 20:49:50 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;
          Sat, 1 Nov 2003 20:50:33 +0000
Message-ID: <3FA41C6D.9080406@isode.com>
Date: Sat, 01 Nov 2003 20:49: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: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Implementation of SASL security layer in LDAP clients/servers
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

Out of curiosity, I would like to know how many implementations support 
SASL security layer?

Alexey
__________________________________________
Isode Limited, http://www.isode.com

IETF standard related pages:
http://www.melnikov.ca/mel/devel/Links.html
__________________________________________




From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov  1 16:31:58 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA16143
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Nov 2003 16:31:57 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1LU9HW002577;
	Sat, 1 Nov 2003 21:30:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA1LSBRG002533;
	Sat, 1 Nov 2003 21:28: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); Sat, 1 Nov 2003 21:28:11 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1LSAHS002523
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 1 Nov 2003 21:28:10 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.9/8.12.9) with ESMTP id hA1LS7lg034512;
	Sat, 1 Nov 2003 21:28:07 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.0.22.0.20031101131937.0583c2f8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Sat, 01 Nov 2003 13:27:17 -0800
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementation of SASL security layer in LDAP
  clients/servers
Cc: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <3FA41C6D.9080406@isode.com>
References: <3FA41C6D.9080406@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 12:49 PM 11/1/2003, Alexey Melnikov wrote:
>Out of curiosity, I would like to know how many implementations support SASL security layer?

Enough (more than zero) that significant changes the specification
of SASL security layer would cause serious interoperability problems.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov  1 16:44:15 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA16350
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Nov 2003 16:44:15 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1Lg5HW002907;
	Sat, 1 Nov 2003 21:42:08 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA1Lc46N002851;
	Sat, 1 Nov 2003 21:38: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); Sat, 1 Nov 2003 21:38:04 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1Lc0HS002821;
	Sat, 1 Nov 2003 21:38:01 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;
          Sat, 1 Nov 2003 21:38:40 +0000
Message-ID: <3FA427B4.4030303@isode.com>
Date: Sat, 01 Nov 2003 21:37:56 +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: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Implementation of SASL security layer in LDAP  clients/servers
References: <3FA41C6D.9080406@isode.com> <6.0.0.22.0.20031101131937.0583c2f8@127.0.0.1>
In-Reply-To: <6.0.0.22.0.20031101131937.0583c2f8@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 12:49 PM 11/1/2003, Alexey Melnikov wrote:
>  
>
>>Out of curiosity, I would like to know how many implementations support SASL security layer?
>>    
>>
>
>Enough (more than zero) that significant changes the specification
>of SASL security layer would cause serious interoperability problems.
>
Kurt, that was not my question. You haven't named a single one.

Alexey





From owner-ietf-ldapbis@OpenLDAP.org  Sat Nov  1 17:22:21 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17114
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Nov 2003 17:22:20 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1MI5HW003925;
	Sat, 1 Nov 2003 22:19:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA1MFKou003869;
	Sat, 1 Nov 2003 22:15: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, 1 Nov 2003 22:15:20 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA1MFJHS003859
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 1 Nov 2003 22:15:19 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.9/8.12.9) with ESMTP id hA1MFElg034965;
	Sat, 1 Nov 2003 22:15:14 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.0.22.0.20031101134241.02b6bcf0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Sat, 01 Nov 2003 14:14:07 -0800
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementation of SASL security layer in LDAP 
  clients/servers
Cc: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <3FA427B4.4030303@isode.com>
References: <3FA41C6D.9080406@isode.com>
 <6.0.0.22.0.20031101131937.0583c2f8@127.0.0.1>
 <3FA427B4.4030303@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 01:37 PM 11/1/2003, Alexey Melnikov wrote:
>Kurt D. Zeilenga wrote:
>>At 12:49 PM 11/1/2003, Alexey Melnikov wrote:
>>>Out of curiosity, I would like to know how many implementations support SASL security layer?
>>Enough (more than zero) that significant changes the specification
>>of SASL security layer would cause serious interoperability problems.
>Kurt, that was not my question. You haven't named a single one.

Your question wasn't "who has implemented the feature?", but
"how many implementations support the feature?".  I'm not going
to attempt to answer the former.  Nor am I going to attempt to
give a precise answer to the latter.  I will narrow my previous
answer though.

There are multiple independently developed LDAP implementations
of SASL security layers.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  3 02:28:01 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA22536
	for <ldapbis-archive@lists.ietf.org>; Mon, 3 Nov 2003 02:28:00 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA37OKHa041182;
	Mon, 3 Nov 2003 07:26:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA37J27c040630;
	Mon, 3 Nov 2003 07:19: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, 3 Nov 2003 07:19:02 +0000
Received: from nb2.stroeder.com (du-006-109.access.de.clara.net [212.82.229.109])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA37IYHS040559
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 3 Nov 2003 07:18:40 GMT
	(envelope-from michael@stroeder.com)
Received: from localhost (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP id EA67EA4270
	for <ietf-ldapbis@OpenLDAP.org>; Mon,  3 Nov 2003 08:18:26 +0100 (CET)
Received: from stroeder.com (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP id E6771A4225
	for <ietf-ldapbis@OpenLDAP.org>; Mon,  3 Nov 2003 08:18:25 +0100 (CET)
Message-ID: <3FA60141.2000407@stroeder.com>
Date: Mon, 03 Nov 2003 08:18:25 +0100
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: More on DIT content rules
References: <sfa0c2a7.024@prv-mail20.provo.novell.com> <6.0.0.22.0.20031030082914.04674e68@127.0.0.1>
In-Reply-To: <6.0.0.22.0.20031030082914.04674e68@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS 0.3.12pre8
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 06:49 AM 10/30/2003, Jim Sermersheim wrote:
> 
> I think some implementators take the view that their servers
> have implicit DIT content rules which allow an entry to belong to any
> auxiliary class but choose not to publish these rules in the subschema.
> I think implementors taking this view should publish their rules
> in the subschema so that clients will know which auxiliary classes
> may be present in entries they update.

Yes! Those implicit DIT content rules SHOULD be published in subschema!

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  3 05:51:56 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA27197
	for <ldapbis-archive@lists.ietf.org>; Mon, 3 Nov 2003 05:51:56 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA3AgIIK056700;
	Mon, 3 Nov 2003 10:50:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA3AcEfU056130;
	Mon, 3 Nov 2003 10:38: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); Mon, 3 Nov 2003 10:38:14 +0000
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA3AbBHS055997;
	Mon, 3 Nov 2003 10:37:12 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;
          Mon, 3 Nov 2003 10:37:56 +0000
Message-ID: <3FA62FCF.6080200@isode.com>
Date: Mon, 03 Nov 2003 10:37:03 +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: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementation of SASL security layer in LDAP   clients/servers
References: <3FA41C6D.9080406@isode.com> <6.0.0.22.0.20031101131937.0583c2f8@127.0.0.1> <3FA427B4.4030303@isode.com> <6.0.0.22.0.20031101134241.02b6bcf0@127.0.0.1>
In-Reply-To: <6.0.0.22.0.20031101134241.02b6bcf0@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:37 PM 11/1/2003, Alexey Melnikov wrote:
>  
>
>>Kurt D. Zeilenga wrote:
>>    
>>
>>>At 12:49 PM 11/1/2003, Alexey Melnikov wrote:
>>>      
>>>
>>>>Out of curiosity, I would like to know how many implementations support SASL security layer?
>>>>        
>>>>
>>>Enough (more than zero) that significant changes the specification
>>>of SASL security layer would cause serious interoperability problems.
>>>      
>>>
>>Kurt, that was not my question. You haven't named a single one.
>>    
>>
>
>Your question wasn't "who has implemented the feature?", but
>"how many implementations support the feature?".  I'm not going
>to attempt to answer the former.  Nor am I going to attempt to
>give a precise answer to the latter.  I will narrow my previous
>answer though.
>
>There are multiple independently developed LDAP implementations
>of SASL security layers.
>
Does anybody have a webpage listing different implementations supporting 
SASL security layer and what kind of interoperability testing was done?

I am not looking for precise number, but I would appreciate a detailed 
answer.

Thanks,
Alexey




From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  3 06:34:25 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA28039
	for <ldapbis-archive@lists.ietf.org>; Mon, 3 Nov 2003 06:34:25 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA3BUIHq060742;
	Mon, 3 Nov 2003 11:32:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA3BSrXW060560;
	Mon, 3 Nov 2003 11:28:53 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 3 Nov 2003 11:28:53 +0000
Received: from prv-mail25.provo.novell.com (prv-mail25.provo.novell.com [137.65.81.121])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA3BSWHS060509
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 3 Nov 2003 11:28:32 GMT
	(envelope-from gvithalprasad@novell.com)
Received: from INET-PRV1-MTA by prv-mail25.provo.novell.com
	with Novell_GroupWise; Mon, 03 Nov 2003 04:28:12 -0700
Message-Id: <sfa5d95b.041@prv-mail25.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 03 Nov 2003 04:27:57 -0700
From: "Vithalprasad Gaitonde" <gvithalprasad@novell.com>
To: <Alexey.Melnikov@isode.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Implementation of SASL security layer in LDAP  
	clients/servers
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

Novell eDirectory supports SASL. I think we have tested with most client
SDKs...dont know what are the clients you are looking for to do interop
testing of servers....

Prasad

>>> Alexey Melnikov <Alexey.Melnikov@isode.com> 11/3/2003 4:07:03 PM
>>>
Kurt D. Zeilenga wrote:

>At 01:37 PM 11/1/2003, Alexey Melnikov wrote:
>  
>
>>Kurt D. Zeilenga wrote:
>>    
>>
>>>At 12:49 PM 11/1/2003, Alexey Melnikov wrote:
>>>      
>>>
>>>>Out of curiosity, I would like to know how many implementations
support SASL security layer?
>>>>        
>>>>
>>>Enough (more than zero) that significant changes the specification
>>>of SASL security layer would cause serious interoperability
problems.
>>>      
>>>
>>Kurt, that was not my question. You haven't named a single one.
>>    
>>
>
>Your question wasn't "who has implemented the feature?", but
>"how many implementations support the feature?".  I'm not going
>to attempt to answer the former.  Nor am I going to attempt to
>give a precise answer to the latter.  I will narrow my previous
>answer though.
>
>There are multiple independently developed LDAP implementations
>of SASL security layers.
>
Does anybody have a webpage listing different implementations
supporting 
SASL security layer and what kind of interoperability testing was
done?

I am not looking for precise number, but I would appreciate a detailed

answer.

Thanks,
Alexey




From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov  3 08:45:10 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA01645
	for <ldapbis-archive@lists.ietf.org>; Mon, 3 Nov 2003 08:45:10 -0500 (EST)
Received: from boole.openldap.org (smmsp@localhost [127.0.0.1])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA3DgJHW068540;
	Mon, 3 Nov 2003 13:42:46 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by boole.openldap.org (8.12.9p2/8.12.9/Submit) with SMTP id hA3DfPYN068443;
	Mon, 3 Nov 2003 13:41: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); Mon, 3 Nov 2003 13:41:25 +0000
Received: from e4.ny.us.ibm.com (e4.ny.us.ibm.com [32.97.182.104])
	by boole.openldap.org (8.12.9p2/8.12.9) with ESMTP id hA3Df4HS068372
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 3 Nov 2003 13:41:04 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e4.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id hA3Dehhn717562
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 3 Nov 2003 08:40:43 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id hA3DegFq225640
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 3 Nov 2003 08:40:42 -0500
Subject: Re: Implementation of SASL security layer in LDAP clients/servers
To: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
X-Mailer: Lotus Notes Release 5.0.12   February 13, 2003
Message-ID: <OF4CE6896C.EBA8D8FE-ON86256DD3.004AD443-86256DD3.004B22CB@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Mon, 3 Nov 2003 07:40:40 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5|September 18, 2003) at
 11/03/2003 07:40:42 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>





IBM directory products support various SASL mechanisms for authentication.
For that matter, all LDAP servers I have dealt with have SASL support of
some form.

John  McMeeking



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov  4 15:13:23 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02890
	for <ldapbis-archive@lists.ietf.org>; Tue, 4 Nov 2003 15:13: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 hA4K9apZ081604;
	Tue, 4 Nov 2003 20:10: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 hA4K7cYV081412;
	Tue, 4 Nov 2003 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, 4 Nov 2003 20:07: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 hA4K7HpT081374
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 4 Nov 2003 20:07:17 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.9/8.12.9) with ESMTP id hA4K7Glg020684
	for <ietf-ldapbis@openldap.org>; Tue, 4 Nov 2003 20:07:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.0.22.0.20031104115333.02b2b438@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Tue, 04 Nov 2003 12:06:23 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Agenda for LDAPBIS @ IETF#58
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>

Below is the LDAPBIS agenda for IETF#58.  As we only have one
hour, discussions will be focused on outstanding issues needing
face-to-face time to resolve.  Where the I-D editor is not
available, a suitable stand in will be appointed.

Kurt


LDAP Revision (LDAPBIS) Working Group

Tuesday, November 11 at 1300-1400
=================================

CHAIRS:
        RL "Bob" Morgan <rlmorgan@washington.edu>
        Kurt Zeilenga <Kurt@OpenLDAP.org>

AGENGA:

  0) Preliminaries (Scribes, Agenda, WG Status) - chairs - 5m
  1) draft-ietf-ldapbis-protocol outstanding issues - editor - 20m
  2) draft-ietf-ldapbis-authmeth outstanding issues - editor - 20m
  3) Next Steps / Milestones Review - chairs - 5m
  4) Open Mic - floor - remaining





From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  5 07:19:56 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA02720
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Nov 2003 07:19: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 hA5CFgpX023568;
	Wed, 5 Nov 2003 12:16: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 hA5CE0pw023541;
	Wed, 5 Nov 2003 12:14:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Nov 2003 12:14: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 hA5CDdpT023512
	for <ietf-ldapbis@openldap.org>; Wed, 5 Nov 2003 12:13:40 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 1AHMXT-0000tH-VO
	for ietf-ldapbis@openldap.org; Wed, 05 Nov 2003 13:13:31 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1AHMXR-0000IE-SP; Wed, 05 Nov 2003 13:13:29 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AHMXR-0004wU-00; Wed, 5 Nov 2003 13:13:29 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031105jcm6@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: authmeth transition table
Date: Wed, 5 Nov 2003 13:13: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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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>

[Sorry if this is a duplicate.]

Have anyone read and checked the authmeth transition table?
Will anyone use it?

Unless it can be converted to graphics, I think it would be better to
replace it with a textual summary of authmeth actions.

Failing that, I agree with whoever suggested to split it into two
tables: TLS actions (start TLS/close) and non-TLS actions (bind).  Each
table will be much more readable if they are smaller and contain less
state.  (Besides, that might make it easier to convert it to graphics.)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  5 18:39:04 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA01378
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Nov 2003 18:39: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 hA5NXopX048527;
	Wed, 5 Nov 2003 23:35: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 hA5NT8EM048407;
	Wed, 5 Nov 2003 23:29:08 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Nov 2003 23:29:08 +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 hA5NSlpT048391
	for <ietf-ldapbis@openldap.org>; Wed, 5 Nov 2003 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 1AHX4t-0005Lq-Md
	for ietf-ldapbis@openldap.org; Thu, 06 Nov 2003 00:28:43 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.14)
	id 1AHX4q-0004b4-O4; Thu, 06 Nov 2003 00:28:40 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AHX4q-0006Uc-00; Thu, 6 Nov 2003 00:28:40 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031106y297@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: authmeth: SASL protocol profile
Date: Thu, 6 Nov 2003 00:28:40 +0100
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning.
X-UiO-MailScanner: No virus found
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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>

About Authmeth Section 3.3 (SASL Authentication Profile):

According to [SASL], the LDAP protocol profile must explicitly mention
- that LDAP supports "multiple authentications",
- the form of the authorization identity,
and SHOULD specify use of SASLPrep.

Sections 3.3.5 (Rules for using SASL security layers) and 3.3.6 (Use of
EXTERNAL SASL Mechanism) should be removed or moved away from the
protocol profile.  Unless I've gone blind, the [SASL] protocol profile
requirements do not mention them.

I think section 3.3 should be renamed 'SASL Protocol Profile', so
readers of [SASL] can _find_ the 'protocol profile' by searching the
authmeth document for that phrase.

A suggestion in my 'authmeth-07 issues' message was bogus:  To move
section 3.3.3 (Octet where negotiated security mechanisms take effect)
away from the protocol profile section.  I hadn't realized what a
protocol profile was when I said that.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  5 21:47:45 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA06958
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Nov 2003 21:47: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 hA62dlpX054155;
	Thu, 6 Nov 2003 02:41: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 hA62Zdec054057;
	Thu, 6 Nov 2003 02:35:39 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 6 Nov 2003 02:35: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 hA62ZEpT054042
	for <ietf-ldapbis@openldap.org>; Thu, 6 Nov 2003 02:35:18 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 1AHZzL-000753-Eo; Thu, 06 Nov 2003 03:35:11 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1AHZzI-0008Na-DQ; Thu, 06 Nov 2003 03:35:08 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AHZzB-0006wr-00; Thu, 6 Nov 2003 03:35:01 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031106uy3r@bombur.uio.no>
To: John McMeeking <jmcmeek@us.ibm.com>
cc: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Implementation of SASL security layer in LDAP clients/servers
Date: Thu, 6 Nov 2003 03:35:01 +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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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>

John McMeeking writes:

> IBM directory products support various SASL mechanisms for
> authentication.  For that matter, all LDAP servers I have dealt with
> have SASL support of some form.

The question was about SASL security layers, which encrypt data sent
_after_ auth, not just 'some' SASL support like SASL authentication.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  5 23:33:14 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA09736
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Nov 2003 23:33: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 hA64Flpt057095;
	Thu, 6 Nov 2003 04:29: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 hA64Cvg8056990;
	Thu, 6 Nov 2003 04:12: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); Thu, 6 Nov 2003 04:12:57 +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 hA64CapT056968
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 6 Nov 2003 04:12:36 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 hA64C9Yd442050;
	Wed, 5 Nov 2003 23:12:10 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id hA64C40M225402;
	Wed, 5 Nov 2003 23:12:05 -0500
Subject: Re: Implementation of SASL security layer in LDAP clients/servers
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: LDAPBis WG <ietf-ldapbis@OpenLDAP.org>
X-Mailer: Lotus Notes Release 5.0.11   July 24, 2002
Message-ID: <OF2DB4064F.DEAA4410-ON86256DD6.00166822-86256DD6.0017150B@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Wed, 5 Nov 2003 22:12:03 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5|September 18, 2003) at
 11/05/2003 10:12:08 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





In that context, I guess I would completely reverse my statement.  IBM
directory servers do not support the data integrity/privacy mechanisms
associated with SASL, just authentication.  I am completely ignorant on the
subject of such support by other LDAP servers (which is not to say that
they don't provide such support, just that I don't know if they do).

John  McMeeking



                                                                                                                         
                      Hallvard B                                                                                         
                      Furuseth                 To:       John McMeeking/Rochester/IBM@IBMUS                              
                      <h.b.furuseth@usi        cc:       LDAPBis WG <ietf-ldapbis@OpenLDAP.org>                          
                      t.uio.no>                Subject:  Re: Implementation of SASL security layer in LDAP               
                                                clients/servers                                                          
                      11/05/2003 08:35                                                                                   
                      PM                                                                                                 
                                                                                                                         
                                                                                                                         




John McMeeking writes:

> IBM directory products support various SASL mechanisms for
> authentication.  For that matter, all LDAP servers I have dealt with
> have SASL support of some form.

The question was about SASL security layers, which encrypt data sent
_after_ auth, not just 'some' SASL support like SASL authentication.

--
 Hallvard




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov  5 23:58:29 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA10368
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Nov 2003 23:58: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 hA64pmpX058734;
	Thu, 6 Nov 2003 04:53: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 hA64nlNP058720;
	Thu, 6 Nov 2003 04:49:47 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 6 Nov 2003 04:49:47 +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 hA64nPpT058707
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 6 Nov 2003 04:49:26 GMT
	(envelope-from RHARRISON@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 05 Nov 2003 21:49:05 -0700
Message-Id: <sfa97051.077@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 05 Nov 2003 21:48:33 -0700
From: "Roger Harrison" <RHARRISON@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <h.b.furuseth@usit.uio.no>
Subject: Re: authmeth transition table
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part9DC306B1.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.

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

I've checked most of the authmeth transition table for accuracy, and I
believe it is close to complete. I still have an action item to do a
final review, but I'd appreciate additional eyes looking at it. The idea
to split it into TLS and non-TLS, either via two tables or via two areas
of the same table is one that I'll seriously consider.
 
Roger

>>> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 11/5/2003 5:13:29 AM
>>>
[Sorry if this is a duplicate.]

Have anyone read and checked the authmeth transition table?
Will anyone use it?

Unless it can be converted to graphics, I think it would be better to
replace it with a textual summary of authmeth actions.

Failing that, I agree with whoever suggested to split it into two
tables: TLS actions (start TLS/close) and non-TLS actions (bind). Each
table will be much more readable if they are smaller and contain less
state. (Besides, that might make it easier to convert it to graphics.)

-- 
Hallvard


--=__Part9DC306B1.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I've checked most of the authmeth transition table for accuracy, and I 
believe it is close to complete. I still have an action item to do a final 
review, but I'd appreciate additional eyes looking at it. The idea to split it 
into TLS and non-TLS, either via two tables or via two areas of the same table 
is one that I'll seriously consider.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Roger<BR><BR>&gt;&gt;&gt; Hallvard B Furuseth 
&lt;h.b.furuseth@usit.uio.no&gt; 11/5/2003 5:13:29 AM &gt;&gt;&gt;<BR>[Sorry if 
this is a duplicate.]<BR><BR>Have anyone read and checked the authmeth 
transition table?<BR>Will anyone use it?<BR><BR>Unless it can be converted to 
graphics, I think it would be better to<BR>replace it with a textual summary of 
authmeth actions.<BR><BR>Failing that, I agree with whoever suggested to split 
it into two<BR>tables: TLS actions (start TLS/close) and non-TLS actions (bind). 
Each<BR>table will be much more readable if they are smaller and contain 
less<BR>state. (Besides, that might make it easier to convert it to 
graphics.)<BR><BR>-- <BR>Hallvard<BR></DIV></BODY></HTML>

--=__Part9DC306B1.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov  6 11:37:20 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA17139
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 Nov 2003 11:37: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 hA6GXqpX099887;
	Thu, 6 Nov 2003 16:34: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 hA6GX2Dj099826;
	Thu, 6 Nov 2003 16:33: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); Thu, 6 Nov 2003 16:33: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 hA6GWfpT099807
	for <ietf-ldapbis@openldap.org>; Thu, 6 Nov 2003 16:32:41 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx6.uio.no ([129.240.10.47])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1AHn3l-0003Cm-U9; Thu, 06 Nov 2003 17:32:37 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1AHn3j-0007mU-74; Thu, 06 Nov 2003 17:32:35 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AHn3e-0001JB-00; Thu, 6 Nov 2003 17:32:30 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031106rgty@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "Roger Harrison" <RHARRISON@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: authmeth transition table
In-Reply-To: <sfa97051.077@prv-mail20.provo.novell.com>
References: <sfa97051.077@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Thu, 6 Nov 2003 17:32:30 +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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

Roger Harrison writes:
> I've checked most of the authmeth transition table for accuracy, and I
> believe it is close to complete. I still have an action item to do a
> final review, but I'd appreciate additional eyes looking at it. The idea
> to split it into TLS and non-TLS, either via two tables or via two areas
> of the same table is one that I'll seriously consider.

In that case I suggest you drop AuthZ ID (J) and maybe TLS Creds (I)
from the table.  All you need to mention is whether or not bind
succeeds.  If one uses EXTERNAL with a J which is not allowed by I, it
fails, just like any other bind.  That's covered elsewhere.

If you keep I, it should not be related to TLS - it should just be the
any auth ID from the currently relevant underlying protection mechanism,
or whatever it is called.  I say "currently relevant" in case one is
using both IPSec and TLS, then EXTERNAL has to choose the certificate
from one of them.  Unless StartTLS should then fail if they do not
match.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov  6 13:46:16 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA22621
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 Nov 2003 13:46: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 hA6IfApp004875;
	Thu, 6 Nov 2003 18:43: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 hA6IWaaW004321;
	Thu, 6 Nov 2003 18:32:36 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 6 Nov 2003 18:32:36 +0000
Received: from nb2.stroeder.com (krl9-d9bb4ccc.pool.mediaWays.net [217.187.76.204])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hA6IWEpT004288
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 6 Nov 2003 18:32:15 GMT
	(envelope-from michael@stroeder.com)
Received: from localhost (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP id EA6BF9B1B3
	for <ietf-ldapbis@OpenLDAP.org>; Thu,  6 Nov 2003 18:15:22 +0100 (CET)
Received: from stroeder.com (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP id 863935F24D
	for <ietf-ldapbis@OpenLDAP.org>; Thu,  6 Nov 2003 18:15:19 +0100 (CET)
Message-ID: <3FAA81A7.9070107@stroeder.com>
Date: Thu, 06 Nov 2003 18:15:19 +0100
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Processing MUST/MAY and NOT in DIT content rule
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS 0.3.12pre8
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

HI!

I wonder how to handle a DIT content rule which lists an attribute type in 
NOT which is already listed in MUST or MAY. Is the attribute type assumed to 
be precluded?

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov  6 14:13:48 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23633
	for <ldapbis-archive@lists.ietf.org>; Thu, 6 Nov 2003 14:13: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 hA6JAxpl008853;
	Thu, 6 Nov 2003 19:12: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 hA6J0GQn006442;
	Thu, 6 Nov 2003 19:00:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 6 Nov 2003 19:00: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 hA6IxtpT006356
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 6 Nov 2003 18:59:55 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.9/8.12.9) with ESMTP id hA6Ixtlg044781;
	Thu, 6 Nov 2003 18:59:55 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.0.22.0.20031106105242.049c0438@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Thu, 06 Nov 2003 10:58:59 -0800
To: Michael =?iso-8859-1?Q?Str=F6der?= <michael@stroeder.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Processing MUST/MAY and NOT in DIT content rule
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <3FAA81A7.9070107@stroeder.com>
References: <3FAA81A7.9070107@stroeder.com>
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 hA6IxupT006358
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 09:15 AM 11/6/2003, Michael Ströder wrote:
>HI!
>
>I wonder how to handle a DIT content rule which lists an attribute type in NOT which is already listed in MUST or MAY. Is the attribute type assumed to be precluded?

Regarding MUST and NOT:
  The list of precluded attributes cannot include any attribute listed
  as mandatory in rule, the structural object class, or any of the
  allowed auxiliary object classes.

Regarding MAY and NOT:
  An entry may contain any non-precluded attributes allowed by the
  object classes the entry belongs to as well as all attributes allowed
  by the governing content rule.
     
  An entry cannot include any attribute precluded by the governing
  content rule.

Kurt 




From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  9 12:14:10 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA04090
	for <ldapbis-archive@lists.ietf.org>; Sun, 9 Nov 2003 12:14: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 hA9HAHpX042843;
	Sun, 9 Nov 2003 17:12: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 hA9H9sYO042815;
	Sun, 9 Nov 2003 17:09:54 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Sun, 9 Nov 2003 17:09:54 +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 hA9H9VpT042775
	for <ietf-ldapbis@openldap.org>; Sun, 9 Nov 2003 17:09:32 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 1AIt43-0000zI-Tx
	for ietf-ldapbis@openldap.org; Sun, 09 Nov 2003 18:09:27 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1AIt41-0005jD-Dy; Sun, 09 Nov 2003 18:09:25 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AIt40-00043g-00; Sun, 9 Nov 2003 18:09:24 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031109ro5m@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: Textual/non-textual passwords and SASLprep
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Date: Sun, 9 Nov 2003 18:09:24 +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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id hA9H9WpT042776
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 wanted to research a bit and then lost the threads about passwords and
SASLprep again my workload suddenly quadrupled.  Sorry about that.
(Michael, I've reviewed the 'Revisited: NON-ASCII chars in userPassword'
discussion but I'm still concerned.  Doesn't seem to be the same issue.)

Since [Protocol] has changed since then, I'll start backwards:

At 02 Oct 2003, Kurt D. Zeilenga wrote in message
<6.0.0.22.0.20031002024351.03ff9600@127.0.0.1> =
<http://www.openldap.org/lists/ietf-ldapbis/200310/msg00005.html>:

> Subject: Re: more SASLprep/protocol problems
> 
> RFC 2277 [IETF Policy on Character Sets and Languages] says:
>    All protocols MUST identify, for all character data,
>    which charset is in use.
> 
> That is, we cannot allow clients to transfer character data in
> the protocol without providing the server a protocol mechanism
> for reliably determining what charset is use.  My previous
> suggestion was flawed in that it allowed character data to
> be transferred without identifying which charset is in use.
> 
> For this reason, I revise my suggestion:
>         The simple form of an AuthenticationChoice specifies a
>         simple password to be used for authentication.  Passwords
>         consisting of character data (text passwords) SHALL be
>        transferred as [UTF-8] encoded [Unicode].  Prior to transfer,
>        clients SHOULD prepare text passwords by applying the
>        [SASLprep] profile of the [Stringprep] algorithm.  Passwords
>         consisting of other data (such as random octets) MUST NOT
>         be altered.
>
> (...)

This text now appears in [Protocol] version 18.

However, RFC 2277 also says:

   Where protocol elements look like text tokens, such as in many IETF
   application layer protocols, protocols MUST specify which parts are
   protocol and which are text. [WR 2.2.1.1]

yet the above text means that whether a password is text or not is
decided outside the protocol, which seems just as much in violation of
RFC 2277 as textual passwords without a specified charset.

For that matter, RFC 2277 goes on to say:

   Protocols that transfer text MUST provide for carrying information
   about the language of that text.

which LDAP doesn't do for passwords, and probably doesn't fit anyone's
idea of what one does with passwords in any case.

So if we go by RFC 2277, we must either specify that passwords are UTF-8
text, and probably also modify the userPassword syntax to only accept
UTF-8, or that passwords are not text, but MAY be translated to UTF-8
and prepared by [SASLprep] in some cases anyway.  Or we could ignore
rfc2277 for this issue (or maybe that means to ask for an exception to
be made), like at least the IRC protocol has done for backwards
compatibility.

> (...) RFC 2119 says of implementations supporting an OPTIONAL
> feature MUST be prepared to interoperate with implementations which
> don't.   If one client prepares text passwords as RECOMMENDED and
> another doesn't, the user will likely only be able to use one
> client or the other but not both.

He'll only be able to use one of them in any case if the server uses
non-ASCII passwords stored hashed on by OS, which was my original
concern in this thread.  (I'll summarize below, if anyone have
forgotten.)  The client doing UTF-8 SASPprep won't be able to
interoperate with such a server, and there is nothing we can do about
it.

> Also, we need to ensure that interoperable implementations of
> features, even OPTIONAL features, can be independently developed.

We can't in situations like I mentioned, unless we never prepare
passwords and always treat them as binary entities, and leave the rest
to the user.  Even I don't want that:-)

> Two clients which both use "null" preparation may fail to
> interoperate with the server due to platform differences.
> For example, if one client send the text as UTF-16 and
> another send same text as UTF-32, authentication will fail
> one or both of these clients (assuming the server implements
> password matching as specified).

Back to the [Protocol] text, I think the statement

        Passwords consisting of other data (such as random octets) MUST
        NOT be altered.

, if it is kept, must at least be accompanied with a text which
describes when a password is 'other data' (than text) and when it is
not, in a way which client and server can agree on.  But I don't know
how, in particular when passwords were not stored in LDAP through the
protocol.

========

About textual passwords:

What's a textual password?  Michael Ströder referred to article
<http://www.openldap.org/lists/ietf-ldapbis/200305/msg00112.html>,
which starts with:

> I would define 'textual' passwords as passwords manually typed in by
> a user on the keyboard or a similar character-based input device.
 
I don't like this, not for deciding how to translate the password.  I
type in passwords sometimes and store them in files sometimes, but they
can be the same password for the same authentication ID - the difference
is if the application runs automatically or not.  If it is, I don't want
to use a `password:xyzzy' command-line option because that shows up on
the 'ps' Unix command for everyone to read.  So I store it in a file.  I
could translate it to UTF-8 and then apply SASLprep by hand before
storing to a file, but that feels like an UN-intuitive thing to tell
users to do to me.  So does translating back from UTF-8 to the user's
local character set if he wants to cut&paste a password from a file and
into the command line.

Besides, this doesn't tell the _server_ whether or not the password is
textual.  That's all right if the password was stored through protocol,
or at least it defers the textual/non-textual decision to the user who
stored it, but it doesn't help when the password is taken from a
server-side password store.

> More formally one could define textual passwords as a character
> sequence with a known character set and encoding.
 
That's a circular definition in this case:  Whether to translate the
password from some local character set to UTF-8 is exactly what the
question of whether the password is textual or not is supposed to
decide.

========

Repeating my original concern, with various false starts cunningly
ignored - feel free to skip this:

  A number of operating systems, including Unix and Windows, store
  passwords in a hashed form and do not know users' plaintext passwords.
  So if LDAP clients translate passwords to UTF-8 and apply SASLprep to
  them, which [Protocol] sort of requires, servers that use the
  operating system's password store for authentication must reverse
  SASLprep (impossible) and then translate the password back to the OS's
  character set (cumbersome, and impossible if there is no specified
  OS's character set, i.e. on multi-charset sites).  The result of such
  translation and preparation will be that users with non-ASCII
  passwords cannot authenticate to such servers.

  So I (still) think clients SHOULD have an option to turn off such
  translation and preparation, or maybe translate passwords in some
  OS-specific way (like ASCII<->EBCDIC).  This leaves the problem of
  which character set to the password has, mostly to the user - which is
  how this is done on such sites anyway.  It's ugly, but I think it's
  the least bad solution.  It doesn't give interoperability with other
  sites for such passwords, but these passwords won't give
  interoperability with other sites in any case.  With such an option,
  LDAP will at least work on-site just as well as other authentication
  methods.  Otherwise sites with such passwords may have to choose
  something else than LDAP for authentication.

  I'll drop my suggestion that UTF-8/SASLprep should not even be the
  default, since that's clearly a lost cause.  I'm not sure anymore
  that is was a good idea anyway.

Possibly none of this is important compared to the textual/non-textual
issue, though.  Messages on News suggest that people on e.g. EBCDIC
sites generally deal with the issue by only using passwords that are
ASCII subsets, and John McMeeking's message
<OFE48D5E6C.F392BD3F-ON86256DB2.006FAD27-86256DB2.006FBEBF@us.ibm.com> =
<http://www.openldap.org/lists/ietf-ldapbis/200310/msg00004.html> also
suggests that things work out in practice, though we still need several
modes for dealing with passwords.

========

A few other pot shots:

At 02 Oct 2003, Kurt D. Zeilenga wrote in message
<6.0.0.22.0.20031001234323.03ef3578@127.0.0.1> =
<http://www.openldap.org/lists/ietf-ldapbis/200310/msg00002.html>:

> Subject: Re: more SASLprep/protocol problems
>
>> If the server and therefore the sysadmin doesn't know whether to
>> prepare a bind password or not, how is the client supposed to know -
>> unless the user tells it?
> 
> Clients (whether used by end-user or sysadmin) have, in
> general, knowledge of character set and encodings they are
> using to interact with the user.  That knowledge is NOT
> communicated by the client to the server.
> 
> I note as well that existing external passwords stores do not
> maintain knowledge of the character set/encoding used by the
> admin, they just store whatever octet string the password-setting
> application provides.  The assumption is that the authenticating
> application will use the same character set, normalization,
> encoding algorithm of the password-setting application.
> 
> This assumption is flawed in that;
>         a) users may use different platforms and/or platform
>           settings then their administrator,
>         b) users may use different platforms and/or platform
>           settings from time to time.

The assumption is flawed, but that doesn't just mean we can ignore it.
The assumption is made, and we have to live with it.

> To deal with this flawed assumption, many deployments are forced
> not internationalize.  Instead they use the lowest common
> denominator (commonly some subset of ASCII).
> 
> The internationalization of LDAP passwords takes this into
> account.  The specification preserves the encoding of
> printable ASCII passwords.

I don't understand this argument.  This whole discussion is about
non-ASCII passwords.  If printable ASCII passwords were all we cared
about, we could simply reject all other passwords.

>> Not that I disagree that client-side preparation is most flexible,
>> but... usually all passwords will be UTF-8 or none of them will,
>> depending on how the sysadmin put them there, so the server will know.
> 
> Clients I have used lately have encoded by password (internally)
> using:
>         ISO 8559-1, UTF-8, UTF-16, UTF-32.
> 
> (I didn't used an EBCDIC client lately).  Luckily the non-UTF-8
> clients prepared the password before transferring it.  The server
> has no knowledge of this.  It simply treats my password as an
> octet string.

We seem to have been talking past each other.  I think you are talking
about passwords stored in the server through the LDAP protocol.  I'm
talking about possibly hashed passwords fetched from the OS by the
server, and stored in the OS with who-knows-what charset.

>> OTOH, the server won't know if they should be prepared if the users
>> stored userPasswords as they pleased, both UTF-8 and non-UTF-8.
>> But then you _really_ need a client option to say whether or not to prepare
>> bind passwords, so I don't suppose that's what you are talking about...
> 
> OTOH, say each of my clients just sent password as they pleased
> with the expectation that the server deal with.  The problem is,
> of course, there is nothing in the protocol which indicates that
> the password field is character data and, if so, which character
> set/encoding was used.  So, the server would have to guess.
> 
>> (Hey! That's another argument for recommending that client option!:-)
> 
> Actually, I think you just made a good argument for why we
> cannot allow clients to as they please.

If you were talking about storing non-UTF-8 passwords in userPassword, I
might agree.  Are you suggesting that userPassword is restricted to
UTF-8?  Otherwise this statement does not make sense.  If the password
is stored as non-UTF-8 in the server, and the server can't translate it
to UTF-8 or doesn't know that it is not UTF-8, the bind password will
have to be non-UTF-8 in order to match.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Sun Nov  9 12:17:55 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA04225
	for <ldapbis-archive@lists.ietf.org>; Sun, 9 Nov 2003 12:17:54 -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 hA9HGGpX043308;
	Sun, 9 Nov 2003 17:16: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 hA9HECGw043138;
	Sun, 9 Nov 2003 17:14: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); Sun, 9 Nov 2003 17:14:12 +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 hA9HDopT043096
	for <ietf-ldapbis@openldap.org>; Sun, 9 Nov 2003 17:13:51 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 1AIt8F-0001L0-Ou
	for ietf-ldapbis@openldap.org; Sun, 09 Nov 2003 18:13:47 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1AIt8D-0004zk-NB; Sun, 09 Nov 2003 18:13:45 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AIt8C-000455-00; Sun, 9 Nov 2003 18:13:44 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031109rljp@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: rfc2277 compliance
Date: Sun, 9 Nov 2003 18:13:44 +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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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>

rfc2277 (IETF Policy on Character Sets and Languages) says:

> 2.  Where to do internationalization
> (...)
>   Where protocol
>   elements look like text tokens, such as in many IETF application
>   layer protocols, protocols MUST specify which parts are protocol and
>   which are text. [WR 2.2.1.1]

Which means [Syntaxes] should specify which syntaxes contain text and
which ones do not.

> 4.2.  Requirement for language tagging
>
>   Protocols that transfer text MUST provide for carrying information
>   about the language of that text.

This implies that LDAP needs something like an Accept-Language extended
operation similar to the HTTP Accept-Language: header.  It would specify
which languages the client prefers for LDAPResult.diagnosticMessage and
text in unsolicited notifications.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 10 18:37:58 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA22792
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 Nov 2003 18:37: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 hAANYWpd001973;
	Mon, 10 Nov 2003 23:36: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 hAANMxI1000976;
	Mon, 10 Nov 2003 23:22: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); Mon, 10 Nov 2003 23:22:59 +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 hAANMcpT000928
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 Nov 2003 23:22:38 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 10 Nov 2003 16:22:16 -0700
Message-Id: <sfafbb38.013@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 10 Nov 2003 15:44:22 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Models: Section 7.1
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part257BA7D6.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.

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

I'm removing Section 6.1 in entirety from the protocol document because
Section 6.1 of the models document deals with this. Section 6.1 of
models needs to now address whether there are mandatory to implement
syntaxes (there are currently no statements regarding syntaxes in this
section). 
 
For reference, the RFC 2251 text was:
   The server MUST be capable of recognizing all the mandatory
attribute
   type names and implement the syntaxes specified in [5].  Servers
MAY
   also recognize additional attribute type names.

Jim

--=__Part257BA7D6.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>I'm removing Section 6.1 in entirety from the protocol document because Section 6.1 of the models document deals with this. Section 6.1 of models needs to now address whether there are mandatory to implement syntaxes (there are currently no statements regarding syntaxes in this section). </DIV>
<DIV>&nbsp;</DIV>
<DIV>For reference, the RFC 2251 text was:<BR>&nbsp;&nbsp; The server MUST be capable of recognizing all the mandatory attribute<BR>&nbsp;&nbsp; type names and implement the syntaxes specified in [5].&nbsp; Servers MAY<BR>&nbsp;&nbsp; also recognize additional attribute type names.<BR></DIV>
<DIV>Jim</DIV></BODY></HTML>
--=__Part257BA7D6.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 10 19:22:59 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA22793
	for <ldapbis-archive@lists.ietf.org>; Mon, 10 Nov 2003 18:37: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 hAANSRqF001238;
	Mon, 10 Nov 2003 23:36: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 hAANN0cM000986;
	Mon, 10 Nov 2003 23:23:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 10 Nov 2003 23:23:00 +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 hAANMdpT000929
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 10 Nov 2003 23:22:39 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 10 Nov 2003 16:22:17 -0700
Message-Id: <sfafbb39.014@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Mon, 10 Nov 2003 15:48:35 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Models: Section 7.2
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part217FA3D3.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.

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

 I'm removing the following from Section 6.2 in protocol becasue it
seems better suited for models (especially in light of my previous
mail).
 
"In the absence of prior agreements with servers, clients SHOULD NOT
assume that servers support any particular schemas beyond those
referenced in section 6.1. Different schemas can have different
attribute types with the same names. The client can retrieve the
subschema entries referenced by the subschemaSubentry attribute in the
entries held by the server."
 
Kurt, can you reconcile this with models?
 
Jim

--=__Part217FA3D3.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>&nbsp;I'm removing the following from Section 6.2 in protocol becasue it seems better suited for models (especially in light of my previous mail).</DIV>
<DIV>&nbsp;</DIV>
<DIV>"In the absence of prior agreements with servers, clients SHOULD NOT assume that servers support any particular schemas beyond those referenced in section 6.1. Different schemas can have different attribute types with the same names. The client can retrieve the subschema entries referenced by the subschemaSubentry attribute in the entries held by the server."</DIV>
<DIV>&nbsp;</DIV>
<DIV>Kurt, can you reconcile this with models?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></DIV></BODY></HTML>
--=__Part217FA3D3.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 11 11:44:26 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09207
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 Nov 2003 11:44: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 hABGeXpX005036;
	Tue, 11 Nov 2003 16:42: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 hABGaUOi004912;
	Tue, 11 Nov 2003 16:36:30 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 11 Nov 2003 16:36:30 +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 hABGa9pT004895
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 Nov 2003 16:36:09 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.9/8.12.9) with ESMTP id hABGa8lg007631;
	Tue, 11 Nov 2003 16:36:09 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.0.22.0.20031111100041.0430b6e8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Tue, 11 Nov 2003 10:35:33 -0600
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: rfc2277 compliance
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20031109rljp@bombur.uio.no>
References: <HBF.20031109rljp@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:13 PM 11/9/2003, Hallvard B Furuseth wrote:
>rfc2277 (IETF Policy on Character Sets and Languages) says:
>
>> 2.  Where to do internationalization
>> (...)
>>   Where protocol
>>   elements look like text tokens, such as in many IETF application
>>   layer protocols, protocols MUST specify which parts are protocol and
>>   which are text. [WR 2.2.1.1]
>
>Which means [Syntaxes] should specify which syntaxes contain text and
>which ones do not.

The specification (as a whole) should be reasonably clear as to whether
a protocol element is character data or not.   We need not, however,
state the obvious.  That is, I don't think we need to add "values of
the Directory String syntax are character data".  However, if there
are cases where you believe the specification is not clear as to whether
values of a syntax are character data or not, please note so to the list.

>> 4.2.  Requirement for language tagging
>>
>>   Protocols that transfer text MUST provide for carrying information
>>   about the language of that text.
>
>This implies that LDAP needs something like an Accept-Language extended
>operation similar to the HTTP Accept-Language: header.
>It would specify which languages the client prefers for LDAPResult.diagnosticMessage and
>text in unsolicited notifications.

While not a complete solution, LDAP addresses this through language tags
options (RFC 2596).  Additionally, servers can use other information
(such as associated with authenticated users) to localize such text.

While certainly one could develop an extension to address this issue,
and I would encourage those interested to propose such an extension
to the IETF, I think LDAPBIS should view such as a new feature and
hence beyond our scope.

Kurt





From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 11 11:48:55 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09371
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 Nov 2003 11:48:54 -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 hABGkXpX005305;
	Tue, 11 Nov 2003 16:47:49 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 hABGfbmB005084;
	Tue, 11 Nov 2003 16:41: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, 11 Nov 2003 16:41:37 +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 hABGfFpT005058
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 Nov 2003 16:41:16 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.9/8.12.9) with ESMTP id hABGfElg007684;
	Tue, 11 Nov 2003 16:41:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.0.0.22.0.20031111090714.0430b6e8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Tue, 11 Nov 2003 10:40:39 -0600
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Textual/non-textual passwords and SASLprep
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <HBF.20031109ro5m@bombur.uio.no>
References: <HBF.20031109ro5m@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 11/9/2003, Hallvard B Furuseth wrote:
>> For this reason, I revise my suggestion:
>>         The simple form of an AuthenticationChoice specifies a
>>         simple password to be used for authentication.  Passwords
>>         consisting of character data (text passwords) SHALL be
>>        transferred as [UTF-8] encoded [Unicode].  Prior to transfer,
>>        clients SHOULD prepare text passwords by applying the
>>        [SASLprep] profile of the [Stringprep] algorithm.  Passwords
>>         consisting of other data (such as random octets) MUST NOT
>>         be altered.
>>
>> (...)
>
>This text now appears in [Protocol] version 18.
>
>However, RFC 2277 also says:
>
>   Where protocol elements look like text tokens, such as in many IETF
>   application layer protocols, protocols MUST specify which parts are
>   protocol and which are text. [WR 2.2.1.1]
>
>yet the above text means that whether a password is text or not is
>decided outside the protocol, which seems just as much in violation of
>RFC 2277 as textual passwords without a specified charset.

The password element of the protocol is an octet string which
may, at times, contain character data.  The protocol relies on
the client implementation to distinguish when the data is text
or non-text.  When text, the client is to "prepare" the text for
transfer as specified.  When non-text, the client is to transfer
the data "as is".   This, IMO, addresses the Internationalization
requirements placed upon password element by BCP 18 (RFC 2277).

>For that matter, RFC 2277 goes on to say:
>
>   Protocols that transfer text MUST provide for carrying information
>   about the language of that text.
>
>which LDAP doesn't do for passwords, and probably doesn't fit anyone's
>idea of what one does with passwords in any case.
>So if we go by RFC 2277, we must either specify that passwords are UTF-8
>text, and probably also modify the userPassword syntax to only accept
>UTF-8, or that passwords are not text, but MAY be translated to UTF-8
>and prepared by [SASLprep] in some cases anyway.  Or we could ignore
>rfc2277 for this issue (or maybe that means to ask for an exception to
>be made), like at least the IRC protocol has done for backwards
>compatibility.

To the wire and the server, whether the password element is text or
not and, if so, what language that text is in is irrelevant to the
wire and server.  The server is obligated to treat the password as
an octet string.  Hence, the quoted requirement doesn't apply.

In reading the remainder of your comments, I find no new arguments.
To avoid repeating prior discussions, I'll won't respond to them.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 11 14:15:01 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA15978
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 Nov 2003 14:15: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 hABJAYpX015325;
	Tue, 11 Nov 2003 19:12:09 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 hABJ5Tgj015165;
	Tue, 11 Nov 2003 19:05:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 11 Nov 2003 19:05: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 hABJ4PpT015112;
	Tue, 11 Nov 2003 19:04:26 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 1AJdoI-0007CD-RF; Tue, 11 Nov 2003 20:04:18 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1AJdoG-0004Ok-Bo; Tue, 11 Nov 2003 20:04:16 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AJdoG-0003jk-00; Tue, 11 Nov 2003 20:04:16 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031111e4gm@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Textual/non-textual passwords and SASLprep
In-Reply-To: <6.0.0.22.0.20031111090714.0430b6e8@127.0.0.1>
References: <HBF.20031109ro5m@bombur.uio.no>
	<6.0.0.22.0.20031111090714.0430b6e8@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 11 Nov 2003 20:04: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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 writes:

> The password element of the protocol is an octet string which may, at
> times, contain character data.  (...)  This, IMO, addresses the
> Internationalization requirements placed upon password element by BCP
> 18 (RFC 2277).

Your first sentence alone satisfies RFC 2277, but then was no need to
change the [Protocol] about passwords in order to satisfy RFC 2277.

> The protocol relies on the client implementation to distinguish when
> the data is text or non-text.  When text, the client is to "prepare"
> the text for transfer as specified.  When non-text, the client is to
> transfer the data "as is".

Then [Protocol] should explicitly say that.  That is, 'The protocol
relies on the client implementation to distinguish when the data is text
or non-text.'  And that the client needs some way to tell whether a
user-supplied password is text or not.  Which seems to be just another
way to say more or less what I originally suggested, that the client
should have options to decide whether or not to translate and prepare
passwords.  Even if the option is "if the password is taken from a file,
don't translate" if that's what you have in mind.

It makes little sense to say, in effect, the client SHALL treat textual
and non-textual passwords differently, but not to give the slightest
hint how to decide when a password is textual.

When you keep the text vs. non-text issue out of the protocol itself, it
doesn't seem to be an RFC 2277 issue.  On the contrary, when you bring
rfc 2277 into it it seems to me you are saying that client and server
should have some way to agree on whether or not the passwords are text.
Such interoperability is what rfc 2277 is about.

> In reading the remainder of your comments, I find no new arguments.
> To avoid repeating prior discussions, I'll won't respond to them.

Hm?  I've read through the 'more SASLprep/protocol problems' thread and
the 'Schema: encrypted 8-bit userPassword and SASLprep' thread, but I
don't find answers to what I wrote.  There may be answers in the message
from you which I quoted at the end, but if so I didn't understand what
you were saying.  That message made very little sense to me, which means
that one or both of us must have misunderstood the other pretty badly.
OTOH, some of it isn't so relevant anymore, just the textual
vs. non-textual issue is.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 11 14:22:31 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16311
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 Nov 2003 14:22: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 hABJGYpX015483;
	Tue, 11 Nov 2003 19:17: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 hABJD3Vg015427;
	Tue, 11 Nov 2003 19:13: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); Tue, 11 Nov 2003 19:13:03 +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 hABJCfpT015404
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 Nov 2003 19:12:41 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;
          Tue, 11 Nov 2003 19:14:11 +0000
Message-ID: <3FB134A3.4070909@isode.com>
Date: Tue, 11 Nov 2003 19:12:35 +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: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: authmeth: SASL protocol profile
References: <HBF.20031106y297@bombur.uio.no>
In-Reply-To: <HBF.20031106y297@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 B Furuseth wrote:

>About Authmeth Section 3.3 (SASL Authentication Profile):
>
>According to [SASL], the LDAP protocol profile must explicitly mention
>- that LDAP supports "multiple authentications",
>- the form of the authorization identity,
>and SHOULD specify use of SASLPrep.
>
>Sections 3.3.5 (Rules for using SASL security layers) and 3.3.6 (Use of
>EXTERNAL SASL Mechanism) should be removed or moved away from the
>protocol profile.
>
Actually I disagree. Section 3.3.5 definitely belongs to the protocol 
profile.
3.3.6 might be stating obvious, but it reminds that EXTERNAL [based on 
TLS] must not be allowed until a client certificate was presented during 
TLS handshake.

>  Unless I've gone blind, the [SASL] protocol profile
>requirements do not mention them.
>
>I think section 3.3 should be renamed 'SASL Protocol Profile', so
>readers of [SASL] can _find_ the 'protocol profile' by searching the
>authmeth document for that phrase.
>
I agree.

>
>A suggestion in my 'authmeth-07 issues' message was bogus:  To move
>section 3.3.3 (Octet where negotiated security mechanisms take effect)
>away from the protocol profile section.  I hadn't realized what a
>protocol profile was when I said that.
>


Alexey
__________________________________________
Isode Limited, http://www.isode.com

IETF standard related pages:
http://www.melnikov.ca/mel/devel/Links.html
__________________________________________




From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 11 14:31:40 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16925
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 Nov 2003 14:31: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 hABJSYpn016020;
	Tue, 11 Nov 2003 19:30: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 hABJQCiM015896;
	Tue, 11 Nov 2003 19:26:12 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 11 Nov 2003 19:26:12 +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 hABJP9pT015768;
	Tue, 11 Nov 2003 19:25:10 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 1AJe8Q-0001Ls-Is; Tue, 11 Nov 2003 20:25:06 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.14)
	id 1AJe8O-0006Bg-KP; Tue, 11 Nov 2003 20:25:04 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AJe8J-0003mB-00; Tue, 11 Nov 2003 20:24:59 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031111drzd@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: rfc2277 compliance
In-Reply-To: <6.0.0.22.0.20031111100041.0430b6e8@127.0.0.1>
References: <HBF.20031109rljp@bombur.uio.no>
	<6.0.0.22.0.20031111100041.0430b6e8@127.0.0.1>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Tue, 11 Nov 2003 20:24:59 +0100
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning.
X-UiO-MailScanner: No virus found
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I should have stated that I'm not really concerned with how much we do
for RFC2277 compliance myself.  I just thought from the passwords/
SASLprep thread that at least you & Jim might be.  Anyway,

Kurt D. Zeilenga writes:
> The specification (as a whole) should be reasonably clear as to whether
> a protocol element is character data or not.   We need not, however,
> state the obvious.  That is, I don't think we need to add "values of
> the Directory String syntax are character data".  However, if there
> are cases where you believe the specification is not clear as to whether
> values of a syntax are character data or not, please note so to the list.

It's not clear to me if all syntaxes in [Syntaxes] except JPEG contain
text in the rfc2277 sense, or if just the ones matching the string
matching rules listed in [Syntaxes] 4.2 are text.

>>> 4.2.  Requirement for language tagging
>>>
>>>   Protocols that transfer text MUST provide for carrying information
>>>   about the language of that text.
>>
>> This implies that LDAP needs something like an Accept-Language extended
>> operation similar to the HTTP Accept-Language: header.
>> It would specify which languages the client prefers for
>> LDAPResult.diagnosticMessage and text in unsolicited notifications.
> 
> While not a complete solution, LDAP addresses this through language tags
> options (RFC 2596).

I know.  That's why I just mentioned elements that can not be associated
with language tags.

> Additionally, servers can use other information
> (such as associated with authenticated users) to localize such text.

Check if that his entry has something like a preferredLanguage
attribute, you mean?  OK, but it doesn't help other users, or
unauthenticated users.

> While certainly one could develop an extension to address this issue,
> and I would encourage those interested to propose such an extension
> to the IETF, I think LDAPBIS should view such as a new feature and
> hence beyond our scope.

Fine by me.  (And I don't think it will be me who proposes it.)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Tue Nov 11 16:39:56 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA23105
	for <ldapbis-archive@lists.ietf.org>; Tue, 11 Nov 2003 16:39: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 hABLSZpx023045;
	Tue, 11 Nov 2003 21:38: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 hABLP5Vj022813;
	Tue, 11 Nov 2003 21:25:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 11 Nov 2003 21:25:05 +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 hABLOgpT022779
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 11 Nov 2003 21:24:43 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.3.16)
	id <B0001a004f>; Wed, 12 Nov 2003 08:16:45 +1100
Received: (qmail 10994 invoked from network); 11 Nov 2003 21:23:52 -0000
Received: from unknown (HELO belinda) (10.32.252.2)
  by nexus.adacel.com with SMTP; 11 Nov 2003 21:23:52 -0000
From: "Steven Legg" <steven.legg@adacel.com.au>
To: <ietf-ldapbis@OpenLDAP.org>, <xeddev@adacel.com>, <discuss@apps.ietf.org>
Subject: XED Bar Bof
Date: Wed, 12 Nov 2003 08:26:31 +1100
Message-ID: <NFEPIHPDLFBEIADHNLPCIEBHCAAA.steven.legg@adacel.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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


For those attending IETF 58, a bar BOF on the XML Enabled Directory
(XED) is scheduled for Wednesday at 3:30 PM. Meet outside the Rochester
room.

Regards,
Steven


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 02:21:10 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA27430
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 02:21:09 -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 hAC7GcpX059908;
	Wed, 12 Nov 2003 07:19:05 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 hAC7EnOl059881;
	Wed, 12 Nov 2003 07:14: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, 12 Nov 2003 07:14:49 +0000
Received: from nb2.stroeder.com (du-041-074.access.de.clara.net [213.221.78.74] (may be forged))
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hAC7EPpT059863
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 07:14:26 GMT
	(envelope-from michael@stroeder.com)
Received: from localhost (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id DBF3394B09; Wed, 12 Nov 2003 07:56:54 +0100 (CET)
Received: from stroeder.com (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id B8EFA94B02; Wed, 12 Nov 2003 07:56:53 +0100 (CET)
Message-ID: <3FB1D9B5.3060008@stroeder.com>
Date: Wed, 12 Nov 2003 07:56:53 +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.5) Gecko/20031007
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Textual/non-textual passwords and SASLprep
References: <HBF.20031109ro5m@bombur.uio.no>	<6.0.0.22.0.20031111090714.0430b6e8@127.0.0.1> <HBF.20031111e4gm@bombur.uio.no>
In-Reply-To: <HBF.20031111e4gm@bombur.uio.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS 0.3.12pre8
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 wrote:
> 
> Even if the option is "if the password is taken from a file,
> don't translate" if that's what you have in mind.

Even if passwords are read from file they can be textual ;-) and the 
application MUST have the a-priori knowledge to decide what to do with 
passwords stored in file. Which mainly boils down to that you also have to 
specify your file format exactly and your application following the format 
correctly.

> It makes little sense to say, in effect, the client SHALL treat textual
> and non-textual passwords differently, but not to give the slightest
> hint how to decide when a password is textual.

The client does not decide whether an arbitrary password is textual. The 
client application simply MUST have the a-priori knowledge about passwords 
being textual or non-textual and whether to apply SASLprep or not. Most 
times the client application locally decides that derived from the source 
(e.g. keyboard, configuration file) the password is received from.

Example:
In case of my web application the user is definitely not able to send 
arbitrary binary data in the password input field. Therefore it's save to 
assume in my application that I have to convert the user's input from known 
input character set (<form accept-charset="..">) to UTF-8-encoded Unicode.

> Hm?  I've read through the 'more SASLprep/protocol problems' thread and
> the 'Schema: encrypted 8-bit userPassword and SASLprep' thread, but I
> don't find answers to what I wrote.

Hallvard, I have to admit that I don't see your problem at all... :-/

I hate to repeat myself but I'd like to emphasize again that personally I'm 
very happy about having such a SASLprep statement now. It will lead to 
greater interoperability fixing real-world issues if all LDAP client 
implementors follow that rules.

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 08:27:35 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA16755
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 08:27: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 hACDMepX079527;
	Wed, 12 Nov 2003 13:25: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 hACDISFa079019;
	Wed, 12 Nov 2003 13:18:28 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 13:18: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 hACDI6pT078934
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 13:18:07 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 1AJusl-0004iH-7G; Wed, 12 Nov 2003 14:18:03 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.14)
	id 1AJuse-0007sB-5i; Wed, 12 Nov 2003 14:17:56 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AJusd-0006Tn-00; Wed, 12 Nov 2003 14:17:55 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031112wd06@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
To: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Textual/non-textual passwords and SASLprep
In-Reply-To: <3FB1D9B5.3060008@stroeder.com>
References: <HBF.20031109ro5m@bombur.uio.no>
	<6.0.0.22.0.20031111090714.0430b6e8@127.0.0.1>
	<HBF.20031111e4gm@bombur.uio.no>
	<3FB1D9B5.3060008@stroeder.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 12 Nov 2003 14:17:55 +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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id hACDI7pT078942
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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:
>Hallvard B Furuseth wrote:
>> 
>> Even if the option is "if the password is taken from a file,
>> don't translate" if that's what you have in mind.
> 
> Even if passwords are read from file they can be textual ;-)

I quite agree, but that seemed to be what you suggested in article
<http://www.openldap.org/lists/ietf-ldapbis/200305/msg00112.html>, which
you referred me to when I asked how to tell if a password was textual.

> and the application MUST have the a-priori knowledge to decide what to
> do with passwords stored in file. Which mainly boils down to that you
> also have to specify your file format exactly and your application
> following the format correctly.

So the password file contains a mark which says whether the following
password is textual or not, or something like that?  OK.

>> It makes little sense to say, in effect, the client SHALL treat textual
>> and non-textual passwords differently, but not to give the slightest
>> hint how to decide when a password is textual.
> 
> The client does not decide whether an arbitrary password is textual.

That's exactly my point:-)

> The 
> client application simply MUST have the a-priori knowledge about passwords 
> being textual or non-textual and whether to apply SASLprep or not. Most 
> times the client application locally decides that derived from the source 
> (e.g. keyboard, configuration file) the password is received from.

OK if that configuration file offers a format which says 'this password
is non-textual'.

> Hallvard, I have to admit that I don't see your problem at all... :-/

I want [Protocol] to either say something about how to decide if a
password is textual or not (even if it's just "it's the client's
responsibility to know this"), or to drop the SHALL/MUST treat
textual and non-textual passwords differently.

At least, I want someone who writes a client which can bind as both
users with textual and with non-textual passwords, to have some clue
what is required of them.  For example, am I doing anything wrong if I
declare that passwords given to my client are always non-textual, even
passwords typed in by users, maybe unless the user gives an option
saying they are textual?  That's in violation of what people are saying
about typed-in passwords in this thread, but it's not in violation of
anything [Protocol] says.

-- 
Hallvard



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 08:48:22 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA17297
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 08:48: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 hACDeeqX080468;
	Wed, 12 Nov 2003 13:46:49 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 hACDeP0L080380;
	Wed, 12 Nov 2003 13:40: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, 12 Nov 2003 13:40:25 +0000
Received: from nb2.stroeder.com (du-006-243.access.de.clara.net [212.82.229.243])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACDe0pT080320
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 13:40:03 GMT
	(envelope-from michael@stroeder.com)
Received: from localhost (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id C58B6A8BDF; Wed, 12 Nov 2003 14:38:56 +0100 (CET)
Received: from stroeder.com (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id CF3616C821; Wed, 12 Nov 2003 14:38:55 +0100 (CET)
Message-ID: <3FB237EF.2010103@stroeder.com>
Date: Wed, 12 Nov 2003 14:38:55 +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.5) Gecko/20031007
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Textual/non-textual passwords and SASLprep
References: <HBF.20031109ro5m@bombur.uio.no>	<6.0.0.22.0.20031111090714.0430b6e8@127.0.0.1>	<HBF.20031111e4gm@bombur.uio.no>	<3FB1D9B5.3060008@stroeder.com> <HBF.20031112wd06@bombur.uio.no>
In-Reply-To: <HBF.20031112wd06@bombur.uio.no>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Virus-Scanned: by AMaViS 0.3.12pre8
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id hACDe4pT080345
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 B Furuseth wrote:
> Michael Ströder writes:
> 
>>
>>Even if passwords are read from file they can be textual ;-)
> 
> I quite agree, but that seemed to be what you suggested in article
> <http://www.openldap.org/lists/ietf-ldapbis/200305/msg00112.html>, which
> you referred me to when I asked how to tell if a password was textual.

There's no text in my former posting stating that textual passwords can't be 
read from a file.

>>and the application MUST have the a-priori knowledge to decide what to
>>do with passwords stored in file. Which mainly boils down to that you
>>also have to specify your file format exactly and your application
>>following the format correctly.
> 
> So the password file contains a mark which says whether the following
> password is textual or not, or something like that?

Not necessarily. That's simply subject of local definition.

>>Hallvard, I have to admit that I don't see your problem at all... :-/
> 
> I want [Protocol] to either say something about how to decide if a
> password is textual or not (even if it's just "it's the client's
> responsibility to know this"),

Then we go for "it's the client's responsibility to know this a priori". ;-)

> or to drop the SHALL/MUST treat
> textual and non-textual passwords differently.

No!

> For example, am I doing anything wrong if I
> declare that passwords given to my client are always non-textual, even
> passwords typed in by users, maybe unless the user gives an option
> saying they are textual?

Even "passwords typed in by users" could be binary. ;-)

Since you cited my former posting I'll grab text from there:

"More formally one could define textual passwords as a character sequence 
with a known character set and encoding."

Ciao, Michael.




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 08:48:32 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA17328
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 08:48: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 hACDeeqT080468;
	Wed, 12 Nov 2003 13:46:49 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 hACDa1bB080120;
	Wed, 12 Nov 2003 13:36: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); Wed, 12 Nov 2003 13:36:01 +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 hACDZepT080070
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 13:35:40 GMT
	(envelope-from kurt@boole.openldap.org)
Received: (from kurt@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) id hACDZeJW080069
	for ietf-ldapbis@openldap.org; Wed, 12 Nov 2003 05:35:40 -0800 (PST)
	(envelope-from kurt)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hABJhGpT016957
	for <ietf-ldapbis@openldap.org>; Tue, 11 Nov 2003 19:43:16 GMT
	(envelope-from Chris.Newman@Sun.COM)
Received: from esunmail ([129.147.156.34])
	by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id hABJhFcm023572
	for <ietf-ldapbis@openldap.org>; Tue, 11 Nov 2003 12:43:15 -0700 (MST)
Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <0HO700HHMDG34D@edgemail1.Central.Sun.COM> for
 ietf-ldapbis@openldap.org; Tue, 11 Nov 2003 12:43:15 -0700 (MST)
Received: from dyn132-212.ietf58.ietf.org ([130.129.132.212])
 by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTPSA id <0HO700J7GDFZS7@mail.sun.net> for ietf-ldapbis@openldap.org;
 Tue, 11 Nov 2003 12:43:15 -0700 (MST)
Date: Tue, 11 Nov 2003 13:43:20 -0600
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: unauthenticated bind
To: ietf-ldapbis@OpenLDAP.org
Message-id: <2147483647.1068558200@dyn132-212.ietf58.ietf.org>
MIME-version: 1.0
X-Mailer: Mulberry/3.1.0b9 (Mac OS X)
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

LDAP is often used as the authentication store for other services (e.g., mail
services).  These services use LDAP to validate passwords.

I have seen many cases where shipping software does a simple bind to test if a
user's password is valid and due to unauthenticated bind, this will always
succeed with an empty password and allow an attacker to access every account.

The example code in Tim Howe's book for exactly this purpose has exactly this
bug, so we will never get rid of this security hole in LDAP by fixing the
client code because we'll always have new client code with this bug.

The only way to fix this LDAP security hole properly is to disallow
unauthenticated bind on the server (I have no problem with anonymous bind).

Currently, this text is buried in the security considerations section of the
authmeth draft with a fairly weak "SHOULD".

The requirement should be in section 6.1 of authmeth and should be a "MUST by
default reject authentication requests that have a DN with an empty password".

                - Chris


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 08:48:34 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA17336
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 08:48:33 -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 hACDeeqV080468;
	Wed, 12 Nov 2003 13:46:49 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 hACDbJWM080229;
	Wed, 12 Nov 2003 13:37: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); Wed, 12 Nov 2003 13:37:19 +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 hACDawpT080206
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 13:36:58 GMT
	(envelope-from kurt@boole.openldap.org)
Received: (from kurt@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) id hACDaw54080205
	for ietf-ldapbis@openldap.org; Wed, 12 Nov 2003 05:36:58 -0800 (PST)
	(envelope-from kurt)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hABJtjpT017561
	for <ietf-ldapbis@openldap.org>; Tue, 11 Nov 2003 19:55:45 GMT
	(envelope-from Chris.Newman@Sun.COM)
Received: from esunmail ([129.147.156.34])
	by brmea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id hABJtiPh026190
	for <ietf-ldapbis@openldap.org>; Tue, 11 Nov 2003 12:55:44 -0700 (MST)
Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <0HO700HK1E0V4D@edgemail1.Central.Sun.COM> for
 ietf-ldapbis@openldap.org; Tue, 11 Nov 2003 12:55:44 -0700 (MST)
Received: from dyn132-212.ietf58.ietf.org ([130.129.132.212])
 by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTPSA id <0HO700J7NE0SSF@mail.sun.net> for ietf-ldapbis@openldap.org;
 Tue, 11 Nov 2003 12:55:43 -0700 (MST)
Date: Tue, 11 Nov 2003 13:55:50 -0600
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: passwords in the clear
To: ietf-ldapbis@OpenLDAP.org
Message-id: <2147483647.1068558950@dyn132-212.ietf58.ietf.org>
MIME-version: 1.0
X-Mailer: Mulberry/3.1.0b9 (Mac OS X)
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

The recent IMAP revision spec used to allow the LOGIN command (equivalent to
simple bind) without requiring a security layer and this was rejected by the
IESG.

In RFC 3501, we developed compromise text that addressed the IESG's desire to
strongly deprecate passwords in the clear, while still allowing legacy
implementations.  Recasting that text in LDAP terms looks roughly like this:

----
   Use of simple bind sends passwords in the clear.  This can be
   avoided by using SASL bind [SASL] with a mechanism
   that does not use plaintext passwords, by first negotiating
   encryption via STARTTLS or some other protection mechanism.

   A server implementation MUST implement a configuration that, at the
   time of authentication, requires:
      (1) A STARTTLS encryption layer has been successfully negotiated.
   OR
      (2) Some other mechanism that protects the session from password
      snooping has been provided.
   OR
      (3) The following measures are in place:
         (a) The simple bind operation returns an error even if the
         password is correct.
      AND
         (b) The SASL bind operation returns an error with all [SASL]
         mechanisms that use plaintext passwords, even if the password
         is correct.
----

                - Chris


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 09:27:54 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA18761
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 09:27: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 hACEMepd084651;
	Wed, 12 Nov 2003 14:26:11 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 hACEKJwb084401;
	Wed, 12 Nov 2003 14:20: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); Wed, 12 Nov 2003 14:20: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 hACEJwpT084352
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 14:19:58 GMT
	(envelope-from hbf@bombur.uio.no)
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1AJvqc-0003fn-KX; Wed, 12 Nov 2003 15:19:54 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx3.uio.no with esmtp (Exim 4.14)
	id 1AJvom-0000z0-76; Wed, 12 Nov 2003 15:18:00 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AJvoh-0006cq-00; Wed, 12 Nov 2003 15:17:55 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031112vcw4@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Chris Newman <Chris.Newman@Sun.COM>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: passwords in the clear
In-Reply-To: <2147483647.1068558950@dyn132-212.ietf58.ietf.org>
References: <2147483647.1068558950@dyn132-212.ietf58.ietf.org>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 12 Nov 2003 15:17:55 +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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Chris,

authmeth 7.1 (Simple Authentication) says:

   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. 

Are you saying this is insufficient?  How about just adding '...and
servers MUST support a configuration which rejects "simple"
authentication unless such protection is in place.'

Or maybe that should be 'MUST by default reject...'.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 09:55:37 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA19714
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 09:55: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 hACEqfpX086571;
	Wed, 12 Nov 2003 14:54: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 hACEq9cR086530;
	Wed, 12 Nov 2003 14:52: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, 12 Nov 2003 14:52:09 +0000
Received: from e5.ny.us.ibm.com (e5.ny.us.ibm.com [32.97.182.105])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACEpipT086487
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 14:51:48 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e5.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id hACEpNn9129234
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 09:51:23 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id hACEpMVn227160
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 09:51:23 -0500
Subject: Re: unauthenticated bind
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 5.0.12   February 13, 2003
Message-ID: <OF853C70E1.54411116-ON86256DDC.0050EC4A-86256DDC.00519BB9@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Wed, 12 Nov 2003 08:51:21 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5|September 18, 2003) at
 11/12/2003 08:51:23 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>





In my limited experience with RFCs I haven't had to deal with requirements
like "MUST by default do ..." or "default configuration MUST do ...".  My
first reaction is to read this as if the "default" wording was missing.
But upon further thought...

I have no problem with disallowing unauthenticated binds as proposed, or
even disallowing them completely.


John  McMeeking



                                                                                                                       
                      Chris Newman                                                                                     
                      <Chris.Newman@Sun.CO        To:       ietf-ldapbis@OpenLDAP.org                                  
                      M>                          cc:                                                                  
                      Sent by:                    Subject:  unauthenticated bind                                       
                      owner-ietf-ldapbis@O                                                                             
                      penLDAP.org                                                                                      
                                                                                                                       
                                                                                                                       
                      11/11/2003 01:43 PM                                                                              
                                                                                                                       
                                                                                                                       




LDAP is often used as the authentication store for other services (e.g.,
mail
services).  These services use LDAP to validate passwords.

I have seen many cases where shipping software does a simple bind to test
if a
user's password is valid and due to unauthenticated bind, this will always
succeed with an empty password and allow an attacker to access every
account.

The example code in Tim Howe's book for exactly this purpose has exactly
this
bug, so we will never get rid of this security hole in LDAP by fixing the
client code because we'll always have new client code with this bug.

The only way to fix this LDAP security hole properly is to disallow
unauthenticated bind on the server (I have no problem with anonymous bind).

Currently, this text is buried in the security considerations section of
the
authmeth draft with a fairly weak "SHOULD".

The requirement should be in section 6.1 of authmeth and should be a "MUST
by
default reject authentication requests that have a DN with an empty
password".

                 - Chris




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 10:13:15 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA21022
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 10:13: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 hACFAfpX087909;
	Wed, 12 Nov 2003 15:11: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 hACFAMgc087879;
	Wed, 12 Nov 2003 15:10: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); Wed, 12 Nov 2003 15:10:22 +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 hACFA0pT087818
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:10:01 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [9.56.224.206])
	by e2.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id hACF9dho258986
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 10:09:40 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay04.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id hACF9c9L113032
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 10:09:39 -0500
Subject: Re: passwords in the clear
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 5.0.12   February 13, 2003
Message-ID: <OFBC06A76C.04FFDC9C-ON86256DDC.0052C877-86256DDC.00534830@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Wed, 12 Nov 2003 09:09:38 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5|September 18, 2003) at
 11/12/2003 09:09:39 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 to confer with others before I come back with a response to this,
but...

It seems like changing passwords in the clear would present similar issues.
If someone can snoop for bind requests, it wouldn't seem much harder to
also snoop for password change operations (password modify extended op,
modify of userPassword, etc.).

Do we want to consider extending this to cover that?

John  McMeeking



                                                                                                                       
                      Chris Newman                                                                                     
                      <Chris.Newman@Sun.CO        To:       ietf-ldapbis@OpenLDAP.org                                  
                      M>                          cc:                                                                  
                      Sent by:                    Subject:  passwords in the clear                                     
                      owner-ietf-ldapbis@O                                                                             
                      penLDAP.org                                                                                      
                                                                                                                       
                                                                                                                       
                      11/11/2003 01:55 PM                                                                              
                                                                                                                       
                                                                                                                       




The recent IMAP revision spec used to allow the LOGIN command (equivalent
to
simple bind) without requiring a security layer and this was rejected by
the
IESG.

In RFC 3501, we developed compromise text that addressed the IESG's desire
to
strongly deprecate passwords in the clear, while still allowing legacy
implementations.  Recasting that text in LDAP terms looks roughly like
this:

----
   Use of simple bind sends passwords in the clear.  This can be
   avoided by using SASL bind [SASL] with a mechanism
   that does not use plaintext passwords, by first negotiating
   encryption via STARTTLS or some other protection mechanism.

   A server implementation MUST implement a configuration that, at the
   time of authentication, requires:
      (1) A STARTTLS encryption layer has been successfully negotiated.
   OR
      (2) Some other mechanism that protects the session from password
      snooping has been provided.
   OR
      (3) The following measures are in place:
         (a) The simple bind operation returns an error even if the
         password is correct.
      AND
         (b) The SASL bind operation returns an error with all [SASL]
         mechanisms that use plaintext passwords, even if the password
         is correct.
----

                 - Chris




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 10:35:22 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA22438
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 10:35:20 -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 hACFMfrB089063;
	Wed, 12 Nov 2003 15:33: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 hACFL7Jc088729;
	Wed, 12 Nov 2003 15:21:07 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 15:21:07 +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 hACFKkpT088682
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 15:20: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 1AJwnS-0002Zu-NL; Wed, 12 Nov 2003 16:20:42 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1AJwnG-0003ze-Av; Wed, 12 Nov 2003 16:20:30 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AJwnC-0006lF-00; Wed, 12 Nov 2003 16:20:26 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031112ub9j@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: John McMeeking <jmcmeek@us.ibm.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: unauthenticated bind
In-Reply-To: <OF853C70E1.54411116-ON86256DDC.0050EC4A-86256DDC.00519BB9@us.ibm.com>
References: <OF853C70E1.54411116-ON86256DDC.0050EC4A-86256DDC.00519BB9@us.ibm.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 12 Nov 2003 16:20:26 +0100
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning.
X-UiO-MailScanner: No virus found
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

John McMeeking writes:
> I have no problem with disallowing unauthenticated binds as proposed, or
> even disallowing them completely.

Disallowing them completely sounds like an LDAPv4 change to me.
That is, too big a change to make in LDAPv3.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 10:38:59 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA22662
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 10:38: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 hACFSeqR090400;
	Wed, 12 Nov 2003 15:36: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 hACFSVU3090356;
	Wed, 12 Nov 2003 15:28: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, 12 Nov 2003 15:28:31 +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 hACFSApT090206
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:28:10 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 12 Nov 2003 08:27:49 -0700
Message-Id: <sfb1ef05.086@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 12 Nov 2003 08:27:22 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: unauthenticated bind
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartFEA07E4A.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.

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

Disallowing them completely may break some current client and server
implementations. I remember some people (maybe Mark Smith) from Netscape
saying that they use the mechanism as some way of voluntary auditing or
some such.
 
I prefer the compromise solution brought up in yesterday's meeting
where part of the note is moved into the main body of the document with
a pointer to the security considerations which contains the reasons
why.
 
Jim

>>> John McMeeking <jmcmeek@us.ibm.com> 11/12/03 8:51:21 AM >>>




In my limited experience with RFCs I haven't had to deal with
requirements
like "MUST by default do ..." or "default configuration MUST do ...".
My
first reaction is to read this as if the "default" wording was
missing.
But upon further thought...

I have no problem with disallowing unauthenticated binds as proposed,
or
even disallowing them completely.


John McMeeking




Chris Newman 
< Chris.Newman@Sun.CO To: ietf-ldapbis@OpenLDAP.org 
M> cc: 
Sent by: Subject: unauthenticated bind 
owner-ietf-ldapbis@O 
penLDAP.org 


11/11/2003 01:43 PM 






LDAP is often used as the authentication store for other services
(e.g.,
mail
services). These services use LDAP to validate passwords.

I have seen many cases where shipping software does a simple bind to
test
if a
user's password is valid and due to unauthenticated bind, this will
always
succeed with an empty password and allow an attacker to access every
account.

The example code in Tim Howe's book for exactly this purpose has
exactly
this
bug, so we will never get rid of this security hole in LDAP by fixing
the
client code because we'll always have new client code with this bug.

The only way to fix this LDAP security hole properly is to disallow
unauthenticated bind on the server (I have no problem with anonymous
bind).

Currently, this text is buried in the security considerations section
of
the
authmeth draft with a fairly weak "SHOULD".

The requirement should be in section 6.1 of authmeth and should be a
"MUST
by
default reject authentication requests that have a DN with an empty
password".

- Chris




--=__PartFEA07E4A.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>Disallowing them completely may break some current client and server implementations. I remember some people (maybe Mark Smith) from Netscape saying that they use the mechanism as some way of voluntary auditing or some such.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I prefer the compromise solution brought up in yesterday's meeting where part of the note is moved into the main body of the document with a pointer to the security considerations which contains the reasons why.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim<BR><BR>&gt;&gt;&gt; John McMeeking &lt;jmcmeek@us.ibm.com&gt; 11/12/03 8:51:21 AM &gt;&gt;&gt;<BR><BR><BR><BR><BR>In my limited experience with RFCs I haven't had to deal with requirements<BR>like "MUST by default do ..." or "default configuration MUST do ...". My<BR>first reaction is to read this as if the "default" wording was missing.<BR>But upon further thought...<BR><BR>I have no problem with disallowing unauthenticated binds as proposed, or<BR>even disallowing them completely.<BR><BR><BR>John McMeeking<BR><BR><BR><BR><BR>Chris Newman <BR>&lt;<U> <A href="mailto:Chris.Newman@Sun.CO">Chris.Newman@Sun.CO</A></U> To: <U><A href="mailto:ietf-ldapbis@OpenLDAP.org">ietf-ldapbis@OpenLDAP.org</A></U> <BR>M&gt; cc: <BR>Sent by: Subject: unauthenticated bind <BR>owner-ietf-ldapbis@O <BR>penLDAP.org <BR><BR><BR>11/11/2003 01:43 PM <BR><BR><BR><BR><BR><BR><BR>LDAP is often used as the authentication store for other services (e.g.,<BR>mail<BR>services). These services use L!
 DAP to validate passwords.<BR><BR>I have seen many cases where shipping software does a simple bind to test<BR>if a<BR>user's password is valid and due to unauthenticated bind, this will always<BR>succeed with an empty password and allow an attacker to access every<BR>account.<BR><BR>The example code in Tim Howe's book for exactly this purpose has exactly<BR>this<BR>bug, so we will never get rid of this security hole in LDAP by fixing the<BR>client code because we'll always have new client code with this bug.<BR><BR>The only way to fix this LDAP security hole properly is to disallow<BR>unauthenticated bind on the server (I have no problem with anonymous bind).<BR><BR>Currently, this text is buried in the security considerations section of<BR>the<BR>authmeth draft with a fairly weak "SHOULD".<BR><BR>The requirement should be in section 6.1 of authmeth and should be a "MUST<BR>by<BR>default reject authentication requests that have a DN with an empty<BR>password".<BR><BR>- Chr!
 is<BR><BR><BR></DIV></BODY></HTML>
--=__PartFEA07E4A.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 10:53:33 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA23733
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 10:53: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 hACFkfqD095370;
	Wed, 12 Nov 2003 15:52: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 hACFkONv095313;
	Wed, 12 Nov 2003 15:46: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, 12 Nov 2003 15:46:24 +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 hACFk3pT095253
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:46:03 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 12 Nov 2003 08:45:42 -0700
Message-Id: <sfb1f336.000@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 12 Nov 2003 08:45:11 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Textual/non-textual passwords and SASLprep
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id hACFk4pT095272
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

(Lifting snippets from here and there) How does this sound?
 
Textual passwords (consisting of a character sequence with a known character set and encoding) SHALL be transferred as [UTF-8] encoded [Unicode]. 
The determination of whether a password is textual is a local client matter.   
Prior to transfer, clients SHOULD prepare text passwords by applying the [SASLprep] profile of the [Stringprep] algorithm. 
Passwords consisting of other data (such as random octets) MUST NOT be altered. 

Jim

>>> Michael Ströder <michael@stroeder.com> 11/12/03 7:38:55 AM >>>
Hallvard B Furuseth wrote:
> Michael Ströder writes:
> 
>>
>>Even if passwords are read from file they can be textual ;-)
> 
> I quite agree, but that seemed to be what you suggested in article
> < http://www.openldap.org/lists/ietf-ldapbis/200305/msg00112.html >, which
> you referred me to when I asked how to tell if a password was textual.

There's no text in my former posting stating that textual passwords can't be 
read from a file.

>>and the application MUST have the a-priori knowledge to decide what to
>>do with passwords stored in file. Which mainly boils down to that you
>>also have to specify your file format exactly and your application
>>following the format correctly.
> 
> So the password file contains a mark which says whether the following
> password is textual or not, or something like that?

Not necessarily. That's simply subject of local definition.

>>Hallvard, I have to admit that I don't see your problem at all... :-/
> 
> I want [Protocol] to either say something about how to decide if a
> password is textual or not (even if it's just "it's the client's
> responsibility to know this"),

Then we go for "it's the client's responsibility to know this a priori". ;-)

> or to drop the SHALL/MUST treat
> textual and non-textual passwords differently.

No!

> For example, am I doing anything wrong if I
> declare that passwords given to my client are always non-textual, even
> passwords typed in by users, maybe unless the user gives an option
> saying they are textual?

Even "passwords typed in by users" could be binary. ;-)

Since you cited my former posting I'll grab text from there:

"More formally one could define textual passwords as a character sequence 
with a known character set and encoding."

Ciao, Michael.







From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 10:53:36 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA23734
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 10:53: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 hACFkfqB095370;
	Wed, 12 Nov 2003 15:52: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 hACFePsZ093857;
	Wed, 12 Nov 2003 15:40: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, 12 Nov 2003 15:40:25 +0000
Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACFe4pT093828
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:40:04 GMT
	(envelope-from Chris.Newman@Sun.COM)
Received: from esunmail ([129.147.156.34])
	by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id hACFe45u018170
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 08:40:04 -0700 (MST)
Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <0HO8009SCWURYA@edgemail1.Central.Sun.COM> for
 ietf-ldapbis@OpenLDAP.org; Wed, 12 Nov 2003 08:40:03 -0700 (MST)
Received: from dyn132-212.ietf58.ietf.org ([130.129.132.212])
 by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTPSA id <0HO8008AZWUO58@mail.sun.net> for ietf-ldapbis@OpenLDAP.org;
 Wed, 12 Nov 2003 08:40:03 -0700 (MST)
Date: Wed, 12 Nov 2003 09:40:10 -0600
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: passwords in the clear
In-reply-to: <HBF.20031112vcw4@bombur.uio.no>
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: ietf-ldapbis@OpenLDAP.org
Message-id: <2147483647.1068630010@dyn132-212.ietf58.ietf.org>
MIME-version: 1.0
X-Mailer: Mulberry/3.1.0b9 (Mac OS X)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
References: <2147483647.1068558950@dyn132-212.ietf58.ietf.org>
 <HBF.20031112vcw4@bombur.uio.no>
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 wrote on 11/12/03 15:17 +0100:
> authmeth 7.1 (Simple Authentication) says:
> 
>    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. 
> 
> Are you saying this is insufficient?

Yes, that is insufficient.  That is equivalent to the initial text we had in
IMAP which was rejected by the security ADs.  Granted it went through when Jeff
was still an AD so it might slip through with today's security ADs, but I do
think the compromise text is actually an improvement.  And I'd rather have this
draft sail through quickly than get stuck with a discuss.

> How about just adding '...and
> servers MUST support a configuration which rejects "simple"
> authentication unless such protection is in place.'
> 
> Or maybe that should be 'MUST by default reject...'.

Either of these is acceptable if expressed with sufficient precision.

The requirement has to apply to all plain password mechanisms including simple
bind, SASL PLAIN and any other plain-password-based SASL mechanism.  And a bit
more detail about what sort of protection is needed.

                - Chris



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 11:17:47 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA24937
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 11:17: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 hACGAfpl098380;
	Wed, 12 Nov 2003 16:16: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 hACG7VrF098209;
	Wed, 12 Nov 2003 16: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, 12 Nov 2003 16:07:31 +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 hACG79pT098186
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 16:07:10 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 12 Nov 2003 09:06:49 -0700
Message-Id: <sfb1f829.048@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 12 Nov 2003 09:06:26 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Protocol: referrals and other URIs
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

All,
 
There is the following text regarding referral URIs in the protocol
document:
"Other kinds of URIs may be returned, so long as the operation could be
performed using that protocol."

It's quite likely (actually, it's a reality) that a protocol could
exist which allows some directory operations (like add, modify, and
search), but not others (like modDN).
Even when one considers this language a certain way, two LDAP servers
may not both support the same extended operation.

There is no way a server can know which operations a URI can be applied
to.
There are no forward-looking provisions with which an administrator can
use to convey operation-specific URIs to the server.

I don't think it is within the charter to modify the format of a
referral such that operation-specific knowledge can be built into them.

Thus, I suggest this be dropped or reworded. I can't think of wording
that allows "any URI to be returned, regardless of its protocol's
ability to perform all operations" that wouldn't just remove the need
for the statement. So I suggest dropping it.

Comments?

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 11:49:56 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA26944
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 11:49:54 -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 hACGefpX002207;
	Wed, 12 Nov 2003 16:48:12 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 hACGcTuD001893;
	Wed, 12 Nov 2003 16:38: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, 12 Nov 2003 16:38:29 +0000
Received: from nb2.stroeder.com (krl9-d9bb4038.pool.mediaWays.net [217.187.64.56])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACGc7pT001799
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 16:38:08 GMT
	(envelope-from michael@stroeder.com)
Received: from localhost (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id B0002A5A14; Wed, 12 Nov 2003 17:37:43 +0100 (CET)
Received: from stroeder.com (localhost [127.0.0.1])
	by nb2.stroeder.com (Postfix) with ESMTP
	id 9B31894B0A; Wed, 12 Nov 2003 17:37:42 +0100 (CET)
Message-ID: <3FB261D6.3050904@stroeder.com>
Date: Wed, 12 Nov 2003 17:37:42 +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.5) Gecko/20031007
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Textual/non-textual passwords and SASLprep
References: <sfb1f336.000@prv-mail20.provo.novell.com>
In-Reply-To: <sfb1f336.000@prv-mail20.provo.novell.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS 0.3.12pre8
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Jim Sermersheim wrote:
> (Lifting snippets from here and there) How does this sound?
>  
> Textual passwords (consisting of a character sequence with a known character set and encoding) SHALL be transferred as [UTF-8] encoded [Unicode]. 
> The determination of whether a password is textual is a local client matter.   
> Prior to transfer, clients SHOULD prepare text passwords by applying the [SASLprep] profile of the [Stringprep] algorithm. 
> Passwords consisting of other data (such as random octets) MUST NOT be altered. 

Sounds ok for me.

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 12:04:24 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA27603
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 12:04: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 hACGqfr9004291;
	Wed, 12 Nov 2003 17:02: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 hACGpr2Z004218;
	Wed, 12 Nov 2003 16:51: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); Wed, 12 Nov 2003 16:51:53 +0000
Received: from imo-d03.mx.aol.com (imo-d03.mx.aol.com [205.188.157.35])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACGpVpT004116
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 16:51:32 GMT
	(envelope-from MarkCSmithWork@aol.com)
Received: from MarkCSmithWork@aol.com
	by imo-d03.mx.aol.com (mail_out_v36_r1.1.) id t.4c.24bcfc0b (15974);
	Wed, 12 Nov 2003 11:50:55 -0500 (EST)
Received: from  pc639761.mcom.com (sera-10-169-192-99.nscp.aoltw.net [10.169.192.99]) by air-id10.mx.aol.com (v97.8) with ESMTP id MAILINID101-3e663fb264ed323; Wed, 12 Nov 2003 11:50:55 -0500
Date: Wed, 12 Nov 2003 11:50:54 -0500
From: "Mark Smith" <markcsmithwork@aol.com>
Subject: Re: Protocol: referrals and other URIs
To: "Jim Sermersheim" <jimse@novell.com>
cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <sfb1f829.048@prv-mail20.provo.novell.com>
Message-ID: <3FB264EE.6000509@aol.com>
References: <sfb1f829.048@prv-mail20.provo.novell.com>
X-Mailer: AOL Communicator (20030919.3 Win)
Organization: America Online, Inc.
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
X-AOL-IP: 10.169.192.99
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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 wrote on 11/12/2003, 11:06 AM:

 > ...
 > I don't think it is within the charter to modify the format of a
 > referral such that operation-specific knowledge can be built into them.
 >
 > Thus, I suggest this be dropped or reworded. I can't think of wording
 > that allows "any URI to be returned, regardless of its protocol's
 > ability to perform all operations" that wouldn't just remove the need
 > for the statement. So I suggest dropping it.

I am not sure, but one of the original reasons for including the 
statement was probably to ensure some amount of "service integrity" in 
the sense that we do not want URIs to be returned that just won't work 
(because that will be a mess from an interoperability point of view). 
But one could certainly argue that implementations that use non-LDAP 
URIs are unlikely to interoperate in the absence of a clear 
specification.  So dropping the text you want to drop is OK with me, 
given the lack of value it really adds.

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 12:15:16 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA28231
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 12:15: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 hACH4fqN007168;
	Wed, 12 Nov 2003 17:13: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 hACH1x17006519;
	Wed, 12 Nov 2003 17:01:59 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 17:01:59 +0000
Received: from imo-r08.mx.aol.com (imo-r08.mx.aol.com [152.163.225.104])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACH1bpT006282
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 17:01:38 GMT
	(envelope-from MarkCSmithWork@aol.com)
Received: from MarkCSmithWork@aol.com
	by imo-r08.mx.aol.com (mail_out_v36_r1.1.) id t.9.1c1e5ac1 (16111);
	Wed, 12 Nov 2003 12:00:32 -0500 (EST)
Received: from  pc639761.mcom.com (sera-10-169-192-99.nscp.aoltw.net [10.169.192.99]) by air-id12.mx.aol.com (v97.8) with ESMTP id MAILINID123-3eef3fb2672e2f6; Wed, 12 Nov 2003 12:00:32 -0500
Date: Wed, 12 Nov 2003 12:00:31 -0500
From: "Mark Smith" <markcsmithwork@aol.com>
Subject: Re: unauthenticated bind
To: "Jim Sermersheim" <jimse@novell.com>
cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <sfb1ef05.086@prv-mail20.provo.novell.com>
Message-ID: <3FB2672F.9000406@aol.com>
References: <sfb1ef05.086@prv-mail20.provo.novell.com>
X-Mailer: AOL Communicator (20030919.3 Win)
Organization: America Online, Inc.
MIME-Version: 1.0
Content-Type: TEXT/HTML; CHARSET=us-ascii
X-AOL-IP: 10.169.192.99
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
<font face="Arial,sans-serif"><font size="2" face=""><span type="cite">Jim
Sermersheim wrote on 11/12/2003, 10:27 AM:</span>
</font></font>
<p><font face="Arial,sans-serif" size="2"></font></p>
<blockquote type="cite" ><font  face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">Disallowing them
completely may break some current client and server implementations. I
remember some people (maybe Mark Smith) from Netscape saying that they
use the mechanism as some way of voluntary auditing or some such.</font></div>
</blockquote>
<font size="2"><font face="Arial,sans-serif">Yes, people do use it that
way... I am not saying this is a great LDAP feature from a security
point of view though.<br>
<br>
</font></font>
<blockquote type="cite" ><font  face="Arial,sans-serif" size="2"></font><font face="Arial,sans-serif"  size="2">
  </font>
  <div><font face="Arial,sans-serif" size="2">I prefer the compromise
solution brought up in yesterday's meeting where part of the note is
moved into the main body of the document with a pointer to the security
considerations which contains the reasons why.</font></div>
</blockquote>
<font size="2"><font face="Arial,sans-serif">That sounds OK although
I'll have to see the exact proposal.<br>
<br>
</font></font><font size="2"><font face="Arial,sans-serif">-Mark</font></font>
</body>
</html>



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 12:15:17 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA28232
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 12:15: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 hACH4fqP007168;
	Wed, 12 Nov 2003 17:13:49 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 hACH3tPA006956;
	Wed, 12 Nov 2003 17:03:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 17:03: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 hACH3XpT006834
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 17:03:34 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 1AJyOw-0004tq-Bf; Wed, 12 Nov 2003 18:03:30 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1AJyOu-0000Od-91; Wed, 12 Nov 2003 18:03:28 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AJyOt-000703-00; Wed, 12 Nov 2003 18:03:27 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031112sl9d@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Jim Sermersheim <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Textual/non-textual passwords and SASLprep
In-Reply-To: <sfb1f336.000@prv-mail20.provo.novell.com>
References: <sfb1f336.000@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 12 Nov 2003 18:03:27 +0100
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning.
X-UiO-MailScanner: No virus found
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Jim Sermersheim writes:
> (Lifting snippets from here and there) How does this sound?
>  
> Textual passwords (consisting of a character sequence with a known
> character set and encoding) SHALL be transferred as [UTF-8] encoded
> [Unicode].  The determination of whether a password is textual is a
> local client matter.  Prior to transfer, clients SHOULD prepare text
> passwords by applying the [SASLprep] profile of the [Stringprep]
> algorithm.  Passwords consisting of other data (such as random octets)
> MUST NOT be altered.

OK for the client-side passwords.


On the server side, I think it should be specified that the server
itself does not apply [SASLprep] to Simple Bind; one should apply
[SASLprep] before storing a textual password in the server.  (The SASL
bind case is more complicated, see below.)  The userPassword text in
[syntaxes] might then refer to this text.

[SASL] will probably recommend SASL mechanism definitions to specify
that the server does apply [SASLprep] to server-side passwords, see
message
  http://www.imc.org/ietf-sasl/mail-archive/msg01134.html
and, if you wish, the surrounding thread.

Maybe LDAP (authmeth) should override this, and emphasize that SASLprep
must be expected to have been applied already.  I'm not sure if that
will be possible - maybe some SASL implementations will not offer an
option to _not_ apply SASLprep to server-side passwords?

Or we could accept that with SASL methods, the server may apply SASLprep
even to non-textual passwords (since I take it the server doesn't know
which passwords are textual), or to textual passwords which incorrectly
have not been SASLprep'ed.  Which would mean that simple bind could fail
and SASL bind could succeed with the same incorrect password.  That's a
bit ugly, but I don't know if it's important enough to worry about.  In
particular since simple bind in any case could succeed when SASL bind
fails with the same _correct_ non-textual password - since SASL bind
would incorrectly assume the password was textual and apply SASLprep.

A final option is to bring the issue up at the SASL list, and request
that protocol profiles may specify that the server should not apply
SASLprep to server-side passwords, but depend on it already having been
applied.  They may dislike such an increase of the protocol profile,
which is getting big enough already.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 13:11:31 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA00512
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 13:11: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 hACI4gpX014362;
	Wed, 12 Nov 2003 18:09: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 hACHwxfj013815;
	Wed, 12 Nov 2003 17:58:59 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 17:58:59 +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 hACHwbpT013749
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 17:58:38 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 hACHvnho276016;
	Wed, 12 Nov 2003 12:57:49 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id hACHvmVn228152;
	Wed, 12 Nov 2003 12:57:49 -0500
Subject: Re: Textual/non-textual passwords and SASLprep
To: "Jim Sermersheim" <jimse@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 5.0.12   February 13, 2003
Message-ID: <OF02FE4CF2.0173EF91-ON86256DDC.0061E391-86256DDC.0062AEBB@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Wed, 12 Nov 2003 11:57:51 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5|September 18, 2003) at
 11/12/2003 11:57:48 AM
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 hACHwcpT013772
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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





Works for me.

John  McMeeking



                                                                                                                       
                      "Jim Sermersheim"                                                                                
                      <jimse@novell.com>          To:       <ietf-ldapbis@OpenLDAP.org>                                
                      Sent by:                    cc:                                                                  
                      owner-ietf-ldapbis@O        Subject:  Re: Textual/non-textual passwords and SASLprep             
                      penLDAP.org                                                                                      
                                                                                                                       
                                                                                                                       
                      11/12/2003 09:45 AM                                                                              
                                                                                                                       
                                                                                                                       




(Lifting snippets from here and there) How does this sound?

Textual passwords (consisting of a character sequence with a known
character set and encoding) SHALL be transferred as [UTF-8] encoded
[Unicode].
The determination of whether a password is textual is a local client
matter.
Prior to transfer, clients SHOULD prepare text passwords by applying the
[SASLprep] profile of the [Stringprep] algorithm.
Passwords consisting of other data (such as random octets) MUST NOT be
altered.

Jim

>>> Michael Ströder <michael@stroeder.com> 11/12/03 7:38:55 AM >>>
Hallvard B Furuseth wrote:
> Michael Ströder writes:
>
>>
>>Even if passwords are read from file they can be textual ;-)
>
> I quite agree, but that seemed to be what you suggested in article
> < http://www.openldap.org/lists/ietf-ldapbis/200305/msg00112.html >,
which
> you referred me to when I asked how to tell if a password was textual.

There's no text in my former posting stating that textual passwords can't
be
read from a file.

>>and the application MUST have the a-priori knowledge to decide what to
>>do with passwords stored in file. Which mainly boils down to that you
>>also have to specify your file format exactly and your application
>>following the format correctly.
>
> So the password file contains a mark which says whether the following
> password is textual or not, or something like that?

Not necessarily. That's simply subject of local definition.

>>Hallvard, I have to admit that I don't see your problem at all... :-/
>
> I want [Protocol] to either say something about how to decide if a
> password is textual or not (even if it's just "it's the client's
> responsibility to know this"),

Then we go for "it's the client's responsibility to know this a priori".
;-)

> or to drop the SHALL/MUST treat
> textual and non-textual passwords differently.

No!

> For example, am I doing anything wrong if I
> declare that passwords given to my client are always non-textual, even
> passwords typed in by users, maybe unless the user gives an option
> saying they are textual?

Even "passwords typed in by users" could be binary. ;-)

Since you cited my former posting I'll grab text from there:

"More formally one could define textual passwords as a character sequence
with a known character set and encoding."

Ciao, Michael.










From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 14:11:25 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA02266
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 14:11:24 -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 hACIwgpl016827;
	Wed, 12 Nov 2003 19:09: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 hACIrV9s016589;
	Wed, 12 Nov 2003 18:53: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, 12 Nov 2003 18:53: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 hACIrApT016574
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 18:53:10 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 1AK070-00066u-NZ; Wed, 12 Nov 2003 19:53:06 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx1.uio.no with esmtp (Exim 4.14)
	id 1AK06s-0001jG-4c; Wed, 12 Nov 2003 19:52:58 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AK06o-0007FM-00; Wed, 12 Nov 2003 19:52:54 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031112qrel@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: John McMeeking <jmcmeek@us.ibm.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: passwords in the clear
In-Reply-To: <OFBC06A76C.04FFDC9C-ON86256DDC.0052C877-86256DDC.00534830@us.ibm.com>
References: <OFBC06A76C.04FFDC9C-ON86256DDC.0052C877-86256DDC.00534830@us.ibm.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Wed, 12 Nov 2003 19:52:54 +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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

John McMeeking writes:
> It seems like changing passwords in the clear would present similar issues.
> If someone can snoop for bind requests, it wouldn't seem much harder to
> also snoop for password change operations (password modify extended op,
> modify of userPassword, etc.).
> 
> Do we want to consider extending this to cover that?

Sounds good to me.  I don't think it can be made a MUST, though:
If there are any LDAP servers left that merely forward requests to other
servers, e.g. X.500 servers, then the LDAP server might not know that a
particular attribute type contains passwords.  So it can't return
confidentialityRequired if the user tries to modify that password using
cleartext.  Of course, the X.500 server might return
confidentialityRequired, or whatever that is in X.500 speak, anyway.

> Chris Newman wrote:
>    (...)
>    Use of simple bind sends passwords in the clear.  This can be
>    avoided by using SASL bind [SASL] with a mechanism
>    that does not use plaintext passwords, by first negotiating
>    encryption via STARTTLS or some other protection mechanism.
>    (...)

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 14:17:07 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA02515
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 14:17: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 hACJAgpZ017804;
	Wed, 12 Nov 2003 19:15: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 hACJ9JTk017665;
	Wed, 12 Nov 2003 19:09: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); Wed, 12 Nov 2003 19:09: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 hACJ8wpT017598
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 19:08:58 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 12 Nov 2003 12:08:38 -0700
Message-Id: <sfb222c6.011@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 12 Nov 2003 12:08:15 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Protocol: referrals and other URIs
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

Howard,
 
For an implementation to conform to the protocol specification, it must
understand and correctly implement the specification. If there is
language that forces a server to do something it cannot do, that's a
problem.
 
If my interpretation is muddy, then the wording needs to change,
because it is not only me who is interpreting it that way.

Do you have alternate wording which captures the intent of this
statement while allowing non-LDAP protocols to be specified in referral
URIs?
 
Jim

>>> <highlandsun@highlandsun.propagation.net> 11/12/03 10:35:23 AM >>>
>All,
> 
>There is the following text regarding referral URIs in the protocol
>document:
>"Other kinds of URIs may be returned, so long as the operation could
be
>performed using that protocol."
>
>It's quite likely (actually, it's a reality) that a protocol could
>exist which allows some directory operations (like add, modify, and
>search), but not others (like modDN).
>Even when one considers this language a certain way, two LDAP servers
>may not both support the same extended operation.

What the protocol defines and what a particular server implementation
supports are two very different things. Your interpretation is
muddying
the details needlessly.
-- Howard



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 14:26:06 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA02812
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 14:26: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 hACJGgpl018287;
	Wed, 12 Nov 2003 19:24: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 hACJBK3A017892;
	Wed, 12 Nov 2003 19:11: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, 12 Nov 2003 19:11:20 +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 hACJB0pT017853
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 19:11:00 GMT
	(envelope-from kurt@boole.openldap.org)
Received: (from kurt@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) id hACJAx7u017852
	for ietf-ldapbis@openldap.org; Wed, 12 Nov 2003 11:10:59 -0800 (PST)
	(envelope-from kurt)
Received: from highlandsun.propagation.net (highlandsun.propagation.net [66.221.212.168])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACGZwpT001506
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 16:35:59 GMT
	(envelope-from highlandsun@highlandsun.propagation.net)
Received: from highlandsun.propagation.net (localhost [127.0.0.1])
	by highlandsun.propagation.net (8.12.9/8.12.9) with ESMTP id hACGZNKg012307;
	Wed, 12 Nov 2003 10:35:23 -0600
Received: (from highlandsun@localhost)
	by highlandsun.propagation.net (8.12.9/8.12.9/Submit) id hACGZNQr012306;
	Wed, 12 Nov 2003 10:35:23 -0600
Date: Wed, 12 Nov 2003 10:35:23 -0600
From: highlandsun@highlandsun.propagation.net
Message-Id: <200311121635.hACGZNQr012306@highlandsun.propagation.net>
To: ietf-ldapbis@OpenLDAP.org, jimse@novell.com
Subject: Re: Protocol: referrals and other URIs
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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>

>All,
> 
>There is the following text regarding referral URIs in the protocol
>document:
>"Other kinds of URIs may be returned, so long as the operation could be
>performed using that protocol."
>
>It's quite likely (actually, it's a reality) that a protocol could
>exist which allows some directory operations (like add, modify, and
>search), but not others (like modDN).
>Even when one considers this language a certain way, two LDAP servers
>may not both support the same extended operation.

What the protocol defines and what a particular server implementation
supports are two very different things. Your interpretation is muddying
the details needlessly.
  -- Howard


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 15:27:09 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07346
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 15:27: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 hACKMgpX026878;
	Wed, 12 Nov 2003 20:25: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 hACKKmKt026792;
	Wed, 12 Nov 2003 20:20:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 20:20:48 +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 hACKKRpT026777
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 20:20:27 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 hACKK6ho380020
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:20:06 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id hACKK5Vn232486
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:20:05 -0500
Subject: Re: Protocol: referrals and other URIs
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 5.0.12   February 13, 2003
Message-ID: <OF6648703F.632D682C-ON86256DDC.006E4678-86256DDC.006FB4CF@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Wed, 12 Nov 2003 14:20:06 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5|September 18, 2003) at
 11/12/2003 02:20:04 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





I view the existing wording as an attempt to leave the door open for some
as yet unknown alternative URI and tell client implementors that they
should be prepared to handle it -- or at least deal with an unsupported
format more gracefully than they might have otherwise.

In that context, I think the existing language is fine.


John  McMeeking



                                                                                                                               
                      highlandsun@highlandsun.prop                                                                             
                      agation.net                         To:       ietf-ldapbis@OpenLDAP.org, jimse@novell.com                
                      Sent by:                            cc:                                                                  
                      owner-ietf-ldapbis@OpenLDAP.        Subject:  Re: Protocol: referrals and other URIs                     
                      org                                                                                                      
                                                                                                                               
                                                                                                                               
                      11/12/2003 10:35 AM                                                                                      
                                                                                                                               
                                                                                                                               




>All,
>
>There is the following text regarding referral URIs in the protocol
>document:
>"Other kinds of URIs may be returned, so long as the operation could be
>performed using that protocol."
>
>It's quite likely (actually, it's a reality) that a protocol could
>exist which allows some directory operations (like add, modify, and
>search), but not others (like modDN).
>Even when one considers this language a certain way, two LDAP servers
>may not both support the same extended operation.

What the protocol defines and what a particular server implementation
supports are two very different things. Your interpretation is muddying
the details needlessly.
   -- Howard




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 15:38:34 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07979
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 15:38:33 -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 hACKYgpX027427;
	Wed, 12 Nov 2003 20:37: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 hACKY0or027410;
	Wed, 12 Nov 2003 20:34:00 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 20:34:00 +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 hACKXcpT027384
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 20:33:39 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e3.ny.us.ibm.com (8.12.10/8.12.2) with ESMTP id hACKXIX7507174
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:33:18 -0500
Received: from d27ml001.rchland.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by northrelay02.pok.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id hACKXGVn136234
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 15:33:17 -0500
Subject: Re: passwords in the clear
To: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 5.0.12   February 13, 2003
Message-ID: <OF25499522.2F1A8AC3-ON86256DDC.006FD6C5-86256DDC.0070E954@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Wed, 12 Nov 2003 14:33:16 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.5|September 18, 2003) at
 11/12/2003 02:33:16 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>





I think this is acceptable.

A server that can be configured so that it only uses SSL/TLS would satisfy
this proposal, though that is a rather crude solution.  And a server that
allow simple bind to be disabled (completely, or only when there is no
protection layer) would be fine.

I don't recall the exact rules for what we do to existing implementations.
Does this break anybody?  Or at least anybody that wouldn't be able to
satisfy this?


John  McMeeking



                                                                                                                       
                      Chris Newman                                                                                     
                      <Chris.Newman@Sun.CO        To:       ietf-ldapbis@OpenLDAP.org                                  
                      M>                          cc:                                                                  
                      Sent by:                    Subject:  passwords in the clear                                     
                      owner-ietf-ldapbis@O                                                                             
                      penLDAP.org                                                                                      
                                                                                                                       
                                                                                                                       
                      11/11/2003 01:55 PM                                                                              
                                                                                                                       
                                                                                                                       




The recent IMAP revision spec used to allow the LOGIN command (equivalent
to
simple bind) without requiring a security layer and this was rejected by
the
IESG.

In RFC 3501, we developed compromise text that addressed the IESG's desire
to
strongly deprecate passwords in the clear, while still allowing legacy
implementations.  Recasting that text in LDAP terms looks roughly like
this:

----
   Use of simple bind sends passwords in the clear.  This can be
   avoided by using SASL bind [SASL] with a mechanism
   that does not use plaintext passwords, by first negotiating
   encryption via STARTTLS or some other protection mechanism.

   A server implementation MUST implement a configuration that, at the
   time of authentication, requires:
      (1) A STARTTLS encryption layer has been successfully negotiated.
   OR
      (2) Some other mechanism that protects the session from password
      snooping has been provided.
   OR
      (3) The following measures are in place:
         (a) The simple bind operation returns an error even if the
         password is correct.
      AND
         (b) The SASL bind operation returns an error with all [SASL]
         mechanisms that use plaintext passwords, even if the password
         is correct.
----

                 - Chris




From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 17:31:07 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA13524
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 17:31: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 hACMMhpb032097;
	Wed, 12 Nov 2003 22:29: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 hACMJmiq031872;
	Wed, 12 Nov 2003 22:19:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 12 Nov 2003 22:19:48 +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 hACMJRpT031837
	for <ietf-ldapbis@openldap.org>; Wed, 12 Nov 2003 22:19:27 GMT
	(envelope-from kurt@boole.openldap.org)
Received: (from kurt@localhost)
	by boole.openldap.org (8.12.10/8.12.10/Submit) id hACMJRqX031836
	for ietf-ldapbis@openldap.org; Wed, 12 Nov 2003 14:19:27 -0800 (PST)
	(envelope-from kurt)
Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.130])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACLmUpT030820
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 21:48:30 GMT
	(envelope-from jongchoi@OpenLDAP.org)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e32.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id hACLm9kF323220;
	Wed, 12 Nov 2003 16:48:09 -0500
Received: from core (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.6) with SMTP id hACLlx0D130110;
	Wed, 12 Nov 2003 14:48:00 -0700
Message-ID: <00c001c3a966$81028450$3cda0209@core>
From: "Jong" <jongchoi@OpenLDAP.org>
To: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
References: <sfb222c6.011@prv-mail20.provo.novell.com>
Subject: Re: Protocol: referrals and other URIs
Date: Wed, 12 Nov 2003 16:46:59 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

The server's knowledge on the other opaque protocols is an implementational
one
and hence needs to be treated as such in the protocol specification.
The client needs to be prepared for the server which has imprecise
information
on the other protocols, but IMHO, this seems to be outside of the protocol
specification.
- Jong

----- Original Message -----
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Sent: Wednesday, November 12, 2003 2:08 PM
Subject: Re: Protocol: referrals and other URIs


> Howard,
>
> For an implementation to conform to the protocol specification, it must
> understand and correctly implement the specification. If there is
> language that forces a server to do something it cannot do, that's a
> problem.
>
> If my interpretation is muddy, then the wording needs to change,
> because it is not only me who is interpreting it that way.
>
> Do you have alternate wording which captures the intent of this
> statement while allowing non-LDAP protocols to be specified in referral
> URIs?
>
> Jim
>
> >>> <highlandsun@highlandsun.propagation.net> 11/12/03 10:35:23 AM >>>
> >All,
> >
> >There is the following text regarding referral URIs in the protocol
> >document:
> >"Other kinds of URIs may be returned, so long as the operation could
> be
> >performed using that protocol."
> >
> >It's quite likely (actually, it's a reality) that a protocol could
> >exist which allows some directory operations (like add, modify, and
> >search), but not others (like modDN).
> >Even when one considers this language a certain way, two LDAP servers
> >may not both support the same extended operation.
>
> What the protocol defines and what a particular server implementation
> supports are two very different things. Your interpretation is
> muddying
> the details needlessly.
> -- Howard
>
>
>


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 18:13:40 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA16031
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 18:13: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 hACNAhpX034097;
	Wed, 12 Nov 2003 23:12: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 hACN69rE033976;
	Wed, 12 Nov 2003 23:06: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, 12 Nov 2003 23:06:09 +0000
Received: from renown.cnchost.com (renown.concentric.net [207.155.248.7])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hACN5mpT033943
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 12 Nov 2003 23:05:48 GMT
	(envelope-from hyc@symas.com)
Received: from CELLO (adsl-67-115-65-234.dsl.lsan03.pacbell.net [67.115.65.234])
	by renown.cnchost.com
	id SAA07806; Wed, 12 Nov 2003 18:05:47 -0500 (EST)
	[ConcentricHost SMTP Relay 1.15]
From: "Howard Chu" <hyc@symas.com>
To: "'Jim Sermersheim'" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: RE: Protocol: referrals and other URIs
Date: Wed, 12 Nov 2003 15:05:31 -0800
Message-ID: <00c601c3a971$7df93af0$1801a8c0@CELLO>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <sfb222c6.011@prv-mail20.provo.novell.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

> -----Original Message-----
> From: owner-ietf-ldapbis@OpenLDAP.org
> [mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Jim Sermersheim

> Howard,

> For an implementation to conform to the protocol specification, it must
> understand and correctly implement the specification. If there is
> language that forces a server to do something it cannot do, that's a
> problem.

Certainly. But that's not relevant, since servers don't process referrals,
they merely return them to clients. Whether or not a server implements the
referral scheme is orthogonal to the question.

On the other side, a server that correctly parses LDAP queries and generates
properly formatted replies obviously has correctly implemented the
specification, even if it just returns LDAP_UNWILLING_TO_PERFORM for all
request types. The completeness of an implementation has nothing to do with
the correctness of it.

> If my interpretation is muddy, then the wording needs to change,
> because it is not only me who is interpreting it that way.
>
> Do you have alternate wording which captures the intent of this
> statement while allowing non-LDAP protocols to be specified
> in referral URIs?

Not really, since I haven't really thought about which non-LDAP protocols
might meaningfully be used in a referral. I suppose one could envision an
HTTP server that was operating as an LDAP gateway, but I don't see what an
LDAP client really should do with such a response. Is it the LDAP client's
responsibility to parse these various other protocols and marshal them into a
format that the calling LDAP application understands?

Should it really be so open-ended, or should it just allow other *LDAP*
schemes over as-yet-unknown transports? (e.g. ldapi for LDAP over IPC, cldap
for connectionless LDAP over UDP, perhaps LDAP over a multicast transport,
etc...)

> Jim
>
> >>> <highlandsun@highlandsun.propagation.net> 11/12/03 10:35:23 AM >>>
> >All,
> >
> >There is the following text regarding referral URIs in the protocol
> >document:
> >"Other kinds of URIs may be returned, so long as the operation could
> be
> >performed using that protocol."
> >
> >It's quite likely (actually, it's a reality) that a protocol could
> >exist which allows some directory operations (like add, modify, and
> >search), but not others (like modDN).
> >Even when one considers this language a certain way, two LDAP servers
> >may not both support the same extended operation.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support



From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 21:55:22 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA23673
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 21:55:21 -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 hAD2kjpd049377;
	Thu, 13 Nov 2003 02:53: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 hAD2fAqn048832;
	Thu, 13 Nov 2003 02:41:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Nov 2003 02:41:10 +0000
Received: from ausyms50.ca.com ([155.35.248.106])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hAD2empT048758
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Nov 2003 02:40:49 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);
	 Thu, 13 Nov 2003 13:40:27 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Protocol: referrals and other URIs
Date: Thu, 13 Nov 2003 13:40:27 +1100
Message-ID: <1395B4B334FCC143B36AF788E68B6381BBC3D7@ausyms21.ca.com>
Thread-Topic: Protocol: referrals and other URIs
Thread-Index: AcOpcnCVaD0P2aq8RZeQsP+fMAKh/QAHQKSQ
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Howard Chu" <hyc@symas.com>, "Jim Sermersheim" <jimse@novell.com>,
        <ietf-ldapbis@OpenLDAP.org>
X-OriginalArrivalTime: 13 Nov 2003 02:40:27.0720 (UTC) FILETIME=[7F45BC80:01C3A98F]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id hAD2eopT048787
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

It is weird, no matter which way you slice it!

-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Howard Chu
Sent: Thursday, 13 November 2003 10:06
To: 'Jim Sermersheim'; ietf-ldapbis@OpenLDAP.org
Subject: RE: Protocol: referrals and other URIs


> -----Original Message-----
> From: owner-ietf-ldapbis@OpenLDAP.org
> [mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Jim Sermersheim

> Howard,

> For an implementation to conform to the protocol specification, it must
> understand and correctly implement the specification. If there is
> language that forces a server to do something it cannot do, that's a
> problem.

Certainly. But that's not relevant, since servers don't process referrals,
they merely return them to clients. Whether or not a server implements the
referral scheme is orthogonal to the question.

On the other side, a server that correctly parses LDAP queries and generates
properly formatted replies obviously has correctly implemented the
specification, even if it just returns LDAP_UNWILLING_TO_PERFORM for all
request types. The completeness of an implementation has nothing to do with
the correctness of it.

> If my interpretation is muddy, then the wording needs to change,
> because it is not only me who is interpreting it that way.
>
> Do you have alternate wording which captures the intent of this
> statement while allowing non-LDAP protocols to be specified
> in referral URIs?

Not really, since I haven't really thought about which non-LDAP protocols
might meaningfully be used in a referral. I suppose one could envision an
HTTP server that was operating as an LDAP gateway, but I don't see what an
LDAP client really should do with such a response. Is it the LDAP client's
responsibility to parse these various other protocols and marshal them into a
format that the calling LDAP application understands?

Should it really be so open-ended, or should it just allow other *LDAP*
schemes over as-yet-unknown transports? (e.g. ldapi for LDAP over IPC, cldap
for connectionless LDAP over UDP, perhaps LDAP over a multicast transport,
etc...)

> Jim
>
> >>> <highlandsun@highlandsun.propagation.net> 11/12/03 10:35:23 AM >>>
> >All,
> >
> >There is the following text regarding referral URIs in the protocol
> >document:
> >"Other kinds of URIs may be returned, so long as the operation could
> be
> >performed using that protocol."
> >
> >It's quite likely (actually, it's a reality) that a protocol could
> >exist which allows some directory operations (like add, modify, and
> >search), but not others (like modDN).
> >Even when one considers this language a certain way, two LDAP servers
> >may not both support the same extended operation.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support





From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 22:21:50 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA24497
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 22:21: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 hAD3Gjpb052187;
	Thu, 13 Nov 2003 03:20: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 hAD3Dmv9051811;
	Thu, 13 Nov 2003 03:13:48 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Nov 2003 03:13:48 +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 hAD3DRpT051740
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Nov 2003 03:13:27 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 12 Nov 2003 20:13:07 -0700
Message-Id: <sfb29453.002@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 12 Nov 2003 19:46:27 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Protocol: referrals and other URIs
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part86D80693.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.

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

>>> "Jong" <jongchoi@OpenLDAP.org> 11/12/03 3:46:59 PM >>>
>The server's knowledge on the other opaque protocols is an
implementational
>one
>and hence needs to be treated as such in the protocol specification.

Yes, and as such, no server protocol implementation can be expected to
understand the relationship between operations and non-LDAP protocols.
And since no provision is given to allow an administrator to specify
such a relationship, the current language is impossible to adhere to.
 
If there were some "applicable operations" field in referral URIs, then
the current language would be possible to adhere to. But there is not.
 
>The client needs to be prepared for the server which has imprecise
>information
>on the other protocols, but IMHO, this seems to be outside of the
protocol
>specification.
>- Jong

I agree. Currently, there is no wording that assures a client that it
will receive a URI which it will know how to follow. This is good.
 
Jim

----- Original Message -----
From: "Jim Sermersheim" < jimse@novell.com >
To: < ietf-ldapbis@OpenLDAP.org >
Sent: Wednesday, November 12, 2003 2:08 PM
Subject: Re: Protocol: referrals and other URIs


> Howard,
>
> For an implementation to conform to the protocol specification, it
must
> understand and correctly implement the specification. If there is
> language that forces a server to do something it cannot do, that's a
> problem.
>
> If my interpretation is muddy, then the wording needs to change,
> because it is not only me who is interpreting it that way.
>
> Do you have alternate wording which captures the intent of this
> statement while allowing non-LDAP protocols to be specified in
referral
> URIs?
>
> Jim
>
> >>> < highlandsun@highlandsun.propagation.net > 11/12/03 10:35:23 AM
>>>
> >All,
> >
> >There is the following text regarding referral URIs in the protocol
> >document:
> >"Other kinds of URIs may be returned, so long as the operation
could
> be
> >performed using that protocol."
> >
> >It's quite likely (actually, it's a reality) that a protocol could
> >exist which allows some directory operations (like add, modify, and
> >search), but not others (like modDN).
> >Even when one considers this language a certain way, two LDAP
servers
> >may not both support the same extended operation.
>
> What the protocol defines and what a particular server
implementation
> supports are two very different things. Your interpretation is
> muddying
> the details needlessly.
> -- Howard
>
>
>



--=__Part86D80693.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>&gt;&gt;&gt; "Jong" &lt;jongchoi@OpenLDAP.org&gt; 11/12/03 3:46:59 PM &gt;&gt;&gt;<BR>&gt;The server's knowledge on the other opaque protocols is an implementational<BR>&gt;one<BR>&gt;and hence needs to be treated as such in the protocol specification.<BR></DIV>
<DIV>Yes, and as such, no server protocol implementation can be expected to understand the relationship between operations and non-LDAP protocols. And since no provision is given to allow an administrator to specify such a relationship, the current language is impossible to adhere to.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If there were some "applicable operations" field in referral URIs, then the current language would be possible to adhere to. But there is not.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;The client needs to be prepared for the server which has imprecise<BR>&gt;information<BR>&gt;on the other protocols, but IMHO, this seems to be outside of the protocol<BR>&gt;specification.<BR>&gt;- Jong<BR></DIV>
<DIV>I agree. Currently, there is no wording that assures a client that it will receive a URI which it will know how to follow. This is good.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV>
<DIV><BR>----- Original Message -----<BR>From: "Jim Sermersheim" &lt;<U> <A href="mailto:jimse@novell.com">jimse@novell.com</A></U> &gt;<BR>To: &lt;<U> <A href="mailto:ietf-ldapbis@OpenLDAP.org">ietf-ldapbis@OpenLDAP.org</A></U> &gt;<BR>Sent: Wednesday, November 12, 2003 2:08 PM<BR>Subject: Re: Protocol: referrals and other URIs<BR><BR><BR>&gt; Howard,<BR>&gt;<BR>&gt; For an implementation to conform to the protocol specification, it must<BR>&gt; understand and correctly implement the specification. If there is<BR>&gt; language that forces a server to do something it cannot do, that's a<BR>&gt; problem.<BR>&gt;<BR>&gt; If my interpretation is muddy, then the wording needs to change,<BR>&gt; because it is not only me who is interpreting it that way.<BR>&gt;<BR>&gt; Do you have alternate wording which captures the intent of this<BR>&gt; statement while allowing non-LDAP protocols to be specified in referral<BR>&gt; URIs?<BR>&gt;<BR>&gt; Jim<BR>&gt;<BR>&gt; &gt;&gt;&gt; &lt;<U>!
  <A href="mailto:highlandsun@highlandsun.propagation.net">highlandsun@highlandsun.propagation.net</A></U> &gt; 11/12/03 10:35:23 AM &gt;&gt;&gt;<BR>&gt; &gt;All,<BR>&gt; &gt;<BR>&gt; &gt;There is the following text regarding referral URIs in the protocol<BR>&gt; &gt;document:<BR>&gt; &gt;"Other kinds of URIs may be returned, so long as the operation could<BR>&gt; be<BR>&gt; &gt;performed using that protocol."<BR>&gt; &gt;<BR>&gt; &gt;It's quite likely (actually, it's a reality) that a protocol could<BR>&gt; &gt;exist which allows some directory operations (like add, modify, and<BR>&gt; &gt;search), but not others (like modDN).<BR>&gt; &gt;Even when one considers this language a certain way, two LDAP servers<BR>&gt; &gt;may not both support the same extended operation.<BR>&gt;<BR>&gt; What the protocol defines and what a particular server implementation<BR>&gt; supports are two very different things. Your interpretation is<BR>&gt; muddying<BR>&gt; the details needlessly.<BR>!
 &gt; -- Howard<BR>&gt;<BR>&gt;<BR>&gt;<BR><BR></DIV></BODY></H!
 TML>
--=__Part86D80693.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Wed Nov 12 22:21:50 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA24501
	for <ldapbis-archive@lists.ietf.org>; Wed, 12 Nov 2003 22:21: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 hAD3Gjpd052187;
	Thu, 13 Nov 2003 03:20: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 hAD3DnCd051821;
	Thu, 13 Nov 2003 03:13: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, 13 Nov 2003 03:13:49 +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 hAD3DRpT051741
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Nov 2003 03:13:27 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 12 Nov 2003 20:13:07 -0700
Message-Id: <sfb29453.003@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Wed, 12 Nov 2003 19:39:58 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: RE: Protocol: referrals and other URIs
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__PartE5BB65EE.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.

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

>>>> "Howard Chu" <hyc@symas.com> 11/12/03 5:05:31 PM >>>
>> -----Original Message-----
>> From: owner-ietf-ldapbis@OpenLDAP.org 
>> [mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Jim
Sermersheim
>
>> Howard,
>
>> For an implementation to conform to the protocol specification, it
must
>> understand and correctly implement the specification. If there is
>> language that forces a server to do something it cannot do, that's
a
>> problem.
>
>Certainly. But that's not relevant, since servers don't process
referrals,
>they merely return them to clients. 
 
Right, the server returns the referral to the client. and an
administrator populates the directory with the referral. The referral is
returned for operations. Thus there are two players that can control
what is returned in a referral: 1) The administrator (the entity
populating the directory with the reference URI), and 2) The server
(which is returning the referral for an operation)
 
The requirement in question involves knowledge of three things: a) the
presence of a reference, b) the current operation, c) the protocol used
to progress the resulting referral.
 
I assert that neither of the two players can make use the three bits of
knowledge to meet the requirement.
 
The server can't understand the relationship between (b) and (c).
The administrator can't specify a URI based on any given operation.
 
>Whether or not a server implements the
>referral scheme is orthogonal to the question.

Agreed, this is not the path I'm going down (unless one considers
servers that chain operations, and know how to chain using non-LDAP
protocols, but let's ignore that for now).

>On the other side, a server that correctly parses LDAP queries and
generates
>properly formatted replies obviously has correctly implemented the
>specification, even if it just returns LDAP_UNWILLING_TO_PERFORM for
all
>request types. The completeness of an implementation has nothing to do
with
>the correctness of it.

Sure, but let's not just toss rhetoric about. When an implementor
decides to go a bit further than to return unwillingToPerform and
actually process an operation, it's generally seen as a good thing when
they actually adhere to the specification. When following the
specification becomes impossible, one tends to want to fix the
specification. I assert that there are cases where the language in
question is impossible for any given player involved to follow.

>> If my interpretation is muddy, then the wording needs to change,
>> because it is not only me who is interpreting it that way.
>>
>> Do you have alternate wording which captures the intent of this
>> statement while allowing non-LDAP protocols to be specified
>> in referral URIs?
>
>Not really, since I haven't really thought about which non-LDAP
protocols
>might meaningfully be used in a referral. I suppose one could envision
an
>HTTP server that was operating as an LDAP gateway, but I don't see
what an
>LDAP client really should do with such a response. Is it the LDAP
client's
>responsibility to parse these various other protocols and marshal them
into a
>format that the calling LDAP application understands?

In this case, there would be some specification that defines a URI
format to be used to reference an HTTP server from a directory entry
(one hasn't yet been defined). That specification would likely describe
URI parts that are somewhat analogous to the various parts of an LDAP
URL.
 
A client receiving such a referral would be free to follow it per the
aforementioned specification. A natural client scenario would be one
where a federation-friendly library like JNDI was being used. The JNDI
client would have both the LDAP service provider and another (HTTP-Dir?)
service provider (and possibly others) available. When a non-LDAP
referral is encountered, the JNDI application would federate using that
referral so long as it knows how to follow it using one of its non-LDAP
service providers. This is only one example of client-side work that
could be used to follow non-LDAP referrals (JNDI need not be used, it's
just the most natural environment for such a thing to happen that I know
of).

>Should it really be so open-ended, or should it just allow other
*LDAP*
>schemes over as-yet-unknown transports? (e.g. ldapi for LDAP over IPC,
cldap
>for connectionless LDAP over UDP, perhaps LDAP over a multicast
transport,
>etc...)

It was this open ended in RFC 2251. I believe the ability to federate
to non-LDAP servers is useful and powerful. I would argue against
removing this flexibility.
 
Many cross-protocol federations have been suggested in the past,
including (various) Filesystem, HTTP, DAP, NDAP, (various) Domain-like,
and others. I imagine the future will see proposals to add referrals to
XLDAP, and the like as well.
 
To reiterate: this problem has to do with the fact that a requirement
is asking that knowledge of protocol/operation pairs are known, yet no
LDAP actor has that knowledge.
 
Jim
 

> Jim
>
> >>> < highlandsun@highlandsun.propagation.net > 11/12/03 10:35:23 AM
>>>
> >All,
> >
> >There is the following text regarding referral URIs in the protocol
> >document:
> >"Other kinds of URIs may be returned, so long as the operation
could
> be
> >performed using that protocol."
> >
> >It's quite likely (actually, it's a reality) that a protocol could
> >exist which allows some directory operations (like add, modify, and
> >search), but not others (like modDN).
> >Even when one considers this language a certain way, two LDAP
servers
> >may not both support the same extended operation.

-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc 
Symas: Premier OpenSource Development and Support



--=__PartE5BB65EE.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4933.1800" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>&gt;&gt;&gt;&gt; "Howard Chu" &lt;hyc@symas.com&gt; 11/12/03 5:05:31 PM &gt;&gt;&gt;<BR>&gt;&gt; -----Original Message-----<BR>&gt;&gt; From: <U><A href="mailto:owner-ietf-ldapbis@OpenLDAP.org">owner-ietf-ldapbis@OpenLDAP.org</A></U> <BR>&gt;&gt; <U><A href="mailto:[mailto:owner-ietf-ldapbis@OpenLDAP.org]On">[mailto:owner-ietf-ldapbis@OpenLDAP.org]On</A></U> Behalf Of Jim Sermersheim<BR>&gt;<BR>&gt;&gt; Howard,<BR>&gt;<BR>&gt;&gt; For an implementation to conform to the protocol specification, it must<BR>&gt;&gt; understand and correctly implement the specification. If there is<BR>&gt;&gt; language that forces a server to do something it cannot do, that's a<BR>&gt;&gt; problem.<BR>&gt;<BR>&gt;Certainly. But that's not relevant, since servers don't process referrals,<BR>&gt;they merely return them to clients. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Right, the server returns the referral to the client. and an administrator populates the directory with the referral. The referral is returned for operations. Thus there are two players that can control what is returned in a referral: 1) The administrator (the entity populating the directory with the reference URI), and 2) The server (which is returning the referral for an operation)</DIV>
<DIV>&nbsp;</DIV>
<DIV>The requirement in question involves knowledge of three things: a) the presence of a reference, b) the current operation, c) the protocol used to progress the resulting referral.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I assert that neither of the two players can make use the three bits of knowledge to meet the requirement.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The server can't understand the relationship between (b) and (c).</DIV>
<DIV>The administrator can't specify a URI based on any given operation.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;Whether or not a server implements the<BR>&gt;referral scheme is orthogonal to the question.<BR></DIV>
<DIV>Agreed, this is not the path I'm going down (unless one considers servers that chain operations, and know how to chain using non-LDAP protocols, but let's ignore that for now).</DIV>
<DIV><BR>&gt;On the other side, a server that correctly parses LDAP queries and generates<BR>&gt;properly formatted replies obviously has correctly implemented the<BR>&gt;specification, even if it just returns LDAP_UNWILLING_TO_PERFORM for all<BR>&gt;request types. The completeness of an implementation has nothing to do with<BR>&gt;the correctness of it.<BR></DIV>
<DIV>Sure, but let's&nbsp;not just&nbsp;toss rhetoric about.&nbsp;When an implementor decides to go a bit further than to return unwillingToPerform&nbsp;and actually process an operation, it's generally seen as a good thing when they actually adhere to the specification. When following the specification&nbsp;becomes impossible, one tends to want to fix the specification. I assert that there are cases where the language in question is impossible for any given player involved to follow.</DIV>
<DIV><BR>&gt;&gt; If my interpretation is muddy, then the wording needs to change,<BR>&gt;&gt; because it is not only me who is interpreting it that way.<BR>&gt;&gt;<BR>&gt;&gt; Do you have alternate wording which captures the intent of this<BR>&gt;&gt; statement while allowing non-LDAP protocols to be specified<BR>&gt;&gt; in referral URIs?<BR>&gt;<BR>&gt;Not really, since I haven't really thought about which non-LDAP protocols<BR>&gt;might meaningfully be used in a referral. I suppose one could envision an<BR>&gt;HTTP server that was operating as an LDAP gateway, but I don't see what an<BR>&gt;LDAP client really should do with such a response. Is it the LDAP client's<BR>&gt;responsibility to parse these various other protocols and marshal them into a<BR>&gt;format that the calling LDAP application understands?<BR></DIV>
<DIV>In this case, there would be some specification that defines a URI format to be used to reference an HTTP server from a directory entry (one hasn't yet been defined). That specification would likely describe URI parts that are somewhat analogous to the various parts of an LDAP URL.</DIV>
<DIV>&nbsp;</DIV>
<DIV>A client receiving such a referral would be free to follow it per the aforementioned specification. A natural client scenario would be one where a federation-friendly library like JNDI was being used. The JNDI client would have both the LDAP service provider and another (HTTP-Dir?) service provider (and possibly others)&nbsp;available. When a non-LDAP referral is encountered, the JNDI application would federate using that referral so long as it knows how to follow it using one of its non-LDAP service providers. This is only one example of client-side work that could be used to follow non-LDAP referrals (JNDI need not be used, it's just the most natural environment for such a thing to happen that I know of).</DIV>
<DIV><BR>&gt;Should it really be so open-ended, or should it just allow other *LDAP*<BR>&gt;schemes over as-yet-unknown transports? (e.g. ldapi for LDAP over IPC, cldap<BR>&gt;for connectionless LDAP over UDP, perhaps LDAP over a multicast transport,<BR>&gt;etc...)<BR></DIV>
<DIV>It was this open ended in RFC 2251. I believe the ability to federate to non-LDAP servers is useful and powerful. I would argue against removing this flexibility.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Many cross-protocol federations have been suggested in the past, including (various) Filesystem, HTTP, DAP, NDAP, (various) Domain-like, and others. I imagine the future will see proposals to add referrals to XLDAP, and the like as well.</DIV>
<DIV>&nbsp;</DIV>
<DIV>To reiterate: this problem has to do with the fact that a requirement is asking that knowledge of protocol/operation pairs are known, yet no LDAP actor has that knowledge.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&gt; Jim<BR>&gt;<BR>&gt; &gt;&gt;&gt; &lt;<U> <A href="mailto:highlandsun@highlandsun.propagation.net">highlandsun@highlandsun.propagation.net</A></U> &gt; 11/12/03 10:35:23 AM &gt;&gt;&gt;<BR>&gt; &gt;All,<BR>&gt; &gt;<BR>&gt; &gt;There is the following text regarding referral URIs in the protocol<BR>&gt; &gt;document:<BR>&gt; &gt;"Other kinds of URIs may be returned, so long as the operation could<BR>&gt; be<BR>&gt; &gt;performed using that protocol."<BR>&gt; &gt;<BR>&gt; &gt;It's quite likely (actually, it's a reality) that a protocol could<BR>&gt; &gt;exist which allows some directory operations (like add, modify, and<BR>&gt; &gt;search), but not others (like modDN).<BR>&gt; &gt;Even when one considers this language a certain way, two LDAP servers<BR>&gt; &gt;may not both support the same extended operation.<BR><BR>-- Howard Chu<BR>Chief Architect, Symas Corp. Director, Highland Sun<BR><U><A href="http://www.symas.com/">http://www.symas.com</A></U> <U><A href="h!
 ttp://highlandsun.com/hyc">http://highlandsun.com/hyc</A></U> <BR>Symas: Premier OpenSource Development and Support<BR><BR></DIV></BODY></HTML>
--=__PartE5BB65EE.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 13 10:51:29 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA04245
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Nov 2003 10:51: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 hADFkopX090903;
	Thu, 13 Nov 2003 15:49: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 hADFf1oa090652;
	Thu, 13 Nov 2003 15: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); Thu, 13 Nov 2003 15:41:01 +0000
Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.129])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hADFeepT090610
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Nov 2003 15:40:40 GMT
	(envelope-from jongchoi@OpenLDAP.org)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e31.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id hADFeIFu073670;
	Thu, 13 Nov 2003 10:40:18 -0500
Received: from core (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.6) with SMTP id hADFeAc2024664;
	Thu, 13 Nov 2003 08:40:11 -0700
Message-ID: <002a01c3a9fc$498ee4a0$3cda0209@core>
From: "Jong" <jongchoi@OpenLDAP.org>
To: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
References: <sfb29453.002@prv-mail20.provo.novell.com>
Subject: Re: Protocol: referrals and other URIs
Date: Thu, 13 Nov 2003 10:38:52 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

> >The server's knowledge on the other opaque protocols is an implementational one
> >and hence needs to be treated as such in the protocol specification.
>
> Yes, and as such, no server protocol implementation can be expected to
> understand the relationship between operations and non-LDAP protocols.
> And since no provision is given to allow an administrator to specify
> such a relationship, the current language is impossible to adhere to.
>
> If there were some "applicable operations" field in referral URIs, then
> the current language would be possible to adhere to. But there is not.

The configuration of referrals in the server is implementation depedent.
Should such relationships bw. operations and non-LDAP protocols
are needed, it can be specified in an implementation dependent way
without touching referral URIs. I agree to the need for a wording change,
in that the server may return other kinds of URIs subject to its knowledge
of that protocol, and the client may follow it also subject to its knowledge.

> >The client needs to be prepared for the server which has imprecise information
> >on the other protocols, but IMHO, this seems to be outside of the protocol
specification.
> >- Jong
>
> I agree. Currently, there is no wording that assures a client that it
> will receive a URI which it will know how to follow. This is good.






From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 13 15:48:40 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA19707
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Nov 2003 15:48: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 hADKYsqH009452;
	Thu, 13 Nov 2003 20:46: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 hADKTUhA009131;
	Thu, 13 Nov 2003 20:29:30 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Nov 2003 20:29:30 +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 hADKT8pT009100
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Nov 2003 20:29:09 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Thu, 13 Nov 2003 13:28:48 -0700
Message-Id: <sfb38710.096@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 Nov 2003 13:28:29 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Protocol: referrals and other URIs
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

A couple IETF 58 attendees are proposing the following wording to
replace the existing wording:

Other kinds of URIs may be returned. The syntax and symantics of such
URIs is left to future specifications. Clients ignore URIs that they
don't support.

Jim


>>> "Jong" <jongchoi@OpenLDAP.org> 11/13/03 9:38:52 AM >>>
> >The server's knowledge on the other opaque protocols is an
implementational one
> >and hence needs to be treated as such in the protocol
specification.
>
> Yes, and as such, no server protocol implementation can be expected
to
> understand the relationship between operations and non-LDAP
protocols.
> And since no provision is given to allow an administrator to specify
> such a relationship, the current language is impossible to adhere
to.
>
> If there were some "applicable operations" field in referral URIs,
then
> the current language would be possible to adhere to. But there is
not.

The configuration of referrals in the server is implementation
depedent.
Should such relationships bw. operations and non-LDAP protocols
are needed, it can be specified in an implementation dependent way
without touching referral URIs. I agree to the need for a wording
change,
in that the server may return other kinds of URIs subject to its
knowledge
of that protocol, and the client may follow it also subject to its
knowledge.

> >The client needs to be prepared for the server which has imprecise
information
> >on the other protocols, but IMHO, this seems to be outside of the
protocol
specification.
> >- Jong
>
> I agree. Currently, there is no wording that assures a client that
it
> will receive a URI which it will know how to follow. This is good.







From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 13 17:13:49 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA23903
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Nov 2003 17:13: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 hADMAppX023390;
	Thu, 13 Nov 2003 22:12: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 hADM9nbw023295;
	Thu, 13 Nov 2003 22:09: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, 13 Nov 2003 22:09:49 +0000
Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.130])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hADM9SpT023252
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Nov 2003 22:09:28 GMT
	(envelope-from jongchoi@OpenLDAP.org)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e32.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id hADM91kF269508;
	Thu, 13 Nov 2003 17:09:01 -0500
Received: from core (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.6) with SMTP id hADM90c2120922;
	Thu, 13 Nov 2003 15:09:00 -0700
Message-ID: <018d01c3aa32$9a9db7a0$3cda0209@core>
From: "Jong" <jongchoi@OpenLDAP.org>
To: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
References: <sfb38710.096@prv-mail20.provo.novell.com>
Subject: Re: Protocol: referrals and other URIs
Date: Thu, 13 Nov 2003 17:07:58 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

> Other kinds of URIs may be returned. The syntax and symantics of such
> URIs is left to future specifications. Clients ignore URIs that they
> don't support.
> 
> Jim

Looks fine.
We have another in section 4.5.3 for continuation references.
- Jong


From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 13 21:13:49 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA05489
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Nov 2003 21:13: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 hAE2ArpX032102;
	Fri, 14 Nov 2003 02:12: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 hAE2861u032063;
	Fri, 14 Nov 2003 02:08:06 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 14 Nov 2003 02:08:06 +0000
Received: from mcom.com (r2d2.aoltw.net [64.236.137.26])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hAE24apT031982;
	Fri, 14 Nov 2003 02:04:37 GMT
	(envelope-from MarkCSmithWork@aol.com)
Received: from judge.mcom.com (judge.nscp.aoltw.net [10.169.8.47])
	by mcom.com (8.10.0/8.10.0) with ESMTP id hAE24Am29027;
	Thu, 13 Nov 2003 18:04:11 -0800 (PST)
Received: from aol.com ([10.169.192.39]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id HOBKEY03.J4S;
          Thu, 13 Nov 2003 18:04:10 -0800 
Message-ID: <3FB43818.8090307@aol.com>
Date: Thu, 13 Nov 2003 21:04:08 -0500
From: markcsmithwork@aol.com (Mark C Smith)
Organization: America Online, Inc.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jong <jongchoi@OpenLDAP.org>
CC: Jim Sermersheim <jimse@novell.com>, ietf-ldapbis@OpenLDAP.org
Subject: Re: Protocol: referrals and other URIs
References: <sfb38710.096@prv-mail20.provo.novell.com> <018d01c3aa32$9a9db7a0$3cda0209@core>
In-Reply-To: <018d01c3aa32$9a9db7a0$3cda0209@core>
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

Jong wrote:
>>Other kinds of URIs may be returned. The syntax and symantics of such
>>URIs is left to future specifications. Clients ignore URIs that they
>>don't support.

I am not sure we should say that clients ignore URIs that they do not 
understand. A client may want to display them to the user or report an 
error in some way if a referral was returned that could not be followed 
(or understood).

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Thu Nov 13 21:24:15 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA06134
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Nov 2003 21:24: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 hAE2MrpX032557;
	Fri, 14 Nov 2003 02: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 hAE2Liq9032532;
	Fri, 14 Nov 2003 02:21:44 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 14 Nov 2003 02:21:44 +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 hAE2LNpT032504
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 Nov 2003 02:21:24 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Thu, 13 Nov 2003 19:21:03 -0700
Message-Id: <sfb3d99f.042@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 Nov 2003 19:20:44 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Protocol: referrals and other URIs
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=__Part346AB2EC.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.

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

"Clients are free to ignore"?

>>> Mark C Smith <markcsmithwork@aol.com> 11/13/03 8:04:08 PM >>>
Jong wrote:
>>Other kinds of URIs may be returned. The syntax and symantics of
such
>>URIs is left to future specifications. Clients ignore URIs that they
>>don't support.

I am not sure we should say that clients ignore URIs that they do not 
understand. A client may want to display them to the user or report an

error in some way if a referral was returned that could not be followed

(or understood).

-Mark


--=__Part346AB2EC.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4934.1600" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">"Clients are free to ignore"?<BR><BR>&gt;&gt;&gt; Mark C Smith &lt;markcsmithwork@aol.com&gt; 11/13/03 8:04:08 PM &gt;&gt;&gt;<BR>Jong wrote:<BR>&gt;&gt;Other kinds of URIs may be returned. The syntax and symantics of such<BR>&gt;&gt;URIs is left to future specifications. Clients ignore URIs that they<BR>&gt;&gt;don't support.<BR><BR>I am not sure we should say that clients ignore URIs that they do not <BR>understand. A client may want to display them to the user or report an <BR>error in some way if a referral was returned that could not be followed <BR>(or understood).<BR><BR>-Mark<BR><BR></BODY></HTML>
--=__Part346AB2EC.0__=--


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 14 01:33:14 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA14851
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 Nov 2003 01:33: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 hAE6Sspj040361;
	Fri, 14 Nov 2003 06:29: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 hAE6NjQD040251;
	Fri, 14 Nov 2003 06:23: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); Fri, 14 Nov 2003 06:23:45 +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 hAE6MhpT040161;
	Fri, 14 Nov 2003 06:22:43 GMT
	(envelope-from RHARRISON@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Thu, 13 Nov 2003 23:22:23 -0700
Message-Id: <sfb4122f.046@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 Nov 2003 20:10:02 -0700
From: "Roger Harrison" <RHARRISON@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: "Steve Sonntag" <VTAG.PRV-3.PROVO@novell.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: authmeth - user & client usage
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I've reviewed my use of the terms application, user, and client in -09
and think things are looking pretty good. In particular, I've removed
all uses of application except in the definition of user.

Roger

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 10/8/2003 9:21:04 PM >>>
At 06:28 AM 10/8/2003, Roger Harrison wrote:
>these terms ("application/user" and "client protocol agent") I
>find confusing as "application" implies an "implementation" not
>an entity acting as a human.

Actually, it's confusing to use "application" to refer to an
"implementation" and, even more so, just to client implementations.

Here is, I think, a good example of an appropriate use of the
term application (in the context of LDAP specifications):
    PKI is an application of the directory which places
    specific requirements upon clients and servers implementations.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 14 01:33:14 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA14852
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 Nov 2003 01:33: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 hAE6Sspl040361;
	Fri, 14 Nov 2003 06:29:45 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 hAE6N4TS040224;
	Fri, 14 Nov 2003 06:23:04 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 14 Nov 2003 06:23: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 hAE6MhpT040160
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 Nov 2003 06:22:43 GMT
	(envelope-from RHARRISON@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Thu, 13 Nov 2003 23:22:23 -0700
Message-Id: <sfb4122f.044@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 Nov 2003 21:04:46 -0700
From: "Roger Harrison" <RHARRISON@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Revisited: effect of Start TLS on authentication state
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

After the WG discussion on this topic a couple of days ago, I went back
through the discussion on the WG mail list from approximately July 1,
2003 to August 4, 2003. Here is where I think we stand based on these
two sources:

Desire 1. There are people who want to ensure that authentication and
authorization states achieved by relatively secure means (such as SASL
GSSAPI) can remain valid after Start TLS operation. Although it is not
stated, this decision would likely be based on local policy of some
sort.

Desire 2. There are people who want to ensure that authentication and
authorization states achieved by relatively insecure or weak means (such
as simple password) can be invalidated by a Start TLS based on local
policy.

The concern I have with trying to meet both of these requirements is
that they conflict--there's really no deterministic way for a client
implementation to figure out what has happened to its authentication and
authorization status in the LDAP spec if we support both outcomes. To
get deterministic behavior I believe we have two choices:

Option 1. Keep the requirement that servers MUST not change the
authentication and authorization state of the LDAP association when a
security service such as Start TLS is added to the session. Add wording
that says that servers SHOULD (MUST?) not allow the LDAP association to
achieve authentication/authorization states that it will not honor
across a Start TLS operation by returning a resultCode of
confidentialityRequired for bind operations that would achieve these
states if processed.

Option 2: Require servers to invalidate any existing
authentication/authorization state and return the LDAP association to
anonymous upon processing of Start TLS.  Clients would then have to
reestablish any authentication state. In practice this will mean that
clients using Start TLS will typically establish TLS before doing the
first non-anonymous operation to avoid having to repeat a step.

Either one of these is probably workable, however based on the way that
RFC 2830 was written, I believe that Option 1 is more faithful to
currently implemented practice and should not be difficult for server
implementers to work with. I propose it as the solution to this issue.

Roger



From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 14 02:27:19 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA14850
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 Nov 2003 01:33: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 hAE6Sspn040361;
	Fri, 14 Nov 2003 06:29:45 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 hAE6MvJb040196;
	Fri, 14 Nov 2003 06:22:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 14 Nov 2003 06:22:57 +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 hAE6MapT040157
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 Nov 2003 06:22:36 GMT
	(envelope-from RHARRISON@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Thu, 13 Nov 2003 23:22:15 -0700
Message-Id: <sfb41227.040@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 Nov 2003 06:39:46 -0700
From: "Roger Harrison" <RHARRISON@novell.com>
To: "Jim Sermersheim" <JIMSE.PRV-6.PROVO@novell.com>,
        <ietf-ldapbis@OpenLDAP.org>
Subject: Re: Textual/non-textual passwords and SASLprep
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by boole.openldap.org id hAE6MapT040166
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

This looks good to me.

Roger

>>> "Jim Sermersheim" <jimse@novell.com> 11/12/2003 9:45:11 AM >>>
(Lifting snippets from here and there) How does this sound?
 
Textual passwords (consisting of a character sequence with a known character set and encoding) SHALL be transferred as [UTF-8] encoded [Unicode]. 
The determination of whether a password is textual is a local client matter.   
Prior to transfer, clients SHOULD prepare text passwords by applying the [SASLprep] profile of the [Stringprep] algorithm. 
Passwords consisting of other data (such as random octets) MUST NOT be altered. 

Jim

>>> Michael Ströder <michael@stroeder.com> 11/12/03 7:38:55 AM >>>
Hallvard B Furuseth wrote:
> Michael Ströder writes:
> 
>>
>>Even if passwords are read from file they can be textual ;-)
> 
> I quite agree, but that seemed to be what you suggested in article
> < http://www.openldap.org/lists/ietf-ldapbis/200305/msg00112.html >, which
> you referred me to when I asked how to tell if a password was textual.

There's no text in my former posting stating that textual passwords can't be 
read from a file.

>>and the application MUST have the a-priori knowledge to decide what to
>>do with passwords stored in file. Which mainly boils down to that you
>>also have to specify your file format exactly and your application
>>following the format correctly.
> 
> So the password file contains a mark which says whether the following
> password is textual or not, or something like that?

Not necessarily. That's simply subject of local definition.

>>Hallvard, I have to admit that I don't see your problem at all... :-/
> 
> I want [Protocol] to either say something about how to decide if a
> password is textual or not (even if it's just "it's the client's
> responsibility to know this"),

Then we go for "it's the client's responsibility to know this a priori". ;-)

> or to drop the SHALL/MUST treat
> textual and non-textual passwords differently.

No!

> For example, am I doing anything wrong if I
> declare that passwords given to my client are always non-textual, even
> passwords typed in by users, maybe unless the user gives an option
> saying they are textual?

Even "passwords typed in by users" could be binary. ;-)

Since you cited my former posting I'll grab text from there:

"More formally one could define textual passwords as a character sequence 
with a known character set and encoding."

Ciao, Michael.









From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 14 02:27:20 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA14849
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 Nov 2003 01:33: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 hAE6Sspp040361;
	Fri, 14 Nov 2003 06:29:45 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 hAE6MwYT040205;
	Fri, 14 Nov 2003 06:22: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, 14 Nov 2003 06:22:58 +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 hAE6MbpT040158
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 14 Nov 2003 06:22:37 GMT
	(envelope-from RHARRISON@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Thu, 13 Nov 2003 23:22:17 -0700
Message-Id: <sfb41229.042@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Date: Thu, 13 Nov 2003 07:09:17 -0700
From: "Roger Harrison" <RHARRISON@novell.com>
To: <markcsmithwork@aol.com>, "Jim Sermersheim" <JIMSE.PRV-6.PROVO@novell.com>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: unauthenticated bind
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

Here's my proposal:

in Section 6.1 (Anonymous Authentication)

"An LDAP client may also explicitly establish an anonymous association.
A client that wishes to do so MUST choose the simple authentication
option in the Bind Request and set the password to be of zero length.
Typically the name is also of zero length. A bind request where both the
name and password are of zero length is said to be an anonymous bind. A
bind request where the name, a DN, is of non-zero length, and the
password is of zero length is said to be an unauthenticated bind. Both
variations produce an anonymous association. 

"Unauthenticated binds can have significant security issues (see
section 10). Servers SHOULD by default reject unauthenticated bind
requests, and clients may need to actively detect situations where they
would make an unauthenticated bind request."

in Section 10 (security considerations):

"Operational experience shows that clients can (and frequently do)
misuse unauthenticated bind (see section 6.1).  For example, a client
program might make a decision to grant access to non-directory
information on the basis of completing a successful bind operation. Some
LDAP server implementations will return a success response to an
unauthenticated bind thus leaving the client with the impression that
the server has successfully authenticated the identity represented by
the user name, when in reality, the server has simply performed an
anonymous bind.  For this reason, servers SHOULD by default reject
authentication requests that have a DN with an empty password with an
error of invalidCredentials. 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."

Roger

>>> "Mark Smith" <markcsmithwork@aol.com> 11/12/2003 11:00:31 AM >>>
Jim Sermersheim wrote on 11/12/2003, 10:27 AM: 
Disallowing them completely may break some current client and server
implementations. I remember some people (maybe Mark Smith) from Netscape
saying that they use the mechanism as some way of voluntary auditing or
some such.
Yes, people do use it that way... I am not saying this is a great LDAP
feature from a security point of view though.

I prefer the compromise solution brought up in yesterday's meeting
where part of the note is moved into the main body of the document with
a pointer to the security considerations which contains the reasons
why.
That sounds OK although I'll have to see the exact proposal.

-Mark 


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 14 11:30:50 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18833
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 Nov 2003 11:30: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 hAEGT3pT085163;
	Fri, 14 Nov 2003 16:29: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 hAEGK373084415;
	Fri, 14 Nov 2003 16:20:03 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 14 Nov 2003 16:20: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 hAEGJfpT084365
	for <ietf-ldapbis@openldap.org>; Fri, 14 Nov 2003 16:19:42 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 1AKgfa-0006vQ-5S; Fri, 14 Nov 2003 17:19:38 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1AKgfV-0005yJ-Ky; Fri, 14 Nov 2003 17:19:33 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AKgfV-0005t0-00; Fri, 14 Nov 2003 17:19:33 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031114hp45@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Roger Harrison <RHARRISON@novell.com>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: Revisited: effect of Start TLS on authentication state
In-Reply-To: <sfb4122f.044@prv-mail20.provo.novell.com>
References: <sfb4122f.044@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 14 Nov 2003 17:19: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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

Roger Harrison writes:
> Option 1. Keep the requirement that servers MUST not change the
> authentication and authorization state of the LDAP association when a
> security service such as Start TLS is added to the session.

OK...

> Add wording that says that servers SHOULD (MUST?) not allow the LDAP
> association to achieve authentication/authorization states that it
> will not honor across a Start TLS operation by returning a resultCode
> of confidentialityRequired for bind operations that would achieve
> these states if processed.

Some binds _before_ Start TLS should fail, just because a later Start
TLS won't like them?  That makes no sense if the client isn't planning
to send Start TLS.

I prefer that servers SHOULD respond with strongAuthRequired to requests
_following_ Start TLS, until the next bind or TLS closure.  Unless other
protection is already in place, like a SASL security layer.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 14 15:02:27 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA26476
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 Nov 2003 15:02: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 hAEJwxpX001311;
	Fri, 14 Nov 2003 20:00:35 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 hAEJt24g001010;
	Fri, 14 Nov 2003 19:55:02 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 14 Nov 2003 19:55: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 hAEJsdpT000976
	for <ietf-ldapbis@openldap.org>; Fri, 14 Nov 2003 19:54: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 1AKk1b-0002VV-6H; Fri, 14 Nov 2003 20:54:35 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx6.uio.no with esmtp (Exim 4.14)
	id 1AKk1S-00018p-9X; Fri, 14 Nov 2003 20:54:26 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1AKk1R-0006NW-00; Fri, 14 Nov 2003 20:54:25 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031114e3st@bombur.uio.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Roger Harrison <RHARRISON@novell.com>
Cc: markcsmithwork@aol.com, "Jim Sermersheim" <JIMSE.PRV-6.PROVO@novell.com>,
        ietf-ldapbis@OpenLDAP.org
Subject: Re: unauthenticated bind
In-Reply-To: <sfb41229.042@prv-mail20.provo.novell.com>
References: <sfb41229.042@prv-mail20.provo.novell.com>
X-Mailer: VM 6.37 under Emacs 19.34.1
Date: Fri, 14 Nov 2003 20:54: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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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

Roger Harrison writes:
> Here's my proposal:
> 
> in Section 6.1 (Anonymous Authentication)
> 
> "An LDAP client may also explicitly establish an anonymous association.
> A client that wishes to do so MUST choose the simple authentication
> option in the Bind Request and set the password to be of zero length.

Why forbid the SASL method ANONYMOUS (draft-ietf-sasl-anon-02.txt)?

Besides, as I mentioned in my authmeth-07 issues message, I think it is
better to avoid the MUST by formulating this as

  A client can explicitly establish an anonymous association
  by sending a Bind Request with a zero length password.

> Typically the name is also of zero length.

Drop this, it's implied by the SHOULD below.

> "Unauthenticated binds can have significant security issues (see
> section 10). Servers SHOULD by default reject unauthenticated bind
> requests, and clients may need to actively detect situations where they
> would make an unauthenticated bind request."

..."instead of a Simple Bind with a password".

> in Section 10 (security considerations):
> 
> Some
> LDAP server implementations will return a success response to an
> unauthenticated bind thus leaving the client with the impression that
> the server has successfully authenticated the identity represented by
> the user name, when in reality, the server has simply performed an
> anonymous bind.

s/anonymous bind/unauthenticated bind/.  Unless you revise the suggested
definition of anonymous binds in 6.1 to say that an unauthenticated bind
is one kind of anonymous bind.

> For this reason, servers SHOULD by default reject
> authentication requests that have a DN with an empty password with an
> error of invalidCredentials.

Move "with an error of invalidCredentials" to 6.1.  And maybe reword the
rest to 'This is why servers should by default reject...', since the
SHOULD has already been stated in 6.1.

-- 
Hallvard


From owner-ietf-ldapbis@OpenLDAP.org  Fri Nov 14 22:04:10 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA11241
	for <ldapbis-archive@lists.ietf.org>; Fri, 14 Nov 2003 22:04: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 hAF315pX025489;
	Sat, 15 Nov 2003 03:02:05 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 hAF30QpD025174;
	Sat, 15 Nov 2003 03:00: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); Sat, 15 Nov 2003 03:00:26 +0000
Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.132])
	by boole.openldap.org (8.12.10/8.12.10) with ESMTP id hAF301pT025112
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 15 Nov 2003 03:00:05 GMT
	(envelope-from jongchoi@OpenLDAP.org)
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11])
	by e34.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id hAF2xYH5249432;
	Fri, 14 Nov 2003 21:59:34 -0500
Received: from core (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.6) with SMTP id hAF2xX0e183424;
	Fri, 14 Nov 2003 19:59:33 -0700
Message-ID: <001301c3ab24$5c0e76d0$6401a8c0@core>
From: "Jong" <jongchoi@OpenLDAP.org>
To: "Mark C Smith" <markcsmithwork@aol.com>
Cc: "Jim Sermersheim" <jimse@novell.com>, <ietf-ldapbis@OpenLDAP.org>
References: <sfb38710.096@prv-mail20.provo.novell.com> <018d01c3aa32$9a9db7a0$3cda0209@core> <3FB43818.8090307@aol.com>
Subject: Re: Protocol: referrals and other URIs
Date: Fri, 14 Nov 2003 21:58:23 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


> I am not sure we should say that clients ignore URIs that they do not
> understand. A client may want to display them to the user or report an
> error in some way if a referral was returned that could not be followed
> (or understood).

The same also seems to apply to other paragraphs of 4.1.10 :
   If the client wishes to progress the operation, it MUST follow the
   referral by contacting one of the services. If multiple URIs are
   present, the client assumes that any URI may be used to progress the
   operation.
=>
   If the client wishes to progress the operation, it MUST follow the
   referral by contacting one of the supported services. If multiple URIs are
   present, the client assumes that any supported URI may be used to progress the
   operation.

Likewise, instead of saying "Clients ignore URIs that they don't support",
how about saying "clients MUST follow referrals they support if it wishes to progress"
here as well ?

- Jong



From owner-ietf-ldapbis@OpenLDAP.org  Mon Nov 17 12:22:09 2003
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA23410
	for <ldapbis-archive@lists.ietf.org>; Mon, 17 Nov 2003 12:22: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 hAHHBNqL069101;
	Mon, 17 Nov 2003 17:19: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 hAHH7jYM068272;
	Mon, 17 Nov 2003 17:07:45 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
X-Authentication-Warning: boole.openldap.org: majordomo owned process doing -bs
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 17 Nov 2003 17:07: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 hAHH7JpT068091
	for <ietf-ldapbis@openldap.org>; Mon, 17 Nov 2003 17:07: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 1ALmqJ-0003Am-Gw
	for ietf-ldapbis@openldap.org; Mon, 17 Nov 2003 18:07:15 +0100
Received: from bombur.uio.no ([129.240.186.42])
	by mail-mx4.uio.no with esmtp (Exim 4.14)
	id 1ALmpl-0001IZ-Vn
	for ietf-ldapbis@openldap.org; Mon, 17 Nov 2003 18:06:41 +0100
Received: from hbf by bombur.uio.no with local (Exim 2.12 #7)
	id 1ALmpl-0000f3-00
	for ietf-ldapbis@OpenLDAP.org; Mon, 17 Nov 2003 18:06:41 +0100
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Message-Id: <HBF.20031117hqa2@bombur.uio.no>
To: ietf-ldapbis@OpenLDAP.org
Subject: authmeth: re-fetching supportedSASLmechanisms
Date: Mon, 17 Nov 2003 18:06:41 +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
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://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>

authmeth-08 section 3.3.5 says:

   If the client is configured to support multiple SASL mechanisms, it 
   SHOULD fetch the supportedSASLmechanisms list both before and after 
   the SASL security layer is negotiated. This allows the client to 
   detect active attacks that remove supported SASL mechanisms from the 
   supportedSASLMechanisms list and allows the client to ensure that it 
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   is using the best mechanism supported by both client and server.
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Delete the underlined text.  It does not allow the client to ensure
that.  The password has already been sent with a weaker mechanism by
the time the client discovers that a stronger mechanism is available.

-- 
Hallvard


