c8cd81
From 1aa39529cda4ab9620539dbad705cedd23c21b42 Mon Sep 17 00:00:00 2001
c8cd81
From: Rob Crittenden <rcritten@redhat.com>
c8cd81
Date: Thu, 18 Aug 2022 08:21:58 -0400
c8cd81
Subject: [PATCH] doc: Update LDAP grace period design with default values
c8cd81
c8cd81
New group password policies will get -1 (unlimited) on creation
c8cd81
by default.
c8cd81
c8cd81
Existing group password policies will remain untouched and
c8cd81
those created prior will be treated as no BIND allowed.
c8cd81
c8cd81
Fixes: https://pagure.io/freeipa/issue/9212
c8cd81
c8cd81
Signed-off-by: Rob Crittenden <rcritten@redhat.com>
c8cd81
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
c8cd81
---
c8cd81
 doc/designs/ldap_grace_period.md | 17 ++++++++++++++++-
c8cd81
 1 file changed, 16 insertions(+), 1 deletion(-)
c8cd81
c8cd81
diff --git a/doc/designs/ldap_grace_period.md b/doc/designs/ldap_grace_period.md
c8cd81
index 4b9db34247c1446aec3f5bcce7dfa1bd8a2bd359..e26aedda976b19f3ba26593ba3b3c06c30506a21 100644
c8cd81
--- a/doc/designs/ldap_grace_period.md
c8cd81
+++ b/doc/designs/ldap_grace_period.md
c8cd81
@@ -51,7 +51,22 @@ The basic flow is:
c8cd81
 
c8cd81
 On successful password reset (by anyone) reset the user's passwordGraceUserTime to 0.
c8cd81
 
c8cd81
-The default value on install/upgrade will be -1 to retail existing behavior.
c8cd81
+Range values for passwordgracelimit are:
c8cd81
+
c8cd81
+-1 : password grace checking is disabled
c8cd81
+ 0 : no grace BIND are allowed at all post-expiration
c8cd81
+ 1..MAXINT: the number of BIND allowed post-expiration
c8cd81
+
c8cd81
+The default value for the global policy on install/upgrade will be -1 to
c8cd81
+retain existing behavior.
c8cd81
+
c8cd81
+New group password policies will default to -1 to retain previous
c8cd81
+behavior.
c8cd81
+
c8cd81
+Existing group policies with no grace limit set are updated to use
c8cd81
+the default unlimited value, -1. This is done because lack of value in
c8cd81
+LDAP is treated as 0 so any existing group policies would not allow
c8cd81
+post-expiration BIND so this will avoid confusion.
c8cd81
 
c8cd81
 The per-user attempts will not be replicated.
c8cd81
 
c8cd81
-- 
c8cd81
2.37.2
c8cd81