[tryton-debian-vcs] tryton-modules-ldap-authentication branch upstream-2.8 updated. upstream/2.8.0-1-g8cc316c
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Dec 4 21:42:25 UTC 2014
The following commit has been merged in the upstream-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-ldap-authentication.git;a=commitdiff;h=upstream/2.8.0-1-g8cc316c
commit 8cc316c0f589e4f4620df81552d07d737ef4a14a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Dec 4 19:09:21 2014 +0100
Adding upstream version 2.8.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 831ac3d..9e4cb05 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.1 - 2014-11-06
+* Bug fixes (see mercurial logs for details)
+
Version 2.8.0 - 2013-04-22
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 86ba1bd..c7afa3f 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2006-2013 Cédric Krier.
+Copyright (C) 2006-2014 Cédric Krier.
Copyright (C) 2009-2012 Bertrand Chenal.
-Copyright (C) 2009-2013 B2CK SPRL.
+Copyright (C) 2009-2014 B2CK SPRL.
Copyright (C) 2008-2012 Udo Spallek.
Copyright (C) 2008-2011 virtual things.
diff --git a/PKG-INFO b/PKG-INFO
index d30bcae..41d1f80 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_ldap_authentication
-Version: 2.8.0
+Version: 2.8.1
Summary: Tryton module to authenticate users through LDAP
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/res.py b/res.py
index bb196b2..c0780f6 100644
--- a/res.py
+++ b/res.py
@@ -117,13 +117,14 @@ class User:
with Transaction().set_user(0):
connection, = Connection.search([], limit=1)
try:
- con = ldap.initialize(connection.uri)
+ con = ldap.initialize(connection.uri or '')
if connection.active_directory:
con.set_option(ldap.OPT_REFERRALS, 0)
if connection.secure == 'tls':
con.start_tls_s()
if connection.bind_dn:
- con.simple_bind_s(connection.bind_dn, connection.bind_pass)
+ con.simple_bind_s(connection.bind_dn or '',
+ connection.bind_pass or '')
[(dn, attrs)] = cls.ldap_search_user(login, con, connection,
attrs=[str(connection.auth_uid)])
if password and con.simple_bind_s(dn, password):
diff --git a/tryton.cfg b/tryton.cfg
index faf13d5..43a2b72 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=2.8.0
+version=2.8.1
depends:
ir
ldap_connection
diff --git a/trytond_ldap_authentication.egg-info/PKG-INFO b/trytond_ldap_authentication.egg-info/PKG-INFO
index 751999d..e8098e4 100644
--- a/trytond_ldap_authentication.egg-info/PKG-INFO
+++ b/trytond_ldap_authentication.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-ldap-authentication
-Version: 2.8.0
+Version: 2.8.1
Summary: Tryton module to authenticate users through LDAP
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_ldap_authentication.egg-info/SOURCES.txt b/trytond_ldap_authentication.egg-info/SOURCES.txt
index a54a7ad..18fa48b 100644
--- a/trytond_ldap_authentication.egg-info/SOURCES.txt
+++ b/trytond_ldap_authentication.egg-info/SOURCES.txt
@@ -9,9 +9,22 @@ setup.py
tryton.cfg
./__init__.py
./connection.py
+./connection.xml
./res.py
+./tryton.cfg
+./locale/bg_BG.po
+./locale/ca_ES.po
+./locale/cs_CZ.po
+./locale/de_DE.po
+./locale/es_AR.po
+./locale/es_CO.po
+./locale/es_ES.po
+./locale/fr_FR.po
+./locale/nl_NL.po
+./locale/ru_RU.po
./tests/__init__.py
./tests/test_ldap_authentication.py
+./view/connection_form.xml
locale/bg_BG.po
locale/ca_ES.po
locale/cs_CZ.po
--
tryton-modules-ldap-authentication
More information about the tryton-debian-vcs
mailing list