Re: Reject user without realm



Marcos Roberto Greiner wrote:
Hi,

I'm trying to use FreeRadius with Realms (using the form user@realm).
Basically, if a user uses user@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




This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.