On Monday, October 29, 2001 16:06 Michele Cerioni [EMAIL PROTECTED] wrote:
MC> Now I have comment the use of clients.conf in radiusd.conf but it's the
MC> same.
Make sure that file clients is not included in radiusd.conf and clients.conf
is. I have the following configuration:
clients.conf file:
client 127.0.0.1 {
secret = testing123
shortname = localhost
}
users file:
pippo Auth-Type := Local, Password == "otto"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500
After that I run radtest script:
# radtest pippo otto localhost 0 testign123
Sending Access-Request of id 58 to 127.0.0.1:1645
User-Name = "pippo"
Password = "h\tx\000)$w\351\035\276;\236\227Ns�"
NAS-IP-Address = sat
NAS-Port-Id = "0"
rad_recv: Access-Accept packet from host 127.0.0.1:1645, id=58, length=38
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-MTU = 1500
radiusd -X response:
rad_recv: Access-Request packet from host 127.0.0.1:2084, id=58, length=54
User-Name = "pippo"
Password = "h\tx\000)$w\351\035\276;\236\227Ns�"
NAS-IP-Address = 255.255.255.255
NAS-Port-Id = "0"
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "suffix" returns ok
users: Matched pippo at 70
modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
rad_check_password: Found Auth-Type Local
auth: type Local
auth: user supplied Password matches local Password
Login OK: [pippo/otto] (from nas localhost port 0)
Sending Access-Accept of id 58 to 127.0.0.1:2084
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-MTU = 1500
Finished request 2
Mitry.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html