| Request | LDAP User Folder -- bug report -- by P.-J. Grizel |
| Posted on | Jul 4, 2005 9:07 am |
| Subscribe |
| Resolve by Jens Vagelpohl on Jul 5, 2005 4:20 pm | |
|
Hi Pierre-Julien, Fixed in the just released 2.6beta1: http://www.dataflake.org/software/ldapuserfolder/ldapuserfolder_2.6beta1 jens |
|
|
|
| Initial Request by P.-J. Grizel on Jul 4, 2005 9:07 am | |
|
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(). |