Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hm. do we really need to run samba to be able to join to a windows domain or mount a samba drive? Probably hosts should join to AD too. But I have no idea about the real scenario. I mean (I don't know really but) is this a real domain, do we have a real workgroup here, where is it managed? Is there an AD somewhere here?
If the OP wants to access files from other computers on the linux PC then samba does not need to run. The file browser can browse the network for windows shares. If wanting to access files from the linux PC on the Windows PC then samba is required.
One thing to note with net bios naming is that all workgroup/computer names should be unique and less then 16 characters. Some distributions default hostname is localhost which does not work as a network netbios name.
I assume this is a home network and therefore no AD/domain.
How is that possible. Once we change workgroup name on Windows/OSX PC's we have full network access between all PC's
on the network. Windows/OSX both ways on Linux only Windows share from Linux!
Quote:
Is 192.168.0.10 a Windows 7 or 10 PC
Doesn't matter if it is either. Even with workgroup name HOME full access to all PC's on the network. Except of course the Linux PC
Quote:
Make sure the Windows PCs are configured for file sharing
We had this network since XP times so I think we now how to set up Windows filesharing.
To get filesharing working from Linux we only had to change one parameter on our Windows/OSX machines.
To adjust Linux to accept our usual workgroup name seems to be a hazzle.
linux does not accept anything, but it looks like you cannot reach your workgroup from linux, so windows does not accept the request from linux side. Either wrong credentials or incorrect setup.
I don't know how did you setup your windows network at all. Now if samba is not running editing smb.conf (=change the workgroup) probably meaningless (if I remember well).
Again you need to try
Code:
smbclient -L <servername>
where you need to replace <servername> and type in the name of your windows server (one of them, you can try several...). Optionally you can also add -d3 (that will give a lot of info).
Linux does accept everything as long as workgroup is named WORKGROUP. Any other name is not accepted,
As I am new to Linux I concequently tried a number of distros. The one I am trying to use is KALI
However also tried BackBox and Mint. Both these distros have no problem networking with windows on non
default workgroup names.
Copied smb.conf from BackBox and put it on the Kali install and rebooted. Still no connection to
HOME workgroup. This tells me it must be some other settings then those found in smb.conf
How is that possible. Once we change workgroup name on Windows/OSX PC's we have full network access between all PC's
on the network. Windows/OSX both ways on Linux only Windows share from Linux!
If I understand you correctly, you can view the Windows shares from Linux, but not the other way around?
As I am new to Linux I concequently tried a number of distros. The one I am trying to use is KALI
However also tried BackBox and Mint. Both these distros have no problem networking with windows on non
default workgroup names.
Ah, new information. Kali Linux is not suitable for new users IMO. It is aimed at experienced users for advanced Penetration Testing and Security Auditing. The problem could be due to the firewall configuration.
please read this link about kali: https://www.linuxquestions.org/quest...ad-4175614092/
And again, linux does not accept anything, but windows. You need to configure linux (samba?) to be able to connect to windows shares. Looks like some defaults occasionally works. And again: you want to share something on windows, the rules are set on windows (this is called server side), linux here is just a client which should be configured according to the rules set on your server(s).
Using different linux distributions (with their defaults) is not the best way to configure samba client, you need to set up the proper credentials which will be accepted by windows. Since you modified the setup, default settings will not work any more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.