RE: [PHP] how to configure with ldap?
| From: | Tony Earnshaw | Date: | Sat, 12 Oct 2002 20:50:45 +0000 |
| Subject: | RE: [PHP] how to configure with ldap? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119742@lists.php.net to get a copy of this message | ||
fre, 2002-10-11 kl. 20:11 skrev Jody Cleveland:
> Well, I installed openldap, and it tests out good. Now, I want to configure
> php to work with it. My question now is, where exactly is ldap located? I
> tried a few paths:
> ./configure --with-mysql --with-apxs2=/www/bin/apxs
> --with-ldap=/usr/local/etc/openldap
> ./configure --with-mysql --with-apxs2=/www/bin/apxs
> --with-ldap=/usr/local/libexec
> And, I get this error:
> checking for LDAP support... yes
> configure: error: Cannot find ldap.h
> So, I searched for ldap.h and used that path:
> ./configure --with-mysql --with-apxs2=/www/bin/apxs --with-ldap=/usr/include
> Same thing, cannot find.
> Any ideas?
Using LDAP needs specialist knowledge - you can't just bung it in and
expect it to work. You can't really compare it to SQL in that respect,
it's a niche - like PHP :-)
ftp://kalamazoolinux.org/pub/pdf/ldapv3.pdf
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg244986.pdf
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245110.pdf
Best,
Tony
--
Tony Earnshaw
"There are many people who can't face the truth ... If you rob a
normal person of life's lies, at the same time you'll be robbing
him of his happiness."
>From Henrik Ibsen's "Vildanden", "The wild Duck."
e-post: tonni@billy.demon.nl
www: http://www.billy.demon.nl