Re: Test auth_query with radauth

"Sergey Poznyakoff" <[email protected]> Thu, 29 Jun 2006 10:26:36 +0300
Newsgroups gmane.comp.gnu.radius.general
Organization Farlep-Internet
Message-ID <[email protected]>
Camilo Uribe <[email protected]> wrote:

> I've been reading the radauth doc[1], but still can't understand how
> test my auth_query with radauth.

Here's a roadmap:

1. Add some test users to your database.
2. Make sure your server config files are OK.
3. Start radiusd. Check its logs to see if there are any error
messages. If there are some, go to step 2.
4. Make sure your client configuration file raddb/client.conf is OK. Pay
special attention to shared secret: it must match that specified in your
server raddb/clients file for the host you run radauth from.
5. Run

      radauth username password

6. If it replies 'Authentication passed', then everythin is OK. If not,
examine radiusd logs and fix the problem. Eventually, running `radauth -v
username password' will give you more information.

Regards,
Sergey