freeradius wont let realms based auth

Andres Pazos andy at ferengi.com.ar
Fri Nov 11 19:43:09 CET 2005


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!!! 

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2943 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20051111/a7939958/attachment.bin>


More information about the Freeradius-Users mailing list