dataflake.org

Home Documentation Software Old Stuff Bug Reporting

Add Entry to: getUserNames() error with too many users (Resolved)

Issue getUserNames() error with too many users (bug report)
Posted 2005/07/04 by P.-J. Grizel
The getUserNames() method raises KeyError, "uid" when there are too many users. The pb is in the getUserNames() method : loginlist = self.getAttributesOfAllObjects( self.users_base, ldap_scopes[self.users_scope], user_filter, (self._login_attr,))[self._login_attr] If the getAttributesOfAllObjects() method returns a dict WITHOUT the login attribute (and this is the case when there are too many users), this method raises. I think it should silently return an empty list instead. The pb stands in other methods relying on getAttributesOfAllObjects().


Full name
Email address