Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONITOR: Set destructor for the right connection
When the monitor receives a `sssd.monitor.RegisterService` D-Bus method, it is received on the listening connection and not on the client's connection. Because of this, the destructor is set for to the listening connection (taken from the sbus_request) and instead of the client connection. The client connection can be retrieved searching it by the sender's name in the `sbus_server` accessible from the `mt_ctx`, to set the destructor to the correct connection in the function `monitor_sbus_RegisterService()`. Resolves: SSSD#6897 Reviewed-by: Alexey Tikhonov <[email protected]> Reviewed-by: Pavel Březina <[email protected]>
- Loading branch information