Alan ,  Thanks for the pointer , the script I had generating the users file
was adding lines with spaces ibtween each entry and a number at the bottom ,
I got that fixed , regenerated the users file and now the server starts ..
but I am unable to authorize a user: 

Module: Loaded files
 files: usersfile = "/usr/local/etc/raddb/users"
 files: acctusersfile = "/usr/local/etc/raddb/acct_users"
 files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
 files: compat = "no"
Module: Instantiated files (files)
Module: Loaded realm
 realm: format = "suffix"
 realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port-Id"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
 detail: detailfile =
"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded System
 unix: cache = no
 unix: passwd = "(null)"
 unix: shadow = "(null)"
 unix: group = "(null)"
 unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix)
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 1812/udp and 1813/udp, with proxy on
1814/udp.
Ready to process requests.

*** The test ***

 /usr/local/bin/radtest AAdams1495 456674 127.0.0.1 0 testing123
Sending Access-Request of id 209 to 127.0.0.1:1812
        User-Name = "AAdams1495"
        User-Password = "x=%;1\r\264)\211\267\3307\033\234\311\305"
        NAS-IP-Address = mx01
        NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=209, length=20

On the server output : 

Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1:32768, id=235, length=62
        User-Name = "AAdams1495"
        User-Password = "456674"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "files" returns notfound
modcall: group authorize returns ok
auth: No authenticate method (Auth-Type) configuration found for the
request: Rejecting the user
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0


I am not using anythng other the users file and I see above where it states
that 
  modcall[authorize]: module "files" returns notfound

but it in radiusd.conf 

authorize {
       
        preprocess
        chap
        mschap
        files
}



--
Rick Harris 
Senior Linux Engineer
Business Access


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

Reply via email to