summaryrefslogtreecommitdiffstats
path: root/src/responder/ssh
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2016-05-15 20:48:13 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-06-20 14:48:47 +0200
commit83a79d93035c2d75a1941f3b54426119174044a0 (patch)
treeca7d8ae7fe618c4b1798b22ffbf4cc8368156b2d /src/responder/ssh
parentdea636af4d1902a081ee891f1b19ee2f8729d759 (diff)
downloadsssd-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/ssh')
-rw-r--r--src/responder/ssh/sshsrv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/responder/ssh/sshsrv.c b/src/responder/ssh/sshsrv.c
index d4e202d87..2be7d4bf2 100644
--- a/src/responder/ssh/sshsrv.c
+++ b/src/responder/ssh/sshsrv.c
@@ -63,9 +63,7 @@ static void ssh_dp_reconnect_init(struct sbus_connection *conn,
DEBUG(SSSDBG_TRACE_FUNC, "Reconnected to the Data Provider.\n");
/* Identify ourselves to the data provider */
- ret = dp_common_send_id(be_conn->conn,
- DATA_PROVIDER_VERSION,
- "SSH");
+ ret = rdp_register_client(be_conn, "SSH");
/* all fine */
if (ret == EOK) {
handle_requests_after_reconnect(be_conn->rctx);