Background ---------- I would like to setup a shared folder for the local home network. I use openSUSE 42.1 and Plasma 5.28.0. To test the setup I try to access the configured share from the same machine. Using dolphin ------------- I enter smb://user1@localhost/myfolder/ into the address bar and the authentication dialog appears. I enter username and password and the dialog appears again. On the console where I started dolphin there is no further explanation for this error. Then I get the message "Access denied to...". How to track down the error? ---------------------------- To find the root cause of this error I tried to mount the samba share via command line: ``` $ sudo mount -t cifs -o user=user1 //127.0.0.1/myfolder /home/user1/tmp/mntsmbtest/ Password for user1@//127.0.0.1/myfolder: ***** mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) ``` As recommended here (https://www.thomas-krenn.com/de/wiki/Windows_Freigabe_unter_Linux_mounten) I used the cifs filesystem instead of smbfs. The "Input/output error" I got is described here: http://www.linuxquestions.org/questions/linux-networking-3/cifs-mount-error-5-%3D-input-output-error-but-smbfs-works-456897/ One solution there is to use sec=ntml but this does not work (because I do not connect to a windows host but to my own openSuSE host where I didn't configure anything special) How would you start to track down the root cause of the problem? Is using a Samba share even the recommended way of sharing a folder in the local network nowadays?
Yes, Samba is still the recommended approach. But you don't need to use an smb:// URL to access a locally-available folder; just navigate there normally. The Samba share should work find if you try to access it from another machine.