From de58a5c60596de8b45c8016c3318bac78305477a Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Wed, 5 Oct 2016 17:42:32 +0200 Subject: 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 Reviewed-By: Jan Cholasta --- ipatests/test_install/test_updates.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipatests/test_install') 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")): -- cgit