pykolab/auth
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Wed Jan 23 15:16:59 CET 2013
pykolab/auth/ldap/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3dcfe802ed1533d928828b70ad0cb8656b450e49
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed Jan 23 14:16:34 2013 +0000
Make sure that when aliases generated are compared to aliases existing, we compare accurately, not randomly
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index 9198219..39e9c89 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -767,7 +767,7 @@ class LDAP(pykolab.base.Base):
if isinstance(entry[secondary_mail_attribute], basestring):
entry[secondary_mail_attribute] = list(set([entry[secondary_mail_attribute]]))
- if not secondary_mail_addresses == entry[secondary_mail_attribute]:
+ if not list(set(secondary_mail_addresses)) == list(set(entry[secondary_mail_attribute])):
self.set_entry_attribute(
entry,
secondary_mail_attribute,
More information about the commits
mailing list