I don't know about Suse, but with Red Hat (RHEL4) LDAP support comes
configured with PHP. I'm doing lookups to an LDAP server and didn't
do anything special to set it up.
Try setting up a small PHP page to
do a phpinfo() function and then look through the output of that.
For example mine shows --with-ldap=shared in the Configure Command
section and there is actually a section farther down in the output
of phpinfo() that shows LDAP enabled and using OpenLDAP.
For reference, this lets you do functions like ldap_bind(),
ldap_search(), and ldap_authenticate(). I'm using it to login a
user against an Active Directory server. Also, this is just normal
LDAP, to set up LDAP with SSL support is much more complicated.
Make sure you adhere to internal security requirements to determine
if you need to be using LDAP with SSL or if simple LDAP is OK.
-----Original Message-----
Howto enable PHP to use LDAP
Marco Bosisio
Mon, 05 May 2008 06:57:31 -0700
Hi,
I have question about how to enable PHP to use LDAP.
In this section http://uk.php.net/manual/it/ldap.installation.php they
wrote : ".... LDAP support in PHP is not enabled by default...."
>From your experience, do you know if there is a way to enable
PHP to use LDAP without "recompile" (PHP) ?
We would like to avoid to recompile the PHP each time if an
upgrade is applied and then to use the runtime rpm as provided by
distributor...
Thanks in advance !
NOTE : we are running with SuSE SLES9 64bit zSeries and these are
the LDAP - PHP - APACHE2 level :
openldap2-client-2.2.24-4.22
php4-4.3.4-43.85
mod_php4-core-4.3.4-43.85
apache2-mod_php4-4.3.4-43.85
apache2-2.0.59-1.8
Cordiali saluti / Best regards
Marco Bosisio
TE ITDelivery IBM Italia S.p.A
Phone: +39 39 600 5839
Internal mail : IT32673 at IBMIT
Internet mail: [EMAIL PROTECTED]
IBM Italia S.p.A.
Sede Legale: Circonvallazione Idroscalo - 20090 Segrate (MI)
Cap. Soc. euro 361.550.000
C. F. e Reg. Imprese MI 01442240030 - Partita IVA 10914660153
Società con Azionista Unico
Società soggetta all?attività di direzione e coordinamento di
International Business Machines Corporation
(Salvo che sia diversamente indicato sopra / Unless stated otherwise
above)
__________________________________
Tom Stewart
Infrastructure Analyst
John Deere - z/OS Support Services
em: [EMAIL PROTECTED]
ph: (309) 765-9405
__________________________________
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390