1 --- a/pppd/plugins/radius/config.c
2 +++ b/pppd/plugins/radius/config.c
3 @@ -369,31 +369,37 @@ static int test_config(char *filename)
8 if (rc_conf_int("login_tries") <= 0)
10 error("%s: login_tries <= 0 is illegal", filename);
14 if (rc_conf_str("seqfile") == NULL)
16 error("%s: seqfile not specified", filename);
20 if (rc_conf_int("login_timeout") <= 0)
22 error("%s: login_timeout <= 0 is illegal", filename);
26 if (rc_conf_str("mapfile") == NULL)
28 error("%s: mapfile not specified", filename);
32 if (rc_conf_str("nologin") == NULL)
34 error("%s: nologin not specified", filename);
41 --- a/pppd/plugins/radius/options.h
42 +++ b/pppd/plugins/radius/options.h
43 @@ -31,24 +31,21 @@ typedef struct _option {
44 static SERVER acctserver = {0};
45 static SERVER authserver = {0};
47 -int default_tries = 4;
48 -int default_timeout = 60;
50 static OPTION config_options[] = {
51 /* internally used options */
52 {"config_file", OT_STR, ST_UNDEF, NULL},
54 {"auth_order", OT_AUO, ST_UNDEF, NULL},
55 -{"login_tries", OT_INT, ST_UNDEF, &default_tries},
56 -{"login_timeout", OT_INT, ST_UNDEF, &default_timeout},
57 -{"nologin", OT_STR, ST_UNDEF, "/etc/nologin"},
58 -{"issue", OT_STR, ST_UNDEF, "/etc/radiusclient/issue"},
59 +{"login_tries", OT_INT, ST_UNDEF, NULL},
60 +{"login_timeout", OT_INT, ST_UNDEF, NULL},
61 +{"nologin", OT_STR, ST_UNDEF, NULL},
62 +{"issue", OT_STR, ST_UNDEF, NULL},
63 /* RADIUS specific options */
64 {"authserver", OT_SRV, ST_UNDEF, &authserver},
65 {"acctserver", OT_SRV, ST_UNDEF, &acctserver},
66 {"servers", OT_STR, ST_UNDEF, NULL},
67 {"dictionary", OT_STR, ST_UNDEF, NULL},
68 -{"login_radius", OT_STR, ST_UNDEF, "/usr/sbin/login.radius"},
69 +{"login_radius", OT_STR, ST_UNDEF, NULL},
70 {"seqfile", OT_STR, ST_UNDEF, NULL},
71 {"mapfile", OT_STR, ST_UNDEF, NULL},
72 {"default_realm", OT_STR, ST_UNDEF, NULL},