Re: Hacking radius

Matthew S. Crocker (matthew@crocker.com)
Fri, 3 May 1996 11:56:11 -0400 (EDT)

Look in acct.c

You should see where it writes the username info to the Details file.
You should be able to cut and paste the .ppp stripping code from the
users.c file.

You can probably do this.

switch (pair->attribute)

{
case PW_USER_NAME:
strcpy(buffer, "");
sprint_attr_val(buffer, pair);
strcpy(name, strtok((char *) buffer,"."));
break;
};

My acct.c source is really hacked, I don't have the original around so
I'm not sure if this is the proper way of doing it.

-Matt