solved it now another way: authorize { auth_log suffix mschap eap { ok = return } if ( ("%{User-Name}" !~ /@/) || ("%{User-Name}" =~ /@.*@/)) { update reply { Reply-Message := "FHSCommon: Wrong Username" } reject } } maybe someone knows why the "failed to find module..." appears when using policy.conf kind regards -euro On Wed, Oct 28, 2009 at 9:31 AM, mr typo <euroregistrar@gmail.com> wrote:
when i put the "validate_username" direct after server eduroam { validate_username authorize { .....
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.
so anyone has an idea redgarding the "failed to find module..." problem?
thanks
-euro
On Tue, Oct 27, 2009 at 2:33 PM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk>wrote:
Hi,
/etc/raddb/sites-enabled/eduroam[9]: Failed to find module "validate_username". /etc/raddb/sites-enabled/eduroam[2]: Errors parsing authorize section.
hmm, interesting - this looks very much like a post i made here earlier this month where 3rd-party virtual servers dont seem to pick up details from main modules and include files - my case was that Autz-Type wasnt known if i called 'users' file in my virtual-server
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html