<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
CK<br>
<a class="moz-txt-link-abbreviated" href="mailto:tnt@kalik.net">tnt@kalik.net</a> wrote:
<blockquote
 cite="mid:55782.87.194.16.13.1259635902.squirrel@www.kalik.net"
 type="cite">
  <pre wrap="">If what you have wrote is correct (and it does make sense) - to
Accounting-Response packet.

Ivan Kalik

  </pre>
  <blockquote type="cite">
    <pre wrap="">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

<a class="moz-txt-link-abbreviated" href="mailto:tnt@kalik.net">tnt@kalik.net</a> wrote:
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">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.

        </pre>
      </blockquote>
      <pre wrap="">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
<a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>


      </pre>
    </blockquote>
    <pre wrap="">--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-
List info/subscribe/unsubscribe? See
<a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->

-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>

  </pre>
</blockquote>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</body>
</html>