diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2014-02-12 14:32:12 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2014-02-12 14:32:12 +0100 |
commit | 78bbd216e3b7c2d2338450a4cc332f79fc751deb (patch) | |
tree | ebfe2d91a6f2a928ea462bc76e74a7df0336ee26 | |
parent | 14ef739a27fa305d159ad04990842e2638a832e9 (diff) | |
download | pykolab-78bbd216e3b7c2d2338450a4cc332f79fc751deb.tar.gz |
Replace get_user_attribute call with the appropriate get_entry_attribute call
-rw-r--r-- | pykolab/auth/ldap/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py index 1ba0f3d..e7c4dd2 100644 --- a/pykolab/auth/ldap/__init__.py +++ b/pykolab/auth/ldap/__init__.py @@ -1163,7 +1163,7 @@ class LDAP(pykolab.base.Base): foldertype_attribute = self.config_get('sharedfolder_type_attribute') if not foldertype_attribute == None: if not entry.has_key(foldertype_attribute): - entry[foldertype_attribute] = self.get_user_attribute( + entry[foldertype_attribute] = self.get_entry_attribute( entry['id'], foldertype_attribute ) @@ -1532,7 +1532,7 @@ class LDAP(pykolab.base.Base): foldertype_attribute = self.config_get('sharedfolder_type_attribute') if not foldertype_attribute == None: if not entry.has_key(foldertype_attribute): - entry[foldertype_attribute] = self.get_user_attribute( + entry[foldertype_attribute] = self.get_entry_attribute( entry['id'], foldertype_attribute ) |