tags:

views:

57

answers:

2

Can any one please let me explain step by step implementation for LDAP on my site using PHP

+1  A: 

LDAP support in PHP is not enabled by default. You will need to use the --with-ldap[=DIR] configuration option when compiling PHP to enable LDAP support. DIR is the LDAP base install directory. To enable SASL support, be sure --with-ldap-sasl[=DIR] is used, and that sasl.h exists on the system.

The MYYN
A: 

First make sure you have PHP's LDAP extension installed, as @The MYYN suggests. To implement an LDAP-based authentication mechanism I recommend that you use Zend_Auth and its adapter for LDAP. Further operations can be handled with Zend_Ldap.

nuqqsa