2 commits - pykolab/auth

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Thu May 30 12:29:27 CEST 2013


 pykolab/auth/ldap/__init__.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4530feff0597df2316df2a7f9cbf86b2855b4cb1
Merge: fc0513b ad24c65
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Thu May 30 11:29:22 2013 +0100

    Merge branch 'master' of ssh://git.kolabsys.com/git/pykolab



commit fc0513b603e4e0c64cafd1e6b70f73f9096c5ad3
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Thu May 30 11:28:52 2013 +0100

    If the default quota is not set, a user may still be subject to quota

diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index a6a1044..3101217 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -898,8 +898,9 @@ class LDAP(pykolab.base.Base):
         if quota_attribute == None:
             return
 
+        # The default quota may be None, but LDAP quota could still be set
         if default_quota == None:
-            return
+            default_quota = 0
 
         self._bind()
 





More information about the commits mailing list