diff options
author | Tomas Krizek <tkrizek@redhat.com> | 2016-10-27 15:47:08 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-11-07 11:34:03 +0100 |
commit | 1240262a0b01ff8408c06058d6d4d61fc5cde548 (patch) | |
tree | 7baf1359ef73a66fc7c74ad6ccbc7b245f50c0c5 /install/tools | |
parent | 03d113cdd7c5f943d8937eb4fec1086bfe47e909 (diff) | |
download | freeipa-1240262a0b01ff8408c06058d6d4d61fc5cde548.tar.gz freeipa-1240262a0b01ff8408c06058d6d4d61fc5cde548.tar.xz freeipa-1240262a0b01ff8408c06058d6d4d61fc5cde548.zip |
ipa-adtrust-install: ldap conn management
Properly close ldap connection.
https://fedorahosted.org/freeipa/ticket/6461
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install/tools')
-rwxr-xr-x | install/tools/ipa-adtrust-install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install index 378627da8..8eed5191a 100755 --- a/install/tools/ipa-adtrust-install +++ b/install/tools/ipa-adtrust-install @@ -509,6 +509,8 @@ WARNING: you MUST re-kinit admin user before using 'ipa trust-*' commands family in order to re-generate Kerberos tickets to include AD-specific information""") + api.Backend.ldap2.disconnect() + return 0 if __name__ == '__main__': |