Missing User-Name attribute causing a segfault in attr_rewrite
Alan DeKok
aland at nitros9.org
Fri Apr 28 20:27:42 CEST 2006
Dennis Skinner <dskinner at bluefrog.com> wrote:
> rlm_attr_rewrite: Could not find value pair for attribute Realm
> modcall[authorize]: module "fix_realm" returns noop for request 2
>
> The very next line is the segfault.
Then the problem isn't the "fix_realm" module. It's already
returned.
> The other thing I changed in the authorize section of the config file is
> that I moved the suffix (and fix_realm) higher in the list (as you can
> probably tell from the debug output). Here is my authorize section:
>
> authorize {
> suffix
> fix_realm
> preprocess
I think that's the issue. The "preprocess" module is probably
dying.
> rad_recv: Access-Request packet from host xxx.xxx.xxx.xxx:21674, id=218,
> length=203
> Framed-Protocol = PPP
> User-Password = ""
> Calling-Station-Id = "##########"
> Called-Station-Id = "##########"
> NAS-Port-Type = Async
> Cisco-NAS-Port = "Async172"
> NAS-Port = 172
> Connect-Info = "28800/26400 V34+/V44/LAPM (53333/26400)"
> Cisco-AVPair = "v92-info=V.92 QC MOH/QC Full Train Success/0/0"
> Service-Type = Framed-User
> NAS-IP-Address = xxx.xxx.xxx.xxx
There's no User-Name in the request. That's wrong, but it shouldn't
cause the server to die.
When I test it with the above packet, it works for me. So I'm not
sure what's going wrong. If you can get a core file, doc/bugs should
help.
Alan DeKok.
More information about the Freeradius-Users
mailing list