Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PHP, Active Directory and LDAP

Posted on 2007-11-29
3
Medium Priority
?
789 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
2 Comments
 
LVL 17

Accepted Solution

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

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

Assisted Solution

by:netmunky
netmunky earned 100 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses
Course of the Month20 days, 19 hours left to enroll

810 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