Blame SOURCES/freeradius-redhat-config.patch

08a4ed
diff -r -u freeradius-server-3.0.0.orig/raddb/mods-available/eap freeradius-server-3.0.0/raddb/mods-available/eap
08a4ed
--- freeradius-server-3.0.0.orig/raddb/mods-available/eap	2013-10-07 15:49:47.000000000 -0400
08a4ed
+++ freeradius-server-3.0.0/raddb/mods-available/eap	2013-11-26 17:48:56.081183431 -0500
08a4ed
@@ -435,7 +435,7 @@
08a4ed
 			#
08a4ed
 			#  You should also delete all of the files
08a4ed
 			#  in the directory when the server starts.
08a4ed
-	#     		tmpdir = /tmp/radiusd
08a4ed
+	#     		tmpdir = /var/run/radiusd/tmp
08a4ed
08a4ed
 			#  The command used to verify the client cert.
08a4ed
 			#  We recommend using the OpenSSL command-line
08a4ed
@@ -449,7 +449,7 @@
08a4ed
 			#  in PEM format.  This file is automatically
08a4ed
 			#  deleted by the server when the command
08a4ed
 			#  returns.
08a4ed
-	#    		client = "/path/to/openssl verify -CApath ${..ca_path} %{TLS-Client-Cert-Filename}"
08a4ed
+	#    		client = "/usr/bin/openssl verify -CApath ${..ca_path} %{TLS-Client-Cert-Filename}"
08a4ed
 		}
08a4ed
08a4ed
 		#
a827c0
diff -r -u freeradius-server-3.0.0.orig/raddb/radiusd.conf.in freeradius-server-3.0.0/raddb/radiusd.conf.in
a827c0
--- freeradius-server-3.0.0.orig/raddb/radiusd.conf.in	2013-10-07 15:49:47.000000000 -0400
08a4ed
+++ freeradius-server-3.0.0/raddb/radiusd.conf.in	2013-11-26 17:24:52.263467793 -0500
a827c0
@@ -71,8 +71,7 @@
a827c0
 cadir   = ${confdir}/certs
a827c0
 run_dir = ${localstatedir}/run/${name}
08a4ed
a827c0
-# Should likely be ${localstatedir}/lib/radiusd
a827c0
-db_dir = ${raddbdir}
a827c0
+db_dir = ${localstatedir}/lib/radiusd
08a4ed
a827c0
 #
a827c0
 # libdir: Where to find the rlm_* modules.
a827c0
@@ -376,8 +375,8 @@
a827c0
 	#  member.  This can allow for some finer-grained access
a827c0
 	#  controls.
a827c0
 	#
a827c0
-#	user = radius
a827c0
-#	group = radius
a827c0
+	user = radiusd
a827c0
+	group = radiusd
08a4ed
a827c0
 	#  Core dumps are a bad thing.  This should only be set to
a827c0
 	#  'yes' if you're debugging a problem with the server.