Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding RedHat to NT domain

Status
Not open for further replies.

julianf

IS-IT--Management
Nov 26, 2001
184
ZA
Hi,

I'm new to Linux...been with NT for a while...Have just rolled out a Redhat 6.1 box and have been trying to add it to our NT domain by configuring the IP settings inside "Linuxconf". It seems to accept the IP settings (I am enabling DHCP). But I can't ping my domain. I can ping loopback, which tells me that the NIC is at least working.

Is their perhaps something that I am missing with my limited knowledge of Linux? Is "LinuxConf" the right place to add the box to my NT network?

Regards,

Julian
 
If you want to be able to share files on your Linux machine with Windows users, then you need to install and set up Samba.

If you want to have your Linux box join an NT domain (like you asked), you need to first create a computer account in the domain. If this is an Active Directory domain, then make sure to select something like "Allow Pre-Windows 2000 computers to use this account" when creating the computer account in AD. Next, you need to run this command from the Linux box...

smbpasswd -j NetBIOS_name_of_domain -r NetBIOS_name_of_Win_PDC

An example might be....

smbpasswd -j domain -r win2kpdc


ChrisP

------------------------------------------------------------------------------
If somebody helps you, please click the link in the botton left hand corner that says "Mark this post as a helpful/expert post".
 
Just re-read your post. It sounds like you have a network problem since you say you can't ping the domain. Can you ping any hosts? Is the eth0 interface up?

You will need to fix this problem before you attempt my instructions in the above post.

ChrisP ------------------------------------------------------------------------------
If somebody helps you, please click the link in the botton left hand corner that says "Mark this post as a helpful/expert post".
 
Thanks for the Info. It is an NT 4 domain, Samba is installed and the Eth0 interface is up...I actually changed it to be Eth1. I think that it may be a driver issue with the Intel pro 100 card. I went into Control panel and see that there is no driver selected for "Kernel" or "I/O port". Could this be the problem?

OK...perhaps I should start from the beginning and delete any Interfaces that are present and re-add.

On the PDC, does one just add the Linux box as an NT workstation?(It only gives you 2 options...NT server or Workstation).

Thanks for the help.

Julian
 
Yes, add it as an NT Workstation in Server Manager.

I don't use the GUI, so I can't answer the first question. Can you ping any hosts on your network? That will tell you if its working or not.

ChrisP

------------------------------------------------------------------------------
If somebody helps you, please click the link in the botton left hand corner that says "Mark this post as a helpful/expert post".
 
Can't ping a thing...the problem could be a number of things...I have added it as a workstation on PDC.

As I have indicated in the other formu page, when i type ifconfig eth0 up, it says "unknown interface - no such device"!

I assume that the NIC is not loaded correctly?

Cheers,

Jules

 
The workstation isn't a part of the domain until you run the smbpasswd command, but you can't do that until you get your NIC working.

You said that you changed it to eth1 above --> "I actually changed it to be Eth1". What happens when you run "ifconfig Eth1 up"?

ChrisP ------------------------------------------------------------------------------
If somebody helps you, please click the link in the botton left hand corner that says "Mark this post as a helpful/expert post".
 
Hi,

I have successfully managed to add the Linux box to our NT 4 domain - thanks for all the help. I removed the Intel card and added a 3com...ran Kudzu and it installed the card! (Cool, linux has a bit of plug and play!!!)

OK...then I ran the smbpasswd command and it joined our domain.

Strange thing is...I can ping the Linux box from my workstation...but when I ping its netbios name, it returns reply from 127.0.0.1....why that?

I also try to telnet into it...but it would not accept the root password...very od...any ideas..

Thanks for the help,

Julian
 
Julian,
127.0.0.1 is probably the reply you should get from that ping. That ip is your card. If you pinged 127.0.0.1 you would be pinging yourself.

The telnet server does not accept root logins by default. It is a safety feature and one that you should probably keep. If you need root access in telnet you can either give your user account the necessary root rights (not a great idea) or enable root telnet login. Also not a great idea.

Tom
 
Another idea for root telnet is to login as a user then su and give the root password. that should give you roo access for most things.

If it doesn't, use SSH (putty for Windows). It is more secure and acts just like a telnet session.

I hope this helps.

Todd :>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Todd Hutchins
Microcomputer Specialist II
El Dorado County Office of Education
thutchin@edcoe.k12.ca.us
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top