[Serdev] Re: RADIUS failure for long domains returned by ENUM
queries
Juha Heinanen
jh at tutpro.com
Tue Jun 7 18:13:30 UTC 2005
adrian,
the value of the attribute that you try to add is 202 bytes long.
my /usr/include/radiusclient.h defines
#define AUTH_STRING_LEN 128 /* maximum of 253 */
typedef struct value_pair
{
char name[NAME_LENGTH + 1];
int attribute;
int type;
UINT4 lvalue;
char strvalue[AUTH_STRING_LEN + 1];
struct value_pair *next;
} VALUE_PAIR;
thus the value is too long and would fail.
on the other hand, my /usr/include/radiusclient-ng defines:
#define AUTH_STRING_LEN 253 /* maximum of 253 */
which one are you using in your test setup?
-- juha
More information about the Serdev
mailing list