Re: Repeating the same attribute in reply message

2011-05-31 Thread Alan DeKok
Shai Mizrachi wrote:
> My problem is that the attributes I have entered in the users file (under
> the specific user) are not present
> inside the Access-Accept message replied to the ASN-GW/NAS.

  The problem is that you did not read my response, and you did not
follow the instructions in it.

  If you have no intention of listening to the help we give, don't ask
for help.

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


RE: Repeating the same attribute in reply message

2011-05-30 Thread Shai Mizrachi
Hi,

My problem is that the attributes I have entered in the users file (under
the specific user) are not present
inside the Access-Accept message replied to the ASN-GW/NAS.
The scenario is the same also for the regular Wimax attributes. The +=
parameter just doesn't work, the second attribute which is identical to a
previous one (and provisioned with +=) is not being inserted to the
Access-Accept message.

Thanks,

Shai. 

-Original Message-
From: freeradius-users-bounces+mizrachi.shai=gmail@lists.freeradius.org
[mailto:freeradius-users-bounces+mizrachi.shai=gmail@lists.freeradius.or
g] On Behalf Of Alan DeKok
Sent: Tuesday, May 31, 2011 8:19 AM
To: FreeRadius users mailing list
Subject: Re: Repeating the same attribute in reply message

Shai Mizrachi wrote:
> The users are configured inside /etc/raddb/users (no D.B is used).
> All of the Wimax parameters are working fine, it is just the repeated
> attributes which are failing (not sure this is related to Wimax ?)

  It would help if you said what was *actually* heppening.

> I am attaching the output of the radiusd -X, followed by the user
> configured in the users file.
...
> R3-IF-Name += DHCP_Relay_SG,
> PDFID += 2,

  These attributes are NOT in the dictionaries for 2.1.7.  If the server
doesn't complain about them, it's because you've edited the dictionaries.

  If you're going to use Alvarion (which is NOT standard WiMAX), you
will need to use the "master" branch from http://git.freeradius.org

  And you will need to:

- delete the standard wimax && alvarion dictionaries
- enable the non-standard dictionary.wimax.alvarion, and
   dictionary.alvarion.wimax

  My $0.02 is that you should probably be asking Alvarion for help.
They've gone out of their way to *not* implement the standard.
Everything they do is broken, and they don't see a problem with that.

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

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


Re: Repeating the same attribute in reply message

2011-05-30 Thread Alan DeKok
Shai Mizrachi wrote:
> The users are configured inside /etc/raddb/users (no D.B is used).
> All of the Wimax parameters are working fine, it is just the repeated
> attributes which are failing (not sure this is related to Wimax ?)

  It would help if you said what was *actually* heppening.

> I am attaching the output of the radiusd -X, followed by the user
> configured in the users file.
...
> R3-IF-Name += DHCP_Relay_SG,
> PDFID += 2,

  These attributes are NOT in the dictionaries for 2.1.7.  If the server
doesn't complain about them, it's because you've edited the dictionaries.

  If you're going to use Alvarion (which is NOT standard WiMAX), you
will need to use the "master" branch from http://git.freeradius.org

  And you will need to:

- delete the standard wimax && alvarion dictionaries
- enable the non-standard dictionary.wimax.alvarion, and
   dictionary.alvarion.wimax

  My $0.02 is that you should probably be asking Alvarion for help.
They've gone out of their way to *not* implement the standard.
Everything they do is broken, and they don't see a problem with that.

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


Re: Repeating the same attribute in reply message

2011-05-30 Thread Alan DeKok
Shai Mizrachi wrote:
> I a trying to send in the Access-Accept the same attribute twice but
> with different values (for Wimax QoS descriptor).
> I am using the += operator but still, the reply message contains only
> the first parameter and the second is just ignored.

  It should work.  But maybe 2.1.7 doesn't have the required WiMAX magic.

  What does the debug output show?  Where are the attributes defined?

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