
From jim@willeke.com  Thu Jul  1 03:28:00 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 83C713A67E3 for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 03:28:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
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 JbQ4cckdrK9D for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 03:27:58 -0700 (PDT)
Received: from mail-gw0-f44.google.com (mail-gw0-f44.google.com [74.125.83.44]) by core3.amsl.com (Postfix) with ESMTP id 61A903A67E2 for <ldapext@ietf.org>; Thu,  1 Jul 2010 03:27:58 -0700 (PDT)
Received: by gwb10 with SMTP id 10so1018896gwb.31 for <ldapext@ietf.org>; Thu, 01 Jul 2010 03:28:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.128.32 with SMTP id f32mr12480559ann.93.1277980085573;  Thu, 01 Jul 2010 03:28:05 -0700 (PDT)
Received: by 10.150.51.20 with HTTP; Thu, 1 Jul 2010 03:28:05 -0700 (PDT)
In-Reply-To: <DCC90442-9909-49E0-9760-B7D1178A930E@Isode.com>
References: <904B994B-050F-42B1-937C-96883C436A11@Isode.com> <4C2B8F7C.1010900@highlandsun.com> <DCC90442-9909-49E0-9760-B7D1178A930E@Isode.com>
Date: Thu, 1 Jul 2010 06:28:05 -0400
Message-ID: <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com>
From: Jim Willeke <jim@willeke.com>
To: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Content-Type: multipart/alternative; boundary=001636c5c05f07d879048a50edd6
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: delayed failures
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: Thu, 01 Jul 2010 10:28:00 -0000

--001636c5c05f07d879048a50edd6
Content-Type: text/plain; charset=ISO-8859-1

Just a comment on our experiences with LDAP server delays on failed bind
attempts.

We have encountered issues with applications when there is a delay between
failed attempts.
When there is an delay, the application is left waiting for a response from
the server.

This was the case with Novell's eDirectory for many years, there was a fixed
delay, and due to this condition, Novell added a feature to make the delay
adjustable.

If the delay is 3 seconds and five people in a row fail there password, the
application can only handle 5 people in 15 seconds, which is an eternity in
our context.
If the return code is returned immediately, then the application can end the
LDAP session immediately and move on to the next operation.

-jim
Jim Willeke


On Wed, Jun 30, 2010 at 4:28 PM, Kurt Zeilenga <Kurt.Zeilenga@isode.com>wrote:

>
> On Jun 30, 2010, at 11:39 AM, Howard Chu wrote:
>
> > Kurt Zeilenga wrote:
> >> I'm updating Isode's password policy implementation and have a few
> >> thoughts
> > on the ppolicy I-D that might be worth some discussion. I'll post each
> issue
> > in a separate thread...
> >>
> >> This message discusses delaying authentication failures
> >>
> >> This seems something not terribly specific to password-based
> >> authentication
> > so not clear it really belongs in the password policy.
> >
> > Maybe not. The reason it's been brought up here is because the account
> lockout feature is already in the password policy draft, and there are
> obvious DoS problems with account lockout, which delaying would help
> mitigate.
>
> I recall noting that account locking should be separated as well...
>
> I'm not sure how delaying bind failures significantly mitigates account
> lockout DoS attacks.  That is, so an attack takes a few more seconds, not
> much mitigation there.  Or am I missing something?
>
> >
> >> There needs to be a security consideration stated that server
> implementors
> > need to take precautions to avoid creating DoS attack vectors when
> > implementing delayed responses.
> >
> > Is that really a security consideration? That's like saying server
> implementors need to take precautions against SEGV when implementing
> something.
>
> It's fairly typical for RFCs to note specific instances where care might be
> taken, especially where the instance is non-obvious.  This might well be
> viewed as obvious and one could argue the reader's limited attention should
> be consumed by more significant concerns.
>
> I'm fine with leaving inclusion of such a consideration to your and your
> co-authors discretion.
>
>
> >
> >> It's not clear whether by "first failed authentication attempt" is per
> > session or per account. If per account, I think there's a problem that
> there's
> > no state mechanism for non-accounts. A non-account would likely get a
> flat
> > delay (the minimum). The difference in delay could be used by an attacker
> to
> > determine which accounts existed or not. Per session might be more
> sensible.
> >
> > That's a good point about non-accounts. But I don't see how per-session
> will be of much use; the password attacks I see against my machines come
> from multiple IP addresses at once, and frequently a single IP address is
> only used once in any given attack incident.
>
> Well, I think where a delay is useful, a flat delay is good enough.
>
> I've been considering a number of attacks scenarios, some based on what
> I've seen against actual LDAP services, some I've seen against other
> services (such as web, ssh services), and some just considering how I would
> mount such an attack if I was so inclined.   In many of these scenarios, the
> delay seems to be little hinderance to the attack.
>
> One interesting thing to note that if one's site were getting hit by a
> brute force attack where one session one used per session, by turning on a
> delay, the brute force attack will likely become a service DoS attack
> (independent of the attacker's intent).
>
> >> To defend against brute force attack within a single session, I think it
> >> be
> > better for servers to implement a few basic things than deal with delay
> (which
> > often open to DoS attack vectors). One, detect improper pipelining of
> Bind
> > requests and drop session if that's the case. Two, have the server limit
> the
> > number of consecutive password-based Bind failures allowed on session. An
> > issue here is that some (non-attack) clients might actually be designed
> to
> > improper pipelining and/or do only bind requests (such as an client
> providing
> > authentication services for some application).
> >
> > That sounds sensible, but I believe single attack per session is the more
> common case, and these suggestions don't help there.
>
> Does the delay actually hinder the most common cases?
>
> I think we need to worry more about the sophisticated attack, as they will
> become common eventually.
>
> >
> >> Another issue is 'resets on successful authentication'. 'resets on
> > successful non-anonymous authentication' would be better.
> >
> > We can say that but I'm not sure it's a valid distinction. E.g.,
> password-less Binds succeed, but they do not authenticate.
>
> Well, I wasn't trying to split hairs here.   My point is more that without
> qualification it likely that some implementor will reset on any successful
> Bind.
>
> >> Personally, I think the min/max stuff is overly complicated. I think a
> > simple flat delayed response is for than sufficient to hinder brute-force
> > attack and doesn't suffer from the risk that different delays could be
> tied to
> > different cases and hence lead to inappropriate disclosure of
> information.
> >
> > OK. It's a valid point, and we may need to scrap the min/max stuff.
> Alternatively, it could be per-session instead of per-account, but I think
> per-session controls are of very limited usefulness.
>
> I favor a flat delay.
>
> >
> > --
> >  -- Howard Chu
> >  CTO, Symas Corp.           http://www.symas.com
> >  Director, Highland Sun     http://highlandsun.com/hyc/
> >  Chief Architect, OpenLDAP  http://www.openldap.org/project/
> > _______________________________________________
> > Ldapext mailing list
> > Ldapext@ietf.org
> > https://www.ietf.org/mailman/listinfo/ldapext
>
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www.ietf.org/mailman/listinfo/ldapext
>

--001636c5c05f07d879048a50edd6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Just a comment on our experiences with LDAP server delays on failed bind at=
tempts.<br><br>We have encountered issues with applications when there is a=
 delay between failed attempts.<br>When there is an delay, the application =
is left waiting for a response from the server.<br>
<br>This was the case with Novell&#39;s eDirectory for many years, there wa=
s a fixed delay, and due to this condition, Novell added a feature to make =
the delay adjustable.<br><br>If the delay is 3 seconds and five people in a=
 row fail there password, the application can only handle 5 people in 15 se=
conds, which is an eternity in our context.<br>
If the return code is returned immediately, then the application can end th=
e LDAP session immediately and move on to the next operation.<br clear=3D"a=
ll"><br>-jim<br>Jim Willeke<br>
<br><br><div class=3D"gmail_quote">On Wed, Jun 30, 2010 at 4:28 PM, Kurt Ze=
ilenga <span dir=3D"ltr">&lt;<a href=3D"mailto:Kurt.Zeilenga@isode.com">Kur=
t.Zeilenga@isode.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 20=
4, 204); padding-left: 1ex;">
<br>
On Jun 30, 2010, at 11:39 AM, Howard Chu wrote:<br>
<br>
&gt; Kurt Zeilenga wrote:<br>
&gt;&gt; I&#39;m updating Isode&#39;s password policy implementation and ha=
ve a few<br>
&gt;&gt; thoughts<br>
&gt; on the ppolicy I-D that might be worth some discussion. I&#39;ll post =
each issue<br>
&gt; in a separate thread...<br>
&gt;&gt;<br>
&gt;&gt; This message discusses delaying authentication failures<br>
&gt;&gt;<br>
&gt;&gt; This seems something not terribly specific to password-based<br>
&gt;&gt; authentication<br>
&gt; so not clear it really belongs in the password policy.<br>
&gt;<br>
&gt; Maybe not. The reason it&#39;s been brought up here is because the acc=
ount lockout feature is already in the password policy draft, and there are=
 obvious DoS problems with account lockout, which delaying would help mitig=
ate.<br>

<br>
I recall noting that account locking should be separated as well...<br>
<br>
I&#39;m not sure how delaying bind failures significantly mitigates account=
 lockout DoS attacks. =A0That is, so an attack takes a few more seconds, no=
t much mitigation there. =A0Or am I missing something?<br>
<br>
&gt;<br>
&gt;&gt; There needs to be a security consideration stated that server impl=
ementors<br>
&gt; need to take precautions to avoid creating DoS attack vectors when<br>
&gt; implementing delayed responses.<br>
&gt;<br>
&gt; Is that really a security consideration? That&#39;s like saying server=
 implementors need to take precautions against SEGV when implementing somet=
hing.<br>
<br>
It&#39;s fairly typical for RFCs to note specific instances where care migh=
t be taken, especially where the instance is non-obvious. =A0This might wel=
l be viewed as obvious and one could argue the reader&#39;s limited attenti=
on should be consumed by more significant concerns.<br>

<br>
I&#39;m fine with leaving inclusion of such a consideration to your and you=
r co-authors discretion.<br>
<br>
<br>
&gt;<br>
&gt;&gt; It&#39;s not clear whether by &quot;first failed authentication at=
tempt&quot; is per<br>
&gt; session or per account. If per account, I think there&#39;s a problem =
that there&#39;s<br>
&gt; no state mechanism for non-accounts. A non-account would likely get a =
flat<br>
&gt; delay (the minimum). The difference in delay could be used by an attac=
ker to<br>
&gt; determine which accounts existed or not. Per session might be more sen=
sible.<br>
&gt;<br>
&gt; That&#39;s a good point about non-accounts. But I don&#39;t see how pe=
r-session will be of much use; the password attacks I see against my machin=
es come from multiple IP addresses at once, and frequently a single IP addr=
ess is only used once in any given attack incident.<br>

<br>
Well, I think where a delay is useful, a flat delay is good enough.<br>
<br>
I&#39;ve been considering a number of attacks scenarios, some based on what=
 I&#39;ve seen against actual LDAP services, some I&#39;ve seen against oth=
er services (such as web, ssh services), and some just considering how I wo=
uld mount such an attack if I was so inclined. =A0 In many of these scenari=
os, the delay seems to be little hinderance to the attack.<br>

<br>
One interesting thing to note that if one&#39;s site were getting hit by a =
brute force attack where one session one used per session, by turning on a =
delay, the brute force attack will likely become a service DoS attack (inde=
pendent of the attacker&#39;s intent).<br>

<br>
&gt;&gt; To defend against brute force attack within a single session, I th=
ink it<br>
&gt;&gt; be<br>
&gt; better for servers to implement a few basic things than deal with dela=
y (which<br>
&gt; often open to DoS attack vectors). One, detect improper pipelining of =
Bind<br>
&gt; requests and drop session if that&#39;s the case. Two, have the server=
 limit the<br>
&gt; number of consecutive password-based Bind failures allowed on session.=
 An<br>
&gt; issue here is that some (non-attack) clients might actually be designe=
d to<br>
&gt; improper pipelining and/or do only bind requests (such as an client pr=
oviding<br>
&gt; authentication services for some application).<br>
&gt;<br>
&gt; That sounds sensible, but I believe single attack per session is the m=
ore common case, and these suggestions don&#39;t help there.<br>
<br>
Does the delay actually hinder the most common cases?<br>
<br>
I think we need to worry more about the sophisticated attack, as they will =
become common eventually.<br>
<br>
&gt;<br>
&gt;&gt; Another issue is &#39;resets on successful authentication&#39;. &#=
39;resets on<br>
&gt; successful non-anonymous authentication&#39; would be better.<br>
&gt;<br>
&gt; We can say that but I&#39;m not sure it&#39;s a valid distinction. E.g=
., password-less Binds succeed, but they do not authenticate.<br>
<br>
Well, I wasn&#39;t trying to split hairs here. =A0 My point is more that wi=
thout qualification it likely that some implementor will reset on any succe=
ssful Bind.<br>
<br>
&gt;&gt; Personally, I think the min/max stuff is overly complicated. I thi=
nk a<br>
&gt; simple flat delayed response is for than sufficient to hinder brute-fo=
rce<br>
&gt; attack and doesn&#39;t suffer from the risk that different delays coul=
d be tied to<br>
&gt; different cases and hence lead to inappropriate disclosure of informat=
ion.<br>
&gt;<br>
&gt; OK. It&#39;s a valid point, and we may need to scrap the min/max stuff=
. Alternatively, it could be per-session instead of per-account, but I thin=
k per-session controls are of very limited usefulness.<br>
<br>
I favor a flat delay.<br>
<br>
&gt;<br>
&gt; --<br>
&gt; =A0-- Howard Chu<br>
&gt; =A0CTO, Symas Corp. =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.symas.co=
m" target=3D"_blank">http://www.symas.com</a><br>
&gt; =A0Director, Highland Sun =A0 =A0 <a href=3D"http://highlandsun.com/hy=
c/" target=3D"_blank">http://highlandsun.com/hyc/</a><br>
&gt; =A0Chief Architect, OpenLDAP =A0<a href=3D"http://www.openldap.org/pro=
ject/" target=3D"_blank">http://www.openldap.org/project/</a><br>
&gt; _______________________________________________<br>
&gt; Ldapext mailing list<br>
&gt; <a href=3D"mailto:Ldapext@ietf.org">Ldapext@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/ldapext" target=3D"_b=
lank">https://www.ietf.org/mailman/listinfo/ldapext</a><br>
<br>
_______________________________________________<br>
Ldapext mailing list<br>
<a href=3D"mailto:Ldapext@ietf.org">Ldapext@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ldapext" target=3D"_blank"=
>https://www.ietf.org/mailman/listinfo/ldapext</a><br>
</blockquote></div><br>

--001636c5c05f07d879048a50edd6--

From hyc@highlandsun.com  Thu Jul  1 03:53:29 2010
Return-Path: <hyc@highlandsun.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 103AC3A68D8 for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 03:53:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.346
X-Spam-Level: 
X-Spam-Status: No, score=-1.346 tagged_above=-999 required=5 tests=[AWL=1.254,  BAYES_00=-2.599]
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 SLKIPVReYFFr for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 03:53:25 -0700 (PDT)
Received: from mail.highlandsun.com (mail.highlandsun.com [70.87.222.79]) by core3.amsl.com (Postfix) with ESMTP id B333D3A68CB for <ldapext@ietf.org>; Thu,  1 Jul 2010 03:53:25 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id EDD2710DBB; Thu,  1 Jul 2010 06:53:36 -0400 (EDT)
Message-ID: <4C2C73AE.2030307@highlandsun.com>
Date: Thu, 01 Jul 2010 03:53:34 -0700
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.9.3a5pre) Gecko/20100607 Firefox 3.6
MIME-Version: 1.0
To: Jim Willeke <jim@willeke.com>
References: <904B994B-050F-42B1-937C-96883C436A11@Isode.com> <4C2B8F7C.1010900@highlandsun.com> <DCC90442-9909-49E0-9760-B7D1178A930E@Isode.com> <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com>
In-Reply-To: <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: [ldapext] password policy: delayed failures
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: Thu, 01 Jul 2010 10:53:29 -0000

Jim Willeke wrote:
> Just a comment on our experiences with LDAP server delays on failed bind attempts.
>
> We have encountered issues with applications when there is a delay between
> failed attempts.
> When there is an delay, the application is left waiting for a response from
> the server.
>
> This was the case with Novell's eDirectory for many years, there was a fixed
> delay, and due to this condition, Novell added a feature to make the delay
> adjustable.
>
> If the delay is 3 seconds and five people in a row fail there password, the
> application can only handle 5 people in 15 seconds, which is an eternity in
> our context.
> If the return code is returned immediately, then the application can end the
> LDAP session immediately and move on to the next operation.

Part of the problem is that LDAP lacks any means of distinguishing client 
requests from server requests. Ideally we would have a Bind variant that can 
be used in an already authenticated session that simply checks credentials, 
but doesn't alter the session's already established credentials. Then 3rd 
party apps that routinely perform authentication on behalf of other users 
could use this new Bind mechanism and deal with the failures themselves.

In the absence of such a DSP-style Bind, we can still use Compare operations. 
This is the approach we're taking to link SASL Binds to ppolicy, and also to 
manage ppolicy when Samba uses an LDAP backend. But as a general solution it's 
still pretty poor. (In both the SASL and Samba case, the credential is fully 
evaluated outside the directory. The result is reflected back into the ppolicy 
machinery by using the Compare operation with ppolicy control attached. When 
the credentials match, the Compare uses the current value of the userPassword 
attribute in its assertion, so that the ppolicy state machine will record a 
successful authentication. When the credentials don't match, the Compare uses 
some bogus value, so that ppolicy will record a failure.)

Also, features like this are obviously optional. If you have a directory 
server that is routinely being used by applications, then you probably want to 
isolate it from arbitrary clients, and not even deploy any lockout/delay 
features at all.
>
> -jim
> Jim Willeke
>
>
> On Wed, Jun 30, 2010 at 4:28 PM, Kurt Zeilenga <Kurt.Zeilenga@isode.com
> <mailto:Kurt.Zeilenga@isode.com>> wrote:
>
>
>     On Jun 30, 2010, at 11:39 AM, Howard Chu wrote:
>
>      > Kurt Zeilenga wrote:
>      >> I'm updating Isode's password policy implementation and have a few
>      >> thoughts
>      > on the ppolicy I-D that might be worth some discussion. I'll post each
>     issue
>      > in a separate thread...
>      >>
>      >> This message discusses delaying authentication failures
>      >>
>      >> This seems something not terribly specific to password-based
>      >> authentication
>      > so not clear it really belongs in the password policy.
>      >
>      > Maybe not. The reason it's been brought up here is because the account
>     lockout feature is already in the password policy draft, and there are
>     obvious DoS problems with account lockout, which delaying would help mitigate.
>
>     I recall noting that account locking should be separated as well...
>
>     I'm not sure how delaying bind failures significantly mitigates account
>     lockout DoS attacks.  That is, so an attack takes a few more seconds, not
>     much mitigation there.  Or am I missing something?
>
>      >
>      >> There needs to be a security consideration stated that server implementors
>      > need to take precautions to avoid creating DoS attack vectors when
>      > implementing delayed responses.
>      >
>      > Is that really a security consideration? That's like saying server
>     implementors need to take precautions against SEGV when implementing
>     something.
>
>     It's fairly typical for RFCs to note specific instances where care might
>     be taken, especially where the instance is non-obvious.  This might well
>     be viewed as obvious and one could argue the reader's limited attention
>     should be consumed by more significant concerns.
>
>     I'm fine with leaving inclusion of such a consideration to your and your
>     co-authors discretion.
>
>
>      >
>      >> It's not clear whether by "first failed authentication attempt" is per
>      > session or per account. If per account, I think there's a problem that
>     there's
>      > no state mechanism for non-accounts. A non-account would likely get a flat
>      > delay (the minimum). The difference in delay could be used by an
>     attacker to
>      > determine which accounts existed or not. Per session might be more
>     sensible.
>      >
>      > That's a good point about non-accounts. But I don't see how per-session
>     will be of much use; the password attacks I see against my machines come
>     from multiple IP addresses at once, and frequently a single IP address is
>     only used once in any given attack incident.
>
>     Well, I think where a delay is useful, a flat delay is good enough.
>
>     I've been considering a number of attacks scenarios, some based on what
>     I've seen against actual LDAP services, some I've seen against other
>     services (such as web, ssh services), and some just considering how I
>     would mount such an attack if I was so inclined.   In many of these
>     scenarios, the delay seems to be little hinderance to the attack.
>
>     One interesting thing to note that if one's site were getting hit by a
>     brute force attack where one session one used per session, by turning on a
>     delay, the brute force attack will likely become a service DoS attack
>     (independent of the attacker's intent).
>
>      >> To defend against brute force attack within a single session, I think it
>      >> be
>      > better for servers to implement a few basic things than deal with delay
>     (which
>      > often open to DoS attack vectors). One, detect improper pipelining of Bind
>      > requests and drop session if that's the case. Two, have the server
>     limit the
>      > number of consecutive password-based Bind failures allowed on session. An
>      > issue here is that some (non-attack) clients might actually be designed to
>      > improper pipelining and/or do only bind requests (such as an client
>     providing
>      > authentication services for some application).
>      >
>      > That sounds sensible, but I believe single attack per session is the
>     more common case, and these suggestions don't help there.
>
>     Does the delay actually hinder the most common cases?
>
>     I think we need to worry more about the sophisticated attack, as they will
>     become common eventually.
>
>      >
>      >> Another issue is 'resets on successful authentication'. 'resets on
>      > successful non-anonymous authentication' would be better.
>      >
>      > We can say that but I'm not sure it's a valid distinction. E.g.,
>     password-less Binds succeed, but they do not authenticate.
>
>     Well, I wasn't trying to split hairs here.   My point is more that without
>     qualification it likely that some implementor will reset on any successful
>     Bind.
>
>      >> Personally, I think the min/max stuff is overly complicated. I think a
>      > simple flat delayed response is for than sufficient to hinder brute-force
>      > attack and doesn't suffer from the risk that different delays could be
>     tied to
>      > different cases and hence lead to inappropriate disclosure of information.
>      >
>      > OK. It's a valid point, and we may need to scrap the min/max stuff.
>     Alternatively, it could be per-session instead of per-account, but I think
>     per-session controls are of very limited usefulness.
>
>     I favor a flat delay.
>
>      >
>      > --
>      >  -- Howard Chu
>      >  CTO, Symas Corp. http://www.symas.com
>      >  Director, Highland Sun http://highlandsun.com/hyc/
>      >  Chief Architect, OpenLDAP http://www.openldap.org/project/
>      > _______________________________________________
>      > Ldapext mailing list
>      > Ldapext@ietf.org <mailto:Ldapext@ietf.org>
>      > https://www.ietf.org/mailman/listinfo/ldapext
>
>     _______________________________________________
>     Ldapext mailing list
>     Ldapext@ietf.org <mailto:Ldapext@ietf.org>
>     https://www.ietf.org/mailman/listinfo/ldapext
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

From jim@willeke.com  Thu Jul  1 06:08:48 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 A48AC3A6818 for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:08:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
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 DSyKECtvAcUl for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:08:45 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id 5B1AC3A67EA for <ldapext@ietf.org>; Thu,  1 Jul 2010 06:08:45 -0700 (PDT)
Received: by gyh3 with SMTP id 3so1090987gyh.31 for <ldapext@ietf.org>; Thu, 01 Jul 2010 06:08:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.3.29 with SMTP id f29mr12826744ani.1.1277989731529; Thu,  01 Jul 2010 06:08:51 -0700 (PDT)
Received: by 10.150.51.20 with HTTP; Thu, 1 Jul 2010 06:08:51 -0700 (PDT)
In-Reply-To: <4C2C73AE.2030307@highlandsun.com>
References: <904B994B-050F-42B1-937C-96883C436A11@Isode.com> <4C2B8F7C.1010900@highlandsun.com> <DCC90442-9909-49E0-9760-B7D1178A930E@Isode.com> <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com> <4C2C73AE.2030307@highlandsun.com>
Date: Thu, 1 Jul 2010 09:08:51 -0400
Message-ID: <AANLkTin0v9CBew0wFdrQLXe-hGOj7KDFPLa_uNbTtODu@mail.gmail.com>
From: Jim Willeke <jim@willeke.com>
To: Howard Chu <hyc@highlandsun.com>
Content-Type: multipart/alternative; boundary=001636c595d3f97362048a532bd4
Cc: ldapext <ldapext@ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: [ldapext] password policy: delayed failures
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: Thu, 01 Jul 2010 13:08:48 -0000

--001636c595d3f97362048a532bd4
Content-Type: text/plain; charset=ISO-8859-1

-jim
Jim Willeke


On Thu, Jul 1, 2010 at 6:53 AM, Howard Chu <hyc@highlandsun.com> wrote:

> Jim Willeke wrote:
>
>> Just a comment on our experiences with LDAP server delays on failed bind
>> attempts.
>>
>> We have encountered issues with applications when there is a delay between
>> failed attempts.
>> When there is an delay, the application is left waiting for a response
>> from
>> the server.
>>
>> This was the case with Novell's eDirectory for many years, there was a
>> fixed
>> delay, and due to this condition, Novell added a feature to make the delay
>> adjustable.
>>
>> If the delay is 3 seconds and five people in a row fail there password,
>> the
>> application can only handle 5 people in 15 seconds, which is an eternity
>> in
>> our context.
>> If the return code is returned immediately, then the application can end
>> the
>> LDAP session immediately and move on to the next operation.
>>
>
> Part of the problem is that LDAP lacks any means of distinguishing client
> requests from server requests. Ideally we would have a Bind variant that can
> be used in an already authenticated session that simply checks credentials,
> but doesn't alter the session's already established credentials. Then 3rd
> party apps that routinely perform authentication on behalf of other users
> could use this new Bind mechanism and deal with the failures themselves.
>
> In the absence of such a DSP-style Bind, we can still use Compare
> operations.




> This is the approach we're taking to link SASL Binds to ppolicy, and also
> to manage ppolicy when Samba uses an LDAP backend. But as a general solution
> it's still pretty poor. (In both the SASL and Samba case, the credential is
> fully evaluated outside the directory. The result is reflected back into the
> ppolicy machinery by using the Compare operation with ppolicy control
> attached. When the credentials match, the Compare uses the current value of
> the userPassword attribute in its assertion, so that the ppolicy state
> machine will record a successful authentication. When the credentials don't
> match, the Compare uses some bogus value, so that ppolicy will record a
> failure.)
>
> Also, features like this are obviously optional. If you have a directory
> server that is routinely being used by applications, then you probably want
> to isolate it from arbitrary clients, and not even deploy any lockout/delay
> features at all.
>

Unfortunatly, applications are nto created equally and usually the goal is
to use LDAP as the authentication source. As I see the recommendation,  this
would require pushing the Password (and Account Restriction) Policy
Enforcement Point to ALL the different applications which, IMHO, is not a
good thing and the implementation would woudl require that all applications
be capable of utilizing the same ability to perform the enforcement.

>
>> -jim
>> Jim Willeke
>>
>>
>> On Wed, Jun 30, 2010 at 4:28 PM, Kurt Zeilenga <Kurt.Zeilenga@isode.com
>> <mailto:Kurt.Zeilenga@isode.com>> wrote:
>>
>>
>>    On Jun 30, 2010, at 11:39 AM, Howard Chu wrote:
>>
>>     > Kurt Zeilenga wrote:
>>     >> I'm updating Isode's password policy implementation and have a few
>>     >> thoughts
>>     > on the ppolicy I-D that might be worth some discussion. I'll post
>> each
>>    issue
>>     > in a separate thread...
>>     >>
>>     >> This message discusses delaying authentication failures
>>     >>
>>     >> This seems something not terribly specific to password-based
>>     >> authentication
>>     > so not clear it really belongs in the password policy.
>>     >
>>     > Maybe not. The reason it's been brought up here is because the
>> account
>>    lockout feature is already in the password policy draft, and there are
>>    obvious DoS problems with account lockout, which delaying would help
>> mitigate.
>>
>>    I recall noting that account locking should be separated as well...
>>
>>    I'm not sure how delaying bind failures significantly mitigates account
>>    lockout DoS attacks.  That is, so an attack takes a few more seconds,
>> not
>>    much mitigation there.  Or am I missing something?
>>
>>     >
>>     >> There needs to be a security consideration stated that server
>> implementors
>>     > need to take precautions to avoid creating DoS attack vectors when
>>     > implementing delayed responses.
>>     >
>>     > Is that really a security consideration? That's like saying server
>>    implementors need to take precautions against SEGV when implementing
>>    something.
>>
>>    It's fairly typical for RFCs to note specific instances where care
>> might
>>    be taken, especially where the instance is non-obvious.  This might
>> well
>>    be viewed as obvious and one could argue the reader's limited attention
>>    should be consumed by more significant concerns.
>>
>>    I'm fine with leaving inclusion of such a consideration to your and
>> your
>>    co-authors discretion.
>>
>>
>>     >
>>     >> It's not clear whether by "first failed authentication attempt" is
>> per
>>     > session or per account. If per account, I think there's a problem
>> that
>>    there's
>>     > no state mechanism for non-accounts. A non-account would likely get
>> a flat
>>     > delay (the minimum). The difference in delay could be used by an
>>    attacker to
>>     > determine which accounts existed or not. Per session might be more
>>    sensible.
>>     >
>>     > That's a good point about non-accounts. But I don't see how
>> per-session
>>    will be of much use; the password attacks I see against my machines
>> come
>>    from multiple IP addresses at once, and frequently a single IP address
>> is
>>    only used once in any given attack incident.
>>
>>    Well, I think where a delay is useful, a flat delay is good enough.
>>
>>    I've been considering a number of attacks scenarios, some based on what
>>    I've seen against actual LDAP services, some I've seen against other
>>    services (such as web, ssh services), and some just considering how I
>>    would mount such an attack if I was so inclined.   In many of these
>>    scenarios, the delay seems to be little hinderance to the attack.
>>
>>    One interesting thing to note that if one's site were getting hit by a
>>    brute force attack where one session one used per session, by turning
>> on a
>>    delay, the brute force attack will likely become a service DoS attack
>>    (independent of the attacker's intent).
>>
>>     >> To defend against brute force attack within a single session, I
>> think it
>>     >> be
>>     > better for servers to implement a few basic things than deal with
>> delay
>>    (which
>>     > often open to DoS attack vectors). One, detect improper pipelining
>> of Bind
>>     > requests and drop session if that's the case. Two, have the server
>>    limit the
>>     > number of consecutive password-based Bind failures allowed on
>> session. An
>>     > issue here is that some (non-attack) clients might actually be
>> designed to
>>     > improper pipelining and/or do only bind requests (such as an client
>>    providing
>>     > authentication services for some application).
>>     >
>>     > That sounds sensible, but I believe single attack per session is the
>>    more common case, and these suggestions don't help there.
>>
>>    Does the delay actually hinder the most common cases?
>>
>>    I think we need to worry more about the sophisticated attack, as they
>> will
>>    become common eventually.
>>
>>     >
>>     >> Another issue is 'resets on successful authentication'. 'resets on
>>     > successful non-anonymous authentication' would be better.
>>     >
>>     > We can say that but I'm not sure it's a valid distinction. E.g.,
>>    password-less Binds succeed, but they do not authenticate.
>>
>>    Well, I wasn't trying to split hairs here.   My point is more that
>> without
>>    qualification it likely that some implementor will reset on any
>> successful
>>    Bind.
>>
>>     >> Personally, I think the min/max stuff is overly complicated. I
>> think a
>>     > simple flat delayed response is for than sufficient to hinder
>> brute-force
>>     > attack and doesn't suffer from the risk that different delays could
>> be
>>    tied to
>>     > different cases and hence lead to inappropriate disclosure of
>> information.
>>     >
>>     > OK. It's a valid point, and we may need to scrap the min/max stuff.
>>    Alternatively, it could be per-session instead of per-account, but I
>> think
>>    per-session controls are of very limited usefulness.
>>
>>    I favor a flat delay.
>>
>>     >
>>     > --
>>     >  -- Howard Chu
>>     >  CTO, Symas Corp. http://www.symas.com
>>     >  Director, Highland Sun http://highlandsun.com/hyc/
>>     >  Chief Architect, OpenLDAP http://www.openldap.org/project/
>>     > _______________________________________________
>>     > Ldapext mailing list
>>     > Ldapext@ietf.org <mailto:Ldapext@ietf.org>
>>
>>     > https://www.ietf.org/mailman/listinfo/ldapext
>>
>>    _______________________________________________
>>    Ldapext mailing list
>>    Ldapext@ietf.org <mailto:Ldapext@ietf.org>
>>
>>    https://www.ietf.org/mailman/listinfo/ldapext
>>
>>
>>
>
> --
>  -- Howard Chu
>  CTO, Symas Corp.           http://www.symas.com
>  Director, Highland Sun     http://highlandsun.com/hyc/
>  Chief Architect, OpenLDAP  http://www.openldap.org/project/
>

--001636c595d3f97362048a532bd4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br clear=3D"all"><br>-jim<br>Jim Willeke<br>
<br><br><div class=3D"gmail_quote">On Thu, Jul 1, 2010 at 6:53 AM, Howard C=
hu <span dir=3D"ltr">&lt;<a href=3D"mailto:hyc@highlandsun.com">hyc@highlan=
dsun.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); p=
adding-left: 1ex;">
<div class=3D"im">Jim Willeke wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Just a comment on our experiences with LDAP server delays on failed bind at=
tempts.<br>
<br>
We have encountered issues with applications when there is a delay between<=
br>
failed attempts.<br>
When there is an delay, the application is left waiting for a response from=
<br>
the server.<br>
<br>
This was the case with Novell&#39;s eDirectory for many years, there was a =
fixed<br>
delay, and due to this condition, Novell added a feature to make the delay<=
br>
adjustable.<br>
<br>
If the delay is 3 seconds and five people in a row fail there password, the=
<br>
application can only handle 5 people in 15 seconds, which is an eternity in=
<br>
our context.<br>
If the return code is returned immediately, then the application can end th=
e<br>
LDAP session immediately and move on to the next operation.<br>
</blockquote>
<br></div>
Part of the problem is that LDAP lacks any means of distinguishing client r=
equests from server requests. Ideally we would have a Bind variant that can=
 be used in an already authenticated session that simply checks credentials=
, but doesn&#39;t alter the session&#39;s already established credentials. =
Then 3rd party apps that routinely perform authentication on behalf of othe=
r users could use this new Bind mechanism and deal with the failures themse=
lves.<br>

<br>
In the absence of such a DSP-style Bind, we can still use Compare operation=
s. </blockquote><div><br>=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); p=
adding-left: 1ex;">
This is the approach we&#39;re taking to link SASL Binds to ppolicy, and al=
so to manage ppolicy when Samba uses an LDAP backend. But as a general solu=
tion it&#39;s still pretty poor. (In both the SASL and Samba case, the cred=
ential is fully evaluated outside the directory. The result is reflected ba=
ck into the ppolicy machinery by using the Compare operation with ppolicy c=
ontrol attached. When the credentials match, the Compare uses the current v=
alue of the userPassword attribute in its assertion, so that the ppolicy st=
ate machine will record a successful authentication. When the credentials d=
on&#39;t match, the Compare uses some bogus value, so that ppolicy will rec=
ord a failure.)<br>

<br>
Also, features like this are obviously optional. If you have a directory se=
rver that is routinely being used by applications, then you probably want t=
o isolate it from arbitrary clients, and not even deploy any lockout/delay =
features at all.<br>
</blockquote><div><br>Unfortunatly, applications are nto created equally an=
d usually the goal is to use LDAP as the authentication source. As I see th=
e recommendation,=A0 this would require pushing the Password (and Account R=
estriction) Policy Enforcement Point to ALL the different applications whic=
h, IMHO, is not a good thing and the implementation would woudl require tha=
t all applications be capable of utilizing the same ability to perform the =
enforcement.<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex;=
 border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class=3D"im"=
>
<br>
-jim<br>
Jim Willeke<br>
<br>
<br>
On Wed, Jun 30, 2010 at 4:28 PM, Kurt Zeilenga &lt;<a href=3D"mailto:Kurt.Z=
eilenga@isode.com" target=3D"_blank">Kurt.Zeilenga@isode.com</a><br></div><=
div><div></div><div class=3D"h5">
&lt;mailto:<a href=3D"mailto:Kurt.Zeilenga@isode.com" target=3D"_blank">Kur=
t.Zeilenga@isode.com</a>&gt;&gt; wrote:<br>
<br>
<br>
 =A0 =A0On Jun 30, 2010, at 11:39 AM, Howard Chu wrote:<br>
<br>
 =A0 =A0 &gt; Kurt Zeilenga wrote:<br>
 =A0 =A0 &gt;&gt; I&#39;m updating Isode&#39;s password policy implementati=
on and have a few<br>
 =A0 =A0 &gt;&gt; thoughts<br>
 =A0 =A0 &gt; on the ppolicy I-D that might be worth some discussion. I&#39=
;ll post each<br>
 =A0 =A0issue<br>
 =A0 =A0 &gt; in a separate thread...<br>
 =A0 =A0 &gt;&gt;<br>
 =A0 =A0 &gt;&gt; This message discusses delaying authentication failures<b=
r>
 =A0 =A0 &gt;&gt;<br>
 =A0 =A0 &gt;&gt; This seems something not terribly specific to password-ba=
sed<br>
 =A0 =A0 &gt;&gt; authentication<br>
 =A0 =A0 &gt; so not clear it really belongs in the password policy.<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt; Maybe not. The reason it&#39;s been brought up here is becaus=
e the account<br>
 =A0 =A0lockout feature is already in the password policy draft, and there =
are<br>
 =A0 =A0obvious DoS problems with account lockout, which delaying would hel=
p mitigate.<br>
<br>
 =A0 =A0I recall noting that account locking should be separated as well...=
<br>
<br>
 =A0 =A0I&#39;m not sure how delaying bind failures significantly mitigates=
 account<br>
 =A0 =A0lockout DoS attacks. =A0That is, so an attack takes a few more seco=
nds, not<br>
 =A0 =A0much mitigation there. =A0Or am I missing something?<br>
<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt;&gt; There needs to be a security consideration stated that se=
rver implementors<br>
 =A0 =A0 &gt; need to take precautions to avoid creating DoS attack vectors=
 when<br>
 =A0 =A0 &gt; implementing delayed responses.<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt; Is that really a security consideration? That&#39;s like sayi=
ng server<br>
 =A0 =A0implementors need to take precautions against SEGV when implementin=
g<br>
 =A0 =A0something.<br>
<br>
 =A0 =A0It&#39;s fairly typical for RFCs to note specific instances where c=
are might<br>
 =A0 =A0be taken, especially where the instance is non-obvious. =A0This mig=
ht well<br>
 =A0 =A0be viewed as obvious and one could argue the reader&#39;s limited a=
ttention<br>
 =A0 =A0should be consumed by more significant concerns.<br>
<br>
 =A0 =A0I&#39;m fine with leaving inclusion of such a consideration to your=
 and your<br>
 =A0 =A0co-authors discretion.<br>
<br>
<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt;&gt; It&#39;s not clear whether by &quot;first failed authenti=
cation attempt&quot; is per<br>
 =A0 =A0 &gt; session or per account. If per account, I think there&#39;s a=
 problem that<br>
 =A0 =A0there&#39;s<br>
 =A0 =A0 &gt; no state mechanism for non-accounts. A non-account would like=
ly get a flat<br>
 =A0 =A0 &gt; delay (the minimum). The difference in delay could be used by=
 an<br>
 =A0 =A0attacker to<br>
 =A0 =A0 &gt; determine which accounts existed or not. Per session might be=
 more<br>
 =A0 =A0sensible.<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt; That&#39;s a good point about non-accounts. But I don&#39;t s=
ee how per-session<br>
 =A0 =A0will be of much use; the password attacks I see against my machines=
 come<br>
 =A0 =A0from multiple IP addresses at once, and frequently a single IP addr=
ess is<br>
 =A0 =A0only used once in any given attack incident.<br>
<br>
 =A0 =A0Well, I think where a delay is useful, a flat delay is good enough.=
<br>
<br>
 =A0 =A0I&#39;ve been considering a number of attacks scenarios, some based=
 on what<br>
 =A0 =A0I&#39;ve seen against actual LDAP services, some I&#39;ve seen agai=
nst other<br>
 =A0 =A0services (such as web, ssh services), and some just considering how=
 I<br>
 =A0 =A0would mount such an attack if I was so inclined. =A0 In many of the=
se<br>
 =A0 =A0scenarios, the delay seems to be little hinderance to the attack.<b=
r>
<br>
 =A0 =A0One interesting thing to note that if one&#39;s site were getting h=
it by a<br>
 =A0 =A0brute force attack where one session one used per session, by turni=
ng on a<br>
 =A0 =A0delay, the brute force attack will likely become a service DoS atta=
ck<br>
 =A0 =A0(independent of the attacker&#39;s intent).<br>
<br>
 =A0 =A0 &gt;&gt; To defend against brute force attack within a single sess=
ion, I think it<br>
 =A0 =A0 &gt;&gt; be<br>
 =A0 =A0 &gt; better for servers to implement a few basic things than deal =
with delay<br>
 =A0 =A0(which<br>
 =A0 =A0 &gt; often open to DoS attack vectors). One, detect improper pipel=
ining of Bind<br>
 =A0 =A0 &gt; requests and drop session if that&#39;s the case. Two, have t=
he server<br>
 =A0 =A0limit the<br>
 =A0 =A0 &gt; number of consecutive password-based Bind failures allowed on=
 session. An<br>
 =A0 =A0 &gt; issue here is that some (non-attack) clients might actually b=
e designed to<br>
 =A0 =A0 &gt; improper pipelining and/or do only bind requests (such as an =
client<br>
 =A0 =A0providing<br>
 =A0 =A0 &gt; authentication services for some application).<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt; That sounds sensible, but I believe single attack per session=
 is the<br>
 =A0 =A0more common case, and these suggestions don&#39;t help there.<br>
<br>
 =A0 =A0Does the delay actually hinder the most common cases?<br>
<br>
 =A0 =A0I think we need to worry more about the sophisticated attack, as th=
ey will<br>
 =A0 =A0become common eventually.<br>
<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt;&gt; Another issue is &#39;resets on successful authentication=
&#39;. &#39;resets on<br>
 =A0 =A0 &gt; successful non-anonymous authentication&#39; would be better.=
<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt; We can say that but I&#39;m not sure it&#39;s a valid distinc=
tion. E.g.,<br>
 =A0 =A0password-less Binds succeed, but they do not authenticate.<br>
<br>
 =A0 =A0Well, I wasn&#39;t trying to split hairs here. =A0 My point is more=
 that without<br>
 =A0 =A0qualification it likely that some implementor will reset on any suc=
cessful<br>
 =A0 =A0Bind.<br>
<br>
 =A0 =A0 &gt;&gt; Personally, I think the min/max stuff is overly complicat=
ed. I think a<br>
 =A0 =A0 &gt; simple flat delayed response is for than sufficient to hinder=
 brute-force<br>
 =A0 =A0 &gt; attack and doesn&#39;t suffer from the risk that different de=
lays could be<br>
 =A0 =A0tied to<br>
 =A0 =A0 &gt; different cases and hence lead to inappropriate disclosure of=
 information.<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt; OK. It&#39;s a valid point, and we may need to scrap the min/=
max stuff.<br>
 =A0 =A0Alternatively, it could be per-session instead of per-account, but =
I think<br>
 =A0 =A0per-session controls are of very limited usefulness.<br>
<br>
 =A0 =A0I favor a flat delay.<br>
<br>
 =A0 =A0 &gt;<br>
 =A0 =A0 &gt; --<br>
 =A0 =A0 &gt; =A0-- Howard Chu<br>
 =A0 =A0 &gt; =A0CTO, Symas Corp. <a href=3D"http://www.symas.com" target=
=3D"_blank">http://www.symas.com</a><br>
 =A0 =A0 &gt; =A0Director, Highland Sun <a href=3D"http://highlandsun.com/h=
yc/" target=3D"_blank">http://highlandsun.com/hyc/</a><br>
 =A0 =A0 &gt; =A0Chief Architect, OpenLDAP <a href=3D"http://www.openldap.o=
rg/project/" target=3D"_blank">http://www.openldap.org/project/</a><br>
 =A0 =A0 &gt; _______________________________________________<br>
 =A0 =A0 &gt; Ldapext mailing list<br></div></div>
 =A0 =A0 &gt; <a href=3D"mailto:Ldapext@ietf.org" target=3D"_blank">Ldapext=
@ietf.org</a> &lt;mailto:<a href=3D"mailto:Ldapext@ietf.org" target=3D"_bla=
nk">Ldapext@ietf.org</a>&gt;<div class=3D"im"><br>
 =A0 =A0 &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/ldapext" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/ldapext</a><br>
<br>
 =A0 =A0_______________________________________________<br>
 =A0 =A0Ldapext mailing list<br></div>
 =A0 =A0<a href=3D"mailto:Ldapext@ietf.org" target=3D"_blank">Ldapext@ietf.=
org</a> &lt;mailto:<a href=3D"mailto:Ldapext@ietf.org" target=3D"_blank">Ld=
apext@ietf.org</a>&gt;<div class=3D"im"><br>
 =A0 =A0<a href=3D"https://www.ietf.org/mailman/listinfo/ldapext" target=3D=
"_blank">https://www.ietf.org/mailman/listinfo/ldapext</a><br>
<br>
<br>
</div></blockquote>
<br>
<br>
-- <br><div><div></div><div class=3D"h5">
 =A0-- Howard Chu<br>
 =A0CTO, Symas Corp. =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.symas.com" t=
arget=3D"_blank">http://www.symas.com</a><br>
 =A0Director, Highland Sun =A0 =A0 <a href=3D"http://highlandsun.com/hyc/" =
target=3D"_blank">http://highlandsun.com/hyc/</a><br>
 =A0Chief Architect, OpenLDAP =A0<a href=3D"http://www.openldap.org/project=
/" target=3D"_blank">http://www.openldap.org/project/</a><br>
</div></div></blockquote></div><br>

--001636c595d3f97362048a532bd4--

From hyc@highlandsun.com  Thu Jul  1 06:29:43 2010
Return-Path: <hyc@highlandsun.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 E6FAA3A680B for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:29:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.763
X-Spam-Level: 
X-Spam-Status: No, score=-1.763 tagged_above=-999 required=5 tests=[AWL=0.836,  BAYES_00=-2.599]
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 jTv3Ljt7CrVV for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:29:42 -0700 (PDT)
Received: from mail.highlandsun.com (mail.highlandsun.com [70.87.222.79]) by core3.amsl.com (Postfix) with ESMTP id CA7CC3A67D0 for <ldapext@ietf.org>; Thu,  1 Jul 2010 06:29:42 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id 2E24310DBB; Thu,  1 Jul 2010 09:29:54 -0400 (EDT)
Message-ID: <4C2C9850.4030308@highlandsun.com>
Date: Thu, 01 Jul 2010 06:29:52 -0700
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.9.3a5pre) Gecko/20100607 Firefox 3.6
MIME-Version: 1.0
To: Jim Willeke <jim@willeke.com>
References: <904B994B-050F-42B1-937C-96883C436A11@Isode.com> <4C2B8F7C.1010900@highlandsun.com> <DCC90442-9909-49E0-9760-B7D1178A930E@Isode.com> <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com> <4C2C73AE.2030307@highlandsun.com> <AANLkTin0v9CBew0wFdrQLXe-hGOj7KDFPLa_uNbTtODu@mail.gmail.com>
In-Reply-To: <AANLkTin0v9CBew0wFdrQLXe-hGOj7KDFPLa_uNbTtODu@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: [ldapext] password policy: delayed failures
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: Thu, 01 Jul 2010 13:29:44 -0000

Jim Willeke wrote:
>
>
> -jim
> Jim Willeke
>
>
> On Thu, Jul 1, 2010 at 6:53 AM, Howard Chu <hyc@highlandsun.com
> <mailto:hyc@highlandsun.com>> wrote:
>
>     Jim Willeke wrote:
>
>         Just a comment on our experiences with LDAP server delays on failed
>         bind attempts.
>
>         We have encountered issues with applications when there is a delay between
>         failed attempts.
>         When there is an delay, the application is left waiting for a response
>         from
>         the server.
>
>         This was the case with Novell's eDirectory for many years, there was a
>         fixed
>         delay, and due to this condition, Novell added a feature to make the delay
>         adjustable.
>
>         If the delay is 3 seconds and five people in a row fail there
>         password, the
>         application can only handle 5 people in 15 seconds, which is an
>         eternity in
>         our context.
>         If the return code is returned immediately, then the application can
>         end the
>         LDAP session immediately and move on to the next operation.

>     Also, features like this are obviously optional. If you have a directory
>     server that is routinely being used by applications, then you probably
>     want to isolate it from arbitrary clients, and not even deploy any
>     lockout/delay features at all.
>
>
> Unfortunatly, applications are nto created equally and usually the goal is to
> use LDAP as the authentication source. As I see the recommendation,  this
> would require pushing the Password (and Account Restriction) Policy
> Enforcement Point to ALL the different applications which, IMHO, is not a good
> thing and the implementation would woudl require that all applications be
> capable of utilizing the same ability to perform the enforcement.

But that seems to ultimately be what you're asking for. "if the return code is 
returned immediately, then the application can end the LDAP session 
immediately" - so basically you want no restriction in the directory, and push 
the responsibility out to the application.

Or, you want a different policy for each application - which is feasible, if 
each application first authenticates as its own identity and then uses some 
"special" Bind to authenticate its client.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

From Kurt.Zeilenga@isode.com  Thu Jul  1 06:46:58 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 18D5C3A67B2 for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:46:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level: 
X-Spam-Status: No, score=-1.848 tagged_above=-999 required=5 tests=[AWL=0.751,  BAYES_00=-2.599]
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 gTZttfx2P1LF for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:46:57 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 328853A6452 for <ldapext@ietf.org>; Thu,  1 Jul 2010 06:46:57 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TCycWgB1H5yG@rufus.isode.com>; Thu, 1 Jul 2010 14:47:07 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
In-Reply-To: <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com>
Date: Thu, 1 Jul 2010 06:47:04 -0700
Message-Id: <68C5030A-8C1E-42BE-823C-0FB33CE7EFBB@isode.com>
References: <904B994B-050F-42B1-937C-96883C436A11@Isode.com> <4C2B8F7C.1010900@highlandsun.com> <DCC90442-9909-49E0-9760-B7D1178A930E@Isode.com> <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com>
To: Jim Willeke <jim@willeke.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: delayed failures
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: Thu, 01 Jul 2010 13:46:58 -0000

On Jul 1, 2010, at 3:28 AM, Jim Willeke wrote:

> Just a comment on our experiences with LDAP server delays on failed =
bind attempts.
>=20
> We have encountered issues with applications when there is a delay =
between failed attempts.
> When there is an delay, the application is left waiting for a response =
from the server.
>=20
> This was the case with Novell's eDirectory for many years, there was a =
fixed delay, and due to this condition, Novell added a feature to make =
the delay adjustable.
>=20
> If the delay is 3 seconds and five people in a row fail there =
password, the application can only handle 5 people in 15 seconds, which =
is an eternity in our context.

I noted this in my original comment and first followup, including =
providing two possible solutions.  I favor adding an "authenticate" =
extended operation.

-- Kurt=

From Kurt.Zeilenga@Isode.com  Thu Jul  1 06:50:48 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 D43BD3A67EB for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:50:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.956
X-Spam-Level: 
X-Spam-Status: No, score=-1.956 tagged_above=-999 required=5 tests=[AWL=0.643,  BAYES_00=-2.599]
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 oc-eA+5DtepV for <ldapext@core3.amsl.com>; Thu,  1 Jul 2010 06:50:45 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id C14D33A67B2 for <ldapext@ietf.org>; Thu,  1 Jul 2010 06:50:45 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TCydPwB1H7zP@rufus.isode.com>; Thu, 1 Jul 2010 14:50:56 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <68C5030A-8C1E-42BE-823C-0FB33CE7EFBB@isode.com>
Date: Thu, 1 Jul 2010 06:50:53 -0700
Message-Id: <2B29DAE9-4D9A-4DFD-AF43-BB91C5D10027@Isode.com>
References: <904B994B-050F-42B1-937C-96883C436A11@Isode.com> <4C2B8F7C.1010900@highlandsun.com> <DCC90442-9909-49E0-9760-B7D1178A930E@Isode.com> <AANLkTimB8WFsdBlS2dCeBkh1Ic1OLEuRV89BFgQ9Lv0y@mail.gmail.com> <68C5030A-8C1E-42BE-823C-0FB33CE7EFBB@isode.com>
To: Jim Willeke <jim@willeke.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: delayed failures
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: Thu, 01 Jul 2010 13:50:48 -0000

On Jul 1, 2010, at 6:47 AM, Kurt Zeilenga wrote:

>=20
> On Jul 1, 2010, at 3:28 AM, Jim Willeke wrote:
>=20
>> Just a comment on our experiences with LDAP server delays on failed =
bind attempts.
>>=20
>> We have encountered issues with applications when there is a delay =
between failed attempts.
>> When there is an delay, the application is left waiting for a =
response from the server.
>>=20
>> This was the case with Novell's eDirectory for many years, there was =
a fixed delay, and due to this condition, Novell added a feature to make =
the delay adjustable.
>>=20
>> If the delay is 3 seconds and five people in a row fail there =
password, the application can only handle 5 people in 15 seconds, which =
is an eternity in our context.
>=20
> I noted this in my original comment and first followup, including =
providing two possible solutions.  I favor adding an "authenticate" =
extended operation.

Another approach would be to use a yet-to-specified chaining operation =
to chain the Bind request.

-- Kurt=

From Kurt.Zeilenga@Isode.com  Fri Jul  2 13:08:15 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 DCFB03A690C for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 13:08:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.829
X-Spam-Level: 
X-Spam-Status: No, score=-0.829 tagged_above=-999 required=5 tests=[AWL=-0.644, BAYES_40=-0.185]
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 ES4KPRD6kPCl for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 13:08:05 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 667B93A6965 for <ldapext@ietf.org>; Fri,  2 Jul 2010 13:08:05 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC5HMAB1HxT8@rufus.isode.com> for <ldapext@ietf.org>; Fri, 2 Jul 2010 21:08:16 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Fri, 2 Jul 2010 13:08:13 -0700
Message-Id: <763E0A88-97C6-4517-890B-46CD26B94DF8@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] pwdInHistory vs pwdHistoryDuration
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: Fri, 02 Jul 2010 20:08:16 -0000

As previously noted, I believe it better to keep expire history based =
upon time in history not number of history.  The latter leads to the =
need for pwdMinAge, which from a security perspective, is a really bad =
idea.

At Isode, we ignore pwdInHistory and instead utilize an additional =
attribute, pwdHistoryDuration, to control history expiration.

-- Kurt=

From Kurt.Zeilenga@Isode.com  Fri Jul  2 14:48:34 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 CD62E3A68F0 for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 14:48:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.035
X-Spam-Level: 
X-Spam-Status: No, score=-1.035 tagged_above=-999 required=5 tests=[AWL=-0.295, BAYES_20=-0.74]
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 K9jAaU-8NuH5 for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 14:48:34 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id C67C63A68DC for <ldapext@ietf.org>; Fri,  2 Jul 2010 14:48:33 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC5evAB1H3l9@rufus.isode.com> for <ldapext@ietf.org>; Fri, 2 Jul 2010 22:48:45 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Fri, 2 Jul 2010 14:48:42 -0700
Message-Id: <AD629190-2779-403D-B792-FD59DFF8C9D7@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 vs. shadowing/caching
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: Fri, 02 Jul 2010 21:48:35 -0000

Not only does the spec continue to suffer from various issues in face of =
shadowing/caching, additional issues in this area have been introduced =
by features such as account idling.

Account idling relies on shared knowledge across a set of DSAs of last =
successful login, and nothing in LDAP/X.500 ensures such shared =
knowledge can be maintained.

I favor a base specification(s) which details policy mechanisms =
specifically designed to operate in a traditional LDAP/X.500 model (each =
entry held by one master, possibly multiple shadow and caching DSAs) =
without any reliance on distributed operations and possibly additional =
specifications (possibly as appendices to the base) discussing how the =
base specification could be enhanced through the use of distributed =
operations and other yet-to-be-specified extensions (to the protocol or =
models).

-- Kurt=

From Kurt.Zeilenga@Isode.com  Fri Jul  2 15:10:16 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 5808B3A68F3 for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 15:10:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.935
X-Spam-Level: 
X-Spam-Status: No, score=-1.935 tagged_above=-999 required=5 tests=[AWL=0.664,  BAYES_00=-2.599]
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 G4hgVHKKXdiC for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 15:10:14 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id DAE0F3A68B1 for <ldapext@ietf.org>; Fri,  2 Jul 2010 15:10:06 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC5jyQB1H59g@rufus.isode.com> for <ldapext@ietf.org>; Fri, 2 Jul 2010 23:10:18 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <AD629190-2779-403D-B792-FD59DFF8C9D7@Isode.com>
Date: Fri, 2 Jul 2010 15:10:14 -0700
Message-Id: <E214BCB3-DDD6-4A0A-8C1B-F2912DA9E2C9@Isode.com>
References: <AD629190-2779-403D-B792-FD59DFF8C9D7@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: Re: [ldapext] password policy vs. shadowing/caching
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: Fri, 02 Jul 2010 22:10:17 -0000

On Jul 2, 2010, at 2:48 PM, Kurt Zeilenga wrote:

> Not only does the spec continue to suffer from various issues in face =
of shadowing/caching, additional issues in this area have been =
introduced by features such as account idling.
>=20
> Account idling relies on shared knowledge across a set of DSAs of last =
successful login, and nothing in LDAP/X.500 ensures such shared =
knowledge can be maintained.
>=20
> I favor a base specification(s) which details policy mechanisms =
specifically designed to operate in a traditional LDAP/X.500 model (each =
entry held by one master, possibly multiple shadow and caching DSAs) =
without any reliance on distributed operations and possibly additional =
specifications (possibly as appendices to the base) discussing how the =
base specification could be enhanced through the use of distributed =
operations and other yet-to-be-specified extensions (to the protocol or =
models).

I note that one of the distributed policy issues that would need to be =
addressed (possibly simply by discussion in security considerations) is =
DoS vulnerability introduced by replication of user-specific state =
information.  That is, there is a magnification attack here.

-- Kurt=

From Kurt.Zeilenga@Isode.com  Fri Jul  2 16:00:55 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 0E0423A693F for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:00:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.995
X-Spam-Level: 
X-Spam-Status: No, score=-1.995 tagged_above=-999 required=5 tests=[AWL=0.604,  BAYES_00=-2.599]
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 Tg4vtIaiWv3M for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:00:54 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 478833A68D5 for <ldapext@ietf.org>; Fri,  2 Jul 2010 16:00:54 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC5vsQB1H0FL@rufus.isode.com> for <ldapext@ietf.org>; Sat, 3 Jul 2010 00:01:05 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Fri, 2 Jul 2010 16:01:03 -0700
Message-Id: <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 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: Fri, 02 Jul 2010 23:00:55 -0000

Once an account has beed idled, how does the administrator clear the =
idle condition to allow the user to login?

-- Kurt=

From Kurt.Zeilenga@Isode.com  Fri Jul  2 16:12:31 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 0518B3A693B for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:12:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.839
X-Spam-Level: 
X-Spam-Status: No, score=-0.839 tagged_above=-999 required=5 tests=[AWL=-0.654, BAYES_40=-0.185]
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 KNMfTJsYjjX2 for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:12:29 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 36FF13A68BB for <ldapext@ietf.org>; Fri,  2 Jul 2010 16:12:29 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC5yaAB1Hw=F@rufus.isode.com> for <ldapext@ietf.org>; Sat, 3 Jul 2010 00:12:40 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com>
Date: Fri, 2 Jul 2010 16:12:38 -0700
Message-Id: <EF01A549-2405-44F7-A659-8246CDBCE706@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: Re: [ldapext] password policy: account idling in distributed systems
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: Fri, 02 Jul 2010 23:12:31 -0000

Some additional thoughts here...

The primary problem with this feature is assumes that there either a =
single DSA used by the user, or that all of the DSAs used by the user =
share last-login information.  While it might be oddly useful in some =
distributed environments to idle accounts on a per DSA basis, in general =
this would be un-usefully odd.

There are a number of approaches one could use to share state.

1) have all DSAs be masters in a multi-master DSA system,
2) have all shadow/caching servers issue an operation to update the =
master DSA (or a master of a multi-master deployment), or
3) have all shadow/caching servers chain the Bind request.

Option 1 is problematic as multi-master systems (with no shadow/caching =
DSAs) tend not to scale as broadly as single-master/shadowing/caching =
systems.

For Simple password Bind and SASL/PLAIN, there isn't much difference =
between option 2 and 3.  But 3 is problematic when SCRAM and like =
mechanisms are used.  And 3 is also problematic when the master(s) are =
unreachable.  With 2, the master update can be deferred until the =
master(s) become reachable.

Another approach, which I think is more generally applicable, would be =
last successful login to recorded in a dsaOperation attribute and then =
have a separate directory application that could be ran at a suitable =
interval, that would for each user, check each DSA for the last login =
time, determine the latest login time across all DSAs, and if not recent =
enough, lock the account via an accountLock attribute.

To unlock, the management client likely should, in addition to clearing =
the accountLock attribute, set some attribute to exclude subsequent =
idling locking for some period of time (see my how question about how to =
unlock an idle account).

-- Kurt=

From idra@samba.org  Fri Jul  2 16:21:26 2010
Return-Path: <idra@samba.org>
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 A17593A6895 for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:21:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.999
X-Spam-Level: 
X-Spam-Status: No, score=-3.999 tagged_above=-999 required=5 tests=[BAYES_50=0.001, 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 z8imBWOKY-+X for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:21:25 -0700 (PDT)
Received: from lists.samba.org (fn.samba.org [216.83.154.106]) by core3.amsl.com (Postfix) with ESMTP id 281F33A6880 for <ldapext@ietf.org>; Fri,  2 Jul 2010 16:21:25 -0700 (PDT)
Received: from [IPv6:::1] (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id 6391FAC052; Fri,  2 Jul 2010 17:21:35 -0600 (MDT)
From: simo <idra@samba.org>
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <EF01A549-2405-44F7-A659-8246CDBCE706@Isode.com>
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com> <EF01A549-2405-44F7-A659-8246CDBCE706@Isode.com>
Content-Type: text/plain; charset="UTF-8"
Organization: Samba Team
Date: Fri, 02 Jul 2010 19:21:36 -0400
Message-ID: <1278112896.4806.5.camel@pico.li.ssimo.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) 
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: account idling in distributed systems
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: Fri, 02 Jul 2010 23:21:26 -0000

On Fri, 2010-07-02 at 16:12 -0700, Kurt Zeilenga wrote:
> Some additional thoughts here...
> 
> The primary problem with this feature is assumes that there either a
> single DSA used by the user, or that all of the DSAs used by the user
> share last-login information.  While it might be oddly useful in some
> distributed environments to idle accounts on a per DSA basis, in
> general this would be un-usefully odd.
> 
> There are a number of approaches one could use to share state.
> 
> 1) have all DSAs be masters in a multi-master DSA system,
> 2) have all shadow/caching servers issue an operation to update the
> master DSA (or a master of a multi-master deployment), or
> 3) have all shadow/caching servers chain the Bind request.
> 
> Option 1 is problematic as multi-master systems (with no
> shadow/caching DSAs) tend not to scale as broadly as
> single-master/shadowing/caching systems.
> 
> For Simple password Bind and SASL/PLAIN, there isn't much difference
> between option 2 and 3.  But 3 is problematic when SCRAM and like
> mechanisms are used.  And 3 is also problematic when the master(s) are
> unreachable.  With 2, the master update can be deferred until the
> master(s) become reachable.
> 
> Another approach, which I think is more generally applicable, would be
> last successful login to recorded in a dsaOperation attribute and then
> have a separate directory application that could be ran at a suitable
> interval, that would for each user, check each DSA for the last login
> time, determine the latest login time across all DSAs, and if not
> recent enough, lock the account via an accountLock attribute.
> 
> To unlock, the management client likely should, in addition to
> clearing the accountLock attribute, set some attribute to exclude
> subsequent idling locking for some period of time (see my how question
> about how to unlock an idle account).

These options are usually not implemented in real deployments because
they are way too expensive. The bind operation is quite common and
changing an object in the DIT every time it succeeds and then
replicating it to all servers is costly.
The only information that is usually propagated to all servers is the
final account lock if one of the servers detect too many attempts. In
general it is considered a good compromise to limit counting login
attempts to determine if the account should be locked on a per server
basis.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo@samba.org>
Principal Software Engineer at Red Hat, Inc. <simo@redhat.com>


From Kurt.Zeilenga@Isode.com  Fri Jul  2 16:46:19 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 732483A6988 for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:46:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.995
X-Spam-Level: 
X-Spam-Status: No, score=-1.995 tagged_above=-999 required=5 tests=[AWL=0.604,  BAYES_00=-2.599]
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 qnpz0+uBL-qY for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:46:18 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id EF4C03A695F for <ldapext@ietf.org>; Fri,  2 Jul 2010 16:45:42 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC56MQB1H5gR@rufus.isode.com>; Sat, 3 Jul 2010 00:45:54 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <1278112896.4806.5.camel@pico.li.ssimo.org>
Date: Fri, 2 Jul 2010 16:45:51 -0700
Message-Id: <F6D8CD11-4CA3-45FC-934E-FE280659CEB0@Isode.com>
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com> <EF01A549-2405-44F7-A659-8246CDBCE706@Isode.com> <1278112896.4806.5.camel@pico.li.ssimo.org>
To: simo <idra@samba.org>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: account idling in distributed systems
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: Fri, 02 Jul 2010 23:46:19 -0000

On Jul 2, 2010, at 4:21 PM, simo wrote:
>=20
> These options are usually not implemented in real deployments

Account idling is one of Isode's most requested features.  Of course, =
our market may well be unique.

> because
> they are way too expensive.

I believe trying to share user-specific information produced at any DSA =
across all DSAs (which might need that information) is not generally =
feasible.

> The bind operation is quite common and
> changing an object in the DIT every time it succeeds and then
> replicating it to all servers is costly.

Which is why I offered an approach to providing account idling which =
doesn't require replication of successful login information.

> The only information that is usually propagated to all servers is the
> final account lock if one of the servers detect too many attempts.

For failed attempt lockout, our customers seem to happy with per server =
lockout.

> In
> general it is considered a good compromise to limit counting login
> attempts to determine if the account should be locked on a per server
> basis.

For failed attempt lockout, yes.  For idling, I think our customers want =
any use of the account on any DSA to prevent lockout on other DSAs.   =
But as I noted, this can be implemented without replicating last login =
information.

-- Kurt=

From idra@samba.org  Fri Jul  2 16:59:45 2010
Return-Path: <idra@samba.org>
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 02A143A681D for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:59:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.299
X-Spam-Level: 
X-Spam-Status: No, score=-5.299 tagged_above=-999 required=5 tests=[AWL=1.300,  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 qYN+6-Pi1n0q for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 16:59:44 -0700 (PDT)
Received: from lists.samba.org (fn.samba.org [216.83.154.106]) by core3.amsl.com (Postfix) with ESMTP id 131B03A6407 for <ldapext@ietf.org>; Fri,  2 Jul 2010 16:59:44 -0700 (PDT)
Received: from [IPv6:::1] (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id 38B1AAC052; Fri,  2 Jul 2010 17:59:54 -0600 (MDT)
From: simo <idra@samba.org>
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <F6D8CD11-4CA3-45FC-934E-FE280659CEB0@Isode.com>
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com> <EF01A549-2405-44F7-A659-8246CDBCE706@Isode.com> <1278112896.4806.5.camel@pico.li.ssimo.org> <F6D8CD11-4CA3-45FC-934E-FE280659CEB0@Isode.com>
Content-Type: text/plain; charset="UTF-8"
Organization: Samba Team
Date: Fri, 02 Jul 2010 19:59:55 -0400
Message-ID: <1278115195.4806.13.camel@pico.li.ssimo.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) 
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: account idling in distributed systems
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: Fri, 02 Jul 2010 23:59:45 -0000

On Fri, 2010-07-02 at 16:45 -0700, Kurt Zeilenga wrote:
> On Jul 2, 2010, at 4:21 PM, simo wrote:
> > 
> > These options are usually not implemented in real deployments
> 
> Account idling is one of Isode's most requested features.  Of course, our market may well be unique.

Sorry, I was referring to the last login propagation.
Account idling is not very commonly done at the DSA level in the field I
care about. Usually it is done in the applications that access the DSA
here.
But it is perfectly fine as a feature if the DSA is directly exposed.

> > The bind operation is quite common and
> > changing an object in the DIT every time it succeeds and then
> > replicating it to all servers is costly.
> 
> Which is why I offered an approach to providing account idling which
> doesn't require replication of successful login information.

Yes I believe account idling is a good idea in some cases, although I
think you raised a valid concern when you posted the question of how an
admin can effectively control idling, when it is in force and there is a
need to "reset" it.

> For failed attempt lockout, our customers seem to happy with per
> server lockout.

Does it mean that the same user is locked on a server but not on
another ? Interesting.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo@samba.org>
Principal Software Engineer at Red Hat, Inc. <simo@redhat.com>


From Kurt.Zeilenga@Isode.com  Fri Jul  2 18:01:57 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 9B0673A659B for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 18:01:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.038
X-Spam-Level: 
X-Spam-Status: No, score=-2.038 tagged_above=-999 required=5 tests=[AWL=0.561,  BAYES_00=-2.599]
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 akAnrjXUrQ9A for <ldapext@core3.amsl.com>; Fri,  2 Jul 2010 18:01:56 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 525B93A68BD for <ldapext@ietf.org>; Fri,  2 Jul 2010 18:01:56 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC6MDwB1HwX9@rufus.isode.com>; Sat, 3 Jul 2010 02:02:07 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <1278115195.4806.13.camel@pico.li.ssimo.org>
Date: Fri, 2 Jul 2010 18:02:05 -0700
Message-Id: <0DF5684A-356F-413F-BF4D-9E6340AE3BE4@Isode.com>
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com> <EF01A549-2405-44F7-A659-8246CDBCE706@Isode.com> <1278112896.4806.5.camel@pico.li.ssimo.org> <F6D8CD11-4CA3-45FC-934E-FE280659CEB0@Isode.com> <1278115195.4806.13.camel@pico.li.ssimo.org>
To: simo <idra@samba.org>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: account idling in distributed systems
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: Sat, 03 Jul 2010 01:01:57 -0000

On Jul 2, 2010, at 4:59 PM, simo wrote:

> On Fri, 2010-07-02 at 16:45 -0700, Kurt Zeilenga wrote:
>> On Jul 2, 2010, at 4:21 PM, simo wrote:
>>>=20
>>> These options are usually not implemented in real deployments
>>=20
>> Account idling is one of Isode's most requested features.  Of course, =
our market may well be unique.
>=20
> Sorry, I was referring to the last login propagation.

so was I.  'last login' recording is for account idling.

> Account idling is not very commonly done at the DSA level in the field =
I
> care about.

Understandable.


> Usually it is done in the applications that access the DSA
> here.
> But it is perfectly fine as a feature if the DSA is directly exposed.

I look at this specification as focused on password policy for directory =
applications (one where the user directly uses a directory client to =
talk to the directory service), though I am interested in how one might =
extend this specification to address issues in application services =
which use directory service as a database backend.

>>> The bind operation is quite common and
>>> changing an object in the DIT every time it succeeds and then
>>> replicating it to all servers is costly.
>>=20
>> Which is why I offered an approach to providing account idling which
>> doesn't require replication of successful login information.
>=20
> Yes I believe account idling is a good idea in some cases, although I
> think you raised a valid concern when you posted the question of how =
an
> admin can effectively control idling, when it is in force and there is =
a
> need to "reset" it.
>=20
>> For failed attempt lockout, our customers seem to happy with per
>> server lockout.
>=20
> Does it mean that the same user is locked on a server but not on
> another ? Interesting.

Yes.  Otherwise you'd have to replicate the per-user failed login state =
information, and do that in a manner which couldn't be abused by an =
attacker to get than N*M guesses (N DSAs, M guesses per DSA) due to the =
eventual convergent replication of the state information.  But, as I =
noted earlier in this thread, such replication can be used to mount a =
magnification attack.  If one has N shadow DSAs hanging directly off a =
single master, one guess leads directly to N operations to update each =
shadow DSA (plus a chain operation if the guess was issued at a shadow =
DSA).

In some of deployments, private pipes are used for replication traffic.  =
Often these pipes have less bandwidth than between any DSA and the =
clients which access it.  So an attacker can easily mount a successful =
attack upon directory replication if one were to replicate such state =
information.

But I also note that I tend to recommend against enabling account =
lockout due to excessive failed login attempts, this because doing so =
enables a DoS attack on user access.   I generally recommend brute force =
attacks by other means.

>=20
> Simo.
>=20
> --=20
> Simo Sorce
> Samba Team GPL Compliance Officer <simo@samba.org>
> Principal Software Engineer at Red Hat, Inc. <simo@redhat.com>
>=20
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www.ietf.org/mailman/listinfo/ldapext


From Kurt.Zeilenga@Isode.com  Sat Jul  3 06:47:14 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 28E993A69A1 for <ldapext@core3.amsl.com>; Sat,  3 Jul 2010 06:47:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.076
X-Spam-Level: 
X-Spam-Status: No, score=-2.076 tagged_above=-999 required=5 tests=[AWL=0.523,  BAYES_00=-2.599]
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 LsycWRamXkTw for <ldapext@core3.amsl.com>; Sat,  3 Jul 2010 06:47:05 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id C2F523A6864 for <ldapext@ietf.org>; Sat,  3 Jul 2010 06:47:01 -0700 (PDT)
Received: from [192.168.1.102] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TC8=YAB1H0yw@rufus.isode.com> for <ldapext@ietf.org>; Sat, 3 Jul 2010 14:47:12 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <0DF5684A-356F-413F-BF4D-9E6340AE3BE4@Isode.com>
Date: Sat, 3 Jul 2010 06:47:01 -0700
Message-Id: <CEF1B70A-5A82-46A3-82E9-8141A5D7F1D9@Isode.com>
References: <7E2E8441-55DB-4DF2-9146-864199CBD3ED@Isode.com> <EF01A549-2405-44F7-A659-8246CDBCE706@Isode.com> <1278112896.4806.5.camel@pico.li.ssimo.org> <F6D8CD11-4CA3-45FC-934E-FE280659CEB0@Isode.com> <1278115195.4806.13.camel@pico.li.ssimo.org> <0DF5684A-356F-413F-BF4D-9E6340AE3BE4@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: Re: [ldapext] password policy: account idling in distributed systems
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: Sat, 03 Jul 2010 13:47:14 -0000

On Jul 2, 2010, at 6:02 PM, Kurt Zeilenga wrote:

> But I also note that I tend to recommend against enabling account =
lockout due to excessive failed login attempts, this because doing so =
enables a DoS attack on user access.   I generally recommend brute force =
attacks by other means.

insert "hindering" somewhere in the last sentence.... :-)

-- Kurt=

From Kurt.Zeilenga@Isode.com  Mon Jul  5 13:15:00 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 186FE3A69F4 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:15:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.092
X-Spam-Level: 
X-Spam-Status: No, score=-0.092 tagged_above=-999 required=5 tests=[AWL=-0.093, BAYES_50=0.001]
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 ApvJc-bl+VtG for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:14:58 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id C68373A6A01 for <ldapext@ietf.org>; Mon,  5 Jul 2010 13:14:57 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDI9QQB1H8fe@rufus.isode.com> for <ldapext@ietf.org>; Mon, 5 Jul 2010 21:14:58 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Mon, 5 Jul 2010 13:14:55 -0700
Message-Id: <74306214-8DF5-4252-A9ED-18E83FCE9432@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: exclude (or exempt) user from policy
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, 05 Jul 2010 20:15:00 -0000

It is desirable to have a mechanism to exclude (or exempt) a user from =
the policy.  For instance, it's nasty for various accounts associated =
with application entities (as opposed to humans) to be locked out.

In the Isode implementation, we have an operational single-valued =
attribute, pwdExclude, which if present in the user's entry and has the =
boolean value TRUE exempts the user from all password policy =
enforcement.

It would be good to add something like this to the spec.

-- Kurt=

From Ludovic.Poitou@Sun.COM  Mon Jul  5 13:27:52 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 701543A69F4 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:27:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.02
X-Spam-Level: 
X-Spam-Status: No, score=-4.02 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_DNSWL_MED=-4, RCVD_IN_SORBS_WEB=0.619]
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 oZvVmGnWrE4h for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:27:51 -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 422B53A69F1 for <ldapext@ietf.org>; Mon,  5 Jul 2010 13:27:51 -0700 (PDT)
Received: from fe-emea-13.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 o65KRpIh001829 for <ldapext@ietf.org>; Mon, 5 Jul 2010 20:27:51 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from conversion-daemon.fe-emea-13.sun.com by fe-emea-13.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0L5300B00PTCNA00@fe-emea-13.sun.com> for ldapext@ietf.org; Mon, 05 Jul 2010 21:27:36 +0100 (BST)
Received: from [10.69.92.41] ([unknown] [80.10.46.73]) by fe-emea-13.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0L5300BQRQ5TA730@fe-emea-13.sun.com>;  Mon, 05 Jul 2010 21:27:36 +0100 (BST)
Date: Mon, 05 Jul 2010 22:27:06 +0200
From: Ludovic Poitou <Ludovic.Poitou@Sun.COM>
In-reply-to: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com>
Sender: Ludovic.Poitou@Sun.COM
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Message-id: <F56BBA92-EF26-4971-BC32-8A4AB6352BB2@sun.com>
X-Mailer: iPhone Mail (8A293)
References: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com>
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: exclude (or exempt) user from policy
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, 05 Jul 2010 20:27:52 -0000

Kurt, 

I don't really like using exception mechanism like this which are difficult to track for an administrator and may be abused by users if not protected appropriately.
In OpenDS we have some extended subtree specifications that allow to filter in or out users from the password policy definition itself. 
I'm gonna be out for the next 3 weeks but will comment your emails related to the password policy when I'm back. I didn't get the time to do it before today. 

Regards

Ludovic Poitou
Sent from a mobile. 

On 5 juil. 2010, at 22:14, Kurt Zeilenga <Kurt.Zeilenga@Isode.com> wrote:

> It is desirable to have a mechanism to exclude (or exempt) a user from the policy.  For instance, it's nasty for various accounts associated with application entities (as opposed to humans) to be locked out.
> 
> In the Isode implementation, we have an operational single-valued attribute, pwdExclude, which if present in the user's entry and has the boolean value TRUE exempts the user from all password policy enforcement.
> 
> It would be good to add something like this to the spec.
> 
> -- Kurt
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www.ietf.org/mailman/listinfo/ldapext

From hyc@highlandsun.com  Mon Jul  5 13:31:41 2010
Return-Path: <hyc@highlandsun.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 B793A3A69FD for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:31:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001]
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 LYjFQzrq90wH for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:31:40 -0700 (PDT)
Received: from mail.highlandsun.com (mail.highlandsun.com [70.87.222.79]) by core3.amsl.com (Postfix) with ESMTP id B92DB3A6824 for <ldapext@ietf.org>; Mon,  5 Jul 2010 13:31:28 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id 1C1B710DBB; Mon,  5 Jul 2010 16:31:30 -0400 (EDT)
Message-ID: <4C32411E.4060502@highlandsun.com>
Date: Mon, 05 Jul 2010 13:31:26 -0700
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.9.3a5pre) Gecko/20100607 Firefox 3.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
References: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com>
In-Reply-To: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: exclude (or exempt) user from policy
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, 05 Jul 2010 20:31:41 -0000

Kurt Zeilenga wrote:
> It is desirable to have a mechanism to exclude (or exempt) a user from the
> policy.  For instance, it's nasty for various accounts associated with
> application entities (as opposed to humans) to be locked out.
>
> In the Isode implementation, we have an operational single-valued
> attribute, pwdExclude, which if present in the user's entry and has the
> boolean value TRUE exempts the user from all password policy enforcement.
>
> It would be good to add something like this to the spec.

That sounds backward to me. You should just define a specific policy for those 
accounts, and turn off everything you don't want enforced in that policy.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

From hyc@highlandsun.com  Mon Jul  5 13:32:54 2010
Return-Path: <hyc@highlandsun.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 254293A69FE for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:32:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.299
X-Spam-Level: 
X-Spam-Status: No, score=-1.299 tagged_above=-999 required=5 tests=[AWL=1.300,  BAYES_00=-2.599]
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 vH0b9Q-HIFJf for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:32:53 -0700 (PDT)
Received: from mail.highlandsun.com (mail.highlandsun.com [70.87.222.79]) by core3.amsl.com (Postfix) with ESMTP id 2EFF43A6824 for <ldapext@ietf.org>; Mon,  5 Jul 2010 13:32:53 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id AA5EA10DBB; Mon,  5 Jul 2010 16:32:54 -0400 (EDT)
Message-ID: <4C324173.2050409@highlandsun.com>
Date: Mon, 05 Jul 2010 13:32:51 -0700
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.9.3a5pre) Gecko/20100607 Firefox 3.6
MIME-Version: 1.0
To: Ludovic Poitou <Ludovic.Poitou@Sun.COM>
References: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com> <F56BBA92-EF26-4971-BC32-8A4AB6352BB2@sun.com>
In-Reply-To: <F56BBA92-EF26-4971-BC32-8A4AB6352BB2@sun.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Subject: Re: [ldapext] password policy: exclude (or exempt) user from policy
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, 05 Jul 2010 20:32:54 -0000

Ludovic Poitou wrote:
> Kurt,
>
> I don't really like using exception mechanism like this which are
> difficult
to track for an administrator and may be abused by users if not protected
appropriately.

Agreed.

> In OpenDS we have some extended subtree specifications that allow to
> filter
in or out users from the password policy definition itself.
> I'm gonna be out for the next 3 weeks but will comment your emails related
to the password policy when I'm back. I didn't get the time to do it before today.

> Regards
>
> Ludovic Poitou
> Sent from a mobile.
>
> On 5 juil. 2010, at 22:14, Kurt Zeilenga<Kurt.Zeilenga@Isode.com>  wrote:
>
>> It is desirable to have a mechanism to exclude (or exempt) a user from the policy.  For instance, it's nasty for various accounts associated with application entities (as opposed to humans) to be locked out.
>>
>> In the Isode implementation, we have an operational single-valued attribute, pwdExclude, which if present in the user's entry and has the boolean value TRUE exempts the user from all password policy enforcement.
>>
>> It would be good to add something like this to the spec.


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

From Kurt.Zeilenga@Isode.com  Mon Jul  5 13:42:28 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 4964E3A681F for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:42:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.346
X-Spam-Level: 
X-Spam-Status: No, score=-1.346 tagged_above=-999 required=5 tests=[AWL=1.254,  BAYES_00=-2.599]
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 q5OY3LQYM2H1 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:42:26 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 409143A67AF for <ldapext@ietf.org>; Mon,  5 Jul 2010 13:42:26 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJDsgB1H086@rufus.isode.com>; Mon, 5 Jul 2010 21:42:26 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <4C32411E.4060502@highlandsun.com>
Date: Mon, 5 Jul 2010 13:42:24 -0700
Message-Id: <BE50A349-98CC-4103-AE48-90452BFAA315@Isode.com>
References: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com> <4C32411E.4060502@highlandsun.com>
To: Howard Chu <hyc@highlandsun.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: exclude (or exempt) user from policy
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, 05 Jul 2010 20:42:28 -0000

On Jul 5, 2010, at 1:31 PM, Howard Chu wrote:

> Kurt Zeilenga wrote:
>> It is desirable to have a mechanism to exclude (or exempt) a user =
from the
>> policy.  For instance, it's nasty for various accounts associated =
with
>> application entities (as opposed to humans) to be locked out.
>>=20
>> In the Isode implementation, we have an operational single-valued
>> attribute, pwdExclude, which if present in the user's entry and has =
the
>> boolean value TRUE exempts the user from all password policy =
enforcement.
>>=20
>> It would be good to add something like this to the spec.
>=20
> That sounds backward to me.

It's modeled after collective attribute exclusions.

> You should just define a specific policy for those accounts, and turn =
off everything you don't want enforced in that policy.

That can be pain depending on how one organizes their account objects.

-- Kurt


From Kurt.Zeilenga@Isode.com  Mon Jul  5 13:43:33 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 BDAE43A681F for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:43:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.763
X-Spam-Level: 
X-Spam-Status: No, score=-1.763 tagged_above=-999 required=5 tests=[AWL=0.836,  BAYES_00=-2.599]
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 T+NlIYQFKYua for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:43:32 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id A0FAD3A67AF for <ldapext@ietf.org>; Mon,  5 Jul 2010 13:43:32 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJD9QB1HwxN@rufus.isode.com> for <ldapext@ietf.org>; Mon, 5 Jul 2010 21:43:33 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Mon, 5 Jul 2010 13:43:30 -0700
Message-Id: <2167C83D-2DFC-4F5A-88D9-4D2704AC7887@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: hash algorithm specification and auto hash migration
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, 05 Jul 2010 20:43:33 -0000

Additional Isode-specific features include hash algorithm specification =
and auto migration of password hash algorithms (standard userPassword =
to/from RFC 2307 userPassword, and soon to/from authPassword [RFC3112] =
(for SCRAM)).  This might be something worthwhile to consider =
off-the-standard track (given tracks of RFC 2307 and RFC 3112).

In our implementation, we have two attributes which advertise the =
server's available hash compare and hash generate methods, and then two =
attributes which specify the compare and generate methods may be used.  =
The latter being single valued and is what gets used by LDAP password =
modify operation.  Then we have a pwdAutoMigrate flag to enable =
auto-migration.

Auto-migration works by checking, at Simple Bind time (post =
authentication), to see if the current generate method differs from the =
hash method used for the user.  If so, the stored value is updated using =
the current generate method without resetting various state variables =
(such as pwdChangedTime).  This can be used to update from plain text =
passwords to particular hash method, update from one hash method to =
another, and update from a hash algorithm to plain text.

We're currently adding support for authPassword, namely for use with =
SCRAM.  As part of this, we plan to update these password policy =
features.

-- Kurt=

From Kurt.Zeilenga@Isode.com  Mon Jul  5 13:55:54 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 C5FD728C0D8 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.972
X-Spam-Level: 
X-Spam-Status: No, score=-1.972 tagged_above=-999 required=5 tests=[AWL=0.627,  BAYES_00=-2.599]
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 RgcetNtORexV for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 13:55:54 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id A23B428C0EC for <ldapext@ietf.org>; Mon,  5 Jul 2010 13:55:53 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJG2QB1H4H3@rufus.isode.com>; Mon, 5 Jul 2010 21:55:54 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <F56BBA92-EF26-4971-BC32-8A4AB6352BB2@sun.com>
Date: Mon, 5 Jul 2010 13:55:51 -0700
Message-Id: <479EED55-1570-463D-9040-C8A1C22285FE@Isode.com>
References: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com> <F56BBA92-EF26-4971-BC32-8A4AB6352BB2@sun.com>
To: Ludovic Poitou <Ludovic.Poitou@Sun.COM>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: exclude (or exempt) user from policy
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, 05 Jul 2010 20:55:54 -0000

On Jul 5, 2010, at 1:27 PM, Ludovic Poitou wrote:

> Kurt,=20
>=20
> I don't really like using exception mechanism like this which are =
difficult to track for an administrator and may be abused by users if =
not protected appropriately.

The specification already has numerous operational attributes which an =
administrator might need to track, I don't see one more being all that =
problematic...  nor a significant security risk.   Like most DSA =
vendors, and presumedly you, we just ship with reasonable default access =
controls for pwdExclude as well as other security oriented attributes.  =
I assume most DSA vendors ship with defaults that prevent average users =
from establishing a password policy for their object.

One thing we don't (yet) do is check for inappropriate access rights =
before using an attribute.  That is, ignore pwdExclude if its writable =
by the user.  We could do this, but I tend to avoid making the access =
control system any more complicated than it needs to be.

> In OpenDS we have some extended subtree specifications that allow to =
filter in or out users from the password policy definition itself.=20
> I'm gonna be out for the next 3 weeks but will comment your emails =
related to the password policy when I'm back. I didn't get the time to =
do it before today.=20

No worries.  It's not like these are burning issues.

-- Kurt
>=20
> Regards
>=20
> Ludovic Poitou
> Sent from a mobile.=20
>=20
> On 5 juil. 2010, at 22:14, Kurt Zeilenga <Kurt.Zeilenga@Isode.com> =
wrote:
>=20
>> It is desirable to have a mechanism to exclude (or exempt) a user =
from the policy.  For instance, it's nasty for various accounts =
associated with application entities (as opposed to humans) to be locked =
out.
>>=20
>> In the Isode implementation, we have an operational single-valued =
attribute, pwdExclude, which if present in the user's entry and has the =
boolean value TRUE exempts the user from all password policy =
enforcement.
>>=20
>> It would be good to add something like this to the spec.
>>=20
>> -- Kurt
>> _______________________________________________
>> Ldapext mailing list
>> Ldapext@ietf.org
>> https://www.ietf.org/mailman/listinfo/ldapext
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www.ietf.org/mailman/listinfo/ldapext


From Kurt.Zeilenga@Isode.com  Mon Jul  5 14:43:28 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 0E36F3A659A for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 14:43:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[AWL=0.501,  BAYES_00=-2.599]
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 BW0SDvRlCsFM for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 14:43:27 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id E5B253A6A09 for <ldapext@ietf.org>; Mon,  5 Jul 2010 14:43:26 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJR=wB1H1Ky@rufus.isode.com> for <ldapext@ietf.org>; Mon, 5 Jul 2010 22:43:27 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Mon, 5 Jul 2010 14:43:25 -0700
Message-Id: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@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: multiple subentries, multiple password attributes, ....
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, 05 Jul 2010 21:43:28 -0000

The spec specifically allows for an user entry to be controlled by =
multiple policies (each for a different password attribute) but then =
defines pwdPolicySubentry to be single-valued.

It seems to me that the text as a whole doesn't really well consider the =
implications of multiple applicable password policies.

In our current implementation, we do implement 5.3.1, and mandate that =
only a single password policy be applicable to a given user.

We currently looking at userPassword v. authPassword implications with =
regard to auto-migration, as we're now supporting the latter for SCRAM =
authentication.  I think we'll assume that if both are present in an =
entry, they represent the same same user password.   We'll like need to =
support both RFC 2307 hashing and in conjunction with SCRAM authPassword =
hashing so that users can use either TLS+SimpleBind(WithPassword) or =
SCRAM.

I don't see the value of having two disjoint password policies, one for =
each attribute.   What I believe our customers will demand is an unified =
password policy covering both of these attributes.  (I can see a =
possible desire to support a disjoint password policy covering passwords =
for directory application specific passwords, such as when one has a =
different directory password from say an email password stored in the =
directory.  However, our customers which have different passwords for =
different directory applications tend to rely on multiple entries per =
user, one per directory application (with service-level authorization =
restrictions), not multiple passwords attributes in a single entry.)

-- Kurt=

From Kurt.Zeilenga@Isode.com  Mon Jul  5 14:46:49 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 B51413A6A0F for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 14:46:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.181
X-Spam-Level: 
X-Spam-Status: No, score=-2.181 tagged_above=-999 required=5 tests=[AWL=0.418,  BAYES_00=-2.599]
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 BcPjGfxJFAl6 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 14:46:46 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 5592F3A659A for <ldapext@ietf.org>; Mon,  5 Jul 2010 14:46:45 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJSxQB1H67G@rufus.isode.com> for <ldapext@ietf.org>; Mon, 5 Jul 2010 22:46:46 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com>
Date: Mon, 5 Jul 2010 14:46:43 -0700
Message-Id: <D3CA9F5C-64B4-4359-B53F-C18B83B2A644@Isode.com>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@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: Re: [ldapext] password policy: multiple subentries, multiple         password attributes, ....
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, 05 Jul 2010 21:46:49 -0000

On Jul 5, 2010, at 2:43 PM, Kurt Zeilenga wrote:

> It seems to me that the text as a whole doesn't really well consider =
the implications of multiple applicable password policies.

For instance, there is no indication in the PasswordPolicyResponseValue =
as to which applicable password policy was violated.

-- Kurt=

From idra@samba.org  Mon Jul  5 14:57:24 2010
Return-Path: <idra@samba.org>
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 0B3BF3A6A0E for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 14:57:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.999
X-Spam-Level: 
X-Spam-Status: No, score=-3.999 tagged_above=-999 required=5 tests=[BAYES_50=0.001, 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 SsY-q1WvtxLp for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 14:57:23 -0700 (PDT)
Received: from lists.samba.org (fn.samba.org [216.83.154.106]) by core3.amsl.com (Postfix) with ESMTP id 3A14B3A659A for <ldapext@ietf.org>; Mon,  5 Jul 2010 14:57:23 -0700 (PDT)
Received: from [IPv6:::1] (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id 090AFAC11D; Mon,  5 Jul 2010 15:57:22 -0600 (MDT)
From: simo <idra@samba.org>
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com>
Content-Type: text/plain; charset="UTF-8"
Organization: Samba Team
Date: Mon, 05 Jul 2010 17:57:24 -0400
Message-ID: <1278367044.4806.59.camel@pico.li.ssimo.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) 
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: multiple subentries, multiple password attributes, ....
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, 05 Jul 2010 21:57:24 -0000

On Mon, 2010-07-05 at 14:43 -0700, Kurt Zeilenga wrote:
> The spec specifically allows for an user entry to be controlled by
> multiple policies (each for a different password attribute) but then
> defines pwdPolicySubentry to be single-valued.
> 
> It seems to me that the text as a whole doesn't really well consider
> the implications of multiple applicable password policies.
> 
> In our current implementation, we do implement 5.3.1, and mandate that
> only a single password policy be applicable to a given user.
> 
> We currently looking at userPassword v. authPassword implications with
> regard to auto-migration, as we're now supporting the latter for SCRAM
> authentication.  I think we'll assume that if both are present in an
> entry, they represent the same same user password.   We'll like need
> to support both RFC 2307 hashing and in conjunction with SCRAM
> authPassword hashing so that users can use either TLS
> +SimpleBind(WithPassword) or SCRAM.
> 
> I don't see the value of having two disjoint password policies, one
> for each attribute.   What I believe our customers will demand is an
> unified password policy covering both of these attributes.  (I can see
> a possible desire to support a disjoint password policy covering
> passwords for directory application specific passwords, such as when
> one has a different directory password from say an email password
> stored in the directory.  However, our customers which have different
> passwords for different directory applications tend to rely on
> multiple entries per user, one per directory application (with
> service-level authorization restrictions), not multiple passwords
> attributes in a single entry.)

Ack, having multiple password policies apply for different attributes
looks simply as an admin nightmare. Password policies tend to be few and
well defined as they are considered critical for the security of the
password. That means that usually it is quite easy to correctly define
all policies for all attributes for a specific subset of users.
Defining them as an intersection of multiple policies seem like a
feature I wouldn't want if I were an administrator. Looks powerful on
paper but also potentially complicated and complex is usually an enemy
of secure.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo@samba.org>
Principal Software Engineer at Red Hat, Inc. <simo@redhat.com>


From hyc@highlandsun.com  Mon Jul  5 15:03:37 2010
Return-Path: <hyc@highlandsun.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 A4F0928C0EA for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:03:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Level: 
X-Spam-Status: No, score=-1.949 tagged_above=-999 required=5 tests=[AWL=0.650,  BAYES_00=-2.599]
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 UJrAoXsLoUZ9 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:03:36 -0700 (PDT)
Received: from mail.highlandsun.com (mail.highlandsun.com [70.87.222.79]) by core3.amsl.com (Postfix) with ESMTP id D066228C0E9 for <ldapext@ietf.org>; Mon,  5 Jul 2010 15:03:36 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.highlandsun.com (Postfix) with ESMTP id 625AD10DBB; Mon,  5 Jul 2010 18:03:38 -0400 (EDT)
Message-ID: <4C3256B6.5030001@highlandsun.com>
Date: Mon, 05 Jul 2010 15:03:34 -0700
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.9.3a5pre) Gecko/20100607 Firefox 3.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com>
In-Reply-To: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: multiple subentries, multiple password attributes, ....
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, 05 Jul 2010 22:03:37 -0000

Kurt Zeilenga wrote:
> The spec specifically allows for an user entry to be controlled by
> multiple
policies (each for a different password attribute) but then defines
pwdPolicySubentry to be single-valued.

> It seems to me that the text as a whole doesn't really well consider the
implications of multiple applicable password policies.

I'm pretty sure the intention has always been for only a single policy to 
apply to any given entry. Note that it already explicitly requires only a 
single password value to be present in any entry.

When you see that the spec allows for a different password attribute to be 
used, I take this to mean that within an entire directory, multiple password 
attributes may be used. But for any given entry, it must have only one 
password value, regardless of which attribute carries it.

> In our current implementation, we do implement 5.3.1, and mandate that
> only
a single password policy be applicable to a given user.
>
> We currently looking at userPassword v. authPassword implications with
regard to auto-migration, as we're now supporting the latter for SCRAM
authentication. I think we'll assume that if both are present in an entry,
they represent the same same user password. We'll like need to support both
RFC 2307 hashing and in conjunction with SCRAM authPassword hashing so that
users can use either TLS+SimpleBind(WithPassword) or SCRAM.
>
> I don't see the value of having two disjoint password policies, one for
> each
attribute. What I believe our customers will demand is an unified password
policy covering both of these attributes. (I can see a possible desire to
support a disjoint password policy covering passwords for directory
application specific passwords, such as when one has a different directory
password from say an email password stored in the directory. However, our
customers which have different passwords for different directory applications
tend to rely on multiple entries per user, one per directory application (with
service-level authorization restrictions), not multiple passwords attributes
in a single entry.)

> -- Kurt

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

From Kurt.Zeilenga@Isode.com  Mon Jul  5 15:12:18 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 3520A3A6A15 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:12:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.241
X-Spam-Level: 
X-Spam-Status: No, score=-2.241 tagged_above=-999 required=5 tests=[AWL=0.358,  BAYES_00=-2.599]
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 H7ps62uqYb7Y for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:12:16 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 49EB43A6A10 for <ldapext@ietf.org>; Mon,  5 Jul 2010 15:12:15 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJYvgB1HzGy@rufus.isode.com>; Mon, 5 Jul 2010 23:12:15 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <4C3256B6.5030001@highlandsun.com>
Date: Mon, 5 Jul 2010 15:12:11 -0700
Message-Id: <45540BFF-A010-4DA3-A9A7-6902E55C453E@Isode.com>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com> <4C3256B6.5030001@highlandsun.com>
To: Howard Chu <hyc@highlandsun.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: multiple subentries, multiple         password attributes, ....
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, 05 Jul 2010 22:12:18 -0000

On Jul 5, 2010, at 3:03 PM, Howard Chu wrote:

> Kurt Zeilenga wrote:
>> The spec specifically allows for an user entry to be controlled by
>> multiple
> policies (each for a different password attribute) but then defines
> pwdPolicySubentry to be single-valued.
>=20
>> It seems to me that the text as a whole doesn't really well consider =
the
> implications of multiple applicable password policies.
>=20
> I'm pretty sure the intention has always been for only a single policy =
to apply to any given entry.

Then why the 5.3.1?

> Note that it already explicitly requires only a single password value =
to be present in any entry.

Single value per password attribute, actually.

> When you see that the spec allows for a different password attribute =
to be used, I take this to mean that within an entire directory, =
multiple password attributes may be used. But for any given entry, it =
must have only one password value, regardless of which attribute carries =
it.

Again, then why 5.3.1?

-- Kurt



From Kurt.Zeilenga@Isode.com  Mon Jul  5 15:36:48 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 CA8013A6879 for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:36:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.286
X-Spam-Level: 
X-Spam-Status: No, score=-2.286 tagged_above=-999 required=5 tests=[AWL=0.313,  BAYES_00=-2.599]
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 jlkdZKHqIkRk for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:36:47 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 74D933A659A for <ldapext@ietf.org>; Mon,  5 Jul 2010 15:36:47 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJefwB1H3m2@rufus.isode.com>; Mon, 5 Jul 2010 23:36:48 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <4C3256B6.5030001@highlandsun.com>
Date: Mon, 5 Jul 2010 15:36:45 -0700
Message-Id: <57B2AC4C-1BCE-4CF1-AF8D-68116B7364DD@Isode.com>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com> <4C3256B6.5030001@highlandsun.com>
To: Howard Chu <hyc@highlandsun.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: multiple subentries, multiple         password attributes, ....
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, 05 Jul 2010 22:36:48 -0000

On Jul 5, 2010, at 3:03 PM, Howard Chu wrote:

> Kurt Zeilenga wrote:
>> The spec specifically allows for an user entry to be controlled by
>> multiple
> policies (each for a different password attribute) but then defines
> pwdPolicySubentry to be single-valued.
>=20
>> It seems to me that the text as a whole doesn't really well consider =
the
> implications of multiple applicable password policies.
>=20
> I'm pretty sure the intention has always been for only a single policy =
to apply to any given entry. Note that it already explicitly requires =
only a single password value to be present in any entry.

The introduction of 5.3.1 attribute type options was discussed back in =
Nov/Dec 2002.  It seems clear to me that the intent was to support =
separate directory application (userPassword) passwords from =
directory-enabled service applications (webPassword, emailPassword, =
etc.).

http://www.openldap.org/lists/ietf-ldapext/200211/msg00026.html

Personally, I'd prefer to restrict the design of this specification to =
one password per user (no matter how it is stored).  I wouldn't mind =
seeing password storage policy separated from password use policy.

-- Kurt=

From Kurt.Zeilenga@isode.com  Mon Jul  5 15:48:48 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 2CB8D3A684E for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:48:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.391
X-Spam-Level: 
X-Spam-Status: No, score=-1.391 tagged_above=-999 required=5 tests=[AWL=-0.651, BAYES_20=-0.74]
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 chcrb83IZ-cp for <ldapext@core3.amsl.com>; Mon,  5 Jul 2010 15:48:47 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 2393D3A67B2 for <ldapext@ietf.org>; Mon,  5 Jul 2010 15:48:47 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDJhTwB1H40y@rufus.isode.com> for <ldapext@ietf.org>; Mon, 5 Jul 2010 23:48:48 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Date: Mon, 5 Jul 2010 15:48:45 -0700
Message-Id: <350EF121-99F8-4856-9275-F39114C1FBA9@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: X.500 unification
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, 05 Jul 2010 22:48:48 -0000

I note that the ISO/IEC X.500 folks are currently considering an X.500 =
extension in this area =
<http://www.x500standard.com/uploads/extensions/pwp_N14274_PDAM2.pdf>, =
ballot closing later this month.  While the IETF certainly can ignore =
this specification (if approved), but doing so would seem to lead to =
fragmentation within the LDAP/X.500 community.

-- Kurt=

From Kurt.Zeilenga@Isode.com  Tue Jul  6 10:33:58 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 7923E3A699C for <ldapext@core3.amsl.com>; Tue,  6 Jul 2010 10:33:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.255
X-Spam-Level: 
X-Spam-Status: No, score=-2.255 tagged_above=-999 required=5 tests=[AWL=0.344,  BAYES_00=-2.599]
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 02OfW8XUcx55 for <ldapext@core3.amsl.com>; Tue,  6 Jul 2010 10:33:57 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 8D8813A6944 for <ldapext@ietf.org>; Tue,  6 Jul 2010 10:33:57 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDNpBgB1H3p8@rufus.isode.com> for <ldapext@ietf.org>; Tue, 6 Jul 2010 18:33:58 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Tue, 6 Jul 2010 10:33:56 -0700
Message-Id: <3405440F-AD98-4F07-9EC7-28D1E235D4FC@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: pwdLockout is redundant
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, 06 Jul 2010 17:33:58 -0000

Given that pwdMaxFailures=3D0 disables lockout, pwdLockout is not only =
redundant but adds unnecessarily complexity to both servers and =
management clients.  I recommend it be axed.

-- Kurt=

From Kurt.Zeilenga@Isode.com  Tue Jul  6 10:50:06 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 C97333A68A9 for <ldapext@core3.amsl.com>; Tue,  6 Jul 2010 10:50:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.287
X-Spam-Level: 
X-Spam-Status: No, score=-2.287 tagged_above=-999 required=5 tests=[AWL=0.312,  BAYES_00=-2.599]
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 2v8rqSRA+CyY for <ldapext@core3.amsl.com>; Tue,  6 Jul 2010 10:50:04 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 6BE043A690E for <ldapext@ietf.org>; Tue,  6 Jul 2010 10:49:59 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDNsyAB1H5Jm@rufus.isode.com> for <ldapext@ietf.org>; Tue, 6 Jul 2010 18:50:01 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Date: Tue, 6 Jul 2010 10:49:58 -0700
Message-Id: <A6BD2227-DF22-494C-9EA2-5ED7FEFFFE2C@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
X-Mailman-Approved-At: Tue, 06 Jul 2010 11:00:07 -0700
Subject: [ldapext] Password policy: pwdAllowUserChange
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, 06 Jul 2010 17:50:06 -0000

While the 5.2.15 says:
   This attribute indicates whether users can change their own
   passwords, although the change operation is still subject to access
   control.

It also says:
   This attribute is intended to be used in the absence of an
   access control mechanism.

I think the intent that it be conjunction with other access controls.

And in 8.2.3,  I think the text:

   If the bound identity is a user changing its
   own password, this MAY be done by checking the pwdAllowUserChange
   attribute or using an access control mechanism.  The determination of
   this is implementation specific.

should read:
   In addition to other access controls which the operation would =
normally be subjected to, the
   operation is subject to a pwdAllowUserChange check.  If the bound =
identity is a user changing
   its own password, the server MUST deny the change when =
pwdAllowUserChange is present and set
   to FALSE in the governing policy.

Also, in the subsequent sentence, change "user is not allowed to" to =
"user is not authorized to" as "not allowed" can be read to include more =
than just "not authorized".

-- Kurt=

From michael@stroeder.com  Thu Jul  8 01:42:50 2010
Return-Path: <michael@stroeder.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 1FF683A6972 for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 01:42:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.115
X-Spam-Level: 
X-Spam-Status: No, score=0.115 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, MIME_8BIT_HEADER=0.3]
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 H7Q0Ypp5n0KT for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 01:42:49 -0700 (PDT)
Received: from srv1.stroeder.com (srv1.stroeder.com [213.240.180.113]) by core3.amsl.com (Postfix) with ESMTP id 402CD3A6897 for <ldapext@ietf.org>; Thu,  8 Jul 2010 01:42:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by srv1.stroeder.com (Postfix) with ESMTP id 8402A4E1AB; Thu,  8 Jul 2010 10:42:48 +0200 (CEST)
X-Virus-Scanned: amavisd-new at stroeder.com
Received: from srv1.stroeder.com ([127.0.0.1]) by localhost (srv1.stroeder.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uGXojVc3jXDg; Thu,  8 Jul 2010 10:42:47 +0200 (CEST)
Received: from [10.1.0.2] (unknown [10.1.0.2]) by srv1.stroeder.com (Postfix) with ESMTP id 611A14E1A2; Thu,  8 Jul 2010 10:42:45 +0200 (CEST)
Message-ID: <4C357FA7.9050606@stroeder.com>
Date: Thu, 08 Jul 2010 09:35:03 +0200
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100701 Lightning/1.0b1 SeaMonkey/2.0.6
MIME-Version: 1.0
To: simo <idra@samba.org>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com> <1278367044.4806.59.camel@pico.li.ssimo.org>
In-Reply-To: <1278367044.4806.59.camel@pico.li.ssimo.org>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
Subject: Re: [ldapext] password policy: multiple subentries, multiple password attributes, ....
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: Thu, 08 Jul 2010 08:42:50 -0000

simo wrote:
> Ack, having multiple password policies apply for different attributes
> looks simply as an admin nightmare. Password policies tend to be few and
> well defined as they are considered critical for the security of the
> password. That means that usually it is quite easy to correctly define
> all policies for all attributes for a specific subset of users.
> Defining them as an intersection of multiple policies seem like a
> feature I wouldn't want if I were an administrator. Looks powerful on
> paper but also potentially complicated and complex is usually an enemy
> of secure.

Full ack!

Ciao, Michael.

From michael@stroeder.com  Thu Jul  8 01:42:50 2010
Return-Path: <michael@stroeder.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 3A5D43A6897 for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 01:42:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.092
X-Spam-Level: 
X-Spam-Status: No, score=-1.092 tagged_above=-999 required=5 tests=[AWL=1.207,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 QRhKQ92c-7KM for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 01:42:49 -0700 (PDT)
Received: from srv1.stroeder.com (srv1.stroeder.com [213.240.180.113]) by core3.amsl.com (Postfix) with ESMTP id 403133A696D for <ldapext@ietf.org>; Thu,  8 Jul 2010 01:42:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by srv1.stroeder.com (Postfix) with ESMTP id ED98F4E1AD; Thu,  8 Jul 2010 10:42:51 +0200 (CEST)
X-Virus-Scanned: amavisd-new at stroeder.com
Received: from srv1.stroeder.com ([127.0.0.1]) by localhost (srv1.stroeder.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1rT9Qd-9sUzJ; Thu,  8 Jul 2010 10:42:49 +0200 (CEST)
Received: from [10.1.0.2] (unknown [10.1.0.2]) by srv1.stroeder.com (Postfix) with ESMTP id 1496F4E1AA; Thu,  8 Jul 2010 10:42:47 +0200 (CEST)
Message-ID: <4C35806E.8050306@stroeder.com>
Date: Thu, 08 Jul 2010 09:38:22 +0200
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100701 Lightning/1.0b1 SeaMonkey/2.0.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com>	<4C3256B6.5030001@highlandsun.com> <57B2AC4C-1BCE-4CF1-AF8D-68116B7364DD@Isode.com>
In-Reply-To: <57B2AC4C-1BCE-4CF1-AF8D-68116B7364DD@Isode.com>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: multiple subentries, multiple password attributes, ....
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: Thu, 08 Jul 2010 08:42:50 -0000

Kurt Zeilenga wrote:
> The introduction of 5.3.1 attribute type options was discussed back in
> Nov/Dec 2002.  It seems clear to me that the intent was to support separate
> directory application (userPassword) passwords from directory-enabled
> service applications (webPassword, emailPassword, etc.).

Which was already a broken concept back then.

> Personally, I'd prefer to restrict the design of this specification to one
> password per user

+1

Ciao, Michael.

From michael@stroeder.com  Thu Jul  8 01:47:51 2010
Return-Path: <michael@stroeder.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 13F603A6986 for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 01:47:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.396
X-Spam-Level: 
X-Spam-Status: No, score=-0.396 tagged_above=-999 required=5 tests=[AWL=-0.697, BAYES_50=0.001, MIME_8BIT_HEADER=0.3]
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 aU9rQcQflll2 for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 01:47:50 -0700 (PDT)
Received: from srv1.stroeder.com (srv1.stroeder.com [213.240.180.113]) by core3.amsl.com (Postfix) with ESMTP id 108B23A6897 for <ldapext@ietf.org>; Thu,  8 Jul 2010 01:47:50 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by srv1.stroeder.com (Postfix) with ESMTP id 15C7A4E1AA; Thu,  8 Jul 2010 10:42:53 +0200 (CEST)
X-Virus-Scanned: amavisd-new at stroeder.com
Received: from srv1.stroeder.com ([127.0.0.1]) by localhost (srv1.stroeder.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EaNjA8T0fdcs; Thu,  8 Jul 2010 10:42:50 +0200 (CEST)
Received: from [10.1.0.2] (unknown [10.1.0.2]) by srv1.stroeder.com (Postfix) with ESMTP id 6D8424E1A2; Thu,  8 Jul 2010 10:42:49 +0200 (CEST)
Message-ID: <4C35820A.60909@stroeder.com>
Date: Thu, 08 Jul 2010 09:45:14 +0200
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100701 Lightning/1.0b1 SeaMonkey/2.0.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
References: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com>	<4C32411E.4060502@highlandsun.com> <BE50A349-98CC-4103-AE48-90452BFAA315@Isode.com>
In-Reply-To: <BE50A349-98CC-4103-AE48-90452BFAA315@Isode.com>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: exclude (or exempt) user from policy
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: Thu, 08 Jul 2010 08:47:51 -0000

Kurt Zeilenga wrote:
> 
> On Jul 5, 2010, at 1:31 PM, Howard Chu wrote:
> 
>> Kurt Zeilenga wrote:
>>> It is desirable to have a mechanism to exclude (or exempt) a user from the
>>> policy.  For instance, it's nasty for various accounts associated with
>>> application entities (as opposed to humans) to be locked out.
>>>
>>> In the Isode implementation, we have an operational single-valued
>>> attribute, pwdExclude, which if present in the user's entry and has the
>>> boolean value TRUE exempts the user from all password policy enforcement.
>>>
>>> It would be good to add something like this to the spec.
>>
>> That sounds backward to me.
> 
> It's modeled after collective attribute exclusions.
> 
>> You should just define a specific policy for those accounts, and turn off
>> everything you don't want enforced in that policy.
> 
> That can be pain depending on how one organizes their account objects.

Why do you think that the pointer to a separate policy cannot be a collective
attribute? Maybe I got you wrong though.

Ciao, Michael.

From Kurt.Zeilenga@Isode.com  Thu Jul  8 06:44:14 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 DC34D3A6407 for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 06:44:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.247
X-Spam-Level: 
X-Spam-Status: No, score=-2.247 tagged_above=-999 required=5 tests=[AWL=0.052,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 b-3inBGrGd+5 for <ldapext@core3.amsl.com>; Thu,  8 Jul 2010 06:44:13 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 35A493A67A1 for <ldapext@ietf.org>; Thu,  8 Jul 2010 06:44:13 -0700 (PDT)
Received: from [192.168.1.101] ((unknown) [75.141.233.128])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TDXWBQADG5nE@rufus.isode.com>; Thu, 8 Jul 2010 14:43:34 +0100
X-SMTP-Protocol-Errors: NORDNS
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
In-Reply-To: <4C35820A.60909@stroeder.com>
Date: Thu, 8 Jul 2010 06:43:31 -0700
Message-Id: <23995349-1713-4B8E-85BA-57C1FD22AA16@Isode.com>
References: <74306214-8DF5-4252-A9ED-18E83FCE9432@Isode.com> <4C32411E.4060502@highlandsun.com> <BE50A349-98CC-4103-AE48-90452BFAA315@Isode.com> <4C35820A.60909@stroeder.com>
To: =?iso-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: ldapext <ldapext@ietf.org>
Subject: Re: [ldapext] password policy: exclude (or exempt) user from policy
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: Thu, 08 Jul 2010 13:44:15 -0000

On Jul 8, 2010, at 12:45 AM, Michael Str=F6der wrote:

> Kurt Zeilenga wrote:
>>=20
>> On Jul 5, 2010, at 1:31 PM, Howard Chu wrote:
>>=20
>>> Kurt Zeilenga wrote:
>>>> It is desirable to have a mechanism to exclude (or exempt) a user =
from the
>>>> policy.  For instance, it's nasty for various accounts associated =
with
>>>> application entities (as opposed to humans) to be locked out.
>>>>=20
>>>> In the Isode implementation, we have an operational single-valued
>>>> attribute, pwdExclude, which if present in the user's entry and has =
the
>>>> boolean value TRUE exempts the user from all password policy =
enforcement.
>>>>=20
>>>> It would be good to add something like this to the spec.
>>>=20
>>> That sounds backward to me.
>>=20
>> It's modeled after collective attribute exclusions.
>>=20
>>> You should just define a specific policy for those accounts, and =
turn off
>>> everything you don't want enforced in that policy.
>>=20
>> That can be pain depending on how one organizes their account =
objects.
>=20
> Why do you think that the pointer to a separate policy cannot be a =
collective
> attribute? Maybe I got you wrong though.

The pointer to policy comes from the policy's subtree specification.  =
X.500 subtree specification has its limit.  See Ludo's comments that  =
this was addressed in OpenDS via subtree specification extensions.

I also think the tracking argument is kind of bogus.  =46rom our =
experience, administrators find it natural to go to the user's entry to =
see determine its configuration...  and to determine all such excluded =
entries, it's a simple search operation.

And we already have pwdAccountLockedTime which admins can use to lock an =
user from the user's entry.  It seems all the arguments against =
pwdExclude would apply to pwdAccountLockedTime and it's funky =
000001010000Z value.

Now, if others don't find pwdExclude generally useful, fine.  We'll keep =
it as a vendor-specific extension.

-- Kurt=

From jim@willeke.com  Fri Jul  9 06:11:41 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 5F9033A6A68 for <ldapext@core3.amsl.com>; Fri,  9 Jul 2010 06:11:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
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 4Sv-7lVMo5Vy for <ldapext@core3.amsl.com>; Fri,  9 Jul 2010 06:11:39 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id 233D73A6A4E for <ldapext@ietf.org>; Fri,  9 Jul 2010 06:11:38 -0700 (PDT)
Received: by mail-gy0-f172.google.com with SMTP id 3so1253885gyh.31 for <ldapext@ietf.org>; Fri, 09 Jul 2010 06:11:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.164.17 with SMTP id m17mr1817676ybe.272.1278681102992;  Fri, 09 Jul 2010 06:11:42 -0700 (PDT)
Received: by 10.150.51.20 with HTTP; Fri, 9 Jul 2010 06:11:42 -0700 (PDT)
In-Reply-To: <4C35806E.8050306@stroeder.com>
References: <77215DBF-C6F8-48FF-B5E9-7F57D0720145@Isode.com> <4C3256B6.5030001@highlandsun.com> <57B2AC4C-1BCE-4CF1-AF8D-68116B7364DD@Isode.com> <4C35806E.8050306@stroeder.com>
Date: Fri, 9 Jul 2010 09:11:42 -0400
Message-ID: <AANLkTinp7RNUtanSaAzEzB_QGupgDFCahtmZySp40_rx@mail.gmail.com>
From: Jim Willeke <jim@willeke.com>
To: ldapext <ldapext@ietf.org>
Content-Type: multipart/alternative; boundary=000e0cd56fa6ecc6ec048af4246b
Subject: Re: [ldapext] password policy: multiple subentries, multiple password 	attributes, ....
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: Fri, 09 Jul 2010 13:11:41 -0000

--000e0cd56fa6ecc6ec048af4246b
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

-jim
Jim Willeke


2010/7/8 Michael Str=F6der <michael@stroeder.com>

> Kurt Zeilenga wrote:
> > The introduction of 5.3.1 attribute type options was discussed back in
> > Nov/Dec 2002.  It seems clear to me that the intent was to support
> separate
> > directory application (userPassword) passwords from directory-enabled
> > service applications (webPassword, emailPassword, etc.).
>
> Which was already a broken concept back then.
>
Perhaps a vendor option?

>
> > Personally, I'd prefer to restrict the design of this specification to
> one
> > password per user
>
> +1
>
+1 more.

>
> Ciao, Michael.
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www.ietf.org/mailman/listinfo/ldapext
>

--000e0cd56fa6ecc6ec048af4246b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br clear=3D"all"><br>-jim<br>Jim Willeke<br>
<br><br><div class=3D"gmail_quote">2010/7/8 Michael Str=F6der <span dir=3D"=
ltr">&lt;<a href=3D"mailto:michael@stroeder.com">michael@stroeder.com</a>&g=
t;</span><br><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt=
 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class=3D"im">Kurt Zeilenga wrote:<br>
&gt; The introduction of 5.3.1 attribute type options was discussed back in=
<br>
&gt; Nov/Dec 2002. =A0It seems clear to me that the intent was to support s=
eparate<br>
&gt; directory application (userPassword) passwords from directory-enabled<=
br>
&gt; service applications (webPassword, emailPassword, etc.).<br>
<br>
</div>Which was already a broken concept back then.<br></blockquote><div>Pe=
rhaps a vendor option? <br></div><blockquote class=3D"gmail_quote" style=3D=
"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padd=
ing-left: 1ex;">

<div class=3D"im"><br>
&gt; Personally, I&#39;d prefer to restrict the design of this specificatio=
n to one<br>
&gt; password per user<br>
<br>
</div>+1<br></blockquote><div>+1 more. <br></div><blockquote class=3D"gmail=
_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204,=
 204, 204); padding-left: 1ex;">
<br>
Ciao, Michael.<br>
<div><div></div><div class=3D"h5">_________________________________________=
______<br>
Ldapext mailing list<br>
<a href=3D"mailto:Ldapext@ietf.org">Ldapext@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ldapext" target=3D"_blank"=
>https://www.ietf.org/mailman/listinfo/ldapext</a><br>
</div></div></blockquote></div><br>

--000e0cd56fa6ecc6ec048af4246b--

From pluta@tum.de  Tue Jul 20 04:04:21 2010
Return-Path: <pluta@tum.de>
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 4FE6F3A6823 for <ldapext@core3.amsl.com>; Tue, 20 Jul 2010 04:04:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 ve6U16+u7BIR for <ldapext@core3.amsl.com>; Tue, 20 Jul 2010 04:04:20 -0700 (PDT)
Received: from rs2.shuttle.de (rs2.shuttle.de [194.95.249.4]) by core3.amsl.com (Postfix) with ESMTP id C8FF43A6407 for <ldapext@ietf.org>; Tue, 20 Jul 2010 04:04:18 -0700 (PDT)
Received: by rs2.shuttle.de (Postfix, from userid 10) id AB94758015; Tue, 20 Jul 2010 13:04:31 +0200 (CEST)
Received: from [172.16.113.1] ([172.16.113.1]) by riviera.mos.sf.home (8.14.0/8.14.0) with ESMTP id o6KB2Aj4001471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ldapext@ietf.org>; Tue, 20 Jul 2010 13:02:11 +0200
Message-ID: <4C458226.4080506@tum.de>
Date: Tue, 20 Jul 2010 13:01:58 +0200
From: Daniel Pluta <pluta@tum.de>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: IETF LDAPext <ldapext@ietf.org>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [ldapext] General impact of ldap server side current time matching
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, 20 Jul 2010 11:04:21 -0000

Dear ldapex[t|perts],

thanks to the received feedback our draft related to "ldap server side 
current time matching" has been recently updated to version 1: 
http://www.ietf.org/id/draft-pluta-ldap-srv-side-current-time-match-01.txt
As a result of the previous technical discussions the document is 
currently focused on LDAP protocol specific implementation details like 
for example the syntaxes (current time and duration) and the various 
extensible matching rules.

As the feedback in regard to the general idea (ldap server side current 
time matching) has been quite small we would like to take the 
opportunity to restart the discussion into a more general direction.

We are interested in your (also non-technical) opinions and visions 
regarding this kind of LDAP protocol feature. Advanced usage scenarios 
based on current time matching operations are therefore also of 
interest. Where else and how do these matching rules could have an 
impact, e.g. on your environment, development or related future 
concepts? In the following you find a short (and surely incomplete) list 
of topics that are in our opinion (at least partly) related to current 
time matching:

- ldap password policy's password expiration[Time|Duration], 
draft-behera-ldap-password-policy
- Component Matching (Certificate timestamps?)
- DSA-internal KDC data store; draft-chu-ldap-kdc-schema (eg. 
principalNotUsed[Before|After]?)
- DSA-internal CA (mentioned at kerberos 2009 by H. Chu)
- ...

Your feedback is highly appreciated - thanks a lot!

Best regards,
Daniel
