From 33d52a367f7ddaa843eec3a79f36adfbca6033a2 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 28 Aug 2017 12:20:36 -0400 Subject: [PATCH] Fix kdcpolicy build issues Fix mydir in plugins/kdcpolicy/test/Makefile.in so that the Makefile can be rebuilt correctly. Also change the name of the shared object from "policy_test.so" to "kdcpolicy_test.so" for consistency. ticket: 8606 --- src/plugins/kdcpolicy/test/Makefile.in | 4 ++-- .../test/{policy_test.exports => kdcpolicy_test.exports} | 0 src/tests/t_kdcpolicy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/plugins/kdcpolicy/test/{policy_test.exports => kdcpolicy_test.exports} (100%) diff --git a/src/plugins/kdcpolicy/test/Makefile.in b/src/plugins/kdcpolicy/test/Makefile.in index b81f1a7ce5..ea3484e13e 100644 --- a/src/plugins/kdcpolicy/test/Makefile.in +++ b/src/plugins/kdcpolicy/test/Makefile.in @@ -1,7 +1,7 @@ -mydir=plugins$(S)policy$(S)test +mydir=plugins$(S)kdcpolicy$(S)test BUILDTOP=$(REL)..$(S)..$(S).. -LIBBASE=policy_test +LIBBASE=kdcpolicy_test LIBMAJOR=0 LIBMINOR=0 RELDIR=../plugins/kdcpolicy/test diff --git a/src/plugins/kdcpolicy/test/policy_test.exports b/src/plugins/kdcpolicy/test/kdcpolicy_test.exports similarity index 100% rename from src/plugins/kdcpolicy/test/policy_test.exports rename to src/plugins/kdcpolicy/test/kdcpolicy_test.exports diff --git a/src/tests/t_kdcpolicy.py b/src/tests/t_kdcpolicy.py index b5d3084615..5b198bb430 100644 --- a/src/tests/t_kdcpolicy.py +++ b/src/tests/t_kdcpolicy.py @@ -5,7 +5,7 @@ import re testpreauth = os.path.join(buildtop, 'plugins', 'preauth', 'test', 'test.so') testpolicy = os.path.join(buildtop, 'plugins', 'kdcpolicy', 'test', - 'policy_test.so') + 'kdcpolicy_test.so') krb5_conf = {'plugins': {'kdcpreauth': {'module': 'test:' + testpreauth}, 'clpreauth': {'module': 'test:' + testpreauth}, 'kdcpolicy': {'module': 'test:' + testpolicy}}} -- 2.47.2