LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-20-2003, 02:07 AM   #1
NemesisStar
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Rep: Reputation: 0
Why can i not see my RedHat server in Network Neighbourhood on W2k Server???


Hey all,

Im trying to setup a RedHat 8.0 server for dns and ftp and i want to connect to a Windows Advanced Server 2000 machine for DHCP and Active dir...

I cannot see my RedHat machine in network neighbourhood on Windows machine.

Do i need to use samba to make this connection?
 
Old 10-20-2003, 02:17 AM   #2
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
are you ruunning samba?
 
Old 10-20-2003, 02:18 AM   #3
NemesisStar
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
No. not on either machine
 
Old 10-20-2003, 02:20 AM   #4
NemesisStar
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Which machine would be the samba client?
 
Old 10-20-2003, 02:24 AM   #5
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
i don't think that you will be able to see a linux box on a network wihout samba. windows does not cooperate in that way with linux. www.samba.org
 
Old 10-20-2003, 02:33 AM   #6
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
sorry ... didn't see that post. the windows machines would be the "clients" you don't have to install any software on them, samba just makes it possible for you to see the linux box from a windows machine. you may want to read up on it. that samba site has lots of documentation that can be helpfull. it may be necessary to modify the configuration file to keep samba from acting as a domain server. future versions of samba will have active directory, gp's and sec pol's built into them, and, hopefully, will replace a win2k server all together.
 
Old 10-20-2003, 02:40 AM   #7
NemesisStar
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks

Thanks heaps...

No choice but to use windows unfortunatley! And its causing problems already lol
 
Old 10-20-2003, 02:41 AM   #8
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
man, i need to stop staying up so late; i'm out of it... yes, you will need samba. you will not be able to browse the linux box without it. i would suggest that you use sparky to run dhcp, as well. it isn't hard to set up, and there is plenty of documentation online. that would take one more problem out of the windows side there are also programs on the samba site that you can use to simulate a linux terminal.
 
Old 10-20-2003, 02:41 AM   #9
krazyglue
Member
 
Registered: Oct 2003
Posts: 68

Rep: Reputation: 16
I am working on a similar problem. First, if youíre configuring your Redhat Box by DHCP, make sure your getting an address on that box (ifconfig in command line). I would highly recommend you should have a static IP on that address, If you going to be using your server for DNS and FTP. You don't want the address for lookups and FTP serving changing on you.

You can remove DHCP by the following:
1. edit /etc/sysconfig/network-scripts/ifconfig-eth0 to say "onboot=no". -> this will turn off the DHCP on bootup.

To configure your box do the following
2. add the following lines to /etc/rc.d/rc.local
/sbin/ifconfig eth0 199.119.119.119 <-- your static IP address
/sbin/ifconfig eth0 netmask 255.255.255.0 <-- your subnet mask
/sbin/route add default eth0
/sbin/route add default gw 119.119.119.1 <-- router/gateway
/bin/hostname XXXX <-- sets hostname to XXXX (change this to the name of the PC)
/bin/domainname XXXX.XXXX <-- sets domainname to XXXX.XXXX(change this to your domain name)

3. Edit /etc/resolv.conf to include your DNS information
search XXXX.XXXX <-- optional search domain (should be the same as the domain name in #2)
nameserver 119.1.1.1 <-- nameserver 1 (change this to the IP of your DNS server)
nameserver 119.1.1.2 <-- nameserver 2 (change this to the IP of your second DNS server ie this linux box)

4. Add your IP address, hostname, and hostname.domainname information to the /etc/hosts file
127.0.0.1 localhost localhost.localdomain (type this exactly)
199.119.119.119 XXXX XXXX.XXXX (this should be the IP address for the box (space) hostname in #2 (space) the domain name in #2.

Reboot (I am sure there is a way around this, but I donít know how)

Now, assuming that you setup your samba correctly, start your SMB service (command line "service smb start" with out the "")

Now, join the domain by typing in the following in a command line
smbpasswd -j XXXX.XXXX -r YYYYY -U administrator%password

XXXX.XXXX is your domain name (should be this same is in above #2) YYYYY is the name of your Active Directory server. PLEASE NOTE THE CAPITAL U. You can change users from administrator, but it has to be an account in AD that allows a PC to join the domain also, don't type in "password" type in the password of the administrator account in AD. Opps, i forgot to tell you, make a computer account (in AD) for the linux box before this step. Your linux box should say joined the XXXX.XXX domain. You then should see your linux box in network neighborhood. Now you just have to edit permissions in the smb.conf file for shares on your linux box.

I got most of this from the following web address.
http://lppcfom.sourceforge.net/fom-s...ache/1045.html

Also, you can check this site out. I know, its for Mandrake, but it seems to be helpful as well.
http://www.mandrakeuser.org/docs/connect/csamba5.html
 
Old 10-20-2003, 02:49 AM   #10
krazyglue
Member
 
Registered: Oct 2003
Posts: 68

Rep: Reputation: 16
I just saw your other posts. Check out this site on how to setup Samba. Also, you can use the Mandrake site to help you on configuring Samba.

http://www.daniweb.com/techtutorials/articles/1/5/

I am not 100% sure, but i think Red Hat 8 comes with Samba installed on it. If not, download it from http://rpmfind.net. basically you have to edit the following file /etc/samba/smb.conf. Word to the wise, back up that file before you edit it.
 
Old 10-20-2003, 02:53 AM   #11
krazyglue
Member
 
Registered: Oct 2003
Posts: 68

Rep: Reputation: 16
It is getting late...

before you download Samba, check to see if Samba is installed by typing in "rpm -qa |grep samba" if something comes back (such as samba-2.2.7.a) then its already installed. Just make the configuration edits and start the samba service
 
Old 10-20-2003, 02:54 AM   #12
NemesisStar
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Does it matter if i wrongly configured the domain name in windows, a differant domain name to the linux box??
 
Old 10-20-2003, 02:54 AM   #13
napie
LQ Newbie
 
Registered: Oct 2003
Location: Malaysia
Distribution: Redhat 9.0 / Mandrake 9.0
Posts: 6

Rep: Reputation: 0
should configure your samba so it can communicate with windows netbios.
 
Old 10-20-2003, 02:55 AM   #14
NemesisStar
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks krazyglue.. makes more sense now
 
Old 10-20-2003, 03:05 AM   #15
krazyglue
Member
 
Registered: Oct 2003
Posts: 68

Rep: Reputation: 16
not a problem.

Now, on the the good stuff, how do you authinticate windows user (VIA AD) on a Linux box? thats what I am trying to do now. Any help would be great!
 
  


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
linux network (RedHat 9 and Windows2K server) J-zilla Linux - Newbie 3 11-25-2004 06:20 AM
how many users? who? W2K server itsjustme General 1 06-25-2004 12:34 AM
Can't See Samba server in network neighbourhood tapanga Linux - Networking 15 02-20-2004 12:11 PM
Samba server only reachable by IP address, not showing in Network Neighbourhood mdkelly069 Linux - Networking 14 11-10-2003 09:41 AM
Client server model using linux server and w2k clients? siva_bhavani Linux - Networking 2 09-29-2003 04:35 PM

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

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