equal
deleted
inserted
replaced
30 |
30 |
31 class DataFeedLDAPAdapter(datafeed.DataFeedParser): |
31 class DataFeedLDAPAdapter(datafeed.DataFeedParser): |
32 __regid__ = 'ldapfeed' |
32 __regid__ = 'ldapfeed' |
33 # attributes that may appears in source user_attrs dict which are not |
33 # attributes that may appears in source user_attrs dict which are not |
34 # attributes of the cw user |
34 # attributes of the cw user |
35 non_attribute_keys = set(('email', 'eid')) |
35 non_attribute_keys = set(('email', 'eid', 'member', 'modification_date')) |
36 |
36 |
37 @cachedproperty |
37 @cachedproperty |
38 def searchfilterstr(self): |
38 def searchfilterstr(self): |
39 """ ldap search string, including user-filter """ |
39 """ ldap search string, including user-filter """ |
40 return '(&%s)' % ''.join(self.source.base_filters) |
40 return '(&%s)' % ''.join(self.source.base_filters) |