09-Dec-02 at 17:03, JP Hindin ([EMAIL PROTECTED]) wrote :
> 
> Greetings;
> I've been trying to make FR auth using its SQL module (through MySQL to be
> specific) and am having no luck whatsoever.
> I've thoroughly consulted the frontios.com/freeradius.html
> documentation and just can't seem to make this work.
> I swear, if someone helps me work this out, I'll write the freakin'
> FreeRADIUS SQL auth documentation myself, 'cos this is bugging me.
 
> The command I'm using to test:
> [jphindin@server bin]$ ./radtest testuser testpass localhost 66 *password*

The syntax is:
radtest user passwd radius-server[:port] nas-port-id secret

secret is not password, but the shared secret.

So you need to declare localhost as a NAS in clients, and use the shared
secret.

# Host                  Shared secret
localhost              testing123

So in your example

$ ./radtest testuser testpass localhost 0 testing123

I use 0 as the nas-port-id, indeed you can put any figure for testing I
believe.

Cheers,

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to