summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-10-13 15:46:58 -0400
committerRob Crittenden <rcritten@redhat.com>2011-10-12 22:42:07 -0400
commit9a4fd254ff69bc34c6d14b2255d49c3297380231 (patch)
tree378025e34896e71282cc3edd8c3fcc0f835c16d5
parent9724251292e4c0797367fcc351a9f16f30c6aefe (diff)
downloadfreeipa-9a4fd254ff69bc34c6d14b2255d49c3297380231.tar.gz
freeipa-9a4fd254ff69bc34c6d14b2255d49c3297380231.tar.xz
freeipa-9a4fd254ff69bc34c6d14b2255d49c3297380231.zip
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
-rw-r--r--ipaserver/ipaldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/ipaldap.py b/ipaserver/ipaldap.py
index 5477417ac..74cfbfda9 100644
--- a/ipaserver/ipaldap.py
+++ b/ipaserver/ipaldap.py
@@ -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)