Discussion:
[phpldapadmin] ldap sizelimit admin question
Matthew Taylor
2007-04-26 20:22:29 UTC
Permalink
If this is the wrong spot to post this please excuse me. I am a frequent
user of phpldapadmin and thank you all personally everytime it saves my
a**.

My question however pertains to a problem outside of phpldapadmin that
you have seemed to address that I am personally baffled by. My ldap
directory has grown to over 700 entries of a particular object. I have
lost the capability to retrieve record sets over 500 with @ldap_search.
I get the size limit exceeded warning. I have tried everything I can
think of and have read including; set the sizelimit in the connection
method (set to 0), set the sizelimit in the search method (set to 0),
re-wrote my connection and search methods, looked through all of the
phpldapadmin codebase - and I still don't know what you are doing that I
am not.

I appreciate your interest ...
Deon George
2007-04-28 02:26:14 UTC
Permalink
Post by Matthew Taylor
My question however pertains to a problem outside of phpldapadmin that
you have seemed to address that I am personally baffled by. My ldap
directory has grown to over 700 entries of a particular object. I have
Sizelimit the upper limit of size limit is normally controlled by the
LDAP server - since you havent specified your ldap server I'll guess you
are using openldap.

openldap's default max size limit is 500.

man slapd.conf will help you.

...deon
Matthew Taylor
2007-04-28 17:14:14 UTC
Permalink
Deon,

Thank you for your response, I am aware however that the sizeLimit can be
increased via slapd.conf/ldap.conf on the server side.

Here is the set-up;
In my PHP application code I cannot return more than 500 records at a time.
Have tried everything I can think of or find that is PHP related to no
avail.
PLA however, when installed on the same server and connected to the same
directory instance, can return all of the entries regardless of the 500
server limit.

My guess is that they (the PLA folks) are employing some type of method that
enables the use of such technologies like Paged Results (RFC 2696) etc...

We (our company admins) really prefer to not adjust the sizeLimit on the
server above 500 especially because phpldapadmin works just fine without
having to change it - meaning it is possibly to use existing technologies to
handle the issues they were designed to.

I really appreciate your response, my apologies for not clarifying more off
the bat, any other ideas?

Matt
Post by Deon George
Post by Matthew Taylor
My question however pertains to a problem outside of phpldapadmin that
you have seemed to address that I am personally baffled by. My ldap
directory has grown to over 700 entries of a particular object. I have
Sizelimit the upper limit of size limit is normally controlled by the
LDAP server - since you havent specified your ldap server I'll guess you
are using openldap.
openldap's default max size limit is 500.
man slapd.conf will help you.
...deon
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
______________________________________
phpLDAPadmin development mailing list.
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
Loading...