PHP and Active Directory

In .Net I can authenticate the windows user against Active Directory.

How can I do that in PHP?
Larry Bristersr. DeveloperAsked:
Who is Participating?
 
pritamduttConnect With a Mentor Commented:
Option 1:

Here is an excellent guide to allow users to authenticate against AD from a APACHE Server, which is most likely be your case.
- http://www.linuxnix.com/2011/01/apache-integration-setup-active-directoryad.html

Option 2:
and this link http://pear.php.net/manual/en/package.authentication.auth.storage.ldap.php provides information on Pear Authentication Library for PHP.

Hope this helps
0
 
pritamduttCommented:
Which Webserver are you using for PHP?
0
 
Larry Bristersr. DeveloperAuthor Commented:
It's a Linux box
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
hvillanuCommented:
Hi,
This is just a part of the answer you need..
The system named GLPI use ldap autentication, perhaps if you check the source code can figure how the do.
http://www.glpi-project.org/
Be aware of licensing issues.
-regard-
0
 
ghodderCommented:
ADLDAP is probably the easiest way
0
 
Larry Bristersr. DeveloperAuthor Commented:
Perfect...thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.