[sysadmin-bin] Part of the ldapobject subclass
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Part of the ldapobject subclass
- Date: Tue, 11 May 2021 14:59:17 +0000 (UTC)
commit 3d1cf79e5a0b61c8ab3b3755732b9ff9d41fdb54
Author: Andrea Veri <averi redhat com>
Date: Tue May 11 16:59:09 2021 +0200
Part of the ldapobject subclass
gnome_ldap_utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome_ldap_utils.py b/gnome_ldap_utils.py
index 4b0974a..01c4b05 100755
--- a/gnome_ldap_utils.py
+++ b/gnome_ldap_utils.py
@@ -16,7 +16,7 @@ class Gnome_ldap_utils:
try:
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, self.LDAP_CA_PATH)
- self.conn = ldap.ReconnectLDAPObject("ldaps://%s:636" % self.LDAP_HOST)
+ self.conn = ldap.ldapobject.ReconnectLDAPObject("ldaps://%s:636" % self.LDAP_HOST)
self.conn.simple_bind_s(self.LDAP_USER, self.LDAP_PASSWORD)
except ldap.LDAPError as e:
print(e, file=sys.stderr)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]