diff options
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/nss/nsssrv.c | 14 | ||||
-rw-r--r-- | src/responder/pam/pamsrv.c | 13 |
2 files changed, 0 insertions, 27 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index 1b55baf6..06e8bfe9 100644 --- a/src/responder/nss/nsssrv.c +++ b/src/responder/nss/nsssrv.c @@ -47,11 +47,8 @@ #define DEFAULT_PWFIELD "*" -static int service_reload(DBusMessage *message, struct sbus_connection *conn); - struct sbus_method monitor_nss_methods[] = { { MON_CLI_METHOD_PING, monitor_common_pong }, - { MON_CLI_METHOD_RELOAD, service_reload }, { MON_CLI_METHOD_RES_INIT, monitor_common_res_init }, { NULL, NULL } }; @@ -64,17 +61,6 @@ struct sbus_interface monitor_nss_interface = { NULL }; -static int service_reload(DBusMessage *message, struct sbus_connection *conn) -{ - /* Monitor calls this function when we need to reload - * our configuration information. Perform whatever steps - * are needed to update the configuration objects. - */ - - /* Send an empty reply to acknowledge receipt */ - return monitor_common_pong(message, conn); -} - static int nss_get_config(struct nss_ctx *nctx, struct resp_ctx *rctx, struct confdb_ctx *cdb) diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c index 9abd213a..ac1cf401 100644 --- a/src/responder/pam/pamsrv.c +++ b/src/responder/pam/pamsrv.c @@ -46,11 +46,8 @@ #define SSS_PAM_SBUS_SERVICE_VERSION 0x0001 #define SSS_PAM_SBUS_SERVICE_NAME "pam" -static int service_reload(DBusMessage *message, struct sbus_connection *conn); - struct sbus_method monitor_pam_methods[] = { { MON_CLI_METHOD_PING, monitor_common_pong }, - { MON_CLI_METHOD_RELOAD, service_reload }, { MON_CLI_METHOD_RES_INIT, monitor_common_res_init }, { NULL, NULL } }; @@ -63,16 +60,6 @@ struct sbus_interface monitor_pam_interface = { NULL }; -static int service_reload(DBusMessage *message, struct sbus_connection *conn) { - /* Monitor calls this function when we need to reload - * our configuration information. Perform whatever steps - * are needed to update the configuration objects. - */ - - /* Send an empty reply to acknowledge receipt */ - return monitor_common_pong(message, conn); -} - static struct sbus_method pam_dp_methods[] = { { NULL, NULL } }; |