Hints File and Users file and (One More Problem?)
tnt at kalik.co.yu
tnt at kalik.co.yu
Thu Jun 28 16:14:46 CEST 2007
That's normal. radtest doesn't send Service-Type in the request so it
can't get those replies. You can use radclent to test with attributes.
You should add Service-Type as a reply as well:
DEFAULT Service-Type == Framed-User
Service-Type = Framed-User,
Framed-Protocol = PPP, ...
Ivan Kalik
Kalik Informatika ISP
Dana 28/6/2007, "Jeff" <jeffa at jahelpdesk.com> piše:
>I have a fast question I created this in the users file and reloaded config as instructed
>
>using radtest i tryed a login request, the default group wasn't added to login
>using radius -X is showing nothing accept see below
>
>what I have for default users file at the top
>-----
>DEFAULT Service-Type == Framed-User
> Framed-Protocol = PPP,
> Session-Timeout = 18000,
> Ascend-Data-Filter += "ip in forward tcp est",
> Ascend-Data-Filter += "ip in forward dstip *.*.*.*/32", <-----removed ip addreesses for being posted here
> Ascend-Data-Filter += "ip in forward dstip *.*.*.*/32", <-----removed ip addreesses for being posted here
> Ascend-Data-Filter += "ip in forward dstip *.*.*.*/32", <-----removed ip addreesses for being posted here
> Ascend-Data-Filter += "ip in forward dstip *.*.*.*/32", <-----removed ip addreesses for being posted here
> Ascend-Data-Filter += "ip in drop tcp dstport = 25", <-----removed ip addreesses for being posted here
> Ascend-Data-Filter += "ip in forward",
> Port-Limit = 1
>-----
>Test User in users file
>
>testuser Password = "justatest"
> Fall-Through = Yes
>
>-----
>
>Heres all that is posted back and as i said using radiusd -x only shows this much also stopping at Nas-Port
>
>
>radius:/home/jeffa # radtest testuser at test.realm justatest localhost testing123
>Sending Access-Request of id 29 to 70.62.12.98 port 1645
> User-Name = "testuser at test.realm"
> User-Password = "justatest"
> NAS-IP-Address = 255.255.255.255
> NAS-Port = 10
>rad_recv: Access-Accept packet from host localhost:1645, id=29, length=20
>
>
> _____
>
> From: Jeff [mailto:jeffa at jahelpdesk.com]
>To: FreeRadius users mailing list [mailto:freeradius-users at lists.freeradius.org]
>Sent: Thu, 28 Jun 2007 09:22:27 -0400
>Subject: Re: Hints File and Users file and I am lost
>
>
>gotcha thanks
> _____
>
> From: Alan DeKok [mailto:aland at deployingradius.com]
>To: FreeRadius users mailing list [mailto:freeradius-users at lists.freeradius.org]
>Sent: Thu, 28 Jun 2007 08:50:45 -0400
>Subject: Re: Hints File and Users file and I am lost
>
>Jeff wrote:
>> could i do a attr_rewrite to fix the ascend being written long and
>> place it in ost process section?
>
>No.
>
>Fix the files written by your billing software to be correct, OR
>create entries yourself that follow the documented format.
>
>Alan DeKok.
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>
>
>
>
More information about the Freeradius-Users
mailing list