Re: possible DEFAULT bug ?

Sergey Poznyakoff <[email protected]> Fri, 26 Jul 2002 14:38:39 +0300
Newsgroups gmane.comp.gnu.radius.bugs
Organization Farlep-Internet
Message-ID <[email protected]>
> used to work with cistron-radiusd. The User profile should override the
> DEFAULT and the radiusd should never return "X-Ascend-Assign-IP-Pool" twice
> imho.

Note, that the handling of attributes and user profiles in GNU radius
differs considerably from that in other radiuses. Whether or not an
attribute should override the previous instances of the same attribute
is decided based on this attribute property called "additivity". See
the documentation for a description of how it works. In your case,
if you wish the subsequent additions of Ascend-Assign-IP-Pool to
override the previous ones, you should explicitly mark this attribute
as having "Replace" additivity. In your dictionary file:

ATTRIBUTE Ascend-Assign-IP-Pool	218	integer	- [-RLR--]=

See node `Configuration Files -> dictionary file -> ATTRIBUTE' for
details.

Regards,
Sergey