ipatests: Test default value of nsslapd-sizelimit.

related : https://pagure.io/freeipa/issue/8962

Signed-off-by: Anuja More <amore@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Anuja More 2021-12-13 17:37:05 +05:30 committed by Florence Blanc-Renaud
parent b5fd288991
commit 56e4f33ce6

View File

@ -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