summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/ifpsrv.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-05-20 14:45:25 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-18 16:46:10 +0200
commit2b7ef850846029641cc59560c2d8d4ab7254dda5 (patch)
treec42a7dfa9cb8e553710e23205ef5813e7b84b3f3 /src/responder/ifp/ifpsrv.c
parentf7adbb15dbdcb79e291f7cf361a400ce25f7b382 (diff)
downloadsssd-2b7ef850846029641cc59560c2d8d4ab7254dda5.tar.gz
sssd-2b7ef850846029641cc59560c2d8d4ab7254dda5.tar.xz
sssd-2b7ef850846029641cc59560c2d8d4ab7254dda5.zip
IFP: Export nodes
IFP now exports cached users and groups in introspection. After a user is cached with: dbus-send --print-reply --system \ --dest=org.freedesktop.sssd.infopipe \ /org/freedesktop/sssd/infopipe/Users/ipaldap/397400000 \ org.freedesktop.sssd.infopipe.Cache.Object.Store And Introspection called with: dbus-send --print-reply --system \ --dest=org.freedesktop.sssd.infopipe \ /org/freedesktop/sssd/infopipe/Users \ org.freedesktop.DBus.Introspectable.Introspect The cached users would be visible in the Introspection XML as: <node name="ipaldap/397400000" /> </node> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder/ifp/ifpsrv.c')
-rw-r--r--src/responder/ifp/ifpsrv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/ifp/ifpsrv.c b/src/responder/ifp/ifpsrv.c
index f804ea197..631bcd266 100644
--- a/src/responder/ifp/ifpsrv.c
+++ b/src/responder/ifp/ifpsrv.c
@@ -165,6 +165,8 @@ sysbus_init(TALLOC_CTX *mem_ctx,
goto fail;
}
+ ifp_register_nodes(pvt, system_bus->conn);
+
*sysbus = system_bus;
return EOK;