"double" realm problem

mr typo euroregistrar at gmail.com
Fri Oct 30 13:51:40 CET 2009


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 at 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 at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091030/a8f038db/attachment.html>


More information about the Freeradius-Users mailing list