Help answer threads with 0 replies.
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 10-12-2003, 12:08 PM   #1
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Rep: Reputation: 15
Samba Setup

Hey. I've got a LAN setup in my apartment with two other boxes running XP Pro. I've got RH9 and would like to see the LAN on my box for file sharing & other things.

Can someone give me some quick instructions on how to set that up? I'm pretty sure I've got the packages installed for running SMB but I'm unsure yet as to how I turn it on.

Thanks In Advance.
Old 10-12-2003, 12:14 PM   #2
Registered: Oct 2003
Posts: 176

Rep: Reputation: 30
if samba is not running go into /etc/init.d and have it auto run at start up by typeing chkconfig --level 345 smb on

then go into /etc/samba and edit the smb.conf
i'm not sure what kind of configuration u want so check the man smb.conf

mine is just a simple configuration. i can post part of mine later on if u want to look at it
Old 10-12-2003, 12:27 PM   #3
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Original Poster
Rep: Reputation: 15
Ok. I just played with the smb.conf file. I think I've got it setup... let's hope it works.

If you could post your .conf it'd be helpful. Thanks
Old 10-12-2003, 05:43 PM   #4
Registered: Oct 2003
Posts: 176

Rep: Reputation: 30
#======================= Global Settings =====================================
log file = /var/log/samba/%m.log
dns proxy = no
smb passwd file = /etc/samba/smbpasswd
server string = LinuxBox
hosts equiv = /etc/samba/lmhosts
obey pam restrictions = yes
unix password sync = Yes
workgroup = workgroup
os level = 65
interfaces =
comment = My Stuff
encrypt passwords = yes
security = user
passwd program = /usr/bin/passwd %u
max log size = 0
pam password change = yes
wins support = true

#Home Directory for users
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

#Share folder
path = /mnt/hdb1/Share
create mode = 0664
directory mode = 0775
writeable = yes

I think you have to create an user for each computer. use smbadduser unixid:ntid like smbadduser linux:window
password is not necessary if everyone on your network can be trusted.


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
samba setup tran_colin Linux - Networking 1 10-19-2004 04:28 PM
Samba Setup jbraum Linux - Networking 2 09-16-2004 04:58 PM
I need the content from rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba setup help wenberg Slackware 18 02-13-2004 01:40 PM
Samba Setup Kreak Linux - Networking 1 08-25-2003 09:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:26 PM.

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