mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Work around limits not being updatable in 389-ds.
The bug to fix updates, BZ 741744, isn't working. For the short term add the attributes we want to update to the REPLACE whitelist so rather than using an ADD and DEL operation it will use a REPLACE. https://fedorahosted.org/freeipa/ticket/1888
This commit is contained in:
@@ -505,7 +505,7 @@ class IPAdmin(SimpleLDAPObject):
|
||||
|
||||
# Some attributes, like those in cn=config, need to be replaced
|
||||
# not deleted/added.
|
||||
FORCE_REPLACE_ON_UPDATE_ATTRS = ('nsslapd-ssl-check-hostname',)
|
||||
FORCE_REPLACE_ON_UPDATE_ATTRS = ('nsslapd-ssl-check-hostname', 'nsslapd-lookthroughlimit', 'nsslapd-idlistscanlimit')
|
||||
modlist = []
|
||||
|
||||
old_entry = ipautil.CIDict(old_entry)
|
||||
|
||||
Reference in New Issue
Block a user