<div dir="ltr"><div class="gmail_default" style="color:rgb(51,51,153)">Hello,</div><div class="gmail_default" style="color:rgb(51,51,153)">Sorry to bring this up again. </div><div class="gmail_default"><span style="color:rgb(51,51,153)">I tried to do as you said, and added this line : </span></div>
<div class="gmail_default"><font color="#333399"> VMPS-VLAN-Name = "%{sql:select radius.maclist.vlanname from radius.maclist where radius.maclist.mac='%{VMPS-Mac}'}"</font></div><div class="gmail_default" style>
<font color="#333399">as well as this one : $INCLUDE /etc/raddb/sql.conf ( don't know why, just told my self it made sense if I want the above line to be queried)</font></div><div class="gmail_default" style><font color="#333399">I took the vmps file to sites-enabled so it runs as a virtual server. </font></div>
<div class="gmail_default" style><div class="gmail_default"><font color="#333399">I followed just what I needed from this link <a href="http://wiki.freeradius.org/guide/SQL%20HOWTO">http://wiki.freeradius.org/guide/SQL%20HOWTO</a> to create the database and grant privileges...</font></div>
</div><div class="gmail_default" style><font color="#333399">However when I run radiusd I get this ( in the image)</font></div><div class="gmail_default" style><font color="#333399">I know it's probably elementary, but it's that English isn't my forte so I don't get what the debug says or why</font></div>
<div class="gmail_default" style><font color="#333399"><br></font></div><div class="gmail_default" style><font color="#333399"><br></font></div><div class="gmail_default" style><font color="#333399"><br></font></div><div class="gmail_default" style>
<font color="#333399">Oh and for the first option ( MAB ) I get this error when I try it : </font></div><div class="gmail_default" style><font color="#333399"><br></font></div><div class="gmail_default" style><div class="gmail_default">
<font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>ERROR: No authenticate method ( Auth-Type) found for the request : Rejecting the user</b></span></font></div><div class="gmail_default"><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>Failed to authenticate the user</b></span></font></div>
<div class="gmail_default"><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>Using Post-Auth-Type Reject</b></span></font></div><div class="gmail_default"><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>#Executing group from file /etc/raddb/sites-enables/default</b></span></font></div>
<div class="gmail_default"><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>+-entering group REJECT {...}</b></span></font></div><div class="gmail_default"><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>[attr_filer.access_reject]<span class="" style="white-space:pre"> </span>expand : %{User-Name} -> 001e68599e21</b></span></font></div>
<div class="gmail_default"><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>attr_filer : Matched entry DEFAULT at line 11</b></span></font></div><div class="gmail_default"><div class="gmail_default">
<div class="gmail_default"><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b>++ [attr_filter.access_reject] returns updated</b></span></font></div><div><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b><br>
</b></span></font></div><div><font color="#000000" face="arial, sans-serif"><span style="line-height:16px"><b><br></b></span></font></div></div></div><div class="gmail_default" style><font face="arial, sans-serif" color="#073763"><span style="line-height:16px">My users file has this : </span></font></div>
<div class="gmail_default" style><font face="arial, sans-serif" color="#073763"><span style="line-height:16px"><br></span></font></div><div class="gmail_default" style><font face="arial, sans-serif"><div class="gmail_default">
<span style="line-height:16px"><font color="#073763">001e68599e21 Auth-Type:= ACCEPT , User-Password == "001e68599e21"</font></span></div><div class="gmail_default"><span style="line-height:16px"><font color="#073763"> Tunnel-Type = VLAN,</font></span></div>
<div class="gmail_default"><span style="line-height:16px"><font color="#073763"> Tunnel-Medium-Type = IEEE-802,</font></span></div><div class="gmail_default"><span style="line-height:16px"><font color="#073763"> Tunnel-Private-Group-Id = 4</font></span></div>
<div style="color:rgb(0,0,0);font-weight:bold;line-height:16px"><br></div></font></div><div class="gmail_default" style>Thanks.</div></div></div>