I've got an issue where my KDE screenlocker will not show the full username for the logged in user (for this session) if that user is LDAP authenticated. This means that when the screen is locked, you can't see who locked it.
It displays the full username for a locally created/authenticated user so the theme is at least functional for a single user.
 I've confirmed the file:
is the one being referenced by my theme
getent returns remote users and groups as expected, with full username fields in exactly the same format as
getent for the local user, so it's not an issue with LDAP access/results.
I've built a kde app using this tutorial, and can verify that the following code snippet (from kscreenlocker-5.12.8,
greeter/greeterapp.cpp:300) does return the correct fullName for an LDAP authenticated user:
const KUser user; const QString fullName = user.property(KUser::FullName).toString();
[edit2] - thanks to @WinEunuuchs2Unix I am slightly closer:
The logout screen has functioning fullUsername code. This can be found in:
I've patched the
LockScreenUi.qml file, and verified it's functional by the commented
name: "foobar" line, but for some reason
kuser.fullname is still returning nothing.
How do I get the LDAP full username to display correctly on the lockscreen?
Thanks for any assistance -