[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04
David Spoelstra
1767454 at bugs.launchpad.net
Mon Apr 30 19:09:36 UTC 2018
Fresh 18.04 install and install of smbclient.
david at david-HP-ProBook-440-G2:~$ smbtree
WORKGROUP
\\RT-AC5300-C140 RT-AC5300-C140
\\RT-AC5300-C140\General (at Main) Main's General in Seagate
Backup+ Desk
\\RT-AC5300-C140\IPC$ IPC Service (RT-AC5300-C140)
\\DXSPIDER Samba 4.5.12-Debian
\\DXSPIDER\IPC$ IPC Service (Samba 4.5.12-Debian)
\\DXSPIDER\RaspberryPi NAS Pi Server
\\DXSPIDER\print$ Printer Drivers
That is showing my servers, but Nautilus still doesn't...
This is my default smb.conf in 18.04:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
On Mon, Apr 30, 2018 at 8:51 AM Andreas Hasenack <andreas at canonical.com>
wrote:
> After you install smbclient, can you please just run the "smbtree"
> command:
>
> Here it lists my NAS and its shares:
> $ smbtree
> LOWTECH
> \\NAS
> \\NAS\photo System default shared folder
> \\NAS\IPC$ IPC Service ()
> (...)
>
> This is my smb.conf where smbtree was run (all defaults):
> dns proxy = No
> log file = /var/log/samba/log.%m
> map to guest = Bad User
> max log size = 1000
> obey pam restrictions = Yes
> pam password change = Yes
> panic action = /usr/share/samba/panic-action %d
> passwd chat = *Enter\snew\s*\spassword:* %n\n
> *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
> passwd program = /usr/bin/passwd %u
> server role = standalone server
> server string = %h server (Samba, Ubuntu)
> syslog = 0
> unix password sync = Yes
> usershare allow guests = Yes
> idmap config * : backend = tdb
>
>
> [printers]
> browseable = No
> comment = All Printers
> create mask = 0700
> path = /var/spool/samba
> printable = Yes
>
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/printers
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1767454
>
> Title:
> "Other Locations" does not automatically find Samba servers in Ubuntu
> 18.04
>
> Status in gvfs:
> Confirmed
> Status in samba:
> Unknown
> Status in nautilus package in Ubuntu:
> New
> Status in samba package in Ubuntu:
> New
>
> Bug description:
> Ubuntu: 18.04 clean install
> Nautilus: 1:3.26.3-0ubuntu4
>
> The actions taken to produce the problem:
> Click on “Other Locations” in Nautilus.
>
> The expected result of these actions:
> Samba servers to automatically show up under “Networks”. This is the
> behavior in Ubuntu 17.10 using Nautilus 1:3.26.0-0ub. Also, clicking on
> “”Windows Network” immediately shows "Folder is Empty".
>
> The actual result of these actions:
> The Samba servers never show up under “Networks” and clicking on
> "Windows Network" always immediately comes up with "Folder is Empty".
>
> Further information:
> This happens on both machines with a clean Ubuntu 18.04 install. My
> Ubuntu 17.10 machines still work like expected.
>
> I can still manually type in the Samba information in "Connect to
> Server" and the 18.04 machines connect just fine.
>
>
> From syslog:
> Apr 27 13:49:34 david-HP-ProBook-440-G2 dbus-daemon[1333]: [session
> uid=1000 pid=1333] Activating service name='org.gnome.Nautilus' requested
> by ':1.13' (uid=1000 pid=1468 comm="/usr/bin/gnome-shell "
> label="unconfined")
> Apr 27 13:49:34 david-HP-ProBook-440-G2 dbus-daemon[1333]: [session
> uid=1000 pid=1333] Successfully activated service 'org.gnome.Nautilus'
> Apr 27 13:49:35 david-HP-ProBook-440-G2 dbus-daemon[754]: [system]
> Activating via systemd: service name='org.freedesktop.hostname1'
> unit='dbus-org.freedesktop.hostname1.service' requested by ':1.131'
> (uid=1000 pid=4857 comm="/usr/bin/nautilus --gapplication-service "
> label="unconfined")
> Apr 27 13:49:35 david-HP-ProBook-440-G2 systemd[1]: Starting Hostname
> Service...
> Apr 27 13:49:35 david-HP-ProBook-440-G2 nautilus[4857]: Called "net
> usershare info" but it failed: Failed to execute child process “net” (No
> such file or directory)
> Apr 27 13:49:35 david-HP-ProBook-440-G2 dbus-daemon[754]: [system]
> Successfully activated service 'org.freedesktop.hostname1'
> Apr 27 13:49:35 david-HP-ProBook-440-G2 systemd[1]: Started Hostname
> Service.
> Apr 27 13:49:40 david-HP-ProBook-440-G2 gvfsd[1432]: mkdir failed on
> directory /var/cache/samba: Permission denied
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gvfs/+bug/1767454/+subscriptions
>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1767454
Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04
Status in gvfs:
Confirmed
Status in samba:
Unknown
Status in nautilus package in Ubuntu:
New
Status in samba package in Ubuntu:
New
Bug description:
Ubuntu: 18.04 clean install
Nautilus: 1:3.26.3-0ubuntu4
The actions taken to produce the problem:
Click on “Other Locations” in Nautilus.
The expected result of these actions:
Samba servers to automatically show up under “Networks”. This is the behavior in Ubuntu 17.10 using Nautilus 1:3.26.0-0ub. Also, clicking on “”Windows Network” immediately shows "Folder is Empty".
The actual result of these actions:
The Samba servers never show up under “Networks” and clicking on "Windows Network" always immediately comes up with "Folder is Empty".
Further information:
This happens on both machines with a clean Ubuntu 18.04 install. My Ubuntu 17.10 machines still work like expected.
I can still manually type in the Samba information in "Connect to
Server" and the 18.04 machines connect just fine.
From syslog:
Apr 27 13:49:34 david-HP-ProBook-440-G2 dbus-daemon[1333]: [session uid=1000 pid=1333] Activating service name='org.gnome.Nautilus' requested by ':1.13' (uid=1000 pid=1468 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 27 13:49:34 david-HP-ProBook-440-G2 dbus-daemon[1333]: [session uid=1000 pid=1333] Successfully activated service 'org.gnome.Nautilus'
Apr 27 13:49:35 david-HP-ProBook-440-G2 dbus-daemon[754]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.131' (uid=1000 pid=4857 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
Apr 27 13:49:35 david-HP-ProBook-440-G2 systemd[1]: Starting Hostname Service...
Apr 27 13:49:35 david-HP-ProBook-440-G2 nautilus[4857]: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)
Apr 27 13:49:35 david-HP-ProBook-440-G2 dbus-daemon[754]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 27 13:49:35 david-HP-ProBook-440-G2 systemd[1]: Started Hostname Service.
Apr 27 13:49:40 david-HP-ProBook-440-G2 gvfsd[1432]: mkdir failed on directory /var/cache/samba: Permission denied
To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1767454/+subscriptions
More information about the foundations-bugs
mailing list