2008-07-28 21:51:10 +00:00
|
|
|
$OpenBSD: patch-raddb_radiusd_conf_in,v 1.8 2008/07/28 21:51:10 rui Exp $
|
|
|
|
--- raddb/radiusd.conf.in.orig Wed Jul 23 12:04:57 2008
|
|
|
|
+++ raddb/radiusd.conf.in Wed Jul 23 12:09:43 2008
|
2008-03-21 19:25:33 +00:00
|
|
|
@@ -54,7 +54,7 @@
|
2006-04-16 14:37:08 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
-localstatedir = @localstatedir@
|
2008-01-21 22:21:24 +00:00
|
|
|
+localstatedir = /var
|
2006-04-16 14:37:08 +00:00
|
|
|
sbindir = @sbindir@
|
|
|
|
logdir = @logdir@
|
|
|
|
raddbdir = @raddbdir@
|
2008-03-21 19:25:33 +00:00
|
|
|
@@ -99,7 +99,7 @@ db_dir = $(raddbdir)
|
2006-04-16 14:37:08 +00:00
|
|
|
# make
|
|
|
|
# make install
|
|
|
|
#
|
|
|
|
-libdir = @libdir@
|
2008-01-21 22:21:24 +00:00
|
|
|
+libdir = @prefix@/lib/freeradius
|
2006-04-16 14:37:08 +00:00
|
|
|
|
|
|
|
# pidfile: Where to place the PID of the RADIUS server.
|
|
|
|
#
|
2008-07-28 21:51:10 +00:00
|
|
|
@@ -160,8 +160,8 @@ pidfile = ${run_dir}/radiusd.pid
|
|
|
|
# It will join all groups where "user" is a member. This can allow
|
|
|
|
# for some finer-grained access controls.
|
2006-04-16 14:37:08 +00:00
|
|
|
#
|
2008-07-28 21:51:10 +00:00
|
|
|
-#user = radius
|
|
|
|
-#group = radius
|
|
|
|
+user = _freeradius
|
|
|
|
+group = _freeradius
|
2006-04-16 14:37:08 +00:00
|
|
|
|
|
|
|
# max_request_time: The maximum time (in seconds) to handle a request.
|
|
|
|
#
|
2008-07-28 21:51:10 +00:00
|
|
|
@@ -476,8 +476,8 @@ security {
|
2006-04-16 14:37:08 +00:00
|
|
|
#
|
|
|
|
# allowed values: {no, yes}
|
|
|
|
#
|
|
|
|
-proxy_requests = yes
|
2008-01-21 22:21:24 +00:00
|
|
|
-$INCLUDE proxy.conf
|
|
|
|
+proxy_requests = no
|
|
|
|
+#$INCLUDE ${confdir}/proxy.conf
|
2006-04-16 14:37:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
# CLIENTS CONFIGURATION
|
2008-07-28 21:51:10 +00:00
|
|
|
@@ -493,7 +493,7 @@ $INCLUDE proxy.conf
|
2008-01-21 22:21:24 +00:00
|
|
|
# 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
|
2008-07-28 21:51:10 +00:00
|
|
|
@@ -505,7 +505,7 @@ $INCLUDE clients.conf
|
2008-01-21 22:21:24 +00:00
|
|
|
# 'snmp' attribute to 'yes'
|
|
|
|
#
|
|
|
|
snmp = no
|
|
|
|
-$INCLUDE snmp.conf
|
|
|
|
+$INCLUDE ${confdir}/snmp.conf
|
|
|
|
|
|
|
|
|
|
|
|
# THREAD POOL CONFIGURATION
|
2008-07-28 21:51:10 +00:00
|
|
|
@@ -622,12 +622,12 @@ modules {
|
2006-04-16 14:37:08 +00:00
|
|
|
# For all EAP related authentications.
|
|
|
|
# Now in another file, because it is very large.
|
|
|
|
#
|
2008-07-28 21:51:10 +00:00
|
|
|
- $INCLUDE eap.conf
|
2006-04-16 14:37:08 +00:00
|
|
|
+ $INCLUDE ${confdir}/eap.conf
|
|
|
|
|
2008-01-21 22:21:24 +00:00
|
|
|
# Include another file that has the SQL-related configuration.
|
|
|
|
# This is another file only because it tends to be big.
|
2006-04-16 14:37:08 +00:00
|
|
|
#
|
2008-01-21 22:21:24 +00:00
|
|
|
- $INCLUDE sql.conf
|
|
|
|
+ $INCLUDE ${confdir}/sql.conf
|
2006-04-16 14:37:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
# For Cisco VoIP specific accounting with Postgresql,
|
2008-07-28 21:51:10 +00:00
|
|
|
@@ -648,13 +648,13 @@ modules {
|
2008-01-21 22:21:24 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
- # $INCLUDE sqlippool.conf
|
|
|
|
+ # $INCLUDE ${confdir}/sqlippool.conf
|
|
|
|
|
|
|
|
# OTP token support. Not included by default.
|
|
|
|
- # $INCLUDE otp.conf
|
|
|
|
+ # $INCLUDE ${confdir}/otp.conf
|
|
|
|
|
2008-07-28 21:51:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@@ -725,7 +725,7 @@ instantiate {
|
2008-01-21 22:21:24 +00:00
|
|
|
# to multiple times.
|
|
|
|
#
|
|
|
|
######################################################################
|
|
|
|
-$INCLUDE policy.conf
|
|
|
|
+$INCLUDE ${confdir}/policy.conf
|
|
|
|
|
|
|
|
######################################################################
|
|
|
|
#
|