<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> Hello, I'm using Debian and Freeradius 2.0.4-3<br>

><br>
> I want to use the hints file to add an attribute named Intentos-Reject.<br>
> I would like to use only one DEFAULT entry to match with @<a href="http://domain.es" target="_blank">domain.es</a><br>
> and with @<a href="http://temp.domain.es" target="_blank">temp.domain.es</a><br>
<br>
</div>  Don't use "hints" for that.<br></blockquote><div><br>Sorry, but I don't understand. I need to add an attribute to the request <br><br># /etc/freeradius/hints<br>
#       The hints file.   This file is used <b>to match</b><br>
#       <b>a request, and then add attributes to it</b>.  This ...<br>
<br>I use this attribute later, in users file, to reject users:<br><br># /etc/freeradius/users<br>DEFAULT Intentos-Reject > 10, Auth-Type := Reject<br>        Reply-Message = "NUMERO DE INTENTOS FALLIDOS(%{Intentos-Reject}) EXCEDIDO"<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> The Suffix attribute matches a suffix, not a regular expression.<br></blockquote>
<div><br>OK<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
  Use "unlang" for this kind of matching.  See "man unlang"<br></blockquote><div><br>I saw unlang, but, Where must I use unlang? In hints file?<br><br>This it not OK:<br><br># /etc/freeradius/hints<br>
DEFAULT (Suffix == "@<a href="http://domain.es">domain.es</a>" || Suffix == "@<a href="http://temp.domain.es">temp.domain.es</a>")<br>         Intentos-Reject = ...<br> <br><br>Sorry if my questions are stupid and sorry for my english.<br>
<br>Thanks Alan<br></div></div>____________________<br><br>  Ana Gallardo Gómez<br>____________________<br>