From 56e4f33ce630a6a310518f25b67d46fb31f7919e Mon Sep 17 00:00:00 2001 From: Anuja More Date: Mon, 13 Dec 2021 17:37:05 +0530 Subject: [PATCH] ipatests: Test default value of nsslapd-sizelimit. related : https://pagure.io/freeipa/issue/8962 Signed-off-by: Anuja More Reviewed-By: Florence Blanc-Renaud --- ipatests/test_integration/test_installation.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py index 95cfaad54..0947241ae 100644 --- a/ipatests/test_integration/test_installation.py +++ b/ipatests/test_integration/test_installation.py @@ -1067,6 +1067,19 @@ class TestInstallMaster(IntegrationTest): ) assert "nsslapd-db-locks" not in result.stdout_text + def test_nsslapd_sizelimit(self): + """ Test for default value of nsslapd-sizelimit. + + Related : https://pagure.io/freeipa/issue/8962 + """ + result = tasks.ldapsearch_dm( + self.master, + "cn=config", + ["nsslapd-sizelimit"], + scope="base" + ) + assert "nsslapd-sizelimit: 100000" in result.stdout_text + def test_admin_root_alias_CVE_2020_10747(self): # Test for CVE-2020-10747 fix # https://bugzilla.redhat.com/show_bug.cgi?id=1810160