Hey everyone,<br><br>I was wondering if it&#39;s possible to combine the two methods of lookup<br>so that a user can authenticate to both radius and local database (on the one<br>that he is defined).<br><br>to authenticate via radius it is done in my register section like this:
<br><br>&nbsp;&nbsp; if (!radius_www_authorize(&quot;&quot;))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www_challenge(&quot;&quot;,&quot;0&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br><br>and so I was wondering if it&#39;s possible to do something like this:<br>
<br>&nbsp;&nbsp; if ( (!www_authorize(&quot;&quot;,&quot;subscriber&quot;)) || (!radius_www_authorize(&quot;&quot;)) )<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www_challenge(&quot;&quot;,&quot;0&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>
&nbsp;&nbsp;&nbsp; };<br><br><br><br><br>Thanks,<br>Lir.<br>