howto use the attribute of Access-Period

2010-06-12 Thread Spacelee
I set the value to 3600, but it says [sql] expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id - SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'test'

Re: LDAP groups

2010-06-12 Thread Alan DeKok
Génaël VALET wrote: I use LDAP groups for EAP-PEAP Authentication in wifi WPA context. For now, I used a DEFAULT line in users file like this : DEFAULT ldap_1x-Ldap-Group != radius , Auth-Type := Reject Reply-Message = ACCES REFUSE I have a LDAP Group named radius but I don't know

Re: Send Accounting from any point in configuration

2010-06-12 Thread Alan DeKok
Stefan A. wrote: I want to send RADIUS Accounting Messages to another RADIUS Server, depending on some contents of a Packet. 'a Packet' in this context might be an Access or an Accounting Packet. The Access-Request Accounting-Request packets are handled independently. If you want to

Re: Conditions for executing module

2010-06-12 Thread Alan DeKok
Mindaugas Riauba wrote: How to define some conditions in users/acct_users file when to use our module? It is quite heavy and we'd like to avoid its execution in as many cases as possible. See man unlang I tried such configuration in users. Idea comes from

Re: howto use the attribute of Access-Period

2010-06-12 Thread Alan DeKok
Spacelee wrote: I set the value to 3600, but it says [sql] expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id - SELECT id, username, attribute, value, op FROM radcheck WHERE

Re: AD Auth - problem with some chars in user's DN

2010-06-12 Thread Alan DeKok
Nelson Vale wrote: The user's DN is OK now (no extra characters), but the ldap authentication still doesn't work. I think the problem is that double quotes must be escaped before sent to AD. OK. In my fix in rlm_ldap (test purpose only), I did just that before assigning the

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

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: Freeradius-Users Digest, Vol 62, Issue 56

2010-06-12 Thread lenard . smith
. -- 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

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

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