https://bugs.kde.org/show_bug.cgi?id=398079

--- Comment #16 from Patrick Silva <bugsefor...@gmx.com> ---
Created attachment 126730
  --> https://bugs.kde.org/attachment.cgi?id=126730&action=edit
password dialog with 'Remember password" dialog

Watch the screen recording please.
https://www.youtube.com/watch?v=zfTosKiMLq0
I'm using my desktop computer (running Arch Linux) to access passwordless
shares from Windows 7 installed on my laptop. Dolphin asks for password even to
show the shares. When "No password, use anonymous (or guest) login" radio
button is selected in password dialog and I press enter or click on "OK"
button, Dolphin does not list the shares available and the password dialog
shows up again. So I select "Use this password" radio button, type "*" (or any
other fake login data) as username and password, press enter and Dolphin
finally lists the shares from Windows 7 server.
Dolphin asks for password again when I try to open "Dados-laptop" passwordless
share. Pressing enter while "No password, use anonymous (or guest) login" radio
button is selected makes the password dialog to show up again. Selecting "Use
this password" radio button and entering fake login data does also not work
this time. The only way to open my passwordless share when Dolphin asks for
password is entering username and password that I use to start my user session
on Windows 7.

On my system there are 2 ways to prevent Dolphin asking for password when I try
to list/open passwordless shares from Windows server:
1. entering username and password that I use to start my user session on
Windows 7 in System Settings > Settings > "Windows shares" kcm.

2. I open system settings > Account details, check "Enable the KDE Wallet
subsystem", click on "Apply" button. Then I try to open a passwordless share
with Dolphin (now the password dialogs have "Remember password" checkbox as we
can see the attached screenshot). In the first password dialog, I enter fake
login data, check "Remember password" and press enter or click on "Ok" button.
In the 2nd password dialog that Dolphin shows when I try to open a passwordless
share, I enter username and password that I use to start my user session on
Windows 7, check "Remember password" and press enter or click on "Ok" button. 

Now Dolphin does not ask for password even after reboot.

nautilus 3.36 installed on the same client system also asks for password to
list the passwordless
shares from Windows 7, watch the following screen recording please.
https://www.youtube.com/watch?v=xcaJzoFwa80
If I click on "Connect" button while password field is empty,
password dialog shows up again. So I enter "*" as username and password and
naulilus lists
the shares. Nautilus asks for password again (now it's a different password
dialog with "Anonymous" and "Registered user" radio buttons) when I try to open
a passwordless share. If "Anonymous" radio button is selected and I click on
"Connect" button, nautilus shows the password dialog again. Nautilus also does
not accept fake username and password "*"and it also only opens my passwordless
share when I enter username and password that I use to start my user session on
Windows 7.

Password dialogs of nautilus never appear again after the following steps:

1. in the first password dialog, enter fake login data
2. select "Remember forever" radio button
3. click on "Connect" button
4. try to open a samba share, 2nd password dialog shows up. Enter username and
password that you use to start user session in Windows server
5. select "Remember forever" radio button
6. click on "Connect" button
7. reboot and check if nautilus is still showing password dialogs when you try
to open a passwordless share: yes, 2nd password dialog is still appearing.
8. enter username and password that you use to start user session in Windows
server again
9. select "Remember forever" radio button again
10. click on "Connect" button again
11. reboot again
Now you can access passwordless shares with nautilus without any password
dialog.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to