Send Reject When User Logged In Already
boyali kus
boyalikus at gmail.com
Mon Nov 2 12:43:00 CET 2009
Hello Again,
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.
Best Regards
> If you:
>
> a) receive accounting packets
>
> b) configure the SQL module to store data
>
> c) set 'Simultaneous-Use := 1' somewhere
>
> Then it should work.
>
> As *always*, run the server in debugging mode to see what it's doing.
> In 2.1.7, you can use "raddebug".
>
> Alan DeKok.
More information about the Freeradius-Users
mailing list