On Tue, Jan 15, 2002 at 02:02:51PM -0600, Chris Green wrote:
> [EMAIL PROTECTED] writes:
> >
> > You can also try disabling shared libraries, and linking the server
> > statically.
>
> Ahh thanks for that idea. It got me to atleast see what was being
> blindly dereferenced. Any idea why pairmake would return null?
Looks like you need to update the dictionary? There's probably a
freeradius-dict or something rpm .. ((arghh RH)) in addition to
the freeradius rpm. This should be fixed in the code to not segfault,
but I think you need only update the dictionary.
If you used the freeradius.spec included with the distro, the dictionary
won't get replaced. I'll fix that (and test for NULL in mschap_authorize()).
%files
%config(noreplace) /etc/raddb/*
> #0 mschap_authorize (instance=0x80c5f68, request=0x80cfcb8) at rlm_mschap.c:431
> 431 reply_attr->length = 16;
> (gdb)
> (gdb) p reply_attr
> $1 = (VALUE_PAIR *) 0x0
>
>
> pairmake (attribute=0x806dcda "LM-Password", value=0x806a4d7 "", operator=11)
> at valuepair.c:512
[...]
> (gdb) n
> 529 if ((da = dict_attrbyname(attribute)) == NULL) {
> (gdb) p ts
> $6 = 0x0
> (gdb) n
> 530 librad_log("Unknown attribute %s", attribute);
[...]
/fc
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html