Query regarding running radexample to connect to radiusd serverover ipv6
Brian Candler
B.Candler at pobox.com
Tue Jul 3 12:59:51 CEST 2012
On Tue, Jul 03, 2012 at 04:13:58PM +0530, Harshit Shah wrote:
> I got following error:
>
> login: harshit
> Password:
> "harshit" RADIUS Authentication failure (RC=-1)
Then as I said before: show the corresponding logs in the server logfile -
or report that there are none.
Also check if there are any errors logged at the client side (e.g. in
/var/log/messages or /var/log/syslog)
Next test: capture the RADIUS packets on either client of server:
tcpdump -i eth0 -nnv -s0 udp port 1812
(assuming 'eth0' is the interface the packets are going in and out on)
Are you getting any packets sent at all? If you are, are you getting a
respose from the server? If so, what is it?
If no packets are being sent, another useful test is to run the client under
strace:
strace -f ./radexample 2>strace.log
This may show you if a particular system call is falling (open, send, recv
etc)
More information about the Freeradius-Devel
mailing list