Re: [RADIATOR] Chap challenge in AuthBy EXTERNAL

2012-02-16 Thread Heikki Vatiainen
On 02/16/2012 11:32 AM, Mark Green wrote: > I could use PreAuthHook to read the authenticator and add it as a > custom attribute. > But how can I read the packet info I need from the hook? Try ${$_[0]}->authenticator. That should give you the authenticator from the current request. Thanks! Heikk

Re: [RADIATOR] Chap challenge in AuthBy EXTERNAL

2012-02-16 Thread Mark Green
Thank you very much for your answer. I could use PreAuthHook to read the authenticator and add it as a custom attribute. But how can I read the packet info I need from the hook? Please somebody help me. 2012/2/15 Heikki Vatiainen > > On 02/14/2012 05:34 PM, Mark Green wrote: > > > # The challen

Re: [RADIATOR] Chap challenge in AuthBy EXTERNAL

2012-02-15 Thread Heikki Vatiainen
On 02/14/2012 05:34 PM, Mark Green wrote: > # The challenge is sent by the client in CHAP-Challenge. > # If that is not set, the challenge is in the authenticator > $challenge = $p->getAttrByNum($Radius::Radius::CHAP_CHALLENGE); > $challenge = $p->authenticator unless defined $challenge; > > Wha