thanks again. im really sorry about mistakes i've made. i was trying to say "authorize" instead of "authenticate", then: if realm is "wireless", i want radius to authorize the user using MySQL. if realm is "dhcp", i want radius to authorize the user using the SQL server. ----- users file # Except these two lines of the file the rest is commented. line 155 - DEFAULT Auth-Type := System, Realm == "wireless", Autz-Type := SQL1 line 157 - DEFAULT Auth-Type := System, Realm == "dhcp", Autz-Type := SQL2 ------ radiusd.conf file $INCLUDE ${confdir}/sql1.conf $INCLUDE ${confdir}/sql2.conf authorize { ... Autz-Type SQL1 { sql1 } Autz-Type SQL2 { sql2 } } My problem is that after reading the "users" file and getting a Match, when Radius enters the authorize seccion it never read the subsection "Autz-Type SQL2 { sql2 }". what's wrong with that?. thanks alan!. should i add more files/data?. thanks!!!