<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 14 (filtered medium)"><title>service messages</title><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi again,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> Got a bit trigger happy on the email – testing this works fine – I added my service_messages to ${raddbdir} and it worked ok.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Whereabouts is this documented – wondering on how far the scope goes..<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Andy<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeradius-users-bounces+andy.franks=sath.nhs.uk@lists.freeradius.org [mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk@lists.freeradius.org] <b>On Behalf Of </b>Franks Andy (RLZ) IT Systems Engineer<br><b>Sent:</b> 13 October 2014 17:00<br><b>To:</b> freeradius-users@lists.freeradius.org<br><b>Subject:</b> service messages<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-family:"Calibri","sans-serif"'>Hi all,</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'> Is the v2 functionality of service_messages etc (under the logging bit of</span> <span style='font-family:"Calibri","sans-serif"'>radiusd.conf) in v3? I’d like to configure some standard error messages to be in one place and refer to them in policies etc without having to dig out where they are at..</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>Something like</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>service_messages {</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'> #</span> <span style='font-family:"Calibri","sans-serif"'>invalid mac address</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'> </span> <span style='font-family:"Calibri","sans-serif"'>mac_address_incorrect = “the mac address format is invalid”</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>}</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>Then in policies etc</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>Reply-Message := "${service_messages.mac_address_incorrect}”</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>That sort of thing. Am I missing some obvious documentation somewhere? Apologies if so.</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>Thanks</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>Andy </span> <o:p></o:p></p></div></body></html>