Ticket #543 (new Feature Request)
Patch: Authentication Class for Windows Active Directory
| Reported by: | Scott E. Barasch ( scott[at]scottbarasch(dot)com ) | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | WifiDog Auth Server 1.0 |
| Component: | Auth server, Other | Version: | |
| Keywords: | Active Directory, Windows Server 2003, LDAP | Cc: |
Description
Dear WifiDog? community,
I was playing around with my local version of WifiDog?-Auth server today, and I was able to modify the existing AuthenticatorLDAP.php class to support Windows Server 2003 Active Directory logins with Wifidog.
I didn't want to go through the extra effort of setting up an SVN account in order to sync this file, but I'd still like to submit this file for inclusion into the 1.0 release of Wifidog-Auth.
I have tested this class against my version of WifiDog?, and WifiDog?-Auth, which I downloaded from the SVN release around the end of last year. I also tested it with my local Active Directory instance, and it works completely successfully. There is one "documented feature": If an existing user tries to authenticate using an invalid password, three warnings will be printed to the top of the screen, unless the print_errors setting in set to "Off" in php.ini.
I hope this helps out all of the people, including myself, who have been trying to get WifiDog? to work with LDAP, so that they could login using Windows Active Directory. This **should** work with Windows Server 2003, 2008, and 2000 versions of Active Directory, but it has only been tested on Windows Server 2003.
I have included an example of configuration settings that will get this to work with your instance of Wifidog. These instructions are in the form of comments in the class header.
Best,
Scott E. Barasch

