User Groups within FR

Alan DeKok aland at deployingradius.com
Mon May 25 23:27:15 CEST 2015


On May 25, 2015, at 5:15 PM, Ben Humpert <ben at an3k.de> wrote:
> 3.0.7 because you told me to upgrade from 2.1.12 ;)

  Sure.. I don't remember details about which email I send where.  It's simpler that way.

> Already had it enabled in my tests and also called it before the
> unlang statements. I'm not THAT stupid ;)

  It never hurts to be clear.

>> And add Allowed-SSID to the dictionaries.  See raddb/dictionary.
> 
> Also had done that. If not I couldn't have started the server because
> of "Unknown attribute" error

  Good.  Just making sure...
> Until now I always checked
> http://freeradius.org/radiusd/man/unlang.html but this time I actually
> opened the man unlang on my linux server and wow, what a difference.
> The website just contains "&" six times; for three foo && bar samples.

  I'll go update the web site.  I think it's for v2, so it's out of date with respect to v3.

> Are you going to only use the wiki for documentation, manpages, etc.
> or do you want to keep the website documentation stuff too? If not I
> guess it's ok if we (users) help improving the wiki ourselves?

  I'm writing tons of documentation:

http://networkradius.com/doc/current/unlang/

  And:

http://networkradius.com/doc/current/unlang/condition.html

  It's correct.  Perhaps incomplete, but correct.  The problem with the Wiki is that it gets edited by random people, and therefore can't be the official "correct" version of the documentation.

> I did. I used the exact same code for the format setting in the
> /etc/freeradius/mods-enabled/groups you've posted above. It worked.
> Then I checked my code and saw the problem. I missed the ~
> Instead of getting
> 
> groups: Added Allowed-SSID: 'base,small' to config_items
> 
> I now get
> 
> groups: Added Allowed-SSID: 'base,small' to request_items
> 
> I thought having it as an config attribute is fine. I was wrong.

  It should ben but you then have to refer to it as a config item.

> Thank you very much for your help!

  It's what I do.

  Alan DeKok.




More information about the Freeradius-Users mailing list