summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-csreplica-manage4
-rwxr-xr-xinstall/tools/ipa-replica-install2
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")