diff options
author | Pavel Březina <pbrezina@redhat.com> | 2016-05-15 20:48:13 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-06-20 14:48:47 +0200 |
commit | 83a79d93035c2d75a1941f3b54426119174044a0 (patch) | |
tree | ca7d8ae7fe618c4b1798b22ffbf4cc8368156b2d /src/responder/nss | |
parent | dea636af4d1902a081ee891f1b19ee2f8729d759 (diff) | |
download | sssd-83a79d93035c2d75a1941f3b54426119174044a0.tar.gz sssd-83a79d93035c2d75a1941f3b54426119174044a0.tar.xz sssd-83a79d93035c2d75a1941f3b54426119174044a0.zip |
RESPONDER: New interface for client registration
This is just a beginning of new responder interface to data provider
and it is just to make the client registration work. It needs further
improvement.
The idea is to take the existing interface and make it work better
with further extensions of data provider. The current interface has
several disadvantages such as it is originally build only for
account requests and doesn't take different set of output parameters.
It also doesn't work well with integration into tevent-made responders.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/responder/nss')
-rw-r--r-- | src/responder/nss/nsssrv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index 2cc934c45..d01884789 100644 --- a/src/responder/nss/nsssrv.c +++ b/src/responder/nss/nsssrv.c @@ -380,9 +380,7 @@ static void nss_dp_reconnect_init(struct sbus_connection *conn, DEBUG(SSSDBG_CRIT_FAILURE, "Reconnected to the Data Provider.\n"); /* Identify ourselves to the data provider */ - ret = dp_common_send_id(be_conn->conn, - DATA_PROVIDER_VERSION, - "NSS"); + ret = rdp_register_client(be_conn, "NSS"); /* all fine */ if (ret == EOK) { handle_requests_after_reconnect(be_conn->rctx); |