Re: Repost: Properly using the := and = operators?



Mike,

See http://wiki.freeradius.org/Operators for operator behavior.

On Tuesday 26 December 2006 17:52, Mike wrote:
> mysql> select * from radreply ;
> |  2 | joe.user | Framed-IP-Address | =  | 1.2.3.4 |

This looks correct.  The = operator says to assign 1.2.3.4 to the 
Framed-IP-Address attribute, if that attribute doesn't already exist.

> mysql> select * from radgroupreply ;
> |  5 | suspended | Framed-IP-Address | =  | 10.10.0.2+      |

The = operator here is incorrect, as you want to always override the 
Framed-IP-Address.  Using := will replace any/all Framed-IP-Address 
attributes in the reply with the one listed above.

Kevin Bonner

Attachment: pgpnKRDYzRY3K.pgp
Description: PGP signature



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.