[tryton-debian-vcs] tryton-modules-ldap-authentication branch upstream-2.2 created. cb067d5d0bd5811d58d59334ef24eaf67eb21d04
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:02:52 UTC 2013
The following commit has been merged in the upstream-2.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-ldap-authentication.git;a=commitdiff;h=cb067d5d0bd5811d58d59334ef24eaf67eb21d04
commit cb067d5d0bd5811d58d59334ef24eaf67eb21d04
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed May 9 12:01:16 2012 +0200
Adding upstream version 2.2.1.
diff --git a/CHANGELOG b/CHANGELOG
index f989c92..bd6436a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,8 @@
+Version 2.2.1 - 2012-05-07
+* Bug fixes (see mercurial logs for details)
+
+* Always check if a password is not empty to avoid unauthenticated bind.
+
Version 2.2.0 - 2011-10-24
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index c81459d..8cc7645 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,8 +1,8 @@
Copyright (C) 2006-2011 Cédric Krier.
Copyright (C) 2009-2011 Bertrand Chenal.
Copyright (C) 2009-2011 B2CK SPRL.
-Copyright (C) 2008-2011 Udo Spallek.
-Copyright (C) 2008-2011 virtual things.
+Copyright (C) 2008-2012 Udo Spallek.
+Copyright (C) 2008-2012 virtual things.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 9905c08..1af1077 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: trytond_ldap_authentication
-Version: 2.2.0
+Version: 2.2.1
Summary: Authenticate users with LDAP server.
Home-page: http://www.tryton.org/
Author: B2CK, Josh Dukes & Udo Spallek
diff --git a/__tryton__.py b/__tryton__.py
index f1e2a7d..1e54ff9 100644
--- a/__tryton__.py
+++ b/__tryton__.py
@@ -7,7 +7,7 @@
'name_es_CO': 'Autentificación LDAP',
'name_es_ES': 'Autentificación LDAP',
'name_fr_FR': 'Authentification LDAP',
- 'version': '2.2.0',
+ 'version': '2.2.1',
'author': 'B2CK, Josh Dukes & Udo Spallek',
'email': 'info at b2ck.com',
'website': 'http://www.tryton.org/',
diff --git a/res.py b/res.py
index d34e93e..65b07f2 100644
--- a/res.py
+++ b/res.py
@@ -124,7 +124,7 @@ class User(ModelSQL, ModelView):
con.simple_bind_s(connection.bind_dn, connection.bind_pass)
[(dn, attrs)] = self.ldap_search_user(login, con, connection,
attrs=[str(connection.auth_uid)])
- if con.simple_bind_s(dn, password):
+ if password and con.simple_bind_s(dn, password):
user_id, _, _ = self._get_login(login)
if user_id:
return user_id
diff --git a/trytond_ldap_authentication.egg-info/PKG-INFO b/trytond_ldap_authentication.egg-info/PKG-INFO
index 363f61f..7113655 100644
--- a/trytond_ldap_authentication.egg-info/PKG-INFO
+++ b/trytond_ldap_authentication.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: trytond-ldap-authentication
-Version: 2.2.0
+Version: 2.2.1
Summary: Authenticate users with LDAP server.
Home-page: http://www.tryton.org/
Author: B2CK, Josh Dukes & Udo Spallek
--
tryton-modules-ldap-authentication
More information about the tryton-debian-vcs
mailing list