[Date Prev][Date Next]
I'm very new to LDAP and having a problem which hopefully someone will be
able to help with. We're trying to retrieve values from an LDAP server
from within one of our applications. I've got the sample application to
work and it retrieves values back. If however the results are too large
(I'm guessing that this is the problem) I'm returned an error code of
LDAP_SIZELIMIT_EXCEEDED. The C application is using the ldap_search_s
I can't find anyway of setting the number of items to bring back, is there
a way of doing this using the current function? How do I determine what
the size limit is? What do developers usually do when they need to bring
back thousands of entries when they hit this problem. I must warn you that
I know hardly anything about LDAP so any simple and easy to follow advice
would be most welcome.
Thanks in advance,
"Konstantin Chuguev" <Konstantin.Chuguev@dante.org.uk>@OpenLDAP.org on
Sent by: owner-openldap-software@OpenLDAP.org
To: "Quinn Perkins" <firstname.lastname@example.org>
Subject: Re: OpenLDAP, PHP and OS X
Quinn Perkins wrote:
> I successfully built a version of PHP 4.0.6 for OS 10.1 with the
instructions found at http://developer.apple.com/internet/macosx/php.html.
It compiled without error using:
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--mandir=/usr/share/man --with-apxs --with-zlib --with-
> ldap=/Users/quinn/Desktop/Services/ldap/ldap --disable-pear
> After moving the libphp4.so and editing the httpd.conf file, I started
the web server, but got the following error:
> dyld: /usr/sbin/httpd Undefined symbols:
> /usr/sbin/apachectl start: httpd could not be started
> Now...my OpenLDAP works fine. My PHP with LDAP compiled without error.
Anyone have any ideas as to what might be wrong?
Your PHP module cannot find the OpenLDAP library when Apache starts.
You need to specify the path to the library (libldap.so*) for the PHP
module. I am not a big expert in PHP nor in OS X, but it is either done by
(extension_dir ?) in the php.ini file, or by adding the location to the
LD_LIBRARY_PATH. It could be also ldconfig, if OS X uses FreeBSD-style
* * Konstantin Chuguev Francis House
* * Application Engineer 112 Hills Road
* Tel: +44 1223 302992 Cambridge CB2 1PQ
D A N T E WWW: http://www.dante.net United Kingdom