-# $OpenBSD: radiusd.conf,v 1.3 2023/08/18 06:45:15 yasuoka Exp $
+# $OpenBSD: radiusd.conf,v 1.4 2023/09/18 14:44:21 sobrado Exp $
listen on 0.0.0.0
#listen on ::
secret "secret"
}
-module load "bsdauth" "/usr/libexec/radiusd/radiusd_bsdauth"
-#module set "bsdauth" "restrict-group" "users"
+module load bsdauth "/usr/libexec/radiusd/radiusd_bsdauth"
+#module set bsdauth restrict-group users
-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-by "bsdauth"
+ authenticate-by bsdauth
}
authenticate *@example.com {
- authenticate-by "radius"
+ authenticate-by radius
}