equal
deleted
inserted
replaced
33 __regid__ = 'ldapfeed' |
33 __regid__ = 'ldapfeed' |
34 # attributes that may appears in source user_attrs dict which are not |
34 # attributes that may appears in source user_attrs dict which are not |
35 # attributes of the cw user |
35 # attributes of the cw user |
36 non_attribute_keys = set(('email',)) |
36 non_attribute_keys = set(('email',)) |
37 |
37 |
38 def process(self, url, partialcommit=True): |
38 def process(self, url, raise_on_error=False): |
39 """IDataFeedParser main entry point""" |
39 """IDataFeedParser main entry point""" |
40 source = self.source |
40 source = self.source |
41 searchstr = '(&%s)' % ''.join(source.base_filters) |
41 searchstr = '(&%s)' % ''.join(source.base_filters) |
42 for userdict in source._search(self._cw, source.user_base_dn, |
42 for userdict in source._search(self._cw, source.user_base_dn, |
43 source.user_base_scope, searchstr): |
43 source.user_base_scope, searchstr): |