<div dir="ltr"><div class="gmail_extra">i checked this module
</div><div class="gmail_extra">i am getting error bellow</div><div class="gmail_extra"><br></div><div class="gmail_extra">BTW: CAN any one share site-enabled/default with me so that it will be able to authenticate all users</div>
<div class="gmail_extra">if i reply "Accept" in the authorize section with some php/shell script no matter what password and user name is provided</div><div class="gmail_extra"><br></div><div class="gmail_extra">
<div class="gmail_extra">Exec-Program output: Auth-Type := Accept</div><div class="gmail_extra">Exec-Program-Wait: plaintext: Auth-Type := Accept</div><div class="gmail_extra">Exec-Program: returned: 0</div><div class="gmail_extra">
++[control] returns notfound</div><div class="gmail_extra">Found Auth-Type = Local</div><div class="gmail_extra">WARNING: Please update your configuration, and remove 'Auth-Type = Local'</div><div class="gmail_extra">
WARNING: Use the PAP or CHAP modules instead.</div><div class="gmail_extra">No "known good" password was configured for the user.</div><div class="gmail_extra">As a result, we cannot authenticate the user.</div>
<div class="gmail_extra">Failed to authenticate the user.</div><div class="gmail_extra">Using Post-Auth-Type Reject</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">the sites-enabled/default is</div>
<div class="gmail_extra"><div class="gmail_extra">authorize {</div><div class="gmail_extra"> update control {</div><div class="gmail_extra"> Auth-Type := `/usr/bin/php -f /var/rad_check.php %{Called-Station-Id} %{User-Name} %{User-Password}`</div>
<div class="gmail_extra"> }</div><div class="gmail_extra">}</div><div class="gmail_extra"><div class="gmail_extra">authenticate {</div><div class="gmail_extra"><span class="" style="white-space:pre"> </span> Auth-Type PAP {</div>
<div class="gmail_extra"><span class="" style="white-space:pre"> </span>pap</div><div class="gmail_extra"><span class="" style="white-space:pre"> </span> }</div><div class="gmail_extra"><span class="" style="white-space:pre"> </span> Auth-Type CHAP {</div>
<div class="gmail_extra"><span class="" style="white-space:pre"> </span>chap</div><div class="gmail_extra"><span class="" style="white-space:pre"> </span> }</div><div class="gmail_extra">}</div></div></div></div></div></div>