Is there any place in the config to limit simultaneous sessions both to vouchers and permanent users?
Out-of-teh-box, when a user is created, both as permanent user or voucher, it can login simultaneously in different devices and/or NAS (locations). Can we limit this?
Cheers,
Fernando
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for the late reply but I've been busy deploying this in a real world production scenario and everything is working fine.
I've set the attribute as you've mentioned before and although the error message is not clear at all, it does the trick. It limits the simultaneous session to one only.
I'll deploy this change in the test environment before I put it in the production servers and I'll get back to you with the feedback.
Would it be safe just to do an SVN update to the latest version and test all changes? Where could we get a list of features/corrected bugs from version to version?
Cheers,
Fernando
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
Is there any place in the config to limit simultaneous sessions both to vouchers and permanent users?
Out-of-teh-box, when a user is created, both as permanent user or voucher, it can login simultaneously in different devices and/or NAS (locations). Can we limit this?
Cheers,
Fernando
Hi Fernando,
Yes you simply add the Simultaneous-Use (FreeRADIUS internal) check attribute and the amount of sessions you want to limit the user to.
You unfortunately also have to edit the checkrad script to not return an error when it does a look-up.
I'll see if I can add the documentation to show you the edits.
Kind regards
Thanks Dirk,
The documentation would be great! :-)
Cheers,
Fernando
Hi Fernando,
Rather late than never :-)
I've added the fixed checkrad script to the SVN tree and also updated the install documentation to include the replacement of it.
https://sourceforge.net/p/radiusdesk/code/HEAD/tree/trunk/rd_cake/Setup/Radius/checkrad
So basically simply grab the fixed checkrad script from the SVN tree and replace your /usr/local/sbin/checkrad script with this one.
Restart FreeRADIUS just for good measure and test to see if it now limits the sessions.
Please report your success or failure back to us.
Kind regards
Hi Dirk,
Sorry for the late reply but I've been busy deploying this in a real world production scenario and everything is working fine.
I've set the attribute as you've mentioned before and although the error message is not clear at all, it does the trick. It limits the simultaneous session to one only.
I'll deploy this change in the test environment before I put it in the production servers and I'll get back to you with the feedback.
Would it be safe just to do an SVN update to the latest version and test all changes? Where could we get a list of features/corrected bugs from version to version?
Cheers,
Fernando