[RADIATOR] retrieving contents of AuthAttrDef request
Hugh Irvine
hugh at open.com.au
Tue Feb 1 01:09:38 CST 2011
Hello Matt -
You would use a PostSearchHook in the AuthBy LDAP2 clause.
See section 5.36.21 in the Radiator 4.7 reference manual ("doc/ref.pdf").
regards
Hugh
On 1 Feb 2011, at 17:58, Matt wrote:
>
>
>
> Hi.
>
> I need to write a hook that will see the result of an AuthAttrDef request from an LDAP query to save me from talking to LDAP directly from the hook.
> My AuthAttrDef would be similar to the following.
>
> <AuthBy LDAP2>
> bla
> bla
> bla
> AuthAttrDef ldap-attributeX, radius-attributeX,request
> bla
> </AuthBy>
>
> So when the hook executes I'm wanting to do something like $myvalue = $p->{radius-attributeX};
> Not sure if i'm on the right track here.. Any clues would be appreciated.
>
> thanks..
>
> Matt Naismith
>
>
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
NB:
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
More information about the radiator
mailing list