LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Adding machine to Domain (https://www.linuxquestions.org/questions/linux-networking-3/adding-machine-to-domain-159309/)

lapthorn 03-18-2004 04:09 AM

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.

Oliv' 03-18-2004 07:07 AM

try the domainname command :)

jschiwal 03-19-2004 09:07 AM

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.


All times are GMT -5. The time now is 11:38 PM.