113 lines
2.9 KiB
Plaintext
113 lines
2.9 KiB
Plaintext
$OpenBSD: patch-raddb_radiusd_conf_in,v 1.6 2008/03/21 19:25:33 rui Exp $
|
|
--- raddb/radiusd.conf.in.orig Tue Mar 4 16:53:02 2008
|
|
+++ raddb/radiusd.conf.in Fri Mar 21 16:50:50 2008
|
|
@@ -54,7 +54,7 @@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
sysconfdir = @sysconfdir@
|
|
-localstatedir = @localstatedir@
|
|
+localstatedir = /var
|
|
sbindir = @sbindir@
|
|
logdir = @logdir@
|
|
raddbdir = @raddbdir@
|
|
@@ -99,7 +99,7 @@ db_dir = $(raddbdir)
|
|
# make
|
|
# make install
|
|
#
|
|
-libdir = @libdir@
|
|
+libdir = @prefix@/lib/freeradius
|
|
|
|
# pidfile: Where to place the PID of the RADIUS server.
|
|
#
|
|
@@ -134,8 +134,8 @@ pidfile = ${run_dir}/radiusd.pid
|
|
# that the debugging mode server is running as a user that can read the
|
|
# shadow info, and the user listed below can not.
|
|
#
|
|
-#user = nobody
|
|
-#group = nobody
|
|
+user = _freeradius
|
|
+group = _freeradius
|
|
|
|
# max_request_time: The maximum time (in seconds) to handle a request.
|
|
#
|
|
@@ -448,8 +448,8 @@ security {
|
|
#
|
|
# allowed values: {no, yes}
|
|
#
|
|
-proxy_requests = yes
|
|
-$INCLUDE proxy.conf
|
|
+proxy_requests = no
|
|
+#$INCLUDE ${confdir}/proxy.conf
|
|
|
|
|
|
# CLIENTS CONFIGURATION
|
|
@@ -465,7 +465,7 @@ $INCLUDE proxy.conf
|
|
# Anything listed in 'clients.conf' will take precedence over the
|
|
# information from the old-style configuration files.
|
|
#
|
|
-$INCLUDE clients.conf
|
|
+$INCLUDE ${confdir}/clients.conf
|
|
|
|
|
|
# SNMP CONFIGURATION
|
|
@@ -477,7 +477,7 @@ $INCLUDE clients.conf
|
|
# 'snmp' attribute to 'yes'
|
|
#
|
|
snmp = no
|
|
-$INCLUDE snmp.conf
|
|
+$INCLUDE ${confdir}/snmp.conf
|
|
|
|
|
|
# THREAD POOL CONFIGURATION
|
|
@@ -649,7 +649,7 @@ modules {
|
|
# For all EAP related authentications.
|
|
# Now in another file, because it is very large.
|
|
#
|
|
-$INCLUDE eap.conf
|
|
+ $INCLUDE ${confdir}/eap.conf
|
|
|
|
# Microsoft CHAP authentication
|
|
#
|
|
@@ -1294,7 +1294,7 @@ $INCLUDE eap.conf
|
|
# Include another file that has the SQL-related configuration.
|
|
# This is another file only because it tends to be big.
|
|
#
|
|
- $INCLUDE sql.conf
|
|
+ $INCLUDE ${confdir}/sql.conf
|
|
|
|
|
|
# For Cisco VoIP specific accounting with Postgresql,
|
|
@@ -1488,8 +1488,8 @@ $INCLUDE eap.conf
|
|
# totally dependent on the SQL module to process Accounting
|
|
# packets.
|
|
#
|
|
- $INCLUDE sql/mysql/counter.conf
|
|
- #$INCLUDE sql/postgresql/counter.conf
|
|
+ $INCLUDE ${confdir}/sql/mysql/counter.conf
|
|
+ #$INCLUDE ${confdir}/sql/postgresql/counter.conf
|
|
|
|
#
|
|
# The "always" module is here for debugging purposes. Each
|
|
@@ -1792,10 +1792,10 @@ $INCLUDE eap.conf
|
|
#key = "%{NAS-IP-Address} %{NAS-Port}"
|
|
}
|
|
|
|
- # $INCLUDE sqlippool.conf
|
|
+ # $INCLUDE ${confdir}/sqlippool.conf
|
|
|
|
# OTP token support. Not included by default.
|
|
- # $INCLUDE otp.conf
|
|
+ # $INCLUDE ${confdir}/otp.conf
|
|
|
|
#
|
|
# Kerberos. See doc/rlm_krb5 for minimal docs.
|
|
@@ -1890,7 +1890,7 @@ instantiate {
|
|
# to multiple times.
|
|
#
|
|
######################################################################
|
|
-$INCLUDE policy.conf
|
|
+$INCLUDE ${confdir}/policy.conf
|
|
|
|
######################################################################
|
|
#
|