php ldap

Justin Bennett Justin.Bennett at dynabrade.com
Thu Oct 21 14:16:36 EDT 2004


Aww I got it, one of those stupid things, I've been messing with this 
for 2 days, everything should have been working. I had an enviroment 
variable in /etc/profile to load libclntsh.so (from oracle) I have php 
compiled with oracle support also. Oracle aparently had it's own 
ldap_connect and it was using that. I took out the PRELOAD env variable 
and it works fine...

Thanks for the response.

Justin

Darin Perusich wrote:

> how are you binding to the ldap server? are you able to do a 
> ldapsearch from commandline?
>
> Justin Bennett wrote:
>
>> I have compiled PHP with ldap support (against openldap 2.0.x) and 
>> see it in phpinfo
>>
>>
>>     ldap
>>
>> LDAP Support     enabled
>> RCS Version     $Id: ldap.c,v 1.130.2.10 2004/06/01 21:05:33 iliaa Exp $
>> Total Links     0/unlimited
>> API Version     2004
>> Vendor Name     OpenLDAP
>> Vendor Version     20026
>>
>>
>> However when I goto do a ldap_connect it always dies (returns false). 
>> I've tried against a verifiable live ldap sever and I fired up slapd 
>> on localhost and I get the same error. Any ideas?
>>
>> Thanks
>> Justin
>>
>



More information about the nflug mailing list