ipaldap: merge external_bind into LDAPClient

* Rename do_external_bind to external_bind
* Remove user_name argument in  external_bind() and always set it
    to effective user name

https://fedorahosted.org/freeipa/ticket/6461

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Tomas Krizek authored and Martin Basti committed 2016-11-07 11:34:03 +01:00
1 parent de58a5c605
commit 60e38ecc7f
10 files changed
+15 -25

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ def get_config(dirsrv):
(host, port) = lurl.hostport.split(':')
wait_for_open_ports(host, [int(port)], timeout=api.env.startup_timeout)
con = IPAdmin(ldap_uri=api.env.ldap_uri)
con.do_external_bind()
con.external_bind()
res = con.get_entries(
base,
filter=srcfilter,