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

Patrick Gelin patrick.gelin at rpn.ch
Tue Sep 30 03:47:21 EDT 2003


On Tue, 2003-09-30 at 09:15, Thierry Mallard wrote:
> 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..
> 
> 
I don't use the openldap server, in fact I'm using an other host with
Active Directory server. Do you think the limit comes from Active
directory and not python ?


> Regards,




More information about the Zope mailing list