elementary OS 5.1.6 Hera the logout doesn't work anymore after replacing the local account login by LDAP account login.
Jul 17 15:35:01 eos wingpanel: EndSessionDialog.vala:184: Unable to logout: GDBus.Error:org.freedesktop.login1.NoUserForPID: Caller does not belong to any logged in user or lingering user
https://github.com/NixOS/nixpkgs/issues/60496 mentioned a problem with
light-locker but I didn't notice a problem with
light-locker on the system.
Logout with local accounts work fine.
For some reason the problem is solved after installing Debug-Symbols:
apt install libnss-ldapd-dbgsym