[isf-wifidog] Wifidog + RADIUS

Reggie Griffin reggie_griffin at hotmail.com
Ven 24 Oct 16:42:00 EDT 2008


I had a problem setting this up using the GUI. I set everything back to 'default-network' in the GUI, then edited the AuthenticatorRadius.php file directly.
Probably not the correct way for me to accomplish this, but it worked for Radius authentication.

-Reggie


"If you ever find yourself on the side of the majority, it is time to pause, and reflect." -- Mark Twain 

________________________________
> From: kmai at agro.uba.ar
> To: wifidog at listes.ilesansfil.org
> Date: Fri, 24 Oct 2008 15:31:44 -0300
> Subject: [isf-wifidog] Wifidog + RADIUS
> 
> 
> Hello, my name is Kevin and I’m from Buenos Aires.
> 
> 
> 
> I am working actually as a network administrator in the University of Buenos Aires, and I have been assigned a project: deploy a wireless network with authentication based on an LDAP.
> 
> 
> 
> For some reasons, I had a server with a FreeRADIUS service running and I know I can log in to my servers using that RADIUS server.
> 
> 
> 
> Now, I would like my users to login (being those accounts checked against RADIUS and then LDAP) but when I change the configuration of the AuthenticatorRadius.php to
> 
> 
> 
> ‘default-network’, ’10.1.1.x’, 1812, 1813, ‘xxxxxx’, ‘MSCHAPv2’
> 
> 
> 
> I receive a reply saying that this encryptation method is not supported, while in AuthenticatorRadius.php is listed as working.
> 
> 
> 
> 
> 
> switch ($this->mRadius_encryption_method) {
> 
>             case "PAP":
> 
>             case "CHAP_MD5":
> 
>             case "MSCHAPv1":
> 
>             case "MSCHAPv2":
> 
>                 // Instanciate PEAR class
> 
>                 $classname = 'Auth_RADIUS_' . $this->mRadius_encryption_method;
> 
>                 $radius_server = new $classname ($username, $password);
> 
>                 $radius_server->addServer($this->mRadius_hostname, $this->mRadius_auth_port, $this->mRadius_secret_key);
> 
>                 break;
> 
> 
> 
>             default :
> 
>                 // Invalid encryption method
> 
>                 $errmsg = _("Invalid RADIUS encryption method.");
> 
> 
> 
>                 return false;
> 
>             }
> 
> 
> 
> 
> 
> 
> 
> So, I don’t know how to configure it, as I wasn’t able to find any documentation. Take into account that we need to enable this system for around 5000 users.
> 
> 
> 
> I’d really appreciate if I received a reply as soon as possible.
> 
> 
> 
> Thank you very much!
> 
> 
> 
> Kevin Mai
> 
> 
> 
> Network Administrator
> 
> IFEVA-CONICET
> 
> University of Buenos Aires.
> 
> Mail: kmai at agro.uba.ar
> 
> 
> 
> Pd. I forgot to mention: running wrt54g v3 using openwrt and wdog gateway 1.1.3 and auth server compiled from trunk, running debian. Works great with local auth.. L

_________________________________________________________________
Stay organized with simple drag and drop from Windows Live Hotmail.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008


Plus d'informations sur la liste de diffusion WiFiDog