That error message has nothing to do with the NAS-IP-Address config 
(clients.conf looks fine) , ensure that the test you send uses a method that 
your RADIUS server can deal with. What/how are you doing the testing and you'd 
help enormously by providing 'radius -X' output. This sort of thing works out 
of the box so I'm concerned that you're butchered the config

alan

--
Message may be brief as it has been sent from my mobile

----- Reply message -----
From: "Dagia Dorjsuren" <[email protected]>
Date: Wed, Sep 21, 2011 03:08
Subject: Multiple NAS configuration
To: "Fred" <[email protected]>, "FreeRadius users mailing list" 
<[email protected]>

Hi,

   I try to figure out how to make following configuration:
1. Three clients. (Three access points. NAS1, NAS2 and NAS3)
2. There is one, central freeradius server holding all acounts, for three 
locations.

Now, what I try to do is to create accounts that are location dependant... so 
account created for NAS1 and NAS2, can't be used on NAS3.

For example :
NAS1 ip address : 192.168.1.10
NAS2 ip address : 192.168.1.20
NAS3 ip address : 192.168.1.30
=============================
In clients.conf
client 192.168.1.10 {
       secret = testap1
       shortname = nas1
       nastype = other
}
client 192.168.1.20 {
       secret = testap2
       shortname = nas2
       nastype = other
}
client 192.168.1.30 {
       secret = testap3
       shortname = nas3
       nastype = other
}
=============================

I have configured it for one user "test" in radcheck table as below.

+-----+-------------------+--------------------+----+----------------------------+
| id  | username          | attribute          | op | value                     
 |
+-----+-------------------+--------------------+----+----------------------------+
|  1  | test            | NAS-IP-Address     | == | 192.168.1.10             |
|  2  | test            | NAS-IP-Address     | == | 192.168.1.20             |
|  3  | test            | NAS-IP-Address     | !=  | 192.168.1.30             |
+-----+-------------------+--------------------+----+----------------------------+


But, it is not working.

The following was in radius.log file.
Wed Sep 21 09:34:19 2011 : Auth: Login incorrect (rlm_chap: Clear text password 
not available): [test/<CHAP-Password>] (from client nas1 port 4 cli 
00-26-5E-EF-56-CC)



Have you any idea?

________________________________
From: Fred <[email protected]>
To: Dagia Dorjsuren <[email protected]>; FreeRadius users mailing list 
<[email protected]>
Sent: Wednesday, September 21, 2011 4:41 AM
Subject: Re: Multiple NAS configuration

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

Reply via email to