LS,

When changing over from an older version of freeradius to 0.8.1 i
decided to use the hints for our slip/ppp/mpp users. With the aid
of DEFAULT entries i than add the common attributes to the reply.
No problem sofar.

However, very few of my users have an idle timeout different from
the default, so I decided to give := a crack. Well, it works.
But when looking at the radtest output I noticed a double
Idle-Timeout attribute. One at the place where the original was
and one added to the end. Both have the same value though.
It happens for all occurences of := in the reply items.

users
=====
...
DEFAULT Hint == "PPP"
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        Ascend-Assign-IP-Pool = 1,
        Idle-Timeout = 1800,
        Fall-Through = yes
...
0873    Auth-Type := Local, Password == "********"
        Idle-Timeout := 5
...
=====

radtest result:
===============
Sending Access-Request of id 244 to 80.89.224.36:1812
        User-Name = "ppp0873"
        User-Password = "q\031\346\036BE'\373'<K\357 \035\374\306"
        NAS-IP-Address = silver.noc.iaf.nl
        NAS-Port = 1234
rad_recv: Access-Accept packet from host 80.89.224.36:1812, id=244, length=56
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Ascend-Assign-IP-Pool = 1
        Idle-Timeout = 5
        Idle-Timeout = 5


Server -X output
================
rad_recv: Access-Request packet from host 80.89.224.36:47067, id=244, length=59
        User-Name = "ppp0873"
        User-Password = "********"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 1234
modcall: entering group authorize
  hints: Matched DEFAULT at 66
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
    users: Matched DEFAULT at 283
    users: Matched 0873 at 1264
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type Local
auth: type Local
auth: user supplied User-Password matches local User-Password
Sending Access-Accept of id 244 to 80.89.224.36:47067
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Ascend-Assign-IP-Pool = 1
        Idle-Timeout := 5
        Idle-Timeout := 5
Finished request 2
Going to the next request
===============

    Met vriendelijke groet,
        Pauline Middelink
-- 
GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA  BD3B 9A50 B416 E2D0 C3C2
For more details look at my website http://www.polyware.nl/~middelink

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to