Blame SOURCES/freeradius-Adjust-configuration-to-fit-Red-Hat-specifics.patch

8fa666
From 958f470cda2ba8943f02f13d1b46f357f92d9639 Mon Sep 17 00:00:00 2001
8fa666
From: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
8fa666
Date: Mon, 8 Sep 2014 12:32:13 +0300
8fa666
Subject: [PATCH] Adjust configuration to fit Red Hat specifics
8fa666
8fa666
---
8fa666
 raddb/mods-available/eap | 4 ++--
8fa666
 raddb/radiusd.conf.in    | 7 +++----
8fa666
 2 files changed, 5 insertions(+), 6 deletions(-)
8fa666
8fa666
diff --git a/raddb/mods-available/eap b/raddb/mods-available/eap
8fa666
index 2621e183c..94494b2c6 100644
8fa666
--- a/raddb/mods-available/eap
8fa666
+++ b/raddb/mods-available/eap
8fa666
@@ -472,7 +472,7 @@ eap {
8fa666
 			#
8fa666
 			#  You should also delete all of the files
8fa666
 			#  in the directory when the server starts.
8fa666
-	#		tmpdir = /tmp/radiusd
8fa666
+	#		tmpdir = /var/run/radiusd/tmp
8fa666
 
8fa666
 			#  The command used to verify the client cert.
8fa666
 			#  We recommend using the OpenSSL command-line
8fa666
@@ -486,7 +486,7 @@ eap {
8fa666
 			#  in PEM format.  This file is automatically
8fa666
 			#  deleted by the server when the command
8fa666
 			#  returns.
8fa666
-	#		client = "/path/to/openssl verify -CApath ${..ca_path} %{TLS-Client-Cert-Filename}"
8fa666
+	#		client = "/usr/bin/openssl verify -CApath ${..ca_path} %{TLS-Client-Cert-Filename}"
8fa666
 		}
8fa666
 
8fa666
 		#
8fa666
diff --git a/raddb/radiusd.conf.in b/raddb/radiusd.conf.in
8fa666
index a83c1f687..e500cf97b 100644
8fa666
--- a/raddb/radiusd.conf.in
8fa666
+++ b/raddb/radiusd.conf.in
8fa666
@@ -70,8 +70,7 @@ certdir = ${confdir}/certs
8fa666
 cadir   = ${confdir}/certs
8fa666
 run_dir = ${localstatedir}/run/${name}
8fa666
 
8fa666
-# Should likely be ${localstatedir}/lib/radiusd
8fa666
-db_dir = ${raddbdir}
8fa666
+db_dir = ${localstatedir}/lib/radiusd
8fa666
 
8fa666
 #
8fa666
 # libdir: Where to find the rlm_* modules.
8fa666
@@ -398,8 +397,8 @@ security {
8fa666
 	#  member.  This can allow for some finer-grained access
8fa666
 	#  controls.
8fa666
 	#
8fa666
-#	user = radius
8fa666
-#	group = radius
8fa666
+	user = radiusd
8fa666
+	group = radiusd
8fa666
 
8fa666
 	#  Core dumps are a bad thing.  This should only be set to
8fa666
 	#  'yes' if you're debugging a problem with the server.
8fa666
-- 
8fa666
2.13.2
8fa666