diff options
Diffstat (limited to 'install')
-rwxr-xr-x | install/tools/ipa-csreplica-manage | 4 | ||||
-rwxr-xr-x | install/tools/ipa-replica-install | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/install/tools/ipa-csreplica-manage b/install/tools/ipa-csreplica-manage index bb557f485..c088bba1a 100755 --- a/install/tools/ipa-csreplica-manage +++ b/install/tools/ipa-csreplica-manage @@ -224,7 +224,7 @@ def list_replicas(realm, host, replica, dirman_passwd, verbose): except Exception, e: sys.exit("Failed to get data from '%s' while trying to list replicas: %s" % (host, convert_error(e))) finally: - conn.unbind_s() + conn.unbind() if not replica: for k, p in peers.iteritems(): @@ -395,7 +395,7 @@ def add_link(realm, replica1, replica2, dirman_passwd, options): dn = DN(('cn', 'CA'), ('cn', replica2), ('cn', 'masters'), ('cn', 'ipa'), ('cn', 'etc'), ipautil.realm_to_suffix(realm)) conn.get_entries(dn, ldap.SCOPE_ONELEVEL) - conn.unbind_s() + conn.unbind() except errors.NotFound: sys.exit('%s does not have a CA configured.' % replica2) except errors.NetworkError, e: diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index b09cbca43..13c32607a 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -616,7 +616,7 @@ def main(): if conn and conn.isconnected(): conn.disconnect() if replman and replman.conn: - replman.conn.unbind_s() + replman.conn.unbind() if options.skip_schema_check: root_logger.info("Skipping CA DS schema check") |