RE: [PHP] how to configure with ldap?

2002-10-13 Thread Ray Hunter

Tony's right on this one. 

1. Read all the instructions from the PHP documentation on setting up
LDAP. (From the last time i set this up you need to do some thing.)

2. After you have read that and then messed with it a while and you
still do not have all it working then you can post. (RTM).

3. Then you need to know how to run an LDAP server or you are going to
have a pain in the ass trying to connect and pulling data.  It took me
about 2 days to figure how to work with Exchange..

And do a search on how to configure PHP with extensions.  I have asked
this question more than once.  PHP's makefile search in specific
locations when configuring.


On Sat, 2002-10-12 at 14:50, Tony Earnshaw wrote:
> 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:   [EMAIL PROTECTED]
> www:  http://www.billy.demon.nl
> 
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-- 
Thank you,

Ray Hunter



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] how to configure with ldap?

2002-10-13 Thread Tony Earnshaw

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: [EMAIL PROTECTED]
www:http://www.billy.demon.nl





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] how to configure with ldap?

2002-10-11 Thread Jody Cleveland

Hello,

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?

Thanks!

Jody

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] how to configure with ldap?

2002-10-11 Thread Jody Cleveland

Hi Marco,

Do I need to configure openldap to point to my Exchange server? If so, how?

Jody

> -Original Message-
> From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 11, 2002 9:38 AM
> To: Jody Cleveland
> Cc: Php-General (E-mail)
> Subject: Re: [PHP] how to configure with ldap?
> 
> 
> You need an LDAP package like OpenLDAP:
> 
> http://www.openldap.org/
> 
> On Fri, 2002-10-11 at 10:37, Jody Cleveland wrote:
> > Hello,
> > 
> > I'm trying to configure php with ldap support. Looking at 
> ./configure
> > --help, I noticed that when I configure it, I need to put this in:
> > ./configure --with-ldap=[dir]
> > 
> > My question is, where is ldap? I'm running Redhat 7.3 with Apache 2.
> > 
> > My ultimate goal is, I'm running Squirrelmail, and I want 
> to connect to an
> > Exchange global address list.
> > 
> > Any help would be greatly appreciated.
> > 
> > Thank you.
> > 
> > -Jody Cleveland
> > 
> > Winnefox Library System
> > Computer Support Specialist
> > [EMAIL PROTECTED]
> > 
> > "I thought I had an appetite for destruction, when all I 
> really wanted was a
> > club sandwich."
> > - Homer -
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] how to configure with ldap?

2002-10-11 Thread Marco Tabini

You need an LDAP package like OpenLDAP:

http://www.openldap.org/

On Fri, 2002-10-11 at 10:37, Jody Cleveland wrote:
> Hello,
> 
> I'm trying to configure php with ldap support. Looking at ./configure
> --help, I noticed that when I configure it, I need to put this in:
> ./configure --with-ldap=[dir]
> 
> My question is, where is ldap? I'm running Redhat 7.3 with Apache 2.
> 
> My ultimate goal is, I'm running Squirrelmail, and I want to connect to an
> Exchange global address list.
> 
> Any help would be greatly appreciated.
> 
> Thank you.
> 
> -Jody Cleveland
> 
> Winnefox Library System
> Computer Support Specialist
> [EMAIL PROTECTED]
> 
> "I thought I had an appetite for destruction, when all I really wanted was a
> club sandwich."
> - Homer -
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php