At 03:09 PM 12/18/2002 -0300, Fernando Teodoro wrote:
Thanks, Chris, for the quick response (and for understanding I'm a newbie...)Ok, FreeRADIUS starts either with par or chap in authenticate. I quickly found that FreeRadius doesn't read NAS table from ic-radius, so I've made the changes in clients.conf; now I'm trying dial-in to NAS, but olny get: 'dropping packet from client pm3test:1026 due to dead request 10' 'discarding new request from client pm2test:1026 due to live request 14' 'rlm_sql_getvpdata: database query error' 'rlm_sql (sql): sql query error; rejecting user' This error appears because freeradius is getting trouble in read ic-radius tables, or is not table-related? Of course I'll not report you all my erroneous tests. I'm only trying to find out where to start to learn.
FreeRADIUS uses slightly different tables than ic-radius. If you run in debugging mode, you should see in more detail the exact query that FreeRADIUS is running. You may need to modify this query to match the layout of your tables, if you are not using the standard FreeRADIUS table definitions ( which are different than ic-radius ). You can run the queries by hand to see what the error is. Alternatively, I'd suggest setting up a test radius server with a new table structure laid out per the FreeRADIUS definitions. Add entries to that until you've gotten a test-user to authenticate via 'radtest'. Then you'll know what changes you'll need to make to migrate your servers from ic-radius to FreeRADIUS.
PAP will work with clear text password or crypted passwords stored inAlso, either chap or pap should work with SQL authorization method? It's easy to see I have no idea (yet) what exactly pap or chap does, it will be the next need-to-learn...
the SQL table. CHAP will work with only clear text passwords stored in
the SQL table. Most likely you are using PAP.
There are merely different ways of transmitting password information
from the end-user through the NAS to the RADIUS server.
-Chris
--
\\\|||/// \ StarNet Inc. \ Chris Parker
\ ~ ~ / \ WX *is* Wireless! \ Director, Engineering
| @ @ | \ http://www.starnetwx.net \ (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
\ Wholesale Internet Services - http://www.megapop.net
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
