ipaserver: Fix NameError: name 'api_Backend_ldap2_connect' is not defined

ipaserver_setup_adtrust was using api_Backend_ldap2_connect instead of
api_Backend_ldap2 with attribute connect set to True.

Fixes issue #39
This commit is contained in:
Thomas Woerner
2018-11-22 15:39:41 +01:00
parent cd96c8a07c
commit 6910d99fc9

View File

@@ -73,7 +73,7 @@ def main():
fstore = sysrestore.FileStore(paths.SYSRESTORE)
sstore = sysrestore.StateFile(paths.SYSRESTORE)
api_Backend_ldap2_connect(options.host_name, options.setup_ca)
api_Backend_ldap2(options.host_name, options.setup_ca, connect=True)
# setup ds ######################################################