Hi,all.

We are in trouble with seeting up freeradius0.5 on solaris8.
Every connection became rejected as "invalid password"
(radius log below)

Fri Apr  5 14:48:30 2002 : Info: Listening on IP address
133.97.XXX.XXX ports 1645/udp and 1646/udp.
Fri Apr  5 14:48:30 2002 : Info: Ready to process requests.
Fri Apr  5 14:54:53 2002 : Auth: rlm_unix: [takemura]: invalid password
Fri Apr  5 14:54:58 2002 : Info: Sending duplicate authentication reply
to client ppp1-gw1:1645 - ID: 124
Fri Apr  5 14:54:58 2002 : Auth: rlm_unix: [takemura]: invalid password
Fri Apr  5 14:55:51 2002 : Auth: rlm_unix: [takemura]: invalid password
Fri Apr  5 14:55:56 2002 : Info: Sending duplicate authentication reply
to client ppp1-gw1:1645 - ID: 126


We use NIS password(no shadow file type).
This is an output between site radiusd.conf and the original one.

< bind_address = 133.97.XXX.XXX
---
> bind_address = *
186c185
< port = 1645
---
> port = 0
334,335c333,334
< proxy_requests  = no
< # $INCLUDE  ${confdir}/proxy.conf
---
> proxy_requests  = yes
> $INCLUDE  ${confdir}/proxy.conf
437c436
<               cache = no
---
>               cache = yes
440c439
<               # cache_reload = 600
---
>               cache_reload = 600
454,456c453,455
<               passwd = /var/nis/passwd
<               # shadow = /etc/shadow
<               group = /var/nis/group
---
>               passwd = /etc/passwd
>               #       shadow = /etc/shadow
>               group = /etc/group



Debug mode output is
/usr/local/sbin/radiusd -xxyz -l stdout
Starting - reading configuration files ...
reread_config:  reading radiusd.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 = 1645
 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: bind_address = 133.97.XXX.XXX IP address [133.97.XXX.XXX]
 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 = no
 security: max_attributes = 200
 security: reject_delay = 1
 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 = "/var/nis/passwd"
 unix: shadow = "(null)"
 unix: group = "/var/nis/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"
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)
Initializing the thread pool...
 thread: start_servers = 5
 thread: max_servers = 32
 thread: min_spare_servers = 3
 thread: max_spare_servers = 10
 thread: max_requests_per_server = 0
 thread: cleanup_delay = 5
Thread spawned new child 1. Total threads in pool: 1
Thread spawned new child 2. Total threads in pool: 2
Thread 1 waiting to be assigned a request
Thread spawned new child 3. Total threads in pool: 3
Thread spawned new child 4. Total threads in pool: 4
Thread spawned new child 5. Total threads in pool: 5
Listening on IP address 133.97.XXX.XXX, ports 1645/udp and 1646/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 133.97.YYY.YYY:1645, id=132,
length=75
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)
        NAS-IP-Address = 133.97.YYY.YYY
        NAS-Port = 48
        NAS-Port-Type = Async
        User-Name = "xxxxxx"
        User-Password = "\XXXXXXXXXXXXXXXX"
        Service-Type = Framed-User
        Framed-Protocol = PPP
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "suffix" returns ok
    users: Matched DEFAULT at 152
    users: Matched DEFAULT at 171
    users: Matched DEFAULT at 183
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type System
auth: type "System"
modcall: entering group authenticate
rlm_unix: [xxxxxx]: invalid password
  modcall[authenticate]: module "unix" returns reject
modcall: group authenticate returns reject
auth: Failed to validate the user.
  WARNING: Unprintable characters in the password. ?  Double-check the
shared secret on the server and the NAS!
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request



Of course this password is a correct password!
If you have any idea, please teach us, thanks.


-----
Kiyoaki Takemura
Kochi University


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

Reply via email to