Assign IP based on CallingStationID.

Collen Blijenberg collen at hermanjordan.nl
Thu Nov 9 14:40:21 CET 2006


Hmm i tried this, but it ain't working.. ?!

i have:

id                 - 1
username     - blah
attribute        - Calling-Stattion-Id
op                - ==
value             - [mac adress]

still get username ask ?!
no connection.

dunno, what's the idea behinf this query ?
mac = username ?
no username, auth is done true mac ?

Cheers

Collen

John Longland wrote:
>
> authorize_check_query = "select id,UserName,Attribute,Value,op FROM
> ${authcheck_table} WHERE UserName in
> (select UserName from ${authcheck_table} WHERE Value = 
> '%{Calling-Station-ID}')
> ORDER BY id"
>
>




More information about the Freeradius-Users mailing list