--- a/server/sources/ldapuser.py Thu Feb 26 13:12:39 2009 +0100
+++ b/server/sources/ldapuser.py Thu Feb 26 13:31:13 2009 +0100
@@ -632,7 +632,10 @@
filter = '(%s%s)' % (self._ldap_attrs[relation.r_type],
rhs.accept(self))
except KeyError:
- assert relation.r_type == 'password' # 2.38 migration
+ # unsupported attribute
+ self.source.warning('%s source can\'t handle relation %s, no '
+ 'results will be returned from this source',
+ self.source.uri, relation)
raise UnknownEid # trick to return no result
return filter