summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-03-29 18:19:34 -0400
committerSimo Sorce <simo@redhat.com>2015-03-30 09:17:07 -0400
commit9ec54872a4bec65f8c7742d9348f970fb5798ff8 (patch)
tree0c26ba9417acb1aeb342d737e18a1ae2c1211ae0
parentf2b4591c2673fc72a809d89e9b2d1b90e4710af0 (diff)
downloadgss-proxy-9ec54872a4bec65f8c7742d9348f970fb5798ff8.tar.gz
gss-proxy-9ec54872a4bec65f8c7742d9348f970fb5798ff8.tar.xz
gss-proxy-9ec54872a4bec65f8c7742d9348f970fb5798ff8.zip
Fix configuration file substitutions
Fixes: https://fedorahosted.org/gss-proxy/ticket/138 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Lukas Slebodnik <lslebodn@redhat.com>
-rw-r--r--proxy/Makefile.am2
-rw-r--r--proxy/examples/gssproxy.conf.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/proxy/Makefile.am b/proxy/Makefile.am
index 1e7c39c..599278d 100644
--- a/proxy/Makefile.am
+++ b/proxy/Makefile.am
@@ -234,7 +234,7 @@ edit_cmd = $(SED) \
-e 's|@sbindir[@]|$(sbindir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@libdir[@]|$(libdir)|g' \
- -e 's|@gpstatedir[@]|$(prefix)|g'
+ -e 's|@gpclidir[@]|$(gpclidir)|g'
replace_script = \
@rm -f $@ $@.tmp; \
diff --git a/proxy/examples/gssproxy.conf.in b/proxy/examples/gssproxy.conf.in
index f121199..321a4e7 100644
--- a/proxy/examples/gssproxy.conf.in
+++ b/proxy/examples/gssproxy.conf.in
@@ -11,8 +11,8 @@
[service/nfs-client]
mechs = krb5
cred_store = keytab:/etc/krb5.keytab
- cred_store = ccache:FILE:@gpstatedir@/clients/krb5cc_%U
- cred_store = client_keytab:@gpstatedir@/clients/%U.keytab
+ cred_store = ccache:FILE:@gpclidir@/krb5cc_%U
+ cred_store = client_keytab:@gpclidir@/%U.keytab
cred_usage = initiate
allow_any_uid = yes
trusted = yes