solved it now another way:<div><br><div><div> authorize {</div><div> auth_log</div><div> suffix</div><div> mschap</div><div> eap {</div><div> ok = return</div>
<div> }</div><div> if ( ("%{User-Name}" !~ /@/) || ("%{User-Name}" =~ /@.*@/)) {</div><div> update reply {</div><div> Reply-Message := "FHSCommon: Wrong Username"</div>
<div> }</div><div> reject</div><div> }</div><div> }</div><div><br></div><div>maybe someone knows why the "failed to find module..." appears when using policy.conf</div>
<div><br></div><div>kind regards</div><div>-euro</div><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 9:31 AM, mr typo <span dir="ltr"><<a href="mailto:euroregistrar@gmail.com">euroregistrar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">when i put the "validate_username" direct after<div>server eduroam {</div><div> validate_username</div><div>
authorize {</div><div> .....</div><div><br></div><div>i do not get an error. but it doesnt work. i am just trying around, i know that the "validate_username" doesnt make sense when NOT in the authorize section.</div>
<div><br></div><div>so anyone has an idea redgarding the "failed to find module..." problem?</div><div><br></div><div>thanks</div><div><br></div><div>-euro</div><div><div></div><div class="h5"><div><div><br><div class="gmail_quote">
On Tue, Oct 27, 2009 at 2:33 PM, Alan Buxey <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk" target="_blank">A.L.M.Buxey@lboro.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div><br>
> /etc/raddb/sites-enabled/eduroam[9]: Failed to find module<br>
> "validate_username".<br>
> /etc/raddb/sites-enabled/eduroam[2]: Errors parsing authorize section.<br>
<br>
</div>hmm, interesting - this looks very much like a post i made here earlier<br>
this month where 3rd-party virtual servers dont seem to pick up details from<br>
main modules and include files - my case was that Autz-Type wasnt known if<br>
i called 'users' file in my virtual-server<br>
<font color="#888888"><br>
alan<br>
</font><div><div></div><div>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div></div>
</div></div></blockquote></div><br></div></div>