Welcome to the most active Linux Forum on the web.
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 02-21-2007, 05:58 AM   #1
LQ Newbie
Registered: May 2006
Location: India
Distribution: RHEL AS4
Posts: 13

Rep: Reputation: 0
Question SAMBA Help

i have i pc loaded with win xp pro sp2 and a broadband connection is directly connected with that pc.i have an another HP server loaded with RHEL AS 4.these two are connected directly through an another NIC in the pc.i can share the internet connection in that i want to share filesystems using samba.let the name of the pc is PC and name of the server is SERVER.can anybody help with step by step procedure to make these things functioning?please send me the edited smb.conf file i have to use, using that pc and server name.after configuring how can i check?
Old 02-22-2007, 02:49 AM   #2
LQ Newbie
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0

this smb conf would work and you can add as many share folders as you like...



workgroup = yourgroup

server string = %h server (Samba, Ubuntu)

dns proxy = no

log file = /var/log/samba/log.%m

max log size = 1000

syslog = 0

panic action = /usr/share/samba/panic-action %d

encrypt passwords = true

passdb backend = tdbsam

obey pam restrictions = yes

invalid users = root

passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .

socket options = TCP_NODELAY

comment = All Printers
browseable = no
path = /tmp
printable = yes
create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
comment = Printer Drivers
path = /var/lib/samba/printers

#Add your share folders here
    path = /somepath/folder
Then restart samba and from your win pc hit start->run and enter "\\sambaserver\somefolder" without the quotes and probably you will be prompt for a user and can add users with the smbpasswd command runned by root or with sudo

for example
sudo smbpasswd -a someuser

By the way the default smb.conf is pretty much self explanatory so just read it
and adjust it to your convenience...



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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 06:55 PM
I need the content from rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM > Forums > Linux Forums > Linux - Networking

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