Re: Reject user without realm

This is a discussion on Re: Reject user without realm within the FreeRADIUS Users forums, part of the Networking and Network Related category; Arran Cudbard-Bell wrote: > Marcos Roberto Greiner wrote: > >> Hi, >> >> I'm trying ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2007
Roberto Greiner
 
Posts: n/a
Default Re: Reject user without realm

Arran Cudbard-Bell wrote:
> 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
>

That didn't work. When the user adds the 'local' domain (provider1.com),
the hints file strips the domain for the checking against the database.
After that, the new entry in the users file will reject the user,
because there is no longer any domain in the login.

Roberto

--
-----------------------------------------------------
Marcos Roberto Greiner

Os otimistas acham que estamos no melhor dos mundos
Os pessimistas tem medo de que isto seja verdade
Murphy
-----------------------------------------------------

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0