help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] Attribute still not found


From: Michael Samanov
Subject: [Help-gnu-radius] Attribute still not found
Date: Thu, 31 Jul 2003 16:34:57 +0400

Hi!

Some kind of strange things happen:

июл 31 15:37:13 [16068]: Acct.error: (ACCTREQ 192.168.252.3 50 selivanov
Start 00000025): attribute not found
июл 31 15:40:16 [16068]: Acct.error: (ACCTREQ 192.168.252.3 51 selivanov
Stop 00000025): attribute not found

I switched on all (!!!) the debugging info and still can't capture this
attribute

        category =debug {
                channel debug;
                level
"client.c"=100,"leakdetect.c"=100,"radpdu.c"=100,"radsrv.c"=100,"mysql.c"=10
0,"postgres.c"=100,"odbc.c"=100,"client.c"=100,"leakdetect.c"=100,"radpdu.c"
=100,"radsrv.c"=100,"mysql.c"=100,"postgres.c"=100,"odbc.c"=100,"acct.c"=100
,"auth.c"=100,"builddbm.c"=100,"checkrad.c"=100,"exec.c"=100,"files.c"=100,"
input.c"=100,"pam.c"=100,"proxy.c"=100,"radius.c"=100,"radiusd.c"=100,"radut
il.c"=100,"request.c"=100,"rewrite.y"=100,"rpp.c"=100,"scheme.c"=100,"snmpse
rv.c"=100,"sql.c"=100,"stat.c"=100,"client.c"=100,"leakdetect.c"=100,"radpdu
.c"=100,"radsrv.c"=100,"mysql.c"=100,"postgres.c"=100,"odbc.c"=100;
        };

There's a function in radpdu.c:

static VALUE_PAIR *
rad_decode_pair(UINT4 attrno, char *ptr, size_t attrlen)
{
        DICT_ATTR *attr;
        VALUE_PAIR *pair;
        UINT4 lval;

        if ((attr = attr_number_to_dict(attrno)) == NULL) {
                debug(1, ("Received unknown attribute %d", attrno));
                return NULL;
        }
...

Why doesn't it show the attribute? What debugging didn't I switch on?

BTW, I tried to look at TCP dump. It seems like all the attributes are
decoded.
What's the stuff?

Mike





reply via email to

[Prev in Thread] Current Thread [Next in Thread]