Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-26-2003, 07:05 PM   #1
LQ Newbie
Registered: Aug 2003
Location: Dallas/Fort Worth
Distribution: Mandrake 9.1
Posts: 9

Rep: Reputation: 0
Network Information Service

Linux noob here. I have a small home network with a Mandrake Linux 9.1 PC and an XP Home PC connected through a Linksys router. NIS is installed on the Linux machine although I'm not sure why.
My question is, do I need NIS to be able to share files and a printer on my network? I am getting errors on startup and shutdown because the domain is not set in NIS and I want to get rid of the errors.
As it is now I can mount shares from the XP box using Samba but I cannot figure out how to give the XP machine access to the Linux box. Is this related to NIS?
Thank you for your help.
Old 08-26-2003, 07:36 PM   #2
Senior Member
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
easy, first make sure you have samba installed (you probably do) you can check packages and stuff, but I can't help there, here is a way to tell:
go to a terminal (Command prompt) and type smbd (Must be root)
if it gives no command found than it is not installed
if ti has some other error or does nothing it is likely installed
if it is not instaleld d-load the package (I do nto use packages and can't help) or the source at (I can help once d-loaded)

if it is installed:

go to the /etc/samba directory

there should be eather smb.conf or smb.conf-sample
if it is the sample copy it to the .conf, if only .conf make a backup copy
first off edit the smb.conf file to you liking (Mostly streightforeword and very well commented)
when that is done go to a terminal and type this:

smbd -a username (your username)
not then, on most systms a fully configured samba will start automatically on boot, you can restart to see if it does, if not edit the /etc/rc.local file (/etc/rc.d?)
add these 2 lines to the bottom:
/usr/sbin/smbd -D (Might check path)
/usr/sbin/nmbd -D

that will autoload it

also another note, before using smbpasswd -a to add a user, the user must already be a system user.


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
Getting Network Interface Information manikchopra Programming 2 08-17-2005 11:48 AM
Multiplatform Theoretical Network - Some information before I try this out, please? techsimian Linux - Networking 1 02-12-2005 02:39 AM
How do get ALL information about my network hemmelig Linux - Newbie 2 12-09-2004 12:45 AM
Basic network information dalraidia Linux - Newbie 7 12-16-2002 10:51 PM
Getting Network Interface Information yrraja Programming 5 11-11-2002 12:46 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration