summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/org.freedesktop.sssd.infopipe.conf
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-01-06 15:15:40 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-04-04 14:05:50 +0200
commit8214510f125879c3b1d247f2ce981ee20b5375d1 (patch)
tree5e0a7f31fb71bafbd2da0bea6aafb39eb242ec6e /src/responder/ifp/org.freedesktop.sssd.infopipe.conf
parentcb4d5b588e704114b7090678752d33512baa718e (diff)
downloadsssd-8214510f125879c3b1d247f2ce981ee20b5375d1.tar.gz
sssd-8214510f125879c3b1d247f2ce981ee20b5375d1.tar.xz
sssd-8214510f125879c3b1d247f2ce981ee20b5375d1.zip
IFP: Connect to the system bus
Related: https://fedorahosted.org/sssd/ticket/2072 Adds the possibility for the InfoPipe responder to connect to the system bus. At the moment, only a dummy method "Ping" is provided. The method only accepts a single string parameter that has to be 'ping'.
Diffstat (limited to 'src/responder/ifp/org.freedesktop.sssd.infopipe.conf')
-rw-r--r--src/responder/ifp/org.freedesktop.sssd.infopipe.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/responder/ifp/org.freedesktop.sssd.infopipe.conf b/src/responder/ifp/org.freedesktop.sssd.infopipe.conf
new file mode 100644
index 000000000..fea847cee
--- /dev/null
+++ b/src/responder/ifp/org.freedesktop.sssd.infopipe.conf
@@ -0,0 +1,22 @@
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- This configuration file specifies the required security policies
+ for the SSSD InfoPipe to work. -->
+
+ <!-- Only root can own (provide) the SSSD service -->
+ <policy user="root">
+ <allow own="org.freedesktop.sssd.infopipe"/>
+ </policy>
+
+ <!-- Allow all methods on the interface -->
+ <!-- Right now, this will be handled by a limited ACL
+ within the InfoPipe Daemon. -->
+ <policy context="default">
+ <allow send_interface="org.freedesktop.sssd.infopipe"/>
+ </policy>
+
+</busconfig>