summaryrefslogtreecommitdiffstats
path: root/src/responder/nss
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-06-25 12:33:03 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-08 20:38:16 +0200
commitb76419cf8830440b46c20a15585562343c7b1924 (patch)
treeaa7846d57deb98274a1bb49bc67797b20ea86a41 /src/responder/nss
parent0c1d65998907930678da2d091789446f2c344d5d (diff)
downloadsssd-b76419cf8830440b46c20a15585562343c7b1924.tar.gz
sssd-b76419cf8830440b46c20a15585562343c7b1924.tar.xz
sssd-b76419cf8830440b46c20a15585562343c7b1924.zip
IFP: Provide a SBUS method to reconnect to sysbus
Introduces a new method implemented only by the IFP responder. When this method is received, the responder attempts to reconnect to the system bus, if not connected already. Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/responder/nss')
-rw-r--r--src/responder/nss/nsssrv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index 1f762cca8..84a6b7fed 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -67,7 +67,8 @@ struct mon_cli_iface monitor_nss_methods = {
.resetOffline = NULL,
.rotateLogs = responder_logrotate,
.clearMemcache = nss_clear_memcache,
- .clearEnumCache = nss_clear_netgroup_hash_table
+ .clearEnumCache = nss_clear_netgroup_hash_table,
+ .sysbusReconnect = NULL,
};
static int nss_clear_memcache(struct sbus_request *dbus_req, void *data)