Browse Source

Update radiusd.conf(5) man page and its example to recommend to

surround words with double quote.  Also fix a bug in the man page
that module argument was missing for "module set".
OPENBSD_6_5
yasuoka 5 years ago
parent
commit
a074096233
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      src/etc/examples/radiusd.conf

+ 8
- 8
src/etc/examples/radiusd.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: radiusd.conf,v 1.1 2015/08/03 04:19:25 yasuoka Exp $
# $OpenBSD: radiusd.conf,v 1.2 2019/04/01 09:40:16 yasuoka Exp $
listen on 0.0.0.0 listen on 0.0.0.0
#listen on :: #listen on ::
@ -11,16 +11,16 @@ client 192.168.0.0/24 {
msgauth-required yes msgauth-required yes
} }
module load bsdauth "/usr/libexec/radiusd/radiusd_bsdauth"
module set bsdauth restrict-group operator
module load "bsdauth" "/usr/libexec/radiusd/radiusd_bsdauth"
module set "bsdauth" "restrict-group" "operator"
module load radius "/usr/libexec/radiusd/radiusd_radius"
module set radius "secret" "testing123"
module set radius "server" "127.0.0.1"
module load "radius" "/usr/libexec/radiusd/radiusd_radius"
module set "radius" "secret" "testing123"
module set "radius" "server" "127.0.0.1"
authenticate *@local { authenticate *@local {
authenticate-by bsdauth
authenticate-by "bsdauth"
} }
authenticate *@example.com { authenticate *@example.com {
authenticate-by radius
authenticate-by "radius"
} }

Loading…
Cancel
Save