Can unlang do this?

Alan DeKok aland at deployingradius.com
Thu Apr 24 10:41:05 CEST 2008


Chris wrote:
> And what would the unlang syntax be for setting the value of an
> arbitrarily-named variable like that?

$ man unlang

  It's not an "arbitrarily named variable", it's defined in the private
FreeRADIUS dictionary.  It's a string attribute, just like anything else.

> Nothing I've tried is working.  Keep getting:
> 
> /usr/local/etc/raddb/sites-enabled/default[49]: Unknown action
> 'ou=accounts,dc=viptalk,dc=net'.

  Since you didn't post what you were trying to do, all I can say is
you're doing it wrong.

  I hate guessing games.  Is it so difficult to give an example of what
you tried to do?

  And even the example is unnecessary.  The documentation explains how
to assign values to attributes, and gives examples of doing it.  Copy
the examples, and change the attribute name and value.

  Alan DeKok.



More information about the Freeradius-Users mailing list