<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>I have an Asterisk (PBX-in-a-Flash) system running
freeRADIUS version 1.1.3 i686-redhat-linux-gnu.<o:p></o:p></p>
<p class=MsoNormal>Running on CentOS 5.2 – soon to be upgraded to 5.3.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I need to setup an account on the freeradius server that can
be accessed by another system as a radius server – not the problem.<o:p></o:p></p>
<p class=MsoNormal>I then need to have freeradius call a script that checks
additional credentials before allowing the user to be accepted or rejected
access to the system they are on.<o:p></o:p></p>
<p class=MsoNormal>This check can take a few seconds to complete.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>This could be similar to someone using an RSA or other token
– but it is not a token.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>So basically I need to have freeradius after verifying
login/password, call the script and depending upon the outcome either allow or
deny the user access.<o:p></o:p></p>
<p class=MsoNormal>The script for testing could be as simple as: <o:p></o:p></p>
<p class=MsoNormal>
If minute is EVEN = allow in and say an appropriate message<o:p></o:p></p>
<p class=MsoNormal>
If minute is ODD = do not allow access and say an appropriate
message<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I have read most of the .conf files but am still
confused. Is there a HOW-TO that shows a simple example?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Thanks,<o:p></o:p></span></i></b></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></i></b></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Tom Schmitt<o:p></o:p></span></i></b></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Senior IT Staff -
R&D</span></i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Phone (801) <i>594-3030</i><o:p></o:p></span></p>
</div>
</body>
</html>