[Zope] LDAPUserFolder - Too many results for this query...

Thierry Mallard thierry at mallard.com
Tue Sep 30 03:15:31 EDT 2003


On Tue, Sep 30, 2003 at 09:08:28AM +0200, Patrick Gelin wrote:
> Hi,
> 
> I would like to go through all LDAP users to register them into my Plone
> site (I need to use localroles and it's possible only after a Plone
> registration...)
> 
> So, I'm writing a python script (may be I have to write an external
> method) which use the LDAPUserFolder::getUserNames API, and I've got the
> error message below:
> 
> getUserNames: Cannot find any users (Too many results for this query)

It may be the server which is not correctly configured. I recall
OpenLDAP default limit to 500 results, which can be changed using the
"sizelimit" directive..


Regards,

-- 
Thierry Mallard
http://vawis.net
http://www.erlang-projects.net
http://rei.vawis.net



More information about the Zope mailing list