summaryrefslogtreecommitdiffstats
path: root/src/responder/pam
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-03-02 06:58:46 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-03-04 12:41:30 -0500
commitb93f6528f77284198ccf974355558f64d6ea7a57 (patch)
tree01929bc6f168cf770d4188e30208bebec14d578e /src/responder/pam
parent9fb59763bce293c2490e0b9f8e97bb1f74ba0910 (diff)
downloadsssd-b93f6528f77284198ccf974355558f64d6ea7a57.tar.gz
sssd-b93f6528f77284198ccf974355558f64d6ea7a57.tar.xz
sssd-b93f6528f77284198ccf974355558f64d6ea7a57.zip
Eliminate monitor reconfig
We disabled live reconfiguration a long time ago with the intent of fixing it so that it wasn't completely broken, but we've decided that live updates are too delicate to handle all cases gracefully. For the forseeable future, we will rely on process restart for updating the configuration. Furthermore, we had not completely disabled live updates. It would still attempt to run if we sent a SIGHUP. This has also been eliminated.
Diffstat (limited to 'src/responder/pam')
-rw-r--r--src/responder/pam/pamsrv.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c
index 9abd213a9..ac1cf4010 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 }
};