LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-18-2004, 04:09 AM   #1
lapthorn
Member
 
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 89

Rep: Reputation: 16
Adding machine to Domain


I am used to Windows Domains and have got myself in a muddle on Linux.

I have set up Red Hat 9 with a hostname morpheous. My local /etc/hosts file reads


127.0.0.1 morpheous localhost.localdomain localhost

I want this machine to be part of the domain lapthornconsulting.com. I have sendmail running and have the following lines in my cf file:

LOCAL_DOMAIN(`lapthornconsulting.com')dnl

MASQUERADE_DOMAIN(lapthornconsulting.com)dnl

When I use evolution to send mail I don't have any problems. People receive email from the 'from' address I setup in evolution.

If I use mutt then the email has the following from value 'lapthorn@localhost.localdomain'

How do I make my machine part of the domain lapthornconsulting.com

Do I just change the hosts file, the machine has two network cards on it, eth0 which goes to my ADSL router has an IP of 192.168.0.100 and eth1 which goes to my lan has the IP address 10.0.0.100


Please help it's driving me crazy.
 
Old 03-18-2004, 07:07 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
try the domainname command
 
Old 03-19-2004, 09:07 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Your hosts file need fixing.
The Morphious entry should be on another line with the ip address of eth0.
127.0.0.1 is the loop-back address (lo)

You may also want to use samba if you are on a windows network.

Last edited by jschiwal; 03-20-2004 at 03:31 PM.
 
  


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
Adding a Linux Machine to Linux Domain Gunbunny Linux - Networking 2 09-16-2005 05:47 AM
Adding a Suse 9.0 machine to a windows domain Harry Seldon Linux - Newbie 1 02-26-2004 08:50 PM
trouble adding Xp machine to Domain redhattan Linux - Networking 2 12-28-2003 07:27 AM
Adding Machine to domain with Samba 3 fails bedwardj Linux - Networking 6 12-16-2003 08:23 PM
Problem in Adding a machine to Domain raviduvvuri Linux - Networking 3 12-05-2002 10:23 AM

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

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