diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-05-30 11:28:52 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-05-30 11:28:52 +0100 |
commit | fc0513b603e4e0c64cafd1e6b70f73f9096c5ad3 (patch) | |
tree | 667289e55da8fcca16702f3dae01aed76692f273 | |
parent | 38793dbd91a0679cd581b04ca0d1bbc48f4b268d (diff) | |
download | pykolab-fc0513b603e4e0c64cafd1e6b70f73f9096c5ad3.tar.gz |
If the default quota is not set, a user may still be subject to quota
-rw-r--r-- | pykolab/auth/ldap/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |