Can unlang do this?

Chris cjl at viptalk.net
Thu Apr 24 10:02:30 CEST 2008


On Apr 24, 2008, at 12:17 AM, Alan DeKok wrote:
>
>  The basedn is dynamically expanded.  You can do something like:
>
>  modules {
> 	ldap {
> 		basedn = "%{Tmp-String-1}"
>
> 	}
>  }
>
>  and then use "unlang" (or anything else) to set the value of
> TMP-String-1 to whatever DN you want.

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

Nothing I've tried is working.  Keep getting:

/usr/local/etc/raddb/sites-enabled/default[49]: Unknown action  
'ou=accounts,dc=viptalk,dc=net'.



More information about the Freeradius-Users mailing list