Solved

PHP, Active Directory and LDAP

Posted on 2007-11-29
3
769 Views
Last Modified: 2013-12-13
Hello

I have a php Intranet, and what I would like to do is hit the Active Directory and bring back the Username, FirstName and Lastname from Active Directory and set them to variables, so I can either display them or insert them into a database.

A few things to consider, php is installed on the server, but I don't have access to the server to change any settings.  This is just a side project and we are blowing up the existing intranet and going with a Content Management System, so the easier the better.

thanks,
0
Comment
Question by:cookmyster
3 Comments
 
LVL 17

Accepted Solution

by:
nplib earned 25 total points
ID: 20377156
Check out this website

http://adldap.sourceforge.net/
0
 
LVL 8

Assisted Solution

by:netmunky
netmunky earned 25 total points
ID: 20377545
if PHP was built --with-ldap, you should be able to use the built in ldap functions
http://www.php.net/manual/en/ref.ldap.php
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now