On Tue, 20 Jul 2004, Lopez, A. wrote: > Ok! Great, > Here it comes my next question. > How can I identify a request based on the NAS-Identifier attribute and > configure FreeRADIUS to, based on that attribute, execute a specific SQL > clause? > I don't see such an option in the radiusd.conf file... > Kind regards, > Alex
You can use the users file for that (rough details): radiusd.conf: sql sql1{ [...] specific query1 } sql sql2{ [...] specific query2 } authorize{ files autztype SQL1{ sql1 } autztype SQL2{ sql2 } } users file: DEFAULT NAS-Identifier == "NAS1", Autz-Type := SQL1 DEFAULT NAS-Identifier == "NAS2", Autz-Type := SQL2 > > -----Original Message----- > From: jesk [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 4:45 PM > To: [EMAIL PROTECTED] > Subject: Re: FreeRADIUS and MySQL > > All these things can be done with freeradius. > > > > > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html