From 2d5e6935140c92b4faf0e2866c8f80f6a53c73d9 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 2 May 2022 11:51:47 -0400 Subject: [PATCH] Remove the replicated attribute constants These pre-existed in ipaserver/install/replication.py. The constants were only originally used in ldapupdate.py but have subsequently been switched to the replication.py versions so they are not used anywhere in the code. https://pagure.io/freeipa/issue/1539 Signed-off-by: Rob Crittenden Reviewed-By: Alexander Bokovoy --- ipalib/constants.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ipalib/constants.py b/ipalib/constants.py index 0cabe3628..78073e005 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -292,24 +292,6 @@ DOMAIN_LEVEL_1 = 1 # replica promotion, topology plugin MIN_DOMAIN_LEVEL = DOMAIN_LEVEL_1 MAX_DOMAIN_LEVEL = DOMAIN_LEVEL_1 -# Constants used in generation of replication agreements and as topology -# defaults - -# List of attributes that need to be excluded from replication initialization. -REPL_AGMT_TOTAL_EXCLUDES = ('entryusn', - 'krblastsuccessfulauth', - 'krblastfailedauth', - 'krbloginfailedcount') - -# List of attributes that need to be excluded from normal replication. -REPL_AGMT_EXCLUDES = ('memberof', 'idnssoaserial') + REPL_AGMT_TOTAL_EXCLUDES - -# List of attributes that are not updated on empty replication -REPL_AGMT_STRIP_ATTRS = ('modifiersName', - 'modifyTimestamp', - 'internalModifiersName', - 'internalModifyTimestamp') - DOMAIN_SUFFIX_NAME = 'domain' CA_SUFFIX_NAME = 'ca' PKI_GSSAPI_SERVICE_NAME = 'dogtag'