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

[RADIATOR] Chap challenge in AuthBy EXTERNAL

2012-02-14 Thread Mark Green
Hello, I'm using an external command to authenticate users with . I've implemented PAP and CHAP. I've a problem with CHAP. If the NAS sends CHAP-Challenge I have no problem. But some ciscos send only CHAP-Password. How can I get the CHAP challenge in this case? In AuthGeneric.pm i read these l