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:45 -0400
commit411c303ae8a8eaa4076b36f641c363de98a97fcc (patch)
treecde73aeb7833ceeb6774e01db151d87683cc4c06
parent36c63ee8eb8ab4d12feb0402e2fa58ada8a211ef (diff)
downloadfreeipa-411c303ae8a8eaa4076b36f641c363de98a97fcc.tar.gz
freeipa-411c303ae8a8eaa4076b36f641c363de98a97fcc.tar.xz
freeipa-411c303ae8a8eaa4076b36f641c363de98a97fcc.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)