Hi Folkes,
I'm testing the Radius 0.1 daemon on NT with a unix Cygwin shell, but
the radtest script returns the follwing each time;
./radtest BHolmes noddy localhost 0 testing123 -x
Daemon output;
Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on
1647/udp.
Ready to process requests.
rad_recv: Access-Request packet from host 192.xxx.xxx.xxx:2783, id=217,
length=62
User-Name = "BHolmes"
Password = "W\315(V\320\020\273\036$E\207\205\n9\227/"
NAS-IP-Address = 255.255.255.255
NAS-Port-Id = "0"
Framed-Protocol = PPP
modcall[autz]: Entering group at line 695
modcall[autz]: Module at line 695 returns ok
modcall[autz]: action for ok is 3
modcall[autz]: Group at line 695 returns ok
auth: Local
auth: Failed to validate the user.
Sending Access-Reject of id 217 to 192.xxx.xxx.xxx:2783
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
This user exists in the unix password file, and I've an entry in the
users file also.
users file looks like:
<snip>
BHolmes Auth-Type := Local, Password == "noddy"
Reply-Message = "Hello, bren"
</snip>
I've had to do some hacks along the way. Like I have to run in debug
mode otherwise I get
radiusd.exe: Cannot switch to Group nobody: No such file or directory
I've also had to comment out the preporcess in the authorize scope in
the file radiusd.conf, otherwise the daemon core dumps with an access
violation.
radiusd.conf file looks like:
<snip>
authorize {
##preprocess
#counter
#attr_filter
suffix
##files
}
</snip>
Thanks for you help in the past.
Regards,
Brendan.
PS I can't upgrade to 0.2 ( or the latest cvs snapshot ) as the
configure step fails :(
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html