If I put in default authorize section, the called-station-id is present.
On Mon, Oct 24, 2011 at 3:47 PM, JennyBlunt <<a href="x-msg://1875/user/SendEmail.jtp?type=node&node=4931798&i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:It shouldn't.
> Hi,
> Huntgroup-Name := "%{sql:SELECT `groupname` FROM `radhuntgroup` WHERE
> nasipaddress='%{NAS-IP-Address}'}"
>
> The mysql query then looks like this:
>
> SELECT `groupname` FROM `radhuntgroup` WHERE nasipaddress=''
>
> If I use packet-src-ip-address, the query is fine.
>
> Replacing with called-station-id renders nothing as well.
>
> Does this have something to do with the dynamic clients??
What does the debug log show? What attributes were sent by the NAS in
access-request packet?
http://freeradius.org/rfc/rfc2865.html#NAS-IP-Address says "Either
NAS-IP-Address or NAS-Identifier MUST be present in an Access-Request
packet."
so if your NAS sends neither, it's broken.
--
Fajar
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
If you reply to this email, your message will be added to the discussion below:http://freeradius.1045715.n5.nabble.com/Authorising-Clients-by-Calling-Station-ID-Not-IP-tp4883866p4931798.htmlTo unsubscribe from Authorising Clients by Calling Station ID Not IP, click here.