From 78bbd216e3b7c2d2338450a4cc332f79fc751deb Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Wed, 12 Feb 2014 14:32:12 +0100 Subject: Replace get_user_attribute call with the appropriate get_entry_attribute call --- pykolab/auth/ldap/__init__.py | 4 ++-- 1 file 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 ) -- cgit v1.1