Ldap attribute in pre-proxy possible?
Phil Mayers
p.mayers at imperial.ac.uk
Fri May 11 19:07:40 CEST 2012
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.
More information about the Freeradius-Users
mailing list