diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2015-07-31 16:22:13 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-10-15 14:24:33 +0200 |
commit | 834b5fd513d799bb9fe2cbc29417ff8ec7357033 (patch) | |
tree | 2a5fe874fc90fe0c5d12177024f8d0043fbb027d /ipalib/constants.py | |
parent | fff31ca220311421f1ac8cef0888aaa892e97584 (diff) | |
download | freeipa-834b5fd513d799bb9fe2cbc29417ff8ec7357033.tar.gz freeipa-834b5fd513d799bb9fe2cbc29417ff8ec7357033.tar.xz freeipa-834b5fd513d799bb9fe2cbc29417ff8ec7357033.zip |
enable topology plugin on upgrade
Reviewed-by: Simo Sorce <simo@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r-- | ipalib/constants.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py index d46a589b4..b3642bc85 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -236,3 +236,21 @@ SID_ANCHOR_PREFIX = ':SID:' MIN_DOMAIN_LEVEL = 0 MAX_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') |