diff options
author | Pavel Březina <pbrezina@redhat.com> | 2015-05-20 14:45:25 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-18 16:46:10 +0200 |
commit | 2b7ef850846029641cc59560c2d8d4ab7254dda5 (patch) | |
tree | c42a7dfa9cb8e553710e23205ef5813e7b84b3f3 /src/responder/ifp/ifp_private.h | |
parent | f7adbb15dbdcb79e291f7cf361a400ce25f7b382 (diff) | |
download | sssd-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/ifp_private.h')
-rw-r--r-- | src/responder/ifp/ifp_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/ifp/ifp_private.h b/src/responder/ifp/ifp_private.h index 94c9a4b85..304e4dc53 100644 --- a/src/responder/ifp/ifp_private.h +++ b/src/responder/ifp/ifp_private.h @@ -49,6 +49,8 @@ struct ifp_ctx { errno_t ifp_register_sbus_interface(struct sbus_connection *conn, void *handler_data); +void ifp_register_nodes(struct ifp_ctx *ctx, struct sbus_connection *conn); + /* This is a throwaway method to ease the review of the patch. * It will be removed later */ int ifp_ping(struct sbus_request *dbus_req, void *data); |