On Thu, 15 Aug 2002, Alan DeKok wrote:
> Frank Cusack <[EMAIL PROTECTED]> wrote:
> > Thanks, I've committed something along those lines. It would be great
> > if you could test it.
> >
> ...>
> > - if (inst->config->authenticate_query){
> > + if (*inst->config->authenticate_query){
>
> If 'authenticate_query' is NULL, then there's a problem.
>
> On further inspection, why does SQL have an authenticate query? I
> thought that we had removed the authentication section from SQL.
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
OK I 've removed the authenticate_query. I 've also added an sql_groupcmp and an
Sql-Group attribute. So we can now do checks like:
DEFAULT Sql-Group == "admins"
Reply-Message = "Welcome admin"
Please do a cvs update and see if everything works ok.
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 10 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html