Hello Friends,
Am new to LDAP.
Here is my server config:
Windows 2003 server
XAMPP v 1.6.6a
I modified php.ini(apche/bin/php.ini & php/php.ini) by uncomment "extension=php_ldap.dll".
Copied libeay32.dll and ssleay32.dll to c:\windows\system32.
Modified apache/conf/httd.conf by uncomment
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule sspi_auth_module modules/mod_auth_sspi.so
Then i restarted the web server, but when I try to test ldap connectivity I got this error . I used php manual's ldap example
Connecting ...connect result is Resource id #2
Binding ...
Warning: ldap_bind() [function.ldap-bind]: Unable to bind to server: Can't contact LDAP server in C:\Program Files\xampp\htdocs\week\index1.php on line 60
Bind result is
Searching for (sn=S*) ...
Warning: ldap_search() [function.ldap-search]: Search: Can't contact LDAP server in C:\Program Files\xampp\htdocs\week\index1.php on line 66
Search result is
Warning: ldap_count_entries(): supplied argument is not a valid ldap result resource in C:\Program Files\xampp\htdocs\week\index1.php on line 69
Number of entires returned is
Getting entries ...
Warning: ldap_get_entries(): supplied argument is not a valid ldap result resource in C:\Program Files\xampp\htdocs\week\index1.php on line 72
Data for items returned
Please help me to work with ldap fine.
Anyone's assistance is greately appreciated.
BIGUL M