dataflake.org

Home Documentation Software Old Stuff Bug Reporting

Add Entry to: getUserNames() raises when no user found (Resolved)

Issue getUserNames() raises when no user found (bug report)
Posted 2005/06/01 by P.-J. Grizel
See the following code snippet in getUserNames() : loginlist = self.getAttributesOfAllObjects( self.users_base, ldap_scopes[self.users_scope], user_filter, (self._login_attr,))[self._login_attr] if the getAttributesOfAllObjects() call return an empty dictionnary (which is the case if no user is found), this code raises instead of returning an empty list. The problem exists (at least) in getUserNames(), getUserIds() and getUserIdsAndNames() methods.


Full name
Email address