"unlang" has now been updated to use the new update parsing Arran added for the LDAP and cache modules. This makes the update sections a little simpler, with a bit more power. You can now use attribute references. For clarity, they require the use of "&": update reply { Filter-Id := &request:User-Name } This copies User-Name from the request to the Filter-Id in the reply. The value isn't printed, expanded, or parsed. it's a straight copy of internal data structures. You can also do: update { reply:Filter-Id := &request:User-Name } Which does what you expect. The following is likely to *not* work: update { reply:Filter-Id := "foo" request:User-Name := "bar" } That should probably work in the future. But not now. The old format for the "update" sections is still accepted, and still works. The current status of v3 is that it has had a number of old and unused modules deleted. However, it has about the same number of lines of code as v2.2.0, and has a fair bit more functionality. It's good to see that the server is being simplified while it's being made more complex. :) Alan DeKok.
participants (1)
-
Alan DeKok