rewriting usernames
Jan Mulders
lastchancehotel at gmail.com
Tue Nov 21 20:24:08 CET 2006
If all else fails, rlm_perl dug me out of a big, rather similar hole :)
Jan
On 21/11/06, Kevin Bonner <keb at pa.net> wrote:
> On Friday 17 November 2006 21:06, Christopher Carver wrote:
> > No one has any idea about this?
>
> Configured in our test environment and it's working for me. Maybe something
> from the configs below will stand out...
>
> -Kevin
>
> == hints ==
> DEFAULT
> User-Name := "%{User-Name}@some-isp.com"
> == end hints ==
>
> == proxy.conf ==
> realm some-isp.com {
> type = radius
> authhost = LOCAL
> accthost = LOCAL
> }
> == end proxy.conf ==
>
> == users ==
> keb User-Password := "test"
> == end users ==
>
> == radiusd -X ==
> rad_recv: Access-Request packet from host 192.168.2.212:32973, id=64,
> length=55
> User-Name = "keb"
> User-Password = "test"
> NAS-IP-Address = 255.255.255.255
> NAS-Port = 0
> rad_lowerpair: User-Name now 'keb'
> Processing the authorize section of radiusd.conf
> modcall: entering group authorize for request 0
> hints: Matched DEFAULT at 5
> radius_xlat: 'keb at some-isp.com'
> modcall[authorize]: module "preprocess" returns ok for request 0
> modcall[authorize]: module "chap" returns noop for request 0
> rlm_realm: Looking up realm "some-isp.com" for User-Name
> = "keb at some-isp.com"
> rlm_realm: Found realm "some-isp.com"
> rlm_realm: Adding Stripped-User-Name = "keb"
> rlm_realm: Proxying request from user keb to realm some-isp.com
> rlm_realm: Adding Realm = "some-isp.com"
> rlm_realm: Authentication realm is LOCAL.
> modcall[authorize]: module "suffix" returns noop for request 0
> users: Matched entry keb at line 5
> modcall[authorize]: module "files" returns ok for request 0
> modcall: leaving group authorize (returns ok) for request 0
> auth: type Local
> auth: user supplied User-Password matches local User-Password
> Login OK: [keb at some-isp.com] (from client local port 0)
> == end radiusd -X ==
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>
More information about the Freeradius-Users
mailing list