Changeset 6c58591 in freewrt
- Timestamp:
- Jan 24, 2007, 12:13:05 AM (19 years ago)
- Children:
- ae31a91
- Parents:
- 0537d79
- Location:
- package/ppp
- Files:
-
- 5 deleted
- 3 edited
-
Makefile (modified) (1 diff)
-
files/etc/ppp/radius.conf (deleted)
-
files/etc/ppp/radius/dictionary (deleted)
-
files/etc/ppp/radius/dictionary.asnet (deleted)
-
files/etc/ppp/radius/dictionary.microsoft (deleted)
-
files/etc/ppp/radius/servers (deleted)
-
ipkg/ppp-mod-radius.conffiles (modified) (1 diff)
-
patches/206-radius_config.patch (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
package/ppp/Makefile
r0537d79 r6c58591 83 83 84 84 mod-radius-install: 85 ${INSTALL_DIR} ${IDIR_PPP_MOD_RADIUS}/etc/ppp/radius 86 ${INSTALL_DATA} ./files/etc/ppp/radius.conf ${IDIR_PPP_MOD_RADIUS}/etc/ppp/ 87 ${CP} ./files/etc/ppp/radius/dictionary* \ 88 ${IDIR_PPP_MOD_RADIUS}/etc/ppp/radius/ 89 install -m600 ./files/etc/ppp/radius/servers \ 90 ${IDIR_PPP_MOD_RADIUS}/etc/ppp/radius/ 85 ${INSTALL_DIR} ${IDIR_PPP_MOD_RADIUS}/etc/radiusclient 86 ${CP} ${WRKBUILD}/pppd/plugins/radius/etc/* ${IDIR_PPP_MOD_RADIUS}/etc/radiusclient 87 rm ${IDIR_PPP_MOD_RADIUS}/etc/radiusclient/radiusclient.conf.in 91 88 $(call PKG_mod_template,PPP_MOD_RADIUS,radius) 92 89 -
package/ppp/ipkg/ppp-mod-radius.conffiles
r0537d79 r6c58591 1 /etc/ppp/radius.conf 2 /etc/ppp/radius/servers 1 /etc/radiusclient/dictionary 2 /etc/radiusclient/dictionary.ascend 3 /etc/radiusclient/dictionary.compat 4 /etc/radiusclient/dictionary.merit 5 /etc/radiusclient/dictionary.microsoft 6 /etc/radiusclient/issue 7 /etc/radiusclient/port-id-map 8 /etc/radiusclient/radiusclient.conf 9 /etc/radiusclient/realms 10 /etc/radiusclient/servers -
package/ppp/patches/206-radius_config.patch
r0537d79 r6c58591 1 diff -ruN ppp-2.4.3-orig/pppd/plugins/radius/config.c ppp-2.4.3-3/pppd/plugins/radius/config.c 2 --- ppp-2.4.3-orig/pppd/plugins/radius/config.c 2004-11-14 08:26:26.000000000 +0100 3 +++ ppp-2.4.3-3/pppd/plugins/radius/config.c 2004-12-16 04:03:46.000000000 +0100 4 @@ -369,31 +369,37 @@ 5 } 6 #endif 1 diff -Nur ppp-2.4.4-orig/pppd/plugins/radius/etc/radiusclient.conf ppp-2.4.4/pppd/plugins/radius/etc/radiusclient.conf 2 --- ppp-2.4.4-orig/pppd/plugins/radius/etc/radiusclient.conf 2004-11-14 00:48:39.000000000 +0100 3 +++ ppp-2.4.4/pppd/plugins/radius/etc/radiusclient.conf 2007-01-23 23:56:52.000000000 +0100 4 @@ -22,7 +22,7 @@ 7 5 8 +#if 0 9 if (rc_conf_int("login_tries") <= 0) 10 { 11 error("%s: login_tries <= 0 is illegal", filename); 12 return (-1); 13 } 14 +#endif 15 if (rc_conf_str("seqfile") == NULL) 16 { 17 error("%s: seqfile not specified", filename); 18 return (-1); 19 } 20 +#if 0 21 if (rc_conf_int("login_timeout") <= 0) 22 { 23 error("%s: login_timeout <= 0 is illegal", filename); 24 return (-1); 25 } 26 +#endif 27 if (rc_conf_str("mapfile") == NULL) 28 { 29 error("%s: mapfile not specified", filename); 30 return (-1); 31 } 32 +#if 0 33 if (rc_conf_str("nologin") == NULL) 34 { 35 error("%s: nologin not specified", filename); 36 return (-1); 37 } 38 +#endif 6 # name of the issue file. it's only display when no username is passed 7 # on the radlogin command line (default /etc/radiusclient/issue) 8 -issue /usr/local/etc/radiusclient/issue 9 +issue /etc/radiusclient/issue 39 10 40 return 0; 41 } 42 diff -ruN ppp-2.4.3-orig/pppd/plugins/radius/options.h ppp-2.4.3-3/pppd/plugins/radius/options.h 43 --- ppp-2.4.3-orig/pppd/plugins/radius/options.h 2004-11-14 08:26:26.000000000 +0100 44 +++ ppp-2.4.3-3/pppd/plugins/radius/options.h 2004-12-16 04:09:16.000000000 +0100 45 @@ -31,24 +31,21 @@ 46 static SERVER acctserver = {0}; 47 static SERVER authserver = {0}; 11 # RADIUS settings 48 12 49 -int default_tries = 4; 50 -int default_timeout = 60; 51 - 52 static OPTION config_options[] = { 53 /* internally used options */ 54 {"config_file", OT_STR, ST_UNDEF, NULL}, 55 /* General options */ 56 {"auth_order", OT_AUO, ST_UNDEF, NULL}, 57 -{"login_tries", OT_INT, ST_UNDEF, &default_tries}, 58 -{"login_timeout", OT_INT, ST_UNDEF, &default_timeout}, 59 -{"nologin", OT_STR, ST_UNDEF, "/etc/nologin"}, 60 -{"issue", OT_STR, ST_UNDEF, "/etc/radiusclient/issue"}, 61 +{"login_tries", OT_INT, ST_UNDEF, NULL}, 62 +{"login_timeout", OT_INT, ST_UNDEF, NULL}, 63 +{"nologin", OT_STR, ST_UNDEF, NULL}, 64 +{"issue", OT_STR, ST_UNDEF, NULL}, 65 /* RADIUS specific options */ 66 {"authserver", OT_SRV, ST_UNDEF, &authserver}, 67 {"acctserver", OT_SRV, ST_UNDEF, &acctserver}, 68 {"servers", OT_STR, ST_UNDEF, NULL}, 69 {"dictionary", OT_STR, ST_UNDEF, NULL}, 70 -{"login_radius", OT_STR, ST_UNDEF, "/usr/sbin/login.radius"}, 71 +{"login_radius", OT_STR, ST_UNDEF, NULL}, 72 {"seqfile", OT_STR, ST_UNDEF, NULL}, 73 {"mapfile", OT_STR, ST_UNDEF, NULL}, 74 {"default_realm", OT_STR, ST_UNDEF, NULL}, 13 @@ -43,22 +43,22 @@ 14 15 # file holding shared secrets used for the communication 16 # between the RADIUS client and server 17 -servers /usr/local/etc/radiusclient/servers 18 +servers /etc/radiusclient/servers 19 20 # dictionary of allowed attributes and values 21 # just like in the normal RADIUS distributions 22 -dictionary /usr/local/etc/radiusclient/dictionary 23 +dictionary /etc/radiusclient/dictionary 24 25 # program to call for a RADIUS authenticated login 26 # (default /usr/sbin/login.radius) 27 -login_radius /usr/local/sbin/login.radius 28 +login_radius /sbin/login.radius 29 30 # file which holds sequence number for communication with the 31 # RADIUS server 32 seqfile /var/run/radius.seq 33 34 # file which specifies mapping between ttyname and NAS-Port attribute 35 -mapfile /usr/local/etc/radiusclient/port-id-map 36 +mapfile /etc/radiusclient/port-id-map 37 38 # default authentication realm to append to all usernames if no 39 # realm was explicitly specified by the user
Note:
See TracChangeset
for help on using the changeset viewer.
