You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2020/02/28 13:46:00 UTC

[jira] [Commented] (DIRSERVER-2300) Can not retrieve more than 999 records with the admin user created

    [ https://issues.apache.org/jira/browse/DIRSERVER-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17047627#comment-17047627 ] 

Emmanuel Lécharny commented on DIRSERVER-2300:
----------------------------------------------

This is the normal behavior. The admin user has no limit set, however, all the users are subjects to the default time and size limit as set in the config (100 entries and 1000 seconds. Note that 1000 seconds makes no sense nowadays, but when LDAP V3 was designed back in the mid-90, a server wasn't able to return a lot of entries quickly. This has changed a lot on 25 years).

 

However, you can change the server configuration to have those limits fit your needs. The two parameters to change are *ads-maxSizeLimit* and *ads-maxTimeLimit*. You can use Studio to change those configuration parameters.

One more things:always ask yourself what is the reason for wanting more than a few tens of entries back, unless you want to do a database dump. There are rarely good reasons to do so.

> Can not retrieve more than 999 records with the admin user created 
> -------------------------------------------------------------------
>
>                 Key: DIRSERVER-2300
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2300
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: adminRole
>    Affects Versions: 2.0.0-M24
>         Environment: Windows
>            Reporter: prashanth madduri
>            Priority: Blocker
>
> Hi Team,
> We have Apache DS installed and running. We are using [ldapjs|[http://ldapjs.org/client.html]] serach method with paging to retrieve the entries from the Apache DS. 
> As per our observation we can retrieve more than 1000 entries when using default admin user `uid=admin,ou=system` and same execution is failing after 999 entries retrieval with `Size Limit Exceeded` error when using newly created admin user `cn=admintestur,dc=ldapads,dc=com`. 
>  
> Please assist.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org