24 Apr
2008
24 Apr
'08
3:17 a.m.
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.