LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 10-12-2003, 12:08 PM   #1
christer
Member
 
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
ziggie216
Member
 
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
christer
Member
 
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
ziggie216
Member
 
Registered: Oct 2003
Posts: 176

Rep: Reputation: 30
#======================= Global Settings =====================================
[global]
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
socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
unix password sync = Yes
workgroup = workgroup
os level = 65
interfaces = 192.168.0.100/255.255.255.0
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
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

#Share folder
[Share]
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.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 thegoldenear.org/toolbox/unices/samba/samba-setup.html 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


All times are GMT -5. The time now is 07:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration