demo approver
demo approver

Reputation: 1

How to increase the sizelimit of LDAP?

My ldapsearch command is only returning a max of 500 entries, while I know I > have over 24,000 entries in the database. how can I increase the sizelimit, to display all my entries. Please Provided details steps

Upvotes: 0

Views: 3266

Answers (1)

Mr. Ice
Mr. Ice

Reputation: 71

as heiglandreas mentioned, this is a server side limit.

If you are using slapd.conf, this would be the sizelimit directive.

If you are using cn=config, this would be olcSizelimit attribute.

You can change it on the client side with -E pr=nnnn but only up to the server side limit. Some language specific tools like Perl's Net::LDAP::Control::Paged (SizeLimit exceeded using Net::LDAP::Control::Paged) can provide the tools to query in those languages.

Upvotes: 1

Related Questions