On 2015/10/01 14:35, Jason McIntyre wrote: > CVSROOT: /cvs > Module name: src > Changes by: [email protected] 2015/10/01 14:35:55 > > Modified files: > libexec/login_radius: login_radius.8 > share/man/man5 : login.conf.5 > > Log message: > some radiusd updates, from theo buehler >
I think most of these references to radiusd(8) are wrong, this isn't server-specific and indeed radiusd(8) doesn't support some of the things the manual is talking about in ".Xr radiusd" sections. I think this would be more correct, also fixes capitalisation of RADIUS while there. Index: login_radius.8 =================================================================== RCS file: /cvs/src/libexec/login_radius/login_radius.8,v retrieving revision 1.13 diff -u -p -r1.13 login_radius.8 --- login_radius.8 1 Oct 2015 20:35:55 -0000 1.13 +++ login_radius.8 2 Oct 2015 10:08:07 -0000 @@ -37,7 +37,7 @@ .Os .Sh NAME .Nm login_radius -.Nd contact radiusd for authentication +.Nd contact RADIUS server for authentication .Sh SYNOPSIS .Nm login_radius .Op Fl d @@ -48,9 +48,7 @@ .Sh DESCRIPTION The .Nm -utility contacts the -.Xr radiusd 8 -daemon to authenticate a +utility contacts a RADIUS server to authenticate a .Ar user . If no .Ar class @@ -59,9 +57,7 @@ is specified, the login class will be ob When executed as the name .Pa login_ Ns Ar style , .Nm -will request -.Xr radiusd 8 -use the authentication specified by +will request that the RADIUS server use the authentication specified by .Ar style . .Pp The options are as follows: @@ -85,7 +81,7 @@ This option and its value are ignored. .Pp The .Nm -utility needs to know a shared secret for each radius server it talks to. +utility needs to know a shared secret for each RADIUS server it talks to. Shared secrets are stored in the file .Pa /etc/raddb/servers with the format: @@ -93,10 +89,8 @@ with the format: server shared_secret .Ed .Pp -It is expected that rather than requesting the radius style directly -(in which case the -.Xr radiusd 8 -server uses a default style) +It is expected that rather than requesting the RADIUS style directly +(in which case the server server uses a default style) that .Nm will be linked to the various mechanisms desired. @@ -110,36 +104,35 @@ modules and link to both of those names. Now when the user requests one of those authentication styles, .Nm -will automatically forward the request to the remote -.Xr radiusd 8 +will automatically forward the request to the remote RADIUS server and request it do the requested style of authentication. .Sh LOGIN.CONF VARIABLES The .Nm -utility uses the following radius-specific +utility uses the following RADIUS-specific .Pa /etc/login.conf variables: .Bl -tag -width radius-challenge-styles .It radius-port -Port name or number to connect to on the radius server. +Port name or number to connect to on the RADIUS server. .It radius-server -Hostname of the radius server to contact. +Hostname of the RADIUS server to contact. .It radius-server-alt -Alternate radius server to use when the primary is not responding. +Alternate RADIUS server to use when the primary is not responding. .It radius-challenge-styles -Comma-separated list of authentication styles that the radius server +Comma-separated list of authentication styles that the RADIUS server knows about. If the user's authentication style is in this list the challenge will -be provided by the radius server. +be provided by the RADIUS server. If not, .Nm will prompt the user for the password before sending the request -(along with the password) to the radius server. +(along with the password) to the RADIUS server. .It radius-timeout -Number of seconds to wait for a response from the radius server. +Number of seconds to wait for a response from the RADIUS server. Defaults to 2 seconds. .It radius-retries -Number of times to attempt to contact the radius server before giving up +Number of times to attempt to contact the RADIUS server before giving up (or falling back to the alternate server if there is one). Defaults to 6 tries. .El @@ -148,11 +141,12 @@ Defaults to 6 tries. .It Pa /etc/login.conf login configuration database .It Pa /etc/raddb/servers -list of radius servers and their associated shared secrets +list of RADIUS servers and their associated shared secrets .El .Sh SEE ALSO .Xr login 1 , -.Xr login.conf 5 +.Xr login.conf 5 , +.Xr radiusd 8 .Sh CAVEATS For .Nm
