On Thursday 16 January 2003 15:37, Matthew M. Gamble wrote:
> Greetings,
>
>     I am trying to setup Freeradius with MySQL, and have a quick question
> about the variables available in my SQL queries.
>
>     Right now, I have FreeRadius / MySQL working, and stripping realms, and
> authenticating users correctly.  My question is this - can I get the realm
> that was stripped as a variable?  For example, if a user logs in as
> [EMAIL PROTECTED], I want to do a select where username = 'user' and domain
> 'testing.com'.

Use Suffix == 'testing.com' as a check item.  As long as you have the suffix 
module configured properly and it is before files in the authorize section, 
this should work.

> Is this possible?  Sorry if this was asked before, but since the list
> archives aren't searchable, I figure it was faster to ask again rather than
> wade through all of the back messages.

Uh...there's been a link to search the archives on the website for quite a 
while.

Kevin Bonner

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to