From 0bb5fd91692dd374cf2c961750920219341ab023 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 8 Apr 2009 12:42:44 -0400 Subject: Fix SBUS handling of unknown messages This was missed when we moved away from using the message_handler for sending replies (in order to support async processing). --- server/sbus/sssd_dbus_connection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/sbus/sssd_dbus_connection.c b/server/sbus/sssd_dbus_connection.c index 9c33d2243..1a3f107c9 100644 --- a/server/sbus/sssd_dbus_connection.c +++ b/server/sbus/sssd_dbus_connection.c @@ -600,6 +600,8 @@ DBusHandlerResult sbus_message_handler(DBusConnection *conn, /* Reply DBUS_ERROR_UNKNOWN_METHOD */ DEBUG(1, ("No matching method found for %s.\n", method)); reply = dbus_message_new_error(message, DBUS_ERROR_UNKNOWN_METHOD, NULL); + sbus_conn_send_reply(ctx->conn_ctx, reply); + dbus_message_unref(reply); } } else { -- cgit