LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-14-2022, 12:29 PM   #1
Mike Davies
Member
 
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 145

Rep: Reputation: 15
Samba working OK, but not showing up in network displays


I've got Samba running on a server OK.

Other computers in the network can use command line commands like "smbget" against the server OK.

But if the same computer uses a GUI file browser like Thunar, and click on Network, the server name does not appear at all.

Any ideas why ? My smb.conf follows...

[global]
workgroup = OURNET
security = user
hosts allow = 192.168.3.0/24

passdb backend = tdbsam

server role = CLASSIC PRIMARY DOMAIN CONTROLLER
guest ok = yes

[photos]
comment = Our Photos
path = /volatile/share/photos
browseable = yes
guest ok = yes

[Music]
comment = MP3 music
path = /volatile/share/Music
browseable = yes
guest ok = yes
 
Old 12-14-2022, 04:29 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Yeah. You need to set up the WSD service on your Samba server:

https://github.com/christgau/wsdd

Alternatively, if you're in a small office, you could just set up a desktop shortcut to the Samba share on all of the client machines... otherwise, if you're in a larger office with an AD server, you could make a group policy object which creates a shortcut on users' desktops.
 
Old 12-14-2022, 05:02 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Without knowing anything about linux distributions or samba versions running on the clients and servers we can only guess. With samba > 4.11 or so SMB v1 network browsing via netbios is now dead. Windows 10+ it has also disabled and or removed. Windows clients now use Windows discovery to find other computers and as posted wsdd is the linux implementation of the Windows Discovery protocol which allows clients to find servers. wsdd does have a client mode but it isn't enabled by default. In addition if the clients and servers are running avahi they should also be able to find each other.
 
Old 12-15-2022, 12:25 PM   #4
Mike Davies
Member
 
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 145

Original Poster
Rep: Reputation: 15
Thanks for the replies.

The server (smbd version 4.14.4) has been built using buildroot-2021.02.3, and is running under Linux 5.4.51. It does not appear to have a wsdd bundled up with it. I will investigate more recent versions and see what is available.

If I start a big smbget somewhere on the network and then do a smbstatus on the server it claims to be using SMB3 protocol.

The server does not have avahi built, but the sources are there. I'll give that a go, and see what happens.
 
Old 12-15-2022, 04:30 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by Mike Davies View Post
The server does not have avahi built, but the sources are there. I'll give that a go, and see what happens.
SMB3 = good!

Beware that avahi will only work on Linux clients.

You need the WSD service listed above if you want the shares to be "browsable" by Windows clients.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wlan0 showing in iwconfig and airmon-ng as well, however it isn't showing in ifconfig, but my internet connection works. betweenyouandseb Linux - Newbie 7 08-25-2020 02:38 AM
[SOLVED] code displays many blank lines before showing table pizzipie Programming 4 12-22-2019 11:39 PM
[SOLVED] Screen not showing on laptop but showing on projector when connected someshpr Linux - General 3 04-18-2011 04:58 PM
[SOLVED] less displays binary but cat displays ascii? ahtoot Linux - Newbie 3 01-25-2011 08:38 PM
Dual monitors, separate X displays; want firefox in both displays bforbes Linux - Desktop 7 10-15-2008 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration