LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2021, 12:33 PM   #1
Gamaliel
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Rep: Reputation: 0
School Domain Woes


I help with a small school network. ClearOS 7.2 DC. I have no problem with XP, W7 or W10 as members of the domain.

Is there any linux distro that can reliably cooperate on a samba domain? I have tried Suse, Ubuntu, Ubermix.... I have followed the instructions from the respective documentation with no success. I have looked the web and tried filling in the blanks...no joy.
I am primarily try to get linux clients to use domain logins and access to shared domain resources.

Any thoughts?
 
Old 06-16-2021, 01:44 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
People run Samba on most systems, and no-can-do problems are unusual with samba. Stick to a main distro you are comfortable with, try it, and when it pukes, leave everything there and post a fresh thread with your tale of woe, logs, & config files to hand. You may also find this helpful
Basic_Samba_Network_File_Sharing
 
Old 06-16-2021, 02:39 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
OpenLDAP may need to be set up?

Samba has little to do with domain membership in normal terms. CIFS is a typical linux phrase to get that working.
 
Old 06-16-2021, 04:26 PM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,767

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
Quote:
Originally Posted by jefro View Post
OpenLDAP may need to be set up?

Samba has little to do with domain membership in normal terms. CIFS is a typical linux phrase to get that working.
Negative on that. CIFS is the Windows shared file system or drive standard that replaced SMB on Microsoft systems. The SAMBA suite supports authentication, domain membership, drive shares, printer shares, and a few other little pieces needed to make Windows domain and Linux talk together.

To set up SAMBA to authenticate onto your domain (at the machine level first, then for the user) requires some setup. To do that setup you need to know the proper settings and configuration of your domain. You may also be required to use a domain administrator account and password at one or two points.

Other factors: The domain is very clock sensitive. It helps a lot if all of your machines (Windows and Linux) sync time/clocks from a single standard source. If they drift far apart it can break domain membership until they match again.

I have used several versions of SAMBA, but not the latest. The first used different tools than we use now to make the authentication work. The most recent used (if I recall correctly) sss. What YOU want to use is the documentation for your distribution AND version of SAMBA.
It also makes a difference if your domain is using only the current authentication protocol, or if it is using the one that is compatible with older Windows clients. You must use the tools set to match the protocol that is in use at your site.
 
1 members found this post helpful.
Old 06-16-2021, 07:55 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
I read that backwards.

You want to authenticate a linux distro as a member of an Active Directory correct? Specifically a samba AD?
 
Old 06-17-2021, 11:27 AM   #6
Gamaliel
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Clarifications

1. I have setup NTP to sync the time.
2. I have followed the distribution specific directions with Ubuntu and Suse. I suspect that the instructions maybe based on previous versions of the distributions.
3. DNS is pointed to the DC. The DC is in the hosts file. Firewall is opened. WORGROUP in the config file is set to the domain name....
4. I am using the correct admin username and password...
 
Old 06-17-2021, 06:56 PM   #7
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,767

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
What is the domain controller?
 
  


Reply

Tags
domain, linux client, samba



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
School shooting in Sandy Hook Elementary School penguinator General 107 07-08-2013 03:38 PM
LXer: SprezzOS emerges, promising new-school tech with old-school gumption LXer Syndicated Linux News 0 02-01-2013 11:33 PM
LXer: Skegness Grammar School, using GNU/Linux and thin-clients across the school LXer Syndicated Linux News 0 08-23-2008 11:00 PM
Rsync homework from school to home, and home to school RandomLinuxNewb Linux - Software 2 05-05-2006 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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