[tryton-debian-vcs] tryton-modules-ldap-authentication branch upstream-3.0 updated. upstream/3.0.0-1-g98a7ae3
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 12 13:52:34 UTC 2014
The following commit has been merged in the upstream-3.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-ldap-authentication.git;a=commitdiff;h=upstream/3.0.0-1-g98a7ae3
commit 98a7ae305ae4ef9df5622500852a602235704461
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Nov 12 13:39:11 2014 +0100
Adding upstream version 3.0.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index b661834..10d2538 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.1 - 2014-11-06
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.0 - 2013-10-21
* 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 961beed..2ecc0db 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_ldap_authentication
-Version: 3.0.0
+Version: 3.0.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 a9131c8..5f7e7c8 100644
--- a/res.py
+++ b/res.py
@@ -119,13 +119,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 1f8c8ad..9e8bfa7 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.0
+version=3.0.1
depends:
ir
ldap_connection
diff --git a/trytond_ldap_authentication.egg-info/PKG-INFO b/trytond_ldap_authentication.egg-info/PKG-INFO
index ad11540..96c31cb 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: 3.0.0
+Version: 3.0.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 f366a96..52f0210 100644
--- a/trytond_ldap_authentication.egg-info/SOURCES.txt
+++ b/trytond_ldap_authentication.egg-info/SOURCES.txt
@@ -9,9 +9,23 @@ 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
+./locale/sl_SI.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