Setting Service-Type
Alexandre Chapellon
alexandre.chapellon at mana.pf
Tue Oct 26 21:45:04 CEST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101026/2125f3fc/attachment.html>
More information about the Freeradius-Users
mailing list