adLDAP - LDAP authentication with PHP for Active Directory

SourceForge.net Logo

adLDAP - LDAP Authentication with PHP for Active Directory

adLDAP is a PHP class that provides LDAP authentication and integration with Active Directory.

Intelligent Active Directory integration with PHP was a holy grail for most intranet developers for a long time. This project is really to help others with getting over the same hurdles that we've experienced in getting the whole LDAP SSL Active Directory puzzle working natively on Linux.

Given the varied nature of organisations and sites, adLDAP may not be _your_ complete solution, but it should be a very sound starting point. LDAP isn't overly friendly on first glance, and it's a steep learning curve made alot worse when coupled with Microsoft's seemingly unending army of gotcha's.

The information you can retrieve from Active Directory is as useful as you make it. If you don't fill out all their account information there's not really going to be much to query.

Key Features

Take a look at the documentation, however here are some of the key features

  • User authentication
  • Group management
  • User management
  • Contact management
  • Exchange mailbox creation

License

adLDAP is open source software and is released under the GNU Lesser General Public License.

Latest News

Version 3.3.1 now available
adLDAP version 3.3.1 is now available. Important bug fix to the authenticate() function. All users are strongly recommended to either upgrade or patch

Version 3.3 now available
adLDAP version 3.3 is now available. Includes new exchange functions, rootDSE support, username2guid, most functions can now be called with a GUID instead of a username if desired

Version 3.2 now available
adLDAP version 3.2 is now available. Includes new computer functions, connect, disconnect, getters, setters, folder (OU) listing, TLS support, bug fixes and more

Version 3.1 now available
adLDAP version 3.1 is now available. Includes allowing accented characters, PHP 5 exception handling for bind errors and SSL requirements, obtaining user's primary group overhauled, bug fixes

LDAP over SSL
The Wiki documentation for LDAP over SSL has been overhauled

Version 3.0 now available
adLDAP version 3.0 is now available. It's a big change and supports creating Exchange mailboxes, contact management and more. Additionally PHP 4 is no longer supported

API documentation overhauled!
The developer's API reference has been overhauled and enhanced to support the adLDAP version 3.0 functionality. People are actively encouraged to contribute to the knowledge in this project where it can be improved or extended, particularly in the areas of server administration and Active Directory's LDAP schema.

Subversion repository access now available
You can now checkout the latest changes to adLDAP directly from your subversion client