ssahani / rpms / freeradius

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