[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] can't get authorized!
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] can't get authorized! |
Date: |
Fri, 14 Dec 2001 10:15:27 +0200 |
> ./radauth -v user passwd
> NO REPLY
> Authentication failed
Most probably radauth is trying to contact your server on different
ports. To check this, open file $sysconfdir/raddb/radctl.rc
($sysonfdir is $prefix/etc if not overridden at configure
time). Right after the heading comment, you'll find the
following line:
(set! rad-server-list
'(("local" "localhost" "guessme" 1645 1646 5000)))
Here,
"local" is a symbolic server id.
"localhost" is its hostname. It can be either an FQDN or an IP
in usual 'dotted-quad' notation.
"guessme" is the shared secret to be used in communication
between the NAS and the server.
1645 is the authentication port number.
1646 is the accounting port number
5000 is irrelevant for the time being.
You will need to replace these placeholders with your actual values,
e.g. those, shown by netstat -a.
If you alter the server id ("local"), be sure to update also
the server selection statement at the end of the file. It reads:
(rad-select-server "local")
Good luck!
Regards,
Sergey