
From Kurt.Zeilenga@Isode.com  Mon Aug  9 10:17:44 2010
Return-Path: <Kurt.Zeilenga@Isode.com>
X-Original-To: ldapext@core3.amsl.com
Delivered-To: ldapext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 341353A694A for <ldapext@core3.amsl.com>; Mon,  9 Aug 2010 10:17:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.41
X-Spam-Level: 
X-Spam-Status: No, score=-102.41 tagged_above=-999 required=5 tests=[AWL=0.189, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MfMwwX1bO2R6 for <ldapext@core3.amsl.com>; Mon,  9 Aug 2010 10:17:43 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 1BC813A6B16 for <ldapext@ietf.org>; Mon,  9 Aug 2010 10:17:43 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TGA4WABIEEKB@rufus.isode.com> for <ldapext@ietf.org>; Mon, 9 Aug 2010 18:18:16 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Mon, 9 Aug 2010 10:18:14 -0700
Message-Id: <46FACB10-619F-4AD6-9F3B-CECFA13DBE94@Isode.com>
To: ldapext <ldapext@ietf.org>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: [ldapext] password policy: pwdChangedTIme, pwdLastSuccess
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ldapext>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 17:17:44 -0000

Section 7.1 says:

   o  The current time is greater than or equal to the value of the
      pwdLastSuccess attribute added to the value of the pwdMaxIdle
      attribute.

but pwdLastSuccess may not exist as the user might never have =
successfully authenticated.

I would suggest,

   o  If pwdLastSuccess attribute exists, the current time is greater =
than or equal to the
      value of the pwdLastSuccess attribute added to the value of the =
pwdMaxIdle
      attribute. =20
   o  Otherwise, the current time is greater than or equal to the
      value of the pwdChangedTime attribute added to the value of the =
pwdMaxIdle
      attribute.

But, of course, pwdChangedTime might not exist.

First, if one has an governing password policy, I think both =
pwdLastSuccess and pwdChangedTime MUST always be maintained.  This =
allows, for instance, a pwdMaxIdle or pwdMaxAge restriction to be =
establish subsequently to the initial policy being set.

Second, the specification should detail what should happen if a =
particular state attribute is missing.  For instance, even if the above =
MUST was in place, one still the issue of handling an initial policy =
with pwdMaxIdle and pwdMaxAge yet neither of these state attributes yet =
present.

If both attribute are absent, I suggest using createTimestamp of the =
password policy subentry as substitute.   That is, in absence of these =
state attributes, an account would not be idled until the policy was =
pwdMaxIdle old, and password not be aged until the policy was pwdMaxAge =
old.

(pwdMinAge has a similar problem, but here I recommend axing pwdMinAge =
as it's a really bad idea to begin with.)

-- Kurt


From Kurt.Zeilenga@Isode.com  Tue Aug 10 08:12:23 2010
Return-Path: <Kurt.Zeilenga@Isode.com>
X-Original-To: ldapext@core3.amsl.com
Delivered-To: ldapext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 47F3F3A6922 for <ldapext@core3.amsl.com>; Tue, 10 Aug 2010 08:12:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.42
X-Spam-Level: 
X-Spam-Status: No, score=-102.42 tagged_above=-999 required=5 tests=[AWL=0.179, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ESt+oUA7M856 for <ldapext@core3.amsl.com>; Tue, 10 Aug 2010 08:12:21 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 5F0383A67C0 for <ldapext@ietf.org>; Tue, 10 Aug 2010 08:12:21 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TGFsdwBIECu0@rufus.isode.com> for <ldapext@ietf.org>; Tue, 10 Aug 2010 16:12:55 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com>
Date: Tue, 10 Aug 2010 08:12:52 -0700
Message-Id: <99E1CB83-3BAD-4DF5-A9A0-9E6FB023574C@Isode.com>
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com>
To: ldapext <ldapext@ietf.org>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: [ldapext]  password policy: account vs. password idling
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ldapext>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Aug 2010 15:12:23 -0000

pwdMaxIdle and pwdLastSuccess are described in terms of "account idling" =
not "password idling".  That is, "This attribute specifies the number of =
seconds an account may remain unused before it becomes locked" and "This =
attribute holds the timestamp of the last successful
   authentication."

As defined now, if a user has both a password and a certificate but only =
uses the certificate for authentication (TLS+EXTERNAL), the password =
remains vulnerable to attack.

Given this is the "password policy" not a more general "account policy", =
this specification should focus on disabling passwords when not actively =
used... leaving disabling of inactive accounts to a future "account =
policy" specification.

-- Kurt



From Ludovic.Poitou@Sun.COM  Tue Aug 10 08:29:22 2010
Return-Path: <Ludovic.Poitou@Sun.COM>
X-Original-To: ldapext@core3.amsl.com
Delivered-To: ldapext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9FC0D3A69DB for <ldapext@core3.amsl.com>; Tue, 10 Aug 2010 08:29:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JUY24h8YJ5uS for <ldapext@core3.amsl.com>; Tue, 10 Aug 2010 08:29:21 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com (gmp-eb-inf-2.sun.com [192.18.6.24]) by core3.amsl.com (Postfix) with ESMTP id 6FD423A6A13 for <ldapext@ietf.org>; Tue, 10 Aug 2010 08:29:21 -0700 (PDT)
Received: from fe-emea-09.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o7AFTt7u012144 for <ldapext@ietf.org>; Tue, 10 Aug 2010 15:29:55 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0L6Y00H0008QJB00@fe-emea-09.sun.com> for ldapext@ietf.org; Tue, 10 Aug 2010 16:29:43 +0100 (BST)
Received: from [192.168.1.3] ([unknown] [129.150.124.67]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0L6Y00BQ00DJLE60@fe-emea-09.sun.com>;  Tue, 10 Aug 2010 16:29:43 +0100 (BST)
Date: Tue, 10 Aug 2010 17:29:41 +0200
From: Ludovic Poitou <Ludovic.Poitou@Sun.COM>
In-reply-to: <99E1CB83-3BAD-4DF5-A9A0-9E6FB023574C@Isode.com>
Sender: Ludovic.Poitou@Sun.COM
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Message-id: <ACDAEF5C-346B-4DAD-8B34-CB02D7E4FA5E@sun.com>
X-Mailer: Apple Mail (2.1081)
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com> <99E1CB83-3BAD-4DF5-A9A0-9E6FB023574C@Isode.com>
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: account vs. password idling
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ldapext>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Aug 2010 15:29:22 -0000

I agree. 
Note taken for the next update.

Ludo

On Aug 10, 2010, at 5:12 PM, Kurt Zeilenga wrote:

> pwdMaxIdle and pwdLastSuccess are described in terms of "account idling" not "password idling".  That is, "This attribute specifies the number of seconds an account may remain unused before it becomes locked" and "This attribute holds the timestamp of the last successful
>   authentication."
> 
> As defined now, if a user has both a password and a certificate but only uses the certificate for authentication (TLS+EXTERNAL), the password remains vulnerable to attack.
> 
> Given this is the "password policy" not a more general "account policy", this specification should focus on disabling passwords when not actively used... leaving disabling of inactive accounts to a future "account policy" specification.
> 
> -- Kurt
> 
> 
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www.ietf.org/mailman/listinfo/ldapext

---
Ludovic Poitou                                   Oracle
OpenDS community Manager, Directory Services Architect
http://blogs.sun.com/Ludo/         Grenoble Engineering Center - France

OpenDS, the Java LDAP Directory Server
http://www.opends.org





From jim@willeke.com  Tue Aug 10 14:49:16 2010
Return-Path: <jim@willeke.com>
X-Original-To: ldapext@core3.amsl.com
Delivered-To: ldapext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6CCA13A682F for <ldapext@core3.amsl.com>; Tue, 10 Aug 2010 14:49:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[AWL=0.001,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HUCBRKzXJXTN for <ldapext@core3.amsl.com>; Tue, 10 Aug 2010 14:49:15 -0700 (PDT)
Received: from mail-ew0-f44.google.com (mail-ew0-f44.google.com [209.85.215.44]) by core3.amsl.com (Postfix) with ESMTP id 26E533A6AE1 for <ldapext@ietf.org>; Tue, 10 Aug 2010 14:49:14 -0700 (PDT)
Received: by ewy22 with SMTP id 22so4698576ewy.31 for <ldapext@ietf.org>; Tue, 10 Aug 2010 14:49:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.86.16 with SMTP id v16mr591981wee.11.1281476989144; Tue,  10 Aug 2010 14:49:49 -0700 (PDT)
Received: by 10.216.70.142 with HTTP; Tue, 10 Aug 2010 14:49:48 -0700 (PDT)
In-Reply-To: <ACDAEF5C-346B-4DAD-8B34-CB02D7E4FA5E@sun.com>
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com> <99E1CB83-3BAD-4DF5-A9A0-9E6FB023574C@Isode.com> <ACDAEF5C-346B-4DAD-8B34-CB02D7E4FA5E@sun.com>
Date: Tue, 10 Aug 2010 17:49:48 -0400
Message-ID: <AANLkTikRfB+zVcA=ZW78Kn7pN9e99fXwMnWrM149r5JZ@mail.gmail.com>
From: Jim Willeke <jim@willeke.com>
To: Ludovic Poitou <Ludovic.Poitou@sun.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: [ldapext] password policy: account vs. password idling
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ldapext>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Aug 2010 21:49:16 -0000

Then why would they be named  pwdLastSuccess and pwdMaxIdle?
Seems like poor choice for naming.

On Tuesday, August 10, 2010, Ludovic Poitou <Ludovic.Poitou@sun.com> wrote:
> I agree.
> Note taken for the next update.
>
> Ludo
>
> On Aug 10, 2010, at 5:12 PM, Kurt Zeilenga wrote:
>
>> pwdMaxIdle and pwdLastSuccess are described in terms of "account idling"=
 not "password idling". =A0That is, "This attribute specifies the number of=
 seconds an account may remain unused before it becomes locked" and "This a=
ttribute holds the timestamp of the last successful
>> =A0 authentication."
>>
>> As defined now, if a user has both a password and a certificate but only=
 uses the certificate for authentication (TLS+EXTERNAL), the password remai=
ns vulnerable to attack.
>>
>> Given this is the "password policy" not a more general "account policy",=
 this specification should focus on disabling passwords when not actively u=
sed... leaving disabling of inactive accounts to a future "account policy" =
specification.
>>
>> -- Kurt
>>
>>
>> _______________________________________________
>> Ldapext mailing list
>> Ldapext@ietf.org
>> https://www.ietf.org/mailman/listinfo/ldapext
>
> ---
> Ludovic Poitou =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 Oracle
> OpenDS community Manager, Directory Services Architect
> http://blogs.sun.com/Ludo/ =A0 =A0 =A0 =A0 Grenoble Engineering Center - =
France
>
> OpenDS, the Java LDAP Directory Server
> http://www.opends.org
>
>
>
>
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www.ietf.org/mailman/listinfo/ldapext
>

--=20

-jim
Jim Willeke
