mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-12 16:32:01 -05:00
Don't download the schema in ipadiscovery
This commit is contained in:
1 parent
cf4b52111d
commit
63407ed477
1 file changed
+3
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user