News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Make Me Pulse Blog:
Connect to Active Directory LDAP with PHP
June 26, 2009 @ 11:17:07

On the "Make Me Pulse" blog today Ludovic Hindryckx has a bit of code he's shared to let you connect PHP to an Active Directory server (via an LDAP connection).

Today we are going to see how to make an authentication with PHP and an Active Directory LDAP (AD). [...] This code sample has been tested on a Windows 2k3 server.

The script calls the ldap_connect connect function with the user-submitted username and password and runs a bind (as the user) and searches for an account with the same name. If the information is found, it returns back to the $info variable to be checked.

0 comments voice your opinion now!
tutorial activedirectory ldap


blog comments powered by Disqus

Similar Posts

DevShed: Filtering Image Streams with the GD Library in PHP

DevShed: Manipulating String Literals with Interpreter Classes in PHP 5

DevShed: Building File Uploaders with PHP 5

Brandon Savage's Blog: Peer Review: You Have Not Because You Ask Not (Requests & Responses)

SitePoint PHP Blog: How to Use PHP Namespaces, Part 1: The Basics


Community Events





Don't see your event here?
Let us know!


unittest podcast install release interview testing framework wordpress opinion community threedevsandamaybe configure language introduction developer laravel series list library code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework