diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-06 15:15:40 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-06-03 10:45:44 +0200 |
commit | 413c80baf48a78874134604de190c7bc491b5d43 (patch) | |
tree | 692cc4b0a45a09b68e5b7a7177d3ac1bb834456d /src/responder/ifp/org.freedesktop.sssd.infopipe.conf | |
parent | fd6ab0a538639a78d10c296e3358a95427418978 (diff) | |
download | sssd-413c80baf48a78874134604de190c7bc491b5d43.tar.gz sssd-413c80baf48a78874134604de190c7bc491b5d43.tar.xz sssd-413c80baf48a78874134604de190c7bc491b5d43.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'.
(cherry picked from commit 8214510f125879c3b1d247f2ce981ee20b5375d1)
Diffstat (limited to 'src/responder/ifp/org.freedesktop.sssd.infopipe.conf')
-rw-r--r-- | src/responder/ifp/org.freedesktop.sssd.infopipe.conf | 22 |
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> |