Reject user without realm
Arran Cudbard-Bell
A.Cudbard-Bell at sussex.ac.uk
Mon Apr 9 20:43:19 CEST 2007
Marcos Roberto Greiner wrote:
> Hi,
>
> I'm trying to use FreeRadius with Realms (using the form user at realm).
> Basically, if a user uses user at provider1.com, I want Radius to
> authenticate locally. If it's @provider2.com, 3.com, etc, on other
> servers listed in proxy.conf.
>
> The problem I'm having is that if a user adds no realm, only the user,
> the server is autenticating locally. I wanted it to deny the
> authentication. How should I proceed?
>
> Thank you very much,
>
> Roberto
>
>
Ok , so you just want to Reject users who don't provide a realm ?
Then you would need an entry in the users file like this
DEFAULT User-Name !~ "^([[:alnum:]^@]+)@([[:alnum:].]+)$", Auth-Type :=
Reject
---
Arran
More information about the Freeradius-Users
mailing list