Delete stored user

I see this when accessing a smb share. Where do I delete this no longer active user name?

Check /etc/samba/smb.conf and maybe see what users are in the smbpasswd database.

There’s nothing there. Also not in kwallet

I was assuming you had a fedora server running smb.
I see you are wondering where the username is remembered by your desktop?
Maybe in a file in .local or .config?

Look perhaps in /var/lib/AccountsService/users for a file of the same name
as the user, ie: i or j: unsure from the initial screenshot.

I there is such a file:

  • sudo systemctl stop accounts-daemon.service
  • remove this file
  • sudo systemctl start accounts-daemon.service

This is just a guess: not sure this is the thing to do.

Better perhaps: if getent passwd i (or j) shows this user, remove it with:

  • sudo userdel i
  • add the -r option if you want also to remove its home directory

The smb login details are probably stored in keyrings, install seahorse and remove the smb entry.

I checked they are not in KWallet Manager. But do I understand that next to KWallet Manager there are even more places where a user/password can be saved? .

Thanks! What file? I connected once to this server using Dolphin.