Setting Service-Type
Rowley, Mathew
Mathew_Rowley at cable.comcast.com
Tue Oct 26 21:57:04 CEST 2010
Thanks – I am also not sure that the users file is actually being processed. In the debug output I see:
Tue Oct 26 15:36:17 2010 : Debug: usersfile = "/opt/freeradius/etc/raddb/users"
But I don’t see any of the users content from the debug output like I see from the other files.
The config files have all been jumbled due to someone else doing configurations – is there a configuration I need to force processing of the users file?
From: Alexandre Chapellon <alexandre.chapellon at mana.pf<mailto:alexandre.chapellon at mana.pf>>
Organization: MANA SAS
Reply-To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org<mailto:freeradius-users at lists.freeradius.org>>
Date: Tue, 26 Oct 2010 09:45:04 -1000
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org<mailto:freeradius-users at lists.freeradius.org>>
Subject: Re: Setting Service-Type
A solution would be to use the operator ":=" instead of "=" in users file with the default entry (should work using unlang too).
http://wiki.freeradius.org/Operators
Le mardi 26 octobre 2010 à 19:23 +0000, Rowley, Mathew a écrit :
I have a perl module that I want to set the Service-Type attribute, but am getting this error:
Tue Oct 26 14:54:25 2010 : Debug: rlm_perl: ERROR: Failed to create pair Service-Type = Administrative-User
I am thinking its due to the request having the Service-Type already set. Does anyone know if its possible to override that?
I have also tried to just statically set the Service-Type in the users file via:
DEFAULT
Service-Type = Administrative-User
Nothing seems to set it. The request looks like:
rad_recv: Access-Request packet from host 10.252.152.93 port 32769, id=43, length=79
User-Name = "user"
User-Password = "pass"
Service-Type = NAS-Prompt-User
NAS-IP-Address = 10.252.152.93
NAS-Identifier = "Security_lab"
Anyone have ideas on how I can change the Service-Type?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Follow us on: twitter https://www.twitter.com/manainternet<https://www.twitter.com/manainternet>
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list