php ldap

Darin Perusich Darin.Perusich at cognigencorp.com
Thu Oct 21 07:42:37 EDT 2004


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
> 

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com



More information about the nflug mailing list