[SOLVED]Mint 19 Network SAMBA shares not shownin File Manager

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
A_J_Jackson
Level 1
Level 1
Posts: 4
Joined: Wed Jul 04, 2018 11:25 am

[SOLVED]Mint 19 Network SAMBA shares not shownin File Manager

Post by A_J_Jackson » Wed Jul 04, 2018 12:10 pm

2 problems, probably related. New install of Mint 19. Samba installed. Trying to connect to office Windows network (simple workgroup sharing). In terminal smbtree shows the full expected network shares. They do not show in either file browser or printer set up - trying to connect to a network (windows) shared printer; I have tried both the graphical printer set up and CUPS browser interface. I can connect to a printer directly networked but not a shared printer on a Windows machine (that I could connect to with LM 18). I have never had trouble with previous versions of Mint. The shares I have set up on my computer (Mint 19) are accessible through other computers on the network. TX for any assistance.
Last edited by A_J_Jackson on Fri Jul 06, 2018 11:44 am, edited 1 time in total.

altair4
Level 19
Level 19
Posts: 9149
Joined: Tue Feb 03, 2009 10:27 am

Re: Mint 19 Network SAMBA shares not shownin File Manager

Post by altair4 » Wed Jul 04, 2018 12:57 pm

Can't comment on the Printer issue but there have been changes in samba since Mint18.

Long version: Mint 19 and Samba File Sharing Changes

Short version:

Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add this one:

Code: Select all

client max protocol = NT1
Then reboot.

If you have Win10 on your network and it has disabled SMB1 on the server side you will not be able to connect to it.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

A_J_Jackson
Level 1
Level 1
Posts: 4
Joined: Wed Jul 04, 2018 11:25 am

Re: Mint 19 Network SAMBA shares not shownin File Manager

Post by A_J_Jackson » Wed Jul 04, 2018 2:14 pm

adding
client max protocol = NT1 to conf file did not help.

If I have workgroup=WORKGROUP (in conf)
then in file manager I see a WORGROUP folder with only my own computer shares.
If I have workgroup= XYZ (name of office workgroup) then it is back to blank screen
in the Windows Shares folder of the file manager.
I did a full reboot after each alteration to samba.conf

altair4
Level 19
Level 19
Posts: 9149
Joined: Tue Feb 03, 2009 10:27 am

Re: Mint 19 Network SAMBA shares not shownin File Manager

Post by altair4 » Wed Jul 04, 2018 2:23 pm

Assuming this is a regular old workgroup thing we are talking about it would be best to go through the checklist: viewtopic.php?f=42&t=88146&start=0
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

altair4
Level 19
Level 19
Posts: 9149
Joined: Tue Feb 03, 2009 10:27 am

Re: Mint 19 Network SAMBA shares not shownin File Manager

Post by altair4 » Wed Jul 04, 2018 4:09 pm

I've decided all on my own to post your response here for consistency sake:
A_J_Jackson wrote:
Wed Jul 04, 2018 3:49 pm
Yes, have followed that. Why does the full tree of samba shares display in the terminal with command smbtree but I can't access them in file manager or printer set up? It has only happened with Mint 19, prior versions have always been file. None of the network machines are running Win10, only XP to Win 7, plus 1 that is Mint 18. The shares on the (new) Mint 19 are accessible to the machine with Mint 18 - directly in Network connections without opening 'Windows Network'. The Mint 19 shares also show on the Mint 18 'Windows Network/XXGROUP folder. So my Mint 19 is sharing to the outside network but no applications on Mint 19 can see the outside network. Firewall on Mint 19 is disabled. Remember that smbtree does display, accurately, the network shares.

Thank you
You write as though you think Desktop Linux is the result of an integrated development process where all of the parts are owned and accountable to one master. It is not.

smbtree is owned by Samba and they fixed smbtree by having it drop down to SMB1 ( NT1 ) to do its scan of the network. Network browsing in the file manager is done by gvfsd-smb-browse which is owned by Gnome. I doubt they even talk to each other.

Samba sharing in an all Linux network or one with macOS involved is a whole other situation. Network browsing there works by default because it doesn't use any of the old Windows netbios process. It uses avahi.

Since Mint to Mint works it's not a samba file sharing problem it is a netbios name resolution problem. Have you tried to access the share on Windows by it's ip address?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

A_J_Jackson
Level 1
Level 1
Posts: 4
Joined: Wed Jul 04, 2018 11:25 am

Re: Mint 19 Network SAMBA shares not shown in File Manager - SOLVED

Post by A_J_Jackson » Fri Jul 06, 2018 9:56 am

Finally have all working. On a whim I started computer with a live boot version of Mint 18.3. All networking, printer detection worked so I copied the smb.conf file from its /etc/samba folder. Then rebooted to the installed Mint 19 (where networking/printer detection did not work) and replaced the /etc/samba/smb.conf with the version copied from the Linux mint 18.3. I then rebooted the system. Upon reboot network printer detection worked but file manager browsing did not. I then added the line

client max protocol = NT1
after
WORKGROUP=WORKGROUP

rebooted the system again and everything worked, including file manager browsing.

Gaugamela
Level 1
Level 1
Posts: 36
Joined: Wed Dec 21, 2011 11:59 am

Re: Mint 19 Network SAMBA shares not shown in File Manager - SOLVED

Post by Gaugamela » Fri Jul 13, 2018 5:54 am

A_J_Jackson wrote:
Fri Jul 06, 2018 9:56 am
Finally have all working. On a whim I started computer with a live boot version of Mint 18.3. All networking, printer detection worked so I copied the smb.conf file from its /etc/samba folder. Then rebooted to the installed Mint 19 (where networking/printer detection did not work) and replaced the /etc/samba/smb.conf with the version copied from the Linux mint 18.3. I then rebooted the system. Upon reboot network printer detection worked but file manager browsing did not. I then added the line

client max protocol = NT1
after
WORKGROUP=WORKGROUP

rebooted the system again and everything worked, including file manager browsing.
I did this same thing and it also worked.
However, when I try to specificy a specific samba location (my workplace samba share, which is password protected) I cannot connect to it. The same goes for printers. It says that user is denied and does not recognize my username.

GlammaGeek
Level 1
Level 1
Posts: 1
Joined: Sat Jul 14, 2018 10:54 pm

Re: [SOLVED]Mint 19 Network SAMBA shares not shownin File Manager

Post by GlammaGeek » Sat Jul 14, 2018 11:21 pm

I registered just to say THANKS because this also worked for me. I was on the verge of asking for help but I'm the kind of girl who likes to try and figure it out on her own. That's how I came across this solution.

I'm running 18.3, XFCE but my issue was exactly the same. Meaning that I could connect to network shares if I entered the IP address, but I could not browse the workgroup in my file manager (Thunar). I got a new computer so I'd renamed the original smb.conf to old-smb.conf and copied the smb.conf from the old rig.

Nothing worked for browsing the workgroup until I renamed the original version from old-smb.conf back to smb.conf. Then, I renamed the copied file from smb.conf to old_smb.conf. I also entered my correct workgroup name, then copied and pasted the share information from the bottom of the smb.conf file from the old rig. After rebooting, everything worked!!! YAY!!!

For the record, before I restored the original smb.conf, no results would show up when I ran smbtree in the terminal. After restoring the original file and including the above-mentioned info from the old, smbtreee worked like a charm!

I'm super happy. Now that I've finally registered, I'll try not to be a stranger...LOL Thanks much for helping a poor GI down on her luck.

Gaugamela
Level 1
Level 1
Posts: 36
Joined: Wed Dec 21, 2011 11:59 am

Re: [SOLVED]Mint 19 Network SAMBA shares not shownin File Manager

Post by Gaugamela » Mon Jul 16, 2018 6:26 pm

Well, the samba shares at my work disappeared again today. :(

pratikmahamuni
Level 1
Level 1
Posts: 1
Joined: Fri Aug 03, 2018 7:19 am

Re: [SOLVED]Mint 19 Network SAMBA shares not shownin File Manager

Post by pratikmahamuni » Fri Aug 03, 2018 7:21 am

It worked for me also.
Thanks a lot

Polymorph
Level 1
Level 1
Posts: 23
Joined: Tue Jan 31, 2012 8:11 pm
Location: NSW, Australia

Re: [SOLVED]Mint 19 Network SAMBA shares not shownin File Manager

Post by Polymorph » Wed Aug 15, 2018 1:27 am

@A_J_Jackson

This worked for me too.

Thanks

Post Reply

Return to “Other networking topics”