Re: Oh shit :-)

William Bulley (web@merit.edu)
Wed, 14 Feb 1996 21:42:36 -0500 (EST)

According to Craig Norborg:
>
> In message <m0tmoCt-000DE7C@eagle.ais.net>,Andrew J. Doane writes:
> >Now radius (merit 2.4.20) won't stay up for more than a few minutes..
>
> Hmm.. 2.4.16 is crashing on me too, but only when my pm with
> COMOS 3.3 is banging it. Instead of your problem, I got this error message...
>
> get_radrequest: Request from ce35e903 (portmaster3.qtm.net) code = 4, id = 185, len = 105
> Acct-Session-Id = "0100030F"
> User-Name = "sunrise"
> NAS-IP-Address = "206.53.233.3"
> NAS-Port = 0
> Acct-Status-Type = Stop
> Acct-Session-Time = 1801
> Acct-Authentic = RADIUS
> Acct-Input-Octets = 93172
> Acct-Output-Octets = 520070
> Service-Type = Framed
> Framed-Protocol = PPP
> Framed-IP-Address = "206.53.233.184"
> Acct-Delay-Time = -382349718
> Received unknown attribute 53
> of length 204: 0x6A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Wait a minute...

There is no attribute 53 (yet) but the server still shouldn't crash???

I can see that I've got my work cut out for me, sigh...

> Under 2.4.20, I get users logging into shell accounts when all of my users
> are set up as DEFAULT users which is a PPP configuration. Also, under
> 2.4.20, I didn't compile very cleanly at all, unlike 2.4.16 and previous
> version of Merit radius. Got an outright error in one routine, I was
> able to get around it by fudging the code, but not sure if I did what
> they were looking to do. The '**'d line below give the error message:
>
> ---------------------------------
> cc -O -DHAVE_SETVBUF -DNOSHADOW -DMERIT_GRANDFATHER -DMERIT_LAS -DLAS_NO_HGAS -DRADIUS_DIR=\"/etc/raddb\" -DRADACCT_DIR=\"/etc/radacct\" -DDEFAULT_DIR=\"../raddb\" -DDEFAULT_DIR2=\"/etc/raddb\" -DDEFAULT_SERVER=\"garcon.qtm.net\" -DDEFAULT_RADIUS_SERVER=\"garcon.qtm.net\" -DCUSTOM_AUTH -o ./src/las.token.o -c ./src/las.token.c
> ./src/las.token.c: In function save_tokenpool_usage:
> ./src/las.token.c:712: argument #1: incompatible types in argument passing
> *** Error code 1
> ---------------------------------
>
> fwrite is defined as:
> stdio.h:size_t fwrite __P((const void *, size_t, size_t, FILE *));

On which platform?

> fwrite (buf, 1, ptr - (char *) &buf, fp); ***********

Yeah, I pushed this one out too quickly, I see now...

Regards,

web...

-- 
William Bulley, N8NXN              Senior Systems Research Programmer
Merit Network Inc.                 Domain: web@merit.edu
4251 Plymouth Road                 MaBell: (313) 764-9993
Ann Arbor, Michigan  48105-2785    Fax:    (313) 747-3185