I have done all steps but I get this message from
radtest:
radclient:Unknown User-Password
And I do not see any RADIUS packet in debug mode
(radiusd -X).
How can I know if I am getting RADIUS packets?
Regards.
--- Igor Chen <[EMAIL PROTECTED]> wrote:
> First of all, you should use freeradius-snapshot to
> work with op field.
> 1) db_postgresql.sql is not still modified, so just
> do
>
> ALTER TABLE radcheck ADD COLUMN op varchar(2);
> ALTER TABLE radreply ADD COLUMN op varchar(2);
> ALTER TABLE radgroupcheck ADD COLUMN op varchar(2);
> ALTER TABLE radgroupreply ADD COLUMN op varchar(2);
>
> on your postgres database
>
> 2) Then take my sql.conf as example (modify it and
> copy to raddb)
>
> 3) insert something to radcheck and radreply (or to
> radgroupcheck/reply)
> ex.:
> insert into radcheck (username,attribute,value,op)
> values
> ('steve','Password','test','==');
> insert into radreply (username,attribute,value,op)
> values
> ('steve','Reply-Message','Test passed','=');
>
> 4) run radiusd -X
>
> 5) test it with radtest
> (radtest steve test localhost 0 your_secret_key )
>
> 6) Did i miss something? :)
>
> On Thu, 14 Feb 2002, please please wrote:
>
> > I have installed freeradius 0.4 with postgreSQL.
> > But if I uncomment "sql" in authorize,
> authenticate
> > and accounting (radiusd.conf), I can not see any
> > RADIUS packet when I execute "radiusd -X" (so I
> can
> > not know why a request is rejected).
> > What can I do?
> >
> > By the way, I would like to know why the "op"
> field
> > does not exist in radcheck, radreply,
> radgroupcheck
> > and radgroupreply (Look at db_postgresql.sql).
> >
> > Regards.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE Valentine eCards with Yahoo! Greetings!
> > http://greetings.yahoo.com
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail
http://mail.yahoo.com
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html