summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-10-02 14:59:35 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-04-04 14:05:50 +0200
commitcb4d5b588e704114b7090678752d33512baa718e (patch)
treeff637857b795a31fcd52e1b9ff5ddbae742d4969 /src/providers
parent03fb48fdaa7ed95ecb38ecc43a6d221ff2cfd950 (diff)
downloadsssd-cb4d5b588e704114b7090678752d33512baa718e.tar.gz
sssd-cb4d5b588e704114b7090678752d33512baa718e.tar.xz
sssd-cb4d5b588e704114b7090678752d33512baa718e.zip
IFP: Re-add the InfoPipe server
Related: https://fedorahosted.org/sssd/ticket/2072 This commit only adds the responder and the needed plumbing. No DBus related code is in yet.
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/data_provider_be.c2
-rw-r--r--src/providers/dp_backend.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
index 0957bedc0..5c2b480db 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -2013,6 +2013,8 @@ static int client_registration(struct sbus_request *dbus_req, void *data)
becli->bectx->ssh_cli = becli;
} else if (strcasecmp(cli_name, "PAC") == 0) {
becli->bectx->pac_cli = becli;
+ } else if (strcasecmp(cli_name, "InfoPipe") == 0) {
+ becli->bectx->ifp_cli = becli;
} else {
DEBUG(SSSDBG_CRIT_FAILURE, "Unknown client! [%s]\n", cli_name);
}
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h
index ed022c207..8e3a68a5b 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -143,6 +143,7 @@ struct be_ctx {
struct be_client *autofs_cli;
struct be_client *ssh_cli;
struct be_client *pac_cli;
+ struct be_client *ifp_cli;
struct loaded_be loaded_be[BET_MAX];
struct bet_info bet_info[BET_MAX];