sobjects/ldapparser.py
changeset 8409 79534887943e
parent 8400 0ae27909e45b
child 8427 63c4c65e4db1
equal deleted inserted replaced
8408:41461b2e9854 8409:79534887943e
    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):