php ldap
Justin Bennett
Justin.Bennett at dynabrade.com
Thu Oct 21 13:55:40 EDT 2004
yes I can do
ldapsearch -h xxx.dynabrade.com -p 389 -x -b "o=xxx,c=xx" 'objectclass=*'
and get 183 results as expected.
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