mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
Limit max age of replication changelog
Limit max age of replication changelog to seven days, instead of grow to unlimited size. https://fedorahosted.org/freeipa/ticket/5086 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
5137478fb8
commit
a4b1bb25c9
@ -27,3 +27,7 @@ default: objectclass: top
|
||||
default: objectclass: iparepltopoconf
|
||||
default: ipaReplTopoConfRoot: $SUFFIX
|
||||
default: cn: realm
|
||||
|
||||
# Set replication changelog limit (#5086)
|
||||
dn: cn=changelog5,cn=config
|
||||
addifnew: nsslapd-changelogmaxage: 7d
|
||||
|
@ -468,6 +468,7 @@ class ReplicationManager(object):
|
||||
'objectclass': ["top", "extensibleobject"],
|
||||
'cn': ["changelog5"],
|
||||
'nsslapd-changelogdir': [os.path.join(dbdir, "cldb")],
|
||||
'nsslapd-changelogmaxage': ['7d'],
|
||||
}
|
||||
)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user