1 .adding Exec-Program-Wait to radreply table in both exit(0) and exit(1) states, Radiusd -X prompts: ... radius_xlat: '/myradiusauth.pl mehdi' Exec-Program: /myradiusauth.pl mehdi Exec-Program: Abnormal child exit Delaying request 0 for 1 seconds Finished request 0 Going to the next request ...
2. is it possible to run the same program when user logout with mysql conf ? ( with acct-status-type="stop" ?!) > > I want when the radiusd recieves a request from RAS server for > > authentication of a user, a perl script to be run with 'username' as >it's > > argument. this perl script generates 2 outputs '0' : for NOT allowing >the > > user to login and '1': for allowing user to login. > > See 'Exec-Program-Wait'. It looks for the Unix standard of exit(0) >meaning OK (let the user in), and exit(1) meaning "problem" (don't let >the user in) > > Alan DeKok. Regards, Mehdi Roomi. _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
