11 May
2012
11 May
'12
1:07 p.m.
On 11/05/12 16:39, Mike wrote:
Hello,
Is it possible store and access an ldap attribute in pre-proxy? 1. Attribute defined in dictionary 2. Attribute mapped in ldap.attrmap 2. Trying to access using:
pre-proxy { If (%{reply:attributename} == "cookies" { update proxy-reply { Whatever = "cookies" }} }
You can't update the proxy-reply in pre-proxy; there is no proxy-reply at this stage.
the problem is the attribute is expanding to nothing. This does work in the auth section but i need to update the proxy msg. What am i doing wrong?
We don't know, because we're not psychic and you didn't include a debug of it failing.