Re: Re: Freeradius2 and proxing

2008-02-10 Thread Vincent Magnin
Alan DeKok <[EMAIL PROTECTED]> a écrit : Does exist a better way to use the DEFAULT realm? Nope. I've added a patch with the same behavior. Thank you, Vincent Magnin - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius2 and proxing

2008-02-10 Thread Alan DeKok
Vincent Magnin wrote: > I've writen a patch for realms.c and now, I've a better behaviour: ... > Does exist a better way to use the DEFAULT realm? Nope. I've added a patch with the same behavior. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius2 and proxing

2008-02-09 Thread Alan DeKok
Vincent Magnin wrote: > Well, > > I've writen a patch for realms.c and now, I've a better behaviour: ... > Does exist a better way to use the DEFAULT realm? I think that patch is OK. The "ignore_default" and "ignore_null" configuration for the "realms" module were deleted because they were a b

Re: Re: Freeradius2 and proxing

2008-02-08 Thread A . L . M . Buxey
Hi, > I do not receive any comment about my supplied patch. > > I will try to explain my issue better: I understood what you stated - and the patch does appear to handle the 'old style' 1.1.x DEFAULT handle properly. ..the old system could just be given a DEFAULT and stuff would go to it . i'm n

Re: Re: Freeradius2 and proxing

2008-02-08 Thread Vincent Magnin
I do not receive any comment about my supplied patch. I will try to explain my issue better: Freeradius 2.0.1 (or latest CVS): src/modules/rlm_realm/rlm_realm.c: /* * Allow DEFAULT realms unless told not to. */ realm = realm_find(realmname); if (!realm) { DEBUG2("rlm_realm: No suc

Re: Freeradius2 and proxing

2008-02-07 Thread Vincent Magnin
Well, I've writen a patch for realms.c and now, I've a better behaviour: rlm_realm: Looking up realm "extern.realm.com" for User-Name = "[EMAIL PROTECTED]" rlm_realm: Found realm "DEFAULT" rlm_realm: Proxying request from user anonymous to realm DEFAULT rlm_realm: Adding Realm

Freeradius2 and proxing

2008-02-05 Thread Vincent Magnin
In freeradius 1, if I need to proxy requests whose realm are remote, I put the following in proxy.conf: realm DEFAULT { type = radius authhost = remote.server1.com:1812 accthost = remote.server1.com:1813 secret = ldflag = round_robin