pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0025-Set-KDC-Disable-Last-Success-by-default.patch

483b06
From ac3c0d46d947c59aa25f4c9268ef17023c87b4b2 Mon Sep 17 00:00:00 2001
483b06
From: Martin Basti <mbasti@redhat.com>
483b06
Date: Wed, 22 Mar 2017 17:47:04 +0100
483b06
Subject: [PATCH] Set "KDC:Disable Last Success" by default
483b06
483b06
In big deployments enabled recording of the last sucesfull login
483b06
this creates a huge changelog on DS side and cause performance
483b06
issues even if this is excluded from replication.
483b06
483b06
Actually this is not used directly by FreeIPA so it is safe to remove
483b06
in new installations. User who need this must manually remove
483b06
"KDC:Disable Last Success" using `ipa config-mod` command or WebUI.
483b06
483b06
https://pagure.io/freeipa/issue/5313
483b06
483b06
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
483b06
---
483b06
 install/share/bootstrap-template.ldif | 1 +
483b06
 1 file changed, 1 insertion(+)
483b06
483b06
diff --git a/install/share/bootstrap-template.ldif b/install/share/bootstrap-template.ldif
483b06
index da12ddf0ca887e8305402048ceed5d5b28816164..ea1e5b222e7af5ed7c5d80bbaf9282735e425e18 100644
483b06
--- a/install/share/bootstrap-template.ldif
483b06
+++ b/install/share/bootstrap-template.ldif
483b06
@@ -410,6 +410,7 @@ ipaUserObjectClasses: ipasshuser
483b06
 ipaDefaultEmailDomain: $DOMAIN
483b06
 ipaMigrationEnabled: FALSE
483b06
 ipaConfigString: AllowNThash
483b06
+ipaConfigString: KDC:Disable Last Success
483b06
 ipaSELinuxUserMapOrder: guest_u:s0$$xguest_u:s0$$user_u:s0$$staff_u:s0-s0:c0.c1023$$unconfined_u:s0-s0:c0.c1023
483b06
 ipaSELinuxUserMapDefault: unconfined_u:s0-s0:c0.c1023
483b06
 
483b06
-- 
483b06
2.12.1
483b06