On Fri, Oct 01, 2004 at 05:48:28PM +0300, Kyriaki Gali wrote: > ok i have solve my problem with rlm_perl. > > Does anyone know how can i get enviroment variables in example.pl > Before i use rlm_pel i get that like this > $username = $ENV{USER_NAME}; > Now what can i do to get $username from the accounting_stop packet?
try like this $username = $RAD_REQUEST{'User-Name'} where RAD_REQUEST is hash which contains full request with keys that are names of Value pairs. -- Best Regards, Boian Jordanov SNE Orbitel - the Internet Company tel. +359 2 937 07 23 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html