[sysadmin-bin] Not using glu with export-mail
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Not using glu with export-mail
- Date: Tue, 27 Aug 2019 10:30:21 +0000 (UTC)
commit 648ef3371d5900d204a1af8d752a07a0df6928e6
Author: Andrea Veri <averi redhat com>
Date: Tue Aug 27 12:30:20 2019 +0200
Not using glu with export-mail
mail/export-mail.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mail/export-mail.py b/mail/export-mail.py
index 3280218..ef5fd35 100755
--- a/mail/export-mail.py
+++ b/mail/export-mail.py
@@ -65,7 +65,7 @@ if __name__ == '__main__':
try:
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, LDAP_CA_PATH)
- l = ldap.initialize(LDAP_HOST)
+ l = ldap.initialize('ldaps://%s:636' % LDAP_HOST)
l.simple_bind_s(LDAP_USER, LDAP_PASSWORD)
except ldap.LDAPError, e:
print >>sys.stderr, e
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]