you can choose from where to get the attribute value via: %{Reply:Class} %{Request:Class}
if you know the value will be in the Reply packet, use %{Reply:Class}. I think the default (if using %Class) is the request packet and may appear blank. On Wed, 29 Jun 2011, Heikki Vatiainen wrote: > On 06/29/2011 05:49 PM, Bob Shafer wrote: > > Hello Bob, > >> I would like to do something like this: >> >> <AuthBy GROUP> >> AuthByPolicy ContinueWhileAccept >> <AuthBy FILE> >> Filename %D/access-users >> </AuthBy> >> <AuthBy EXTERNAL> >> Command %D/scripts/otherauth %T >> </Authby> >> </AuthBy> >> >> where the file access-users contains entries like this: >> >> >> fred Class = Vendor >> Callback-Number = 1234567890 >> jane Class = User >> >> I'd like to pass the reply attributes from the AuthBy File to the AuthBy >> EXTERNAL script. >> >> I'm pretty sure there must be a way to do that, but I haven't figured it >> out yet. > > Here's a quick (ugly?) way to do it: > Add <AuthBy INTERNAL> between the two AuthBys. The INTERNAL would have a > small inline RequestHook that adds Callback-Number from the reply to the > request. > > Thanks! > > -- > 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 > _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator