Bluehost.com Web Hosting $6.95

Re: very long regular expression...

This is a discussion on Re: very long regular expression... within the FreeRADIUS Users forums, part of the Networking and Network Related category; Norbert Grochal wrote: > > OK, It almost works fine, but if there is no mac in my mac2ok file ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-25-2006
Phil Mayers
 
Posts: n/a
Default Re: very long regular expression...

Norbert Grochal wrote:
>
> OK, It almost works fine, but if there is no mac in my mac2ok file then
> users file doesn't put REJECT into Auth-Type.
> I have added that line at the begining of users file:
>
> DEFAULT Auth-Type := REJECT, My-Local-String !* "a"
>
> and if there is no mac in mac2ok file then user cannot login into network.
>
> but if there is mac in mac2ok file (so My-Local-String exist) I have always:
>
> rlm_eap_peap: Had sent TLV failure, rejecting.


Just showing that one line is useless. You need to post the entire debug
output of "radiusd -X" so we can see the entire EAP conversation to
determine the problem.

>
> My freeradius version is 1.1.0
>
> If I remove the first line from users file all is ok. Users can login only
> from specified access points.
>
> The first line in users file works fine, if there is no mac in mac2ok
> file...


I'm sorry, I don't really understand. Could you try re-phrasing the problem.

You could maybe try something like this in "users".

DEFAULT My-Local-String == "ok"
Fall-Through = No

DEFAULT Auth-Type := Reject

>
> Can I add at the begining or at the end (?) of mac2ok file something like
> *:bad
> and everything will be 'bad' but ok will be overwritten by 'good' ??


No. You would use appropriately-ordered "users" file entries for that
kind of logic
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0