There are Cisco 3640 (IOS 12.2) and Freeradius 0.5.
When alI profile in the users, everything works fine ( I send
Cisco-AVPair = "lcp:callback-dialstring=1234567")
Then I made file usrpass.
In users:
$INCLUDE usrpass
DEFAULT Hint == "PPP"
Framed-Protocol = PPP,
Framed-Compression = Van-Jacobson-TCP-IP,
Idle-Timeout = 300,
Cisco-AVPair = "ip:addr-pool=cloud"
In usrpass:
test Auth-Type := Local, User-Password == "test"
Cisco-AVPair = "lcp:callback-dialstring=1234567",
Fall-Through = Yes
after that authentication fails
RadiusLog:
Starting - reading configuration files ...
......
Listening on IP address *, ports 1812/udp and 1813/udp.
Ready to process requests.
Thread 2 waiting to be assigned a request
Thread 3 waiting to be assigned a request
Thread 4 waiting to be assigned a request
Thread 5 waiting to be assigned a request
rad_recv: Access-Request packet from host xxx.xxx.xxx.xxx:1645, id=84,
length=79
Thread 1 assigned request 0
--- Walking the entire request list ---
Threads: total/active/spare threads = 5/1/4
Nothing to do. Sleeping until we see a request.
Thread 1 handling request 0, (1 handled so far)
Framed-Protocol = PPP
User-Name = "ptest"
User-Password = "\217Z\374R\016rE&\3507\360\313;\356)$"
Called-Station-Id = "39"
NAS-Port = 72
NAS-Port-Type = Async
Service-Type = Framed-User
NAS-IP-Address = xxx.xxx.xxx.xxx
modcall: entering group authorize
hints: Matched DEFAULT at 6
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "suffix" returns ok
users: Matched test at 8
users: Matched DEFAULT at 33
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
Login OK: [test/test] (from nas cisco port 72)
Sending Access-Accept of id 84 to xxx.xxx.xxx.xxx:1645
Cisco-AVPair = "lcp:callback-dialstring=1234567"
Framed-Protocol = PPP
Framed-Compression = Van-Jacobson-TCP-IP
Idle-Timeout = 300
Finished request 0
Going to the next request
Thread 1 waiting to be assigned a request
rad_recv: Access-Request packet from host xxx.xxx.xxx.xxx:1645, id=85,
length=87
Thread 2 assigned request 1
--- Walking the entire request list ---
Cleaning up request 0 ID 84 with timestamp 3cff0b25
Nothing to do. Sleeping until we see a request.
Thread 2 handling request 1, (1 handled so far)
Framed-Protocol = PPP
User-Name = "ptest"
User-Password = "U\320w\330\024\22267\233\270s3\033*\266h"
Calling-Station-Id = "1234567"
Called-Station-Id = "39"
NAS-Port = 72
NAS-Port-Type = Async
Service-Type = Framed-User
NAS-IP-Address = xxx.xxx.xxx.xxx
modcall: entering group authorize
hints: Matched DEFAULT at 6
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "suffix" returns ok
users: Matched test at 8
users: Matched DEFAULT at 33
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
Login OK: [test/test] (from nas cisco port 72 cli 1234567)
Sending Access-Accept of id 85 to xxx.xxx.xxx.xxx:1645
Cisco-AVPair = "lcp:callback-dialstring=1234567"
Framed-Protocol = PPP
Framed-Compression = Van-Jacobson-TCP-IP
Idle-Timeout = 300
Finished request 1
Going to the next request
Thread 2 waiting to be assigned a request
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html