Windows Network/Group but no computers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Windows Network/Group but no computers
Newly installed Linux Mint 18 and I haven't installed samba yet but intended to do so. But I was surprised that under Network / Windows Network it already shows my <group_name>. How it is getting the groupname if samba isn't installed? Is that just a netbios thing?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Windows Network/Group but no computers
Samba is made up of two parts: the server and the client. The samba server part is no longer installed by default in Mint but the samba client is as it is on most Linux distros.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Windows Network/Group but no computers
From your reply, I understand you are saying the samba client is already installed and that is how it is getting the groupname? If so, then why can it not see any of the computers within it?altair4 wrote:Samba is made up of two parts: the server and the client. The samba server part is no longer installed by default in Mint but the samba client is as it is on most Linux distros.
I open "Network", and then double-click "Windows Network". After about 10 seconds, it displays a folder with my groupname. When I double-click the group, I eventually get the dialog "Unable to mount location. Failed to retrieve share list from server: Connection timed out." However, there are always a minimum of two Windows systems in this group, each with exposed shares.
Checking for samba from the terminal:
Code: Select all
samba --version
The program 'samba' is currently not installed.
I definitely remember a few years ago when creating an Ubuntu system, I had to install Samba.
Thanks for the help.
Re: Windows Network/Group but no computers
You don't need the package "samba" installed to access someone else's shares only to create your own.
This is another issue assuming you meant
Then follow one or all of these Howto's depending on what other operating systems are in your network:
If Windows is involved: Samba Browsing Problems Checklist
If this is a Linux / macOS network: Samba Browsing in an all Linux or Linux/OSX network
Windows 10 falls somewhere between those two: Win10, Linux, mDNS, and Samba File Sharing
This is another issue assuming you meant
/etc/samba/smb.conf
because that files is used by both server and client:
Why not just install samba in it's entirety:Nor is there any /etc/smb.conf file.
Code: Select all
sudo apt-get install samba --install-recommends
If Windows is involved: Samba Browsing Problems Checklist
If this is a Linux / macOS network: Samba Browsing in an all Linux or Linux/OSX network
Windows 10 falls somewhere between those two: Win10, Linux, mDNS, and Samba File Sharing
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Windows Network/Group but no computers
That is the condition I am seeking. I do not need this system to serve up its own shares, only to access those on other systems.altair4 wrote:You don't need the package "samba" installed to access someone else's shares only to create your own.
Yes, I mistyped the path; there is an /etc/samba/smb.confaltair4 wrote:This is another issue assuming you meant/etc/samba/smb.conf
because that files is used by both server and client:
That was my original plan but when I saw it already recognized my workgroup it seemed I wouldn't need to do anything else. And your original statement implies I shouldn't have to do anything else if this system will only be a client.altair4 wrote:Why not just install samba in it's entirety:Then follow one or all of these Howto's depending on what other operating systems are in your network:Code: Select all
sudo apt-get install samba --install-recommends
So, I'm back to my original question: If it can see the workgroup, why cannot it see the servers within it?
I'll do some additional checking with the articles you've listed and others I've found.
Re: Windows Network/Group but no computers
It's a name resolution problem and the HowTo's I listed were written for that problem.So, I'm back to my original question: If it can see the workgroup, why cannot it see the servers within it?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Windows Network/Group but no computers
I did not need to explicitly install samba for client access.
Opened /etc/samba/smb.conf for editing:
Updated workgroup name:
Then restarted. It still did not see the servers.
Added the line to specify the name resolution order:Then restarted. The servers then appeared directly under Network. I did not have to open Windows Network > <groupname> though they also appear there, of course.
Opened /etc/samba/smb.conf for editing:
Code: Select all
gksu leafpad /etc/samba/smb.conf
Code: Select all
workgroup = <groupname>
Added the line to specify the name resolution order:
Code: Select all
name resolve order = bcast host lmhosts wins
Re: Windows Network/Group but no computers
As I have said repeatedly. You claimed to have a missing smb.conf file which is the reason I wanted you to install it -- in the manner I wanted you to install it - to insure that the package samba-common / samba-common-bin was installed.I did not need to explicitly install samba for client access.
Nor would it just as I stated in my HowTo:Updated workgroup name:
Then restarted. It still did not see the servers.Code: Select all
workgroup = <groupname>
[6] Workgroup
This isn't necessary if you have a normal home network where everyone is connected to the same router despite some samba howto's insisting that it "must" be done. I have multiple "workgroups" in my LAN and it is not an issue.
Just as I said in my HowTo:Added the line to specify the name resolution order:
Then restarted.Code: Select all
name resolve order = bcast host lmhosts wins
Rearrange the order to make bcast first by adding a line to the [global] section of /etc/samba/smb.conf - right under the "workgroup" line:And restart sambaCode: Select all
name resolve order = bcast host lmhosts wins
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Windows Network/Group but no computers
Um, your responses seem like you were offended or annoyed by my reply. I had no intention to offend. I only replied back to this thread to close the loop and confirm it was resolved for anyone in the future who might encounter this same situation. I was not directing my comments to you in anyway. Note that I did not quote you; I only replied to the thread.
You did not "state repeatedly" you stated it once and I responded that you were correct; that I had mistyped it.
Having said, that I definitely appreciate your assistance and directing me to the articles which helped to resolve this.
You did not "state repeatedly" you stated it once and I responded that you were correct; that I had mistyped it.
Having said, that I definitely appreciate your assistance and directing me to the articles which helped to resolve this.