[isf-wifidog] Problem Wifidog and Freeradius accounting

Menil Jean-Philippe Jean-Philippe.Menil at univ-nantes.fr
Jeu 29 Jan 08:37:49 EST 2009


Hi everybody,

i occur a problem in both gateway and auth server when authentication 
with Radius is set.

When a user log in, i can see this message in gateway debug:

<br />
<b>Notice</b>:  Undefined index:  token in 
<b>/var/www/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php</b> 
on line <b>330</b><br />
Auth: 1

And when the user logout, the followibng message appears on his browser:

Notice:Undefined index: token in 
/var/www/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php 
on line 469


And in freeradius debug log, the following messages appears:


rlm_acct_unique: WARNING: Attribute NAS-Port was not found in request, 
unique ID MAY be inconsistent
rlm_acct_unique: WARNING: Attribute Acct-Session-Id was not found in 
request, unique ID MAY be inconsistent

It seems that in AuthenticatorRadius.php, the NAS-Port and the 
Acct-Session-Id are not send, so the accounting on freeradius could not 
work.
I usually use the "DEFAULT Simultaneous-Use := 1" in freeradius
so only one user can login with the same username.

I can fix a por tin /usr/share/php/Auth/RADIUS.php, but i experiement 
problems to manipulate the conn_id and token values in 
wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php

Coudl someone explain me, what's wrong with my wifidog/freeradius 
configuration?

Thanks at all.

Bye.

-- 
Menil Jean-Philippe
DSI de l'Université de Nantes
tél: 02 51 12 53 92
Fax: 02 51 12 58 60
Jean-Philippe.Menil at univ-nantes.fr


Plus d'informations sur la liste de diffusion WiFiDog