Samba running two sessions?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 2
Joined: Thu Sep 20, 2018 8:55 am

Samba running two sessions?

Post by AnOrange » Thu Sep 20, 2018 9:12 am

Hello all. I'm a long time Mint user, never had problems that I couldn't resolve (thanks to this forum!) and I've just upgraded my PC to 19. I have a number of computers on my home network and successfully use Samba for file sharing (including with an old Buffulo NAS box) Samba has never been a problem for me (touch wood!) and I'm now quite a dab hand at sorting out issues (tbh, I find Samba pretty straight forward as long as you keep it simple) However, this little problem is baffling me....

My new Tara PC appears twice on a network browse - both with "(File Sharing)" appended to the host name (I've not seen that before) It appears this way on all networked PCs. File sharing works as it should, no issues there, it's just this weird appearing twice thing - it's as if two samba sessions are running. If I do 'sudo service smbd stop', both 'host name + "(File Sharing)" entries go to be replaced by simply the host name. Obviously, the host is then no longer browseable . 'sudo service smbd start' sees both entries reappear and the host is again browseable.

sudo service smbd status shows...

● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: ena
Active: active (running) since Thu 2018-09-20 15:09:58 CEST; 2s ago
Docs: man:smbd(8)
Main PID: 4620 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 4621)
CGroup: /system.slice/smbd.service
├─4620 /usr/sbin/smbd --foreground --no-process-group
├─4622 /usr/sbin/smbd --foreground --no-process-group
├─4623 /usr/sbin/smbd --foreground --no-process-group
└─4624 /usr/sbin/smbd --foreground --no-process-group

Sep 20 15:09:58 Gerard systemd[1]: Starting Samba SMB Daemon...
Sep 20 15:09:58 Gerard systemd[1]: Started Samba SMB Daemon.

Can someone point me in the direction of resolving this intrigue? Thanks :)

Edit: attached screen shot shows what I mean (Gerard is the new Tara PC)

Level 1
Level 1
Posts: 2
Joined: Thu Sep 20, 2018 8:55 am

Re: Samba running two sessions?

Post by AnOrange » Mon Oct 15, 2018 10:08 am

Sorted it, using Webmin, as it makes it easier to configure smb.conf

I changed the 'default service' in the [global] settings

Thanks for all your help :wink:

Post Reply

Return to “Other networking topics”