LinuxQuestions.org
Visit Jeremy's Blog.
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 03-21-2017, 07:56 AM   #1
slbrown58
LQ Newbie
 
Registered: Mar 2017
Location: Orlando,Fl
Posts: 1

Rep: Reputation: Disabled
Remove machine from Domain


Looking how to remove a machine from the domain. It was loaded from samba. Just cant use yum remove samba.
 
Old 03-21-2017, 08:12 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177
I'm afraid that I can't visualize what you want to do, nor how you describe your situation. ("It was loaded from samba.") Please edit your post or add a new post which fully describes your present situation, what you've tried, and what you want to accomplish.
 
2 members found this post helpful.
Old 03-21-2017, 08:43 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,962

Rep: Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827
Quote:
Originally Posted by slbrown58 View Post
Looking how to remove a machine from the domain. It was loaded from samba. Just cant use yum remove samba.
Read the "Question Guidelines" link in my posting signature. You've provided next to no useful details that would let anyone be able to help you. The only thing we can *assume* from what you posted is that you have a Red Hat based server joined to a Windows domain.

That said, if you've already managed to join your Samba server to the Windows domain, it's odd that you don't know how to remove it...especially since the smb.conf file has the domain details in it. Remove those, restart Samba, and you're removed from the domain. Do it manually via
Code:
net ads leave
, and that will break your domain connection immediately. The Samba docs have all you need for the configuration file:
https://wiki.samba.org/index.php/Set..._Domain_Member
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba4 domain not seeing imported users ,Groups and Machine Accounts from samba3 domain treedstang Linux - Server 0 01-06-2013 11:45 PM
Using sed regex to remove the top level domain from a fully qualified domain name linux2man Programming 6 12-01-2011 03:38 PM
sendmail from non-AD machine to AD machine/domain DarkpawT Linux - Networking 1 04-07-2009 12:57 PM
Joining a linux machine to a windows domain having a wndows 2003 as domain contoller sukalyan_g SUSE / openSUSE 1 03-28-2008 01:31 AM
Joining a machine from another domain to my linux samba domain acummins Linux - Networking 0 09-13-2003 07:07 AM

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

All times are GMT -5. The time now is 05:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration