From 9ec54872a4bec65f8c7742d9348f970fb5798ff8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 29 Mar 2015 18:19:34 -0400 Subject: Fix configuration file substitutions Fixes: https://fedorahosted.org/gss-proxy/ticket/138 Signed-off-by: Simo Sorce Reviewed-by: Lukas Slebodnik --- proxy/Makefile.am | 2 +- proxy/examples/gssproxy.conf.in | 4 ++-- 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 -- cgit