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.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to