diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-03-08 13:34:13 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-13 12:36:34 +0100 |
commit | 63407ed477035765dda38fbead1353d4f47ac26a (patch) | |
tree | 17ef26999bcaeb705b5e97abb60c2299c6f23aed /ipa-client/ipaclient | |
parent | cf4b52111d384e8baa250aefe57f21ebda4dad7e (diff) | |
download | freeipa-63407ed477035765dda38fbead1353d4f47ac26a.tar.gz freeipa-63407ed477035765dda38fbead1353d4f47ac26a.tar.xz freeipa-63407ed477035765dda38fbead1353d4f47ac26a.zip |
Don't download the schema in ipadiscovery
Diffstat (limited to 'ipa-client/ipaclient')
-rw-r--r-- | ipa-client/ipaclient/ipadiscovery.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipa-client/ipaclient/ipadiscovery.py b/ipa-client/ipaclient/ipadiscovery.py index 2259b7de0..6ae9616de 100644 --- a/ipa-client/ipaclient/ipadiscovery.py +++ b/ipa-client/ipaclient/ipadiscovery.py @@ -330,9 +330,11 @@ class IPADiscovery(object): if ca_cert_path: lh = ipaldap.IPAdmin(thost, protocol='ldap', cacert=ca_cert_path, start_tls=True, + no_schema=True, decode_attrs=False, demand_cert=True) else: - lh = ipaldap.IPAdmin(thost, protocol='ldap') + lh = ipaldap.IPAdmin(thost, protocol='ldap', + no_schema=True, decode_attrs=False) try: lh.do_simple_bind(DN(), '') except errors.ACIError: |