Can unlang do this?
Chris
cjl at viptalk.net
Thu Apr 24 09:26:32 CEST 2008
Any other dynamic expansions? server = ? filter = ?
On Apr 24, 2008, at 12:17 AM, Alan DeKok wrote:
> Chris wrote:
>> Should I expect something like this to do the right thing?
>
> No. The configuration for modules cannot use unlang. "unlang" is
> used *only* for processing packets.
>
>> Basically, I want to set certain ldap variables based on the
>> Huntgroup-Name. Without defining a bunch of different ldap servers,
>> that is.
>
> 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.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list