Re: Test auth_query with radauth
"Camilo Uribe" <[email protected]> Fri, 28 Jul 2006 13:06:39 -0500
| Newsgroups | gmane.comp.gnu.radius.general |
|---|---|
| Message-ID | <[email protected]> |
I check once again and again fails. This is my Gnu Radius: $ radiusd -V radiusd: GNU Radius version 1.3 (i686-pc-linux-gnu) Compilation platform: linux Debugging flags: Compilation flags: PWD_SHADOW=SHADOW USE_SQL_POSTGRES Compilation defaults: Ports in use: AUTH: 1812 ACCT: 1813 Paths: configuration directory: /usr/local/radius/etc/raddb logging directory: /var/log accounting directory: /var/log/radacct pidfile directory: /var/run I run: CentOS release 4.1 (Final) On 6/30/06, Camilo Uribe <[email protected]> wrote: > I check everything but only get radtest shell: > > [root@localhost]# /usr/local/radius/sbin/radauth -v myusername mypassword > radtest> > > > On 6/29/06, Sergey Poznyakoff <[email protected]> wrote: > > 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 > > > > > > > -- > http://www.el-directorio.org > El sitio de linux y el Software Libre en Colombia > -- http://www.el-directorio.org El sitio de linux y el Software Libre en Colombia