summaryrefslogtreecommitdiffstats
path: root/ipatests/test_install
diff options
context:
space:
mode:
authorTomas Krizek <tkrizek@redhat.com>2016-10-05 17:42:32 +0200
committerMartin Basti <mbasti@redhat.com>2016-11-07 11:34:03 +0100
commitde58a5c60596de8b45c8016c3318bac78305477a (patch)
tree80ea270b7dd694ab2ecd6404526e156858758260 /ipatests/test_install
parent5760b7e983da6bda8f5383d9079551e4acb4c2da (diff)
downloadfreeipa-de58a5c60596de8b45c8016c3318bac78305477a.tar.gz
freeipa-de58a5c60596de8b45c8016c3318bac78305477a.tar.xz
freeipa-de58a5c60596de8b45c8016c3318bac78305477a.zip
ipaldap: merge simple_bind into LDAPClient
* Use LDAPClient.simple_bind instead of extra call to IPAdmin.do_simple_bind * Rename binddn to bind_dn * Rename bindpw to bind_password * Explicitly specify bind_dn in all calls https://fedorahosted.org/freeipa/ticket/6461 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipatests/test_install')
-rw-r--r--ipatests/test_install/test_updates.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipatests/test_install/test_updates.py b/ipatests/test_install/test_updates.py
index 4053d3547..553788d2a 100644
--- a/ipatests/test_install/test_updates.py
+++ b/ipatests/test_install/test_updates.py
@@ -64,7 +64,8 @@ class test_update(unittest.TestCase):
raise nose.SkipTest("No directory manager password")
self.updater = LDAPUpdate(dm_password=self.dm_password, sub_dict={})
self.ld = ipaldap.IPAdmin(fqdn)
- self.ld.do_simple_bind(bindpw=self.dm_password)
+ self.ld.simple_bind(bind_dn=ipaldap.DIRMAN_DN,
+ bind_password=self.dm_password)
self.testdir = os.path.abspath(os.path.dirname(__file__))
if not ipautil.file_exists(os.path.join(self.testdir,
"0_reset.update")):