You are not logged in.

#1 2020-09-10 22:02:34

Strangiato
Member
Registered: 2020-01-10
Posts: 382

passwordless samba shares ask for password

Hi
My laptop running Arch + Gnome + nautilus asks for password when I try to mount passwordless samba shares from my desktop computer running Arch + KDE Plasma. Nautilus file manager shows an authentication dialog with "Anonymous" radio button already selected, I click on "Connect" button and then everything works as expected, but I want to get rid of this annoying and unexpected authentication dialog.
I have another distribution called neon unstable (based on ubuntu 20.04) running samba 4.11.6 installed on the same laptop and it can mount the same samba shares without asking for a password, then I think that there is something wrong with Gnome and/or nautilus installed on my laptop.

Here is the smb.conf file of my desktop computer:

#======================= Global Settings =====================================
[global]
   workgroup = WORKGROUP
   server string = Servidor Samba do PC
   security = user
   map to guest = Bad User
   server role = standalone server
   log file = /var/log/samba/%m.log
   usershare path = /var/lib/samba/usershares
   usershare max shares = 100
   usershare allow guests = yes
   usershare owner only = yes
   create mask = 0777
   directory mask = 2777
   force create mode = 0777
   force directory mode = 2777

#============================ Share Definitions ==============================
[Home Arch-PC]
   comment = Home do Arch do PC
   path = /home/stalker
   public = yes
   writable = yes
   browseable = yes
   guest ok = yes
   guest only = yes

[WD]
   comment = Western Digital
   path = /mnt/WD
   public = yes
   writable = yes
   browseable = yes
   guest ok = yes

[SEAGATE]
   comment = Seagate
   path = /mnt/SEAGATE
   public = yes
   browseable = yes
   writable = yes
   guest ok = yes

[WIN7]
   comment = WIN7
   path = /mnt/WIN7
   public = yes
   browseable = yes
   writable = yes
   guest ok = yes

[2TB]
   comment = Seagate 2TB
   path = /mnt/2TB
   public = yes
   browseable = yes
   writable = yes
   guest ok = yes

Last edited by Strangiato (2020-09-27 11:50:55)

Offline

#2 2020-09-14 19:16:53

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: passwordless samba shares ask for password

Apparently there is something wrong with gvfs-smb. Thunar file manager also asks for password, but Dolphin does not.

Offline

#3 2020-09-27 11:47:38

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: passwordless samba shares ask for password

Another thing related to this issue: when I cancel the password dialog, nautilus shows it again.
Is there a way to stop this behavior at least?

Offline

Board footer

Powered by FluxBB