The question about #define WIMAX2ATTR(x) ((24757 << 16) | (x)) in rlm_wimax.c

2010-06-12 Thread 李立明

Hi,all  
I find #define WIMAX2ATTR(x) ((24757 << 16) | (x)) in rlm_wimax.c, but I don`t 
understand its meaning.  

I appreciate your help

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

Re: Looking for an editor for FreeRADIUS documentation

2010-06-12 Thread James

 On 06/10/10 15:59, Alan DeKok wrote:

bjloc...@lockie.ca wrote:

What file format is the documentation in and roughly how big is it?

   Text.  Not a lot, but organized fairly poorly.


I'm a technical writer and I'm interested.

   Try: http://freeradius.org/doc/community.html

   Or, just convert the existing txt to rst, and send them as an
attachment to the mailing list.

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

Is somebody already working on making .rst files because there are 
already some?

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


Re: Freeradius-Users Digest, Vol 62, Issue 56

2010-06-12 Thread lenard . smith
Help

Sent from my BlackBerry® by Boost Mobile

-Original Message-
From: freeradius-users-requ...@lists.freeradius.org
Date: Sat, 12 Jun 2010 12:00:12 
To: 
Subject: Freeradius-Users Digest, Vol 62, Issue 56

Send Freeradius-Users mailing list submissions to
freeradius-users@lists.freeradius.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freeradius.org/mailman/listinfo/freeradius-users
or, via email, send a message with subject or body 'help' to
freeradius-users-requ...@lists.freeradius.org

You can reach the person managing the list at
freeradius-users-ow...@lists.freeradius.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freeradius-Users digest..."


Today's Topics:

   1. The question about #define WIMAX2ATTR(x) ((24757 << 16) |
  (x)) in   rlm_wimax.c ( ??? )


--

Message: 1
Date: Sat, 12 Jun 2010 16:43:51 +0800
From: " ??? " <09120...@bjtu.edu.cn>
Subject: The question about #define WIMAX2ATTR(x) ((24757 << 16) |
(x)) in rlm_wimax.c
To: freeradius-users@lists.freeradius.org
Message-ID: 
Content-Type: text/plain; charset="gb2312"

Hi,all 
 I find  #define WIMAX2ATTR(x) ((24757 << 16) | (x))  in rlm_wimax.c, 
but I don`t understand  its meaning. 
  
 I appreciate your help.
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://lists.freeradius.org/pipermail/freeradius-users/attachments/20100612/fc2b82c6/attachment.html>

--

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


End of Freeradius-Users Digest, Vol 62, Issue 56


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


The question about #define WIMAX2ATTR(x) ((24757 << 16) | (x)) in rlm_wimax.c

2010-06-12 Thread 李立明
Hi,all 
 I find  #define WIMAX2ATTR(x) ((24757 << 16) | (x))  in rlm_wimax.c, 
but I don`t understand  its meaning. 
  
 I appreciate your help.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: attribute name manipulation

2010-06-12 Thread Alan DeKok
Alexandre Chapellon wrote:
> I want to remove some attribute from my access-accept messages
> regardless the value of this attribute.
> I tough I could use the "!*" but the wiki says it's not usable as a
> reply item. Further more "!*" is not present in unlang(5) if I try to
> use it freeradius says config file have a syntax error.
> How can i remove an attribute from the reply message (regardless of its
> value)?

 It's ugly, but this should work:

update reply {
Filter-Id -= "%{reply:Filter-Id}
}

  Or, use the "attr_filter" module.

> Additionnally I'd like to rename some attribute  returned by the
> radreply query is there anything specific for this job or is it
> adding new attribute with the value of the previous one and then
> deleting the previous one?

  You need to add/delete.  You can't rename attributes.

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