openbsd-ports/net/freeradius/patches/patch-raddb_radiusd_conf_in
ajacoutot 74ad54dc0c - add more @sample files (make it easier for new configurations)
- tweak license marker
- regen patches while here

ok rui@
2008-02-18 15:46:43 +00:00

113 lines
2.9 KiB
Plaintext

$OpenBSD: patch-raddb_radiusd_conf_in,v 1.5 2008/02/18 15:46:43 ajacoutot Exp $
--- raddb/radiusd.conf.in.orig Mon Jan 21 11:29:59 2008
+++ raddb/radiusd.conf.in Mon Feb 18 14:50:28 2008
@@ -26,7 +26,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
sysconfdir = @sysconfdir@
-localstatedir = @localstatedir@
+localstatedir = /var
sbindir = @sbindir@
logdir = @logdir@
raddbdir = @raddbdir@
@@ -71,7 +71,7 @@ db_dir = $(raddbdir)
# make
# make install
#
-libdir = @libdir@
+libdir = @prefix@/lib/freeradius
# pidfile: Where to place the PID of the RADIUS server.
#
@@ -106,8 +106,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.
#
@@ -411,8 +411,8 @@ security {
#
# allowed values: {no, yes}
#
-proxy_requests = yes
-$INCLUDE proxy.conf
+proxy_requests = no
+#$INCLUDE ${confdir}/proxy.conf
# CLIENTS CONFIGURATION
@@ -428,7 +428,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
@@ -440,7 +440,7 @@ $INCLUDE clients.conf
# 'snmp' attribute to 'yes'
#
snmp = no
-$INCLUDE snmp.conf
+$INCLUDE ${confdir}/snmp.conf
# THREAD POOL CONFIGURATION
@@ -612,7 +612,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
#
@@ -1249,7 +1249,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,
@@ -1443,8 +1443,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
@@ -1747,10 +1747,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.
@@ -1845,7 +1845,7 @@ instantiate {
# to multiple times.
#
######################################################################
-$INCLUDE policy.conf
+$INCLUDE ${confdir}/policy.conf
######################################################################
#