Hi All, Can we use special characters like $, {, [, ( in the users file?? I have defined some vendor specific attribute in users file. When i escape with \ still im not able to start the server. Whether the freeradius does not allow these characters ?? or we can accept those characters by specifying in different way?? Any help in the earliest will be of great help. Awaiting for your reply. :-) Thanks Sumi
"sumi thra" <sumi.techno@gmail.com> wrote:
Can we use special characters like $, {, [, ( in the users file??
Yes. There should be zero problems with doing that.
I have defined some vendor specific attribute in users file. When i escape with \ still im not able to start the server.
Since you're not going to post the error message you get, I don't think it's possible to help you. Alan DeKok.
Hi Alan, Thanks for your reply. Please find my users file configuration & error message below realm: delimiter = "/" realm: ignore_default = no realm: ignore_null = no Module: Instantiated realm (prefix_oblic) realm: format = "suffix" realm: delimiter = "@" realm: ignore_default = no realm: ignore_null = no Module: Instantiated realm (suffix_at) realm: format = "prefix" realm: delimiter = "@" realm: ignore_default = no realm: ignore_null = no Module: Instantiated realm (prefix_at) realm: format = "suffix" realm: delimiter = "%" realm: ignore_default = no realm: ignore_null = no Module: Instantiated realm (suffix_percent) realm: format = "prefix" realm: delimiter = "%" realm: ignore_default = no realm: ignore_null = no Module: Instantiated realm (prefix_percent) Module: Loaded files files: usersfile = "/var/etc/raddb/users" files: acctusersfile = "/var/etc/raddb/acct_users" files: preproxy_usersfile = "/var/etc/raddb/preproxy_users" files: compat = "no" /var/etc/raddb/users[2]: Unexpected trailing comma in check item list for entry DEFAULT Errors reading /var/etc/raddb/users radiusd.conf[201]: files: Module instantiation failed. radiusd.conf[309] Unknown module "files". radiusd.conf[297] Failed to parse authorize section. // users file DEFAULT ldap_primary-Ldap-Group == "group1",Wlan-Index =~ \_rad\_test1\{,Login-Time := "Any0000-2359" anonymous Anonymous DEFAULT Realm != "NULL" DEFAULT Auth-Type := Reject On 4/25/06, Alan DeKok <aland@nitros9.org> wrote:
"sumi thra" <sumi.techno@gmail.com> wrote:
Can we use special characters like $, {, [, ( in the users file??
Yes. There should be zero problems with doing that.
I have defined some vendor specific attribute in users file. When i escape with \ still im not able to start the server.
Since you're not going to post the error message you get, I don't think it's possible to help you.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"sumi thra" <sumi.techno@gmail.com> wrote:
Please find my users file configuration & error message below ... /var/etc/raddb/users[2]: Unexpected trailing comma in check item list for entry DEFAULT
Ok...
DEFAULT ldap_primary-Ldap-Group == "group1",Wlan-Index =~ \_rad\_test1\{,Login-Time := "Any0000-2359"
Why are you trying to use bare text as the value of Wlan-Index? Why not a double-quoted string? You got it right for the other attributes... Alan DeKok.
On 4/25/06, Alan DeKok <aland@nitros9.org> wrote:
"sumi thra" <sumi.techno@gmail.com> wrote:
Please find my users file configuration & error message below ... /var/etc/raddb/users[2]: Unexpected trailing comma in check item list for entry DEFAULT
Ok...
DEFAULT ldap_primary-Ldap-Group == "group1",Wlan-Index =~ \_rad\_test1\{,Login-Time := "Any0000-2359"
Why are you trying to use bare text as the value of Wlan-Index? Why not a double-quoted string? You got it right for the other attributes...
Yes. I tried with DEFAULT ldap_primary-Ldap-Group == "group1",Wlan-Index =~ " \_rad\_test1\{",Login-Time := "Any0000-2359" Still im getting the same error message. Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 4/25/06, sumi thra <sumi.techno@gmail.com> wrote:
On 4/25/06, Alan DeKok <aland@nitros9.org> wrote:
"sumi thra" <sumi.techno@gmail.com> wrote:
Please find my users file configuration & error message below ... /var/etc/raddb/users[2]: Unexpected trailing comma in check item list for entry DEFAULT
Ok...
DEFAULT ldap_primary-Ldap-Group == "group1",Wlan-Index =~ \_rad\_test1\{,Login-Time := "Any0000-2359"
Why are you trying to use bare text as the value of Wlan-Index?
Im specifying the ssid name instead of wlan-idx. Why
not a double-quoted string? You got it right for the other attributes...
Yes. I tried with DEFAULT ldap_primary-Ldap-Group == "group1",Wlan-Index =~
" \_rad\_test1\{",Login-Time := "Any0000-2359"
Still im getting the same error message.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hey Alan, Thanksfor your reply. If im not wrong, The Wlan-Index is a vendor specific attribute, should be added in the dictionary. Then we will not get the error message .. No attribute Wlan-Index. But im getting the error message like .. /var/etc/raddb/users[2]: Unexpected trailing comma in check item list for entry DEFAULT Errors reading /var/etc/raddb/users radiusd.conf[201]: files: Module instantiation failed. radiusd.conf[309] Unknown module "files". radiusd.conf[297] Failed to parse authorize section. Any idea ?? On 4/27/06, Alan DeKok <aland@nitros9.org> wrote:
"sumi thra" <sumi.techno@gmail.com> wrote:
Still im getting the same error message.
The only error messages I see when I use that config are:
a) No attribute Wlan-Index b) illegal regular expression: unmatched \{
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"sumi thra" <sumi.techno@gmail.com> wrote:
But im getting the error message like ..
Yes, you've said that multiple times. You don't need to repeat it. It works in 1.1.1, so my conclusion is that you're running an older version, or that there's something broken in your local system. Alan DeKok.
On 4/28/06, Alan DeKok <aland@nitros9.org> wrote:
"sumi thra" <sumi.techno@gmail.com> wrote: It works in 1.1.1, so my conclusion is that you're running an older version, or that there's something broken in your local system.
Yes. it works fine when the configuration is like this.. DEFAULT Group-Name == "Group1", Symbol-Wlan-Index == ssid1 But, when i use ~ symbol( to allow more that one wlan access/reject ), The above default policy will not work for more than one wlan's. DEFAULT Group-Name == "Group1", Symbol-Wlan-Index =~ ssid1|ssid2|ssid3|ssid4 Now im seeing the error. Please correct me if the above configuration is wrong. Thanks Sumithra
"sumi thra" <sumi.techno@gmail.com> wrote:
Yes. it works fine when the configuration is like this.. ...
But you won't say what version you're running.
But, when i use ~ symbol( to allow more that one wlan access/reject ), The above default policy will not work for more than one wlan's.
My guess is that you don't have the regular expression libraries installed. Alan DeKok.
On 5/8/06, Alan DeKok <aland@nitros9.org> wrote:
"sumi thra" <sumi.techno@gmail.com> wrote:
Yes. it works fine when the configuration is like this.. ...
But you won't say what version you're running.
I am using version: 1.1.1 > But, when i use ~ symbol( to allow more that one wlan access/reject ), The
above default policy will not work for more than one wlan's.
My guess is that you don't have the regular expression libraries installed.
How do i check whether these libraries are installed or not? If not installed, where can i get the same from? Thanks Sumithra -
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
sumi thra