This doesn't look good.
[/usr/local/etc/raddb/users]:2 WARNING! Changing 'Password =' to 'Password
==' ?

May I suggest something like this in your users file:

bob                Auth-Type := Local, Password := bob
                Fall-Through = Yes

Also, once you actually run radtest, there should be more info from
radiusd -X after:

Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on
1647/udp.
Ready to process requests.

Andrew Tait
System Administrator
Country NetLink Pty, Ltd
E-Mail: [EMAIL PROTECTED]
WWW: http://www.cnl.com.au
30 Bank St Cobram, VIC 3644, Australia
Ph: +61 (03) 58 711 000
Fax: +61 (03) 58 711 874

"It's the smell! If there is such a thing." Agent Smith - The Matrix

----- Original Message -----
From: "Darkshot" <[EMAIL PROTECTED]>
To: "Andrew Tait" <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 2:44 PM
Subject: Re[2]: What happened to CHAP?


>
> > Try running freeradius in debug mode (radiusd -X), and send us the
output,
> > as well as the output of radtest (including all the arguments you are
> > passing it it, eg "radtest bob bob 1 127.0.0.1 testing123"
>
> Thanks. I appreciate the help. Here's the output from "bob bob"....
>
> # radtest bob bob localhost 0 testing123
> Sending Access-Request of id 74 to 127.0.0.1:1645
>         User-Name = "bob"
>         Password = "\264\223\313 \000\371\343\347\3472\026*\033j\342Z"
>         NAS-IP-Address = annwn
>         NAS-Port-Id = "0"
> rad_recv: Access-Reject packet from host 127.0.0.1:1645, id=74, length=20
>
> Here's the "bob" radius entry:
>
> bob     Password = "bob"
>                 Reply-Message = "Hello, bob"
>
>
> Here's what one of my my "normal" radius entries looks like:
>
> darkshot Auth-Type := Local, Password == "example"
> (I've also used:
>  darkshot     Password = "example" )
>
>         Service-Type = Framed-User,
>         Framed-Protocol = PPP,
>         Framed-Routing = None,
>         Ascend-Assign-IP-Pool = 1,
>         Ascend-Data-Filter = "ip in forward dstip 216.228.96.0/20",
>         Ascend-Data-Filter = "ip in drop tcp dstport = 25",
>         Ascend-Data-Filter = "ip in forward"
>
>
> BTW, the clients and clients.conf files are both correct as far as I
> know. The "clients" file has been working on my antique radius (ascend
> 1.6) for hell and ever.
>
>
> And here's the output from radiusd -X:
>
> Starting - reading configuration files ...
> reread_config:  reading radiusd.conf
> Config:   including file: /usr/local/etc/raddb/proxy.conf
> Config:   including file: /usr/local/etc/raddb/clients.conf
> Config:   including file: /usr/local/etc/raddb/snmp.conf
> Config:   including file: /usr/local/etc/raddb/sql.conf
>  main: prefix = "/usr/local"
>  main: localstatedir = "/usr/local/var"
>  main: logdir = "/usr/local/var/log/radius"
>  main: libdir = "/usr/local/lib"
>  main: radacctdir = "/usr/local/var/log/radius/radacct"
>  main: hostname_lookups = no
> read_config_files:  reading dictionary
> read_config_files:  reading clients
> read_config_files:  reading realms
> read_config_files:  reading naslist
>  main: max_request_time = 30
>  main: cleanup_delay = 5
>  main: max_requests = 1024
>  main: delete_blocked_requests = 0
>  main: port = 0
>  main: allow_core_dumps = no
> main: log_stripped_names = no
>  main: log_auth = no
>  main: log_auth_badpass = no
>  main: log_auth_goodpass = no
>  main: pidfile = "/usr/local/var/run/radiusd.pid"
>  main: user = "root"
>  main: group = "root"
>  main: usercollide = no
>  main: lower_user = "no"
>  main: lower_pass = "no"
>  main: nospace_user = "no"
>  main: nospace_pass = "no"
>  main: proxy_requests = yes
>  proxy: retry_delay = 5
>  proxy: retry_count = 3
>  proxy: synchronous = no
>  proxy: dead_time = 120
>  main: debug_level = 0
> read_config_files:  entering modules setup
> Module: Library search path is /usr/local/lib
> Module: Loaded System
>  unix: cache = no
> unix: passwd = "/etc/passwd"
>  unix: shadow = "(null)"
>  unix: group = "/etc/group"
>  unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
>  unix: usegroup = no
>  unix: cache_reload = 600
> Module: Instantiated unix (unix)
> Module: Loaded preprocess
>  preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
>  preprocess: hints = "/usr/local/etc/raddb/hints"
>  preprocess: with_ascend_hack = no
>  preprocess: ascend_channels_per_line = 23
>  preprocess: with_ntdomain_hack = no
>  preprocess: with_specialix_jetstream_hack = no
>  preprocess: with_cisco_vsa_hack = no
> Module: Instantiated preprocess (preprocess)
> Module: Loaded realm
>  realm: format = "suffix"
>  realm: delimiter = "@"
> Module: Instantiated realm (suffix)
> Module: Loaded files
>  files: usersfile = "/usr/local/etc/raddb/users"
> files: acctusersfile = "/usr/local/etc/raddb/acct_users"
>  files: compat = "no"
>   auth_type_fixup: Auth-Type [1000]
>   auth_type_fixup: Password [2]
> [/usr/local/etc/raddb/users]:2 WARNING! Changing 'Password =' to 'Password
==' ?
> for comparing RADIUS attribute in check item list for user bob
> Module: Instantiated files (files)
> Module: Loaded detail
>  detail: detailfile =
"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/de
> tail"
>  detail: detailperm = 384
>  detail: dirperm = 493
> Module: Instantiated detail (detail)
> Module: Loaded radutmp
>  radutmp: filename = "/usr/local/var/log/radius/radutmp"
>  radutmp: username = "%{User-Name}"
>  radutmp: perm = 384
>  radutmp: callerid = yes
> Module: Instantiated radutmp (radutmp)
> Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on
1647/udp.
> Ready to process requests.
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>


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

Reply via email to