Ok, I noted there are ext-accounting script support in MDP and it should do some checking against mpd-drop-user information and action taken accordingly. trying to locate the sample of script now. CK tnt@kalik.net wrote:
If what you have wrote is correct (and it does make sense) - to Accounting-Response packet.
Ivan Kalik
This is what I though as well. However, I read somewhere MPD was support this option but no details on where to put this attribute in.
Regards
tnt@kalik.net wrote:
Is anyone try this attribute /*mpd-drop-user*/ in freeradius with Mysql? MPD support this attribute to check the status of account during it update the accounting and if the value for this attribute become non-zero, it will disconnect the session for the user.
We use MPD to setup a PPPoE server with freeradius to provide authentication to users and we have come across to drop the session if the user's account suspended but we have no luck to make it work. Currently we try to put this attribute in radreply table and it doesn't work for us. Looking for your kind information in this matter.
Read what you wrote in the first paragraph. Attribute works when sent in accounting reply to update packet. radreply table is used for authentication not accounting. You will have to figure out a way of adding this to the accounting reply using unlang or perl (if conditions are more complicated).
Ivan Kalik
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.