Re: add realm to user based on NAS-IP

2007-04-11 Thread Alexander Papenburg
Arran Cudbard-Bell schrieb: rlm_realm instances do much the same job as the Proxy-To-Realm reply item, just they also handle splitting the username into it's component parts. Usually you would use one or the other, but not both. Okay I tested both ways: 1st with suffix disabled in authorize

Re: add realm to user based on NAS-IP

2007-04-11 Thread Arran Cudbard-Bell
Alan DeKok wrote: Alexander Papenburg wrote: Okay I tested both ways: 1st with suffix disabled in authorize section of radiusd.conf and: DEFAULT NAS-IP-Address == 10.0.0.1, Proxy-To-Realm := realm User-Name = [EMAIL PROTECTED] In the users file? That sets the User-Name used in

Re: add realm to user based on NAS-IP

2007-04-11 Thread Arran Cudbard-Bell
DEFAULT NAS-IP-Address == 10.0.0.1, Proxy-To-Realm := realm Ah yes, still the top entry should have worked, username would have to be rewritten in hints file. Or with attr_rewrite. Yippiieee, the request has been sent through to the home-server. Still need to work on the

Re: add realm to user based on NAS-IP

2007-04-10 Thread Alexander Papenburg
Hi Arran, hi Alexander and hi Freeradius-List, I ran into problems regarding to the Proxy-to-realm thing... :( My Setup: 10.0.0.1 A cisco Router 10.0.1.20 My Terminal 192.168.0.1 Radius (Home Server) 192.168.0.2 Radius (Proxy) At first a successful login with username [EMAIL PROTECTED]:

Re: add realm to user based on NAS-IP

2007-04-10 Thread Arran Cudbard-Bell
Alexander Papenburg wrote: Hi Arran, hi Alexander and hi Freeradius-List, I ran into problems regarding to the Proxy-to-realm thing... :( My Setup: 10.0.0.1 A cisco Router 10.0.1.20 My Terminal 192.168.0.1 Radius (Home Server) 192.168.0.2 Radius (Proxy) At first a successful login

Re: add realm to user based on NAS-IP

2007-04-10 Thread Arran Cudbard-Bell
Alexander Papenburg wrote: You should also comment out any rlm_realm instances in the authorize section. The Problem is, suffix is already commented out in authorize section. IMHO the user [EMAIL PROTECTED] (see 1st try) won't work either. - List info/subscribe/unsubscribe? See

Re: add realm to user based on NAS-IP

2007-04-02 Thread Alexander V. Klepikov
Hello, Alexander! You wrote on Sat, 31 Mar 2007 18:11:46 +0200: AP i wonder if it is possible to add a realm to a username based on the AP NAS-IP the request come from. AP For instance: AP - user abc logs on router 10.0.0.1 AP - router 10.0.0.1 asks a freeradius proxy for user abc AP -

Re: add realm to user based on NAS-IP

2007-04-01 Thread Arran Cudbard-Bell
Message: 1 Date: Sat, 31 Mar 2007 18:11:46 +0200 From: Alexander Papenburg [EMAIL PROTECTED] Subject: add realm to user based on NAS-IP To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;