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