<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:tnt@kalik.net">tnt@kalik.net</a> a écrit :
<blockquote cite="mid:yZ9zPM52.1224331119.5029830.tnt@kalik.net"
 type="cite">
  <pre wrap="">The name of the attribute you want is used in mysql dialup.conf (group
check query) and is printed out *every time* you run radiusd -X (both
when server starts and *each* time you process the request). For less
obvious attributes used by the server look up freeradius.internal
dictionary - dictionaries are the obvious place to look if you are not
sure what the name of some attribute is exactly (when you run into a
word you don't know you also look in the - dictionary).

  </pre>
</blockquote>
Thanks, I saw this, but unfortunaltely whereas in dialup.conf the
variable is '%{Sql-Group}', It seems i cannot re-use it outside of an
sql module. I have even tried to add an update control directive to add
a Tmp-String-0 (correctly expanded in the sql module) at the end of the
sql module and so re-use it at the end of the aythorize section
(outside sql module), but it doesn't work as it's expanded to an empty
string...<br>
<blockquote cite="mid:yZ9zPM52.1224331119.5029830.tnt@kalik.net"
 type="cite">
  <pre wrap="">You need to use lists with attributes in unlang (in this case attribute
is from control list) since default is request.
  </pre>
</blockquote>
same result with "%{control:Tmp-String-0}".<br>
<br>
<blockquote cite="mid:yZ9zPM52.1224331119.5029830.tnt@kalik.net"
 type="cite">
  <pre wrap="">
Ivan Kalik
Kalik Informatika ISP


Dana 18/10/2008, "Alexandre Chapellon" <a class="moz-txt-link-rfc2396E" href="mailto:alexandre.chapellon@mana.pf"><alexandre.chapellon@mana.pf></a>
pi¹e:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hy all

I would like to use the name of the group a user is member of to update
the check item list.
I though using unlang to do so, and an update directive but icannot find
the variable name (if any) to use for the name of the group.
I have "%{Group}" "%{Group-Name}" "%{SQL-GROUP}" but no success:
expansions always gives me an empty string.
The groups are stored in MySQL database.

the update directive is at the end of the autorize section....

Does anyone knows how to refer to the group?
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>

  </pre>
</blockquote>
</body>
</html>