Additional Restrictions for users

Alan DeKok aland at deployingradius.com
Sat Sep 25 09:09:42 CEST 2010


William Burnett wrote:
> What is the best way to go about this? I was trying to use unlang to
> query my database but can't seem to get the syntax right.

  The "sql" module queries databases.

...
>                 if ( %{group_membership_query} == "ssh") {

  This won't do what you want.  Instead, use

	if (SQL-Group == "ssh") {

  This is documented in raddb/sql.conf.

  Alan DeKok.



More information about the Freeradius-Users mailing list