LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-27-2018, 10:53 AM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308

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?
 
Old 01-27-2018, 12:08 PM   #17
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.
 
Old 01-27-2018, 11:51 PM   #18
fyrekrig
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
samba is not running
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.
 
Old 01-28-2018, 12:18 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
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).
 
Old 01-28-2018, 12:43 AM   #20
fyrekrig
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
linux does not accept anything
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
 
Old 01-28-2018, 12:49 AM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
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?
 
Old 01-28-2018, 01:08 AM   #22
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
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.
 
Old 01-28-2018, 01:14 AM   #23
fyrekrig
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
If I understand you correctly, you can view the Windows shares from Linux, but not the other way around?
Haven't tried to set up Windows to Linux yet. Was trying to get it to work one way initially.
Quote:
Kali Linux is not suitable for new users IMO
Isn't BackBox a similar distro. I think I read somewhere that Kali was based on BackBox
Quote:
The problem could be due to the firewall configuration
As far as I know there is no firewall in Kali unless you install one

Last edited by fyrekrig; 01-28-2018 at 01:50 AM.
 
Old 01-28-2018, 02:19 AM   #24
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
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.
 
  


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
Changing workgroup? caa1980 Arch 2 09-05-2012 04:27 AM
Changing the location a module is loaded from without changing the default path zOSGuy Linux - Newbie 2 09-28-2010 02:43 PM
changing default to zero ramjgn Linux - Newbie 7 04-03-2009 11:20 PM
changing default mdk workgroup name under free mandriva 2006 r emeu Linux - Networking 2 03-31-2007 09:25 PM
changing default WM pmh6310 Linux - Newbie 5 06-11-2003 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 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