> Here is the debug output: > > ...... > ++[mschap] returns ok > +- entering group session {...} > [sql] expand: %{User-Name} -> usertr2048 > [sql] sql_set_user escaped user --> 'usertr2048' > [sql] expand: SELECT COUNT(*) FROM > radacct WHERE username = > '%{SQL-User-Name}' AND acctstoptime IS > NULL -> SELECT COUNT(*) FROM radacct > WHERE username = 'usertr2048' > AND acctstoptime IS NULL > rlm_sql (sql): Reserving sql socket id: 1 > [sql] expand: SELECT radacctid, acctsessionid, username, > nasipaddress, nasportid, framedipaddress, > callingstationid, framedprotocol > FROM radacct WHERE > username = '%{SQL-User-Name}' AND > acctstoptime IS NULL -> SELECT radacctid, acctsessionid, username, > nasipaddress, nasportid, framedipaddress, > callingstationid, framedprotocol > FROM radacct > WHERE username = 'usertr2048' AND > acctstoptime IS NULL > checkrad: Net::Telnet 3.00+ CPAN module not installed > rlm_sql (sql): Released sql socket id: 1 > [sql] Failed to check the terminal server for user 'usertr2048'. > ++[sql] returns fail > +- entering group post-auth {...} > ....... > > So it says checkrad: Net::Telnet 3.00+ CPAN module not installed. > Meanwhile the radutmp line in session section of > /sites-available/default file is commented out, sql line is in charge.
If you don't want checkrad.pl to check with NAS (ie only look in the radacct table) set nastype as other in clints.conf. Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html