9fa466d3410e8023ee2683524babac95ac52a69a
[moonshot.git] / rpm-sources / freeradius-redhat-config.patch
1 diff -r -u freeradius-server-3.0.0.orig/raddb/mods-available/eap freeradius-server-3.0.0/raddb/mods-available/eap
2 --- freeradius-server-3.0.0.orig/raddb/mods-available/eap       2013-10-07 15:49:47.000000000 -0400
3 +++ freeradius-server-3.0.0/raddb/mods-available/eap    2013-11-26 17:48:56.081183431 -0500
4 @@ -435,7 +435,7 @@
5                         #
6                         #  You should also delete all of the files
7                         #  in the directory when the server starts.
8 -       #               tmpdir = /tmp/radiusd
9 +       #               tmpdir = /var/run/radiusd/tmp
10
11                         #  The command used to verify the client cert.
12                         #  We recommend using the OpenSSL command-line
13 @@ -449,7 +449,7 @@
14                         #  in PEM format.  This file is automatically
15                         #  deleted by the server when the command
16                         #  returns.
17 -       #               client = "/path/to/openssl verify -CApath ${..ca_path} %{TLS-Client-Cert-Filename}"
18 +       #               client = "/usr/bin/openssl verify -CApath ${..ca_path} %{TLS-Client-Cert-Filename}"
19                 }
20
21                 #
22 diff -r -u freeradius-server-3.0.0.orig/raddb/radiusd.conf.in freeradius-server-3.0.0/raddb/radiusd.conf.in
23 --- freeradius-server-3.0.0.orig/raddb/radiusd.conf.in  2013-10-07 15:49:47.000000000 -0400
24 +++ freeradius-server-3.0.0/raddb/radiusd.conf.in       2013-11-26 17:24:52.263467793 -0500
25 @@ -71,8 +71,7 @@
26  cadir   = ${confdir}/certs
27  run_dir = ${localstatedir}/run/${name}
28
29 -# Should likely be ${localstatedir}/lib/radiusd
30 -db_dir = ${raddbdir}
31 +db_dir = ${localstatedir}/lib/radiusd
32
33  #
34  # libdir: Where to find the rlm_* modules.
35 @@ -376,8 +375,8 @@
36         #  member.  This can allow for some finer-grained access
37         #  controls.
38         #
39 -#      user = radius
40 -#      group = radius
41 +       user = radiusd
42 +       group = radiusd
43
44         #  Core dumps are a bad thing.  This should only be set to
45         #  'yes' if you're debugging a problem with the server.