Re: (PM) RADIUS: Multiple DEFAULT statements

Per Hedeland (per@erix.ericsson.se)
17 Nov 1997 07:43:08 GMT

Stephen Fisher wrote:
>I use DEFAULT, DEFAULT, DEFAULT. The only reason you would need to number
>them is if you are using the dbm version of the users file.

Not even then - builddbm will number them for you. Actually it will
throw away any numbers you put in and number them sequentially as found
in the plain file - from the 2.0 source:

if (strncmp(base_name, "DEFAULT",7) == 0) {
if (default_count > 0) {
sprintf(base_name, "DEFAULT%d",
default_count);
} else {
strcpy(base_name, "DEFAULT");
}
default_count++;
}

--Per Hedeland
per@erix.ericsson.se
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.