SQL help from someone who groks c, please?

Phil Mayers p.mayers at imperial.ac.uk
Thu Feb 8 21:45:41 CET 2007

> So if I was looking to select a different response based on NAS what I
> should be doing is creating a stored procedure that ends up authenticating
> for me? I don't quite see where this would fit in with the rlm_sql logic. 
> Would that go in the sql.conf file? For using a new schema, would that mean
> instead adding an extra column in the radcheck table and the response table
> to associate with the NAS IP?

A stored procedure is one solution to a particular set of problems. 
Whether it's appropriate depends on what you're trying to do.

What do you want to achieve? You can certainly vary the reply info based 
on NAS without a stored procedure.

More information about the Freeradius-Users mailing list