summaryrefslogtreecommitdiffstats
path: root/server/Makefile.in
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-02-24 12:02:05 -0500
committerSimo Sorce <idra@samba.org>2009-02-24 13:47:47 -0500
commitc14486feb47672a3562989ddb00653f58357e368 (patch)
tree92fe193ae916c95ae95654a55a7bdce45587aeac /server/Makefile.in
parent795e12d8315c4f7f0d4b2abb77fb49e0417e362a (diff)
downloadsssd-c14486feb47672a3562989ddb00653f58357e368.tar.gz
sssd-c14486feb47672a3562989ddb00653f58357e368.tar.xz
sssd-c14486feb47672a3562989ddb00653f58357e368.zip
Adding support for CheckPermissions to InfoPipe.
CheckPermissions will currently return unrestricted access to the root user, and no access to any other user. Once we decide on an ACL mechanism, this will be easy to change. I have also added very basic tests for the Introspect and CheckPermissions methods.
Diffstat (limited to 'server/Makefile.in')
-rw-r--r--server/Makefile.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/server/Makefile.in b/server/Makefile.in
index f281ba41f..1cde271ef 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -96,7 +96,9 @@ ifneq (x$(HAVE_POLICYKIT), x)
LIBEXECBINS += sbin/sssd_pk
endif
BINS = sbin/sssd $(LIBEXECBINS)
-TESTS = tests/sysdb-tests
+
+TESTS = tests/sysdb-tests tests/infopipe-tests
+TESTS_DATA = tests/tests.ldb tests/tests_conf.ldb tests/introspect.ref
SOLIBS = lib/$(MEMBEROF_SOLIB) lib/$(PROXY_BE_SOLIB)
SONAMELIBS = lib/$(PROXY_BE_SONAME) lib/$(MEMBEROF_SONAME)
@@ -109,15 +111,15 @@ all: showflags dirs $(OBJS) $(BINS) $(SOBASELIBS)
shared-build: all
tests: all $(TESTS)
+ cp $(INFP_INTROSPECT_XML) tests/introspect.ref
dirs:
@mkdir -p $(DIRS)
-clean::
+clean:: testclean
rm -f $(OBJS) $(BINS) $(MODULES)
rm -f *.o */*.o */*/*.o
- rm -f $(BINS) $(TESTS)
- rm -f $(BINS) $(TESTS)
+ rm -f $(BINS)
rm -f $(SOBASELIBS) $(SONAMELIBS) $(SOLIBS)
distclean:: clean
@@ -128,6 +130,9 @@ distclean:: clean
realdistclean:: distclean
rm -f configure config.h.in
+testclean::
+ rm -f $(TESTS) $(TESTS_DATA)
+
install:: all installdirs installheaders installlibs installbin installsupport
${INSTALLCMD} -d $(DESTDIR)$(sbindir)
${INSTALLCMD} -m 755 sbin/sssd $(DESTDIR)$(sbindir)