summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-07-21 04:41:27 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-07-21 04:41:27 +0000
commit4a668066724f921a4c43ff10dea2cfff4180c799 (patch)
tree57a445f8691ba05d40fa9df3e549599e0d36074f /usr.sbin
parentc56e9327a0c12cd70b167f2e9aaf5a6e4c2accfa (diff)
Correct man pages. Update the config example, fix some options, fix the
copyright and use $Mdocdate$.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/radiusd/radiusd.82
-rw-r--r--usr.sbin/radiusd/radiusd.conf.530
2 files changed, 25 insertions, 7 deletions
diff --git a/usr.sbin/radiusd/radiusd.8 b/usr.sbin/radiusd/radiusd.8
index e63e3562e4f..10b1bfeaf5c 100644
--- a/usr.sbin/radiusd/radiusd.8
+++ b/usr.sbin/radiusd/radiusd.8
@@ -12,7 +12,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd July 7, 2013
+.Dd $Mdocdate: July 21 2015 $
.Dt RADIUSD 8
.Os
.Sh NAME
diff --git a/usr.sbin/radiusd/radiusd.conf.5 b/usr.sbin/radiusd/radiusd.conf.5
index c498dbc18e2..341c975d132 100644
--- a/usr.sbin/radiusd/radiusd.conf.5
+++ b/usr.sbin/radiusd/radiusd.conf.5
@@ -1,9 +1,19 @@
.\" Copyright (c) 2014 Esdenera Networks GmbH
.\" Copyright (c) 2014 Internet Initiative Japan Inc.
.\"
-.\" All rights reserved.
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
.\"
-.Dd October 14, 2014
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: July 21 2015 $
.Dt RADIUSD.CONF 5
.Os
.Sh NAME
@@ -34,12 +44,15 @@ Load module
.Ar name
from
.Ar path .
+.It Ic module Ic set Ar key Ar value
+Configure the module specific configuration by
+.Ar key and
+.Ar value .
.El
.Sh AUTHENTICATE
.Bl -tag -width Ds
.It Ic authenticate-by Ar module
.It Ic decorate-by Ar label
-.It Ic secret Qq Ar passphrase
.El
.Sh CLIENT
.Bl -tag -width Ds
@@ -63,11 +76,16 @@ client 0.0.0.0/0 {
msgauth-required yes
}
+module load bsdauth "/usr/libexec/radiusd/radiusd_bsdauth"
+module load radius "/usr/libexec/radiusd/radiusd_radius"
+module set radius "secret" "testing123"
+module set radius "server" "127.0.0.1"
+
authenticate * {
authenticate-by radius
- set radius server 10.0.0.1
- secret "hogefuga"
- msgauth-required yes
+}
+authenticate *@local {
+ authenticate-by bsdauth
}
.Ed
.Sh SEE ALSO