summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ldapupdate.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-03-17 16:11:48 +0100
committerPetr Vobornik <pvoborni@redhat.com>2015-04-14 19:25:47 +0200
commit13c4631813b7e8ac4afc8d5f350ef136c7107d89 (patch)
tree1131128a954c1a8f82c5996d15b2d8b3223e9e0c /ipaserver/install/ldapupdate.py
parente537fd202e23a507dd0c43d2dfdf88fd6921e183 (diff)
downloadfreeipa-13c4631813b7e8ac4afc8d5f350ef136c7107d89.tar.gz
freeipa-13c4631813b7e8ac4afc8d5f350ef136c7107d89.tar.xz
freeipa-13c4631813b7e8ac4afc8d5f350ef136c7107d89.zip
Server Upgrade: use only LDAPI connection
Use only ldapi connection to execute upgrade https://fedorahosted.org/freeipa/ticket/4904 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaserver/install/ldapupdate.py')
-rw-r--r--ipaserver/install/ldapupdate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py
index 199b23ba8..077de3bd6 100644
--- a/ipaserver/install/ldapupdate.py
+++ b/ipaserver/install/ldapupdate.py
@@ -112,7 +112,7 @@ def safe_output(attr, values):
class LDAPUpdate:
action_keywords = ["default", "add", "remove", "only", "onlyifexist", "deleteentry", "replace", "addifnew", "addifexist"]
- def __init__(self, dm_password, sub_dict={},
+ def __init__(self, dm_password=None, sub_dict={},
online=True, ldapi=False, plugins=False):
'''
:parameters: