Removing Server From a domain
I haope this is the correct place to post my question. If not, please advise.
I have a Redhat Linux 6 server that is part of our domain.
How do I remove this server from the domain it's in, and add it to another domain?
The server is not performing anything other than a smtp mail server. Thats it, not running nis,dns,,,etc....
Thanks in advance.
Responses
Are you talking about a client joined to AD domain? if yes, use 'net ads leave -U <user>%<passwd>' to leave the domain.
Change smb.conf entries (point to new domain) and join using 'net ads join' command.
Hope this helps.
Would you please paste the pertinent part of your Samba smb.conf? You can remove the comments for easier pasting with "grep -v ^# smb.conf". (Feel free to obfuscate or change company-specific information like the workgroup/domain name.) If you are using local security (and not relying on the domain controller(s) for authentication/authorization), you should just be able to change the WORKGROUP directive and restart Samba.
Lots of good reading on the subject can be found here:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ServerType.html
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
