Hello Jim - You have a few options:
1. do as you have done 2. use the OSC vendor-specifics as already defined - or add your own and send them to us so we can add them to the standard dictionary 3. apply for your own enterprise number and define your own vendor-specifics (http://pen.iana.org/pen/PenApplication.page) regards Hugh On 30 Apr 2013, at 18:41, Jim Tyrrell <j...@scusting.com> wrote: > Hi, > > I have created a PreProcessingHook to tweak a few attributes into a more > friendly format for the > MySQL inserts/updates. The hook creates new attributes: > > $p->add_attr("R_RouteList", $FramedRoutes); > $p->add_attr("R_Tunnel-Server-Endpoint_in", @words[0]); > $p->add_attr("R_Tunnel-Client-Endpoint_out", @words[1]); > > This results in errors as the attribute is not known: > Mon Apr 29 16:51:24 2013: WARNING: No such attribute R_RouteList > Mon Apr 29 16:51:24 2013: WARNING: No such attribute R_RouteList > > So I guess I just need to add definiations to the Dictionary file such as: > > VENDOR RadiatorInternal 99999 > BEGIN-VENDOR RadiatorInternal > VENDORATTR 99999 R_RouteList 1 > string > VENDORATTR 99999 R_Tunnel-Server-Endpoint_in 2 string > VENDORATTR 99999 R_Tunnel-Server-Endpoint_out 3 string > END-VENDOR > > Is there a specific vendor code I should be using for my own custom entries? > Or is it just a case of picking a random number > thats not been used and adding as above? Or should I be adding the > attributes in another way that can be used by an > AuthBy to update SQL but is not required in the dictionary? > > Thanks. > > Jim. > > _______________________________________________ > radiator mailing list > radiator@open.com.au > http://www.open.com.au/mailman/listinfo/radiator -- Hugh Irvine 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