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 <h...@open.com.au> > > 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; > > > > What is authenticator? How can I read this value in AuthBy EXTERNAL? > > It's not an attribute, but part of fixed RADIUS packet header. > > http://tools.ietf.org/html/rfc2865#section-3 > > This also means you can not access it from AuthBy EXTERNAL. You could > consider using AuthBy INTERNAL and e.g., RequestHook or AuthHook instead. > > Heikki > > -- > Heikki Vatiainen <h...@open.com.au> > > Radiator: the most portable, flexible and configurable RADIUS server > anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, > Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, > TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, > DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, > NetWare etc. _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator