Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Nautilus 3.14 and Samba 4.2

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Inixi
Posts: 5
Joined: 2016-08-31 13:32

Nautilus 3.14 and Samba 4.2

#1 Post by Inixi »

Hello,
I am not able to access password protected shares in Samba 4.2 via Nautilus 3.14.1 (current stable).
The configuration of samba server is standard regarding instructions provided here -> https://wiki.debian.org/SambaServerSimple

I have two shares on the server:
1. homes
2. public
On both I am able to connect through command line smbclient and also Nautilus 3.22.2 (from Arch Linux distribution) but when trying to use Nautilus 3.14.1 from Debian Stable I get following syslog:

Code: Select all

org.gtk.vfs.Daemon[1730]: ### SMB: g_vfs_backend_smb_init: default workgroup = 'NULL'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - URI = smb://server.domain/public
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - try #0
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - normal pass
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - asking for password...
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - out: last_user = 'user:password', last_domain = 'DOMAIN'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - [smb://server.domain/public; 0] res = -1, cancelled = 0, errno = [13] 'Brak dostępu'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - after anon, enabling NTLMSSP fallback
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - try #1
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - normal pass
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - asking for password...
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - out: last_user = 'user:password', last_domain = 'DOMAIN'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - [smb://server.domain/public; 1] res = -1, cancelled = 0, errno = [13] 'Brak dostępu'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - try #2
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - normal pass
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - asking for password...
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - out: last_user = 'user:password', last_domain = 'DOMAIN'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - [smb://server.domain/public; 2] res = -1, cancelled = 0, errno = [13] 'Brak dostępu'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - try #3
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - normal pass
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - asking for password...
The line in polish 'Brak dostępu' means 'access denied'.
This is what happens when accessing public share. Nautilus 3.14.1 does not show any 'access denied' window, only it keeps asking for password and not letting in.

And this is what happens when accessing homes:

Code: Select all

org.gtk.vfs.Daemon[1730]: ### SMB: g_vfs_backend_smb_init: default workgroup = 'NULL'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - URI = smb://server/homes
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - try #0
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - normal pass
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - asking for password...
org.gtk.vfs.Daemon[1730]: ### SMB: auth_callback - out: last_user = 'user:password', last_domain = 'DOMAIN'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - [smb://server/homes; 0] res = -1, cancelled = 0, errno = [2] 'Nie ma takiego pliku ani katalogu'
org.gtk.vfs.Daemon[1730]: ### SMB: do_mount - (errno != EPERM && errno != EACCES), cancelled = 0, breaking
org.gtk.vfs.Daemon[1730]: ** (gvfsd:1805): WARNING **: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Zamontowanie zasobu Windows się nie powiodło: Nie ma takiego pliku ani katalogu
The last line written in polish you can translate to "Mounting Windows share failed, no such file or directory". Nautilus 3.14.1 won't even try to ask for password.
What should I do to make it work? Any particullar smb.conf settings?

Using cifs-utils and smbclient isn't good workaround, because the desktop is for person that isn't proficient in IT.

Post Reply