Problem with accessing smb shared folder, domain typed in the credentials window is ignored
Affected version
- nautilus-45.0-1.1
Steps to reproduce
- On the Nautilus file manager, other locations, Network section there is nothing there. On the bottom, there is a text field where I typed: "smb://192.168.1.46/miguel", press connect and fill the form with the credentials.
Current behavior
- I got the error message: "Unable to access location. Failed to mount windows share; Invalid arguments"
Expected behavior
opening the shared location
Additional information
On a terminal, as root, if I try:
mount -t cifs -o credentials=/tmp/cred.txt //192.168.1.46/miguel /mnt/spare
it succeeded using the same credentials as in file /tmp/cred.txt. So I am not in mistake about my credentials or smb server address and share.
On the same machine but using KDE, on dolphin file manager, network places, shared folders (SMB) the samba server is shown, no fuzz to access this share.
I could verified that in the nautilus credentials window, the text in DOMAIN field is ignored !
This field is pre-filled with the WORKGROUP name in /etc/samba/smb.conf file (which is, in my case, different from the workgroup of the samba share I was trying to access)
If I change the WORKGROUP in /etc/samba/smb.conf to the domain it is expected by the samba share I am trying to access then I got the access to that samba share.
No matter what I type on the credentials window, looks like the one set in /etc/samba/smb.conf takes precedence.
So the field DOMAIN should be READ-only on the credentials window OR the credentials window must honor what the user type in.
Running on :
openSUSE Tumbleweed 20230929
Kernel Version: 6.5.4-1-default (64-bit)
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600