Ticket #543 (new Feature Request)

Opened 12 months ago

Last modified 8 months ago

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

Attachments

AuthenticatorActiveDirectory.php.txt Download (12.6 KB) - added by benoitg 8 months ago.
Attached the file so it isn't lost

Change History

Changed 12 months ago by Scott(at)scottbarasch[dot]com

I couldn't upload this file using the file upload (Invalid spam error) , so here is a link to it:  http://external.scottbarasch.com/wifidog/AuthenticatorActiveDirectory.php.txt

Changed 8 months ago by benoitg

Attached the file so it isn't lost

Changed 8 months ago by benoitg

  • summary changed from I'd like to submit an Authentication Class for Windows Active Directory to Patch: Authentication Class for Windows Active Directory

Add/Change #543 (Patch: Authentication Class for Windows Active Directory)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.