[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: changing username in hints file.
From: Jose Guevarra <jose () iquest ! ucsb ! edu>
Date: 2004-10-28 22:47:39
Message-ID: 1099003659.4148.1.camel () chirpy-boy
[Download RAW message or body]
You would have to do it like this.(notice the := when setting the
username) Also you would have to change U/username to User-Name
Username == "testing", Nasipaddress=="1.2.3.4", password=="password"
username:="%{Calling-Station-Id}"
On Thu, 2004-10-28 at 15:07, tfike@mtasolutions.com wrote:
> Okay, this question is similar to something asked before
>
> http://lists.freeradius.org/pipermail/freeradius-users/2004-October/037262.html
>
> the question there was about a reg/ex to modify the username to mac addy. I
> would like to do something similiar (though i don't necessarily need the
> reg/ex) and would just like to know if this is possible in the hints file.
> Based on the username, password, and nas device being sent in for
> authentication, change the username to the calling station id and accept.
> for ex:
>
> Username == "testing", Nasipaddress=="1.2.3.4", password=="password"
> username="%{Calling-Station-Id}"
>
> everything else i would like to do standard authentication through the radius
> server. (I didn't see a doc file on the hints file, or a man page is why i'm
> asking this here.)
>
> this is in freeradius 1.0.0-pre3 on a Sol8 box with a fairly standard compile.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic