[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?
#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
512 ts = strrchr( attribute, ':' );
(gdb) n
496 {
(gdb) p ts
$4 = 0x80d0ff8 "Password"
(gdb) n
512 ts = strrchr( attribute, ':' );
(gdb) p ts
$5 = 0x80d0ff8 "Password"
(gdb) n
500 char *p, *s=0;
(gdb) n
509 found_tag = 0;
(gdb) n
510 tag = 0;
(gdb) n
512 ts = strrchr( attribute, ':' );
(gdb) n
513 if (ts && ts[1]) {
(gdb) n
496 {
(gdb) n
513 if (ts && ts[1]) {
(gdb) n
529 if ((da = dict_attrbyname(attribute)) == NULL) {
(gdb) p ts
$6 = 0x0
(gdb) n
530 librad_log("Unknown attribute %s", attribute);
(gdb) n
531 return NULL;
(gdb) n
686 return NULL;
(gdb) n
655 return NULL;
--
Chris Green <[EMAIL PROTECTED]>
Laugh and the world laughs with you, snore and you sleep alone.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html