Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-17-2003, 02:30 AM   #1
Registered: Feb 2003
Location: Lake Forest, CA
Distribution: Slackware 10.2, Ubuntu 6.06 LTS
Posts: 39

Rep: Reputation: 16
Lightbulb Samba Setup after Slackware 9.0 Installation

Samba is relatively easy to setup after a full Slackware 9.0 installation. Below are some steps that help me quickly setup Samba:

1. Create /etc/samba/smb.conf File

vi /etc/samba/smb.conf

# /etc/samba/smb.conf

workgroup = PDC #Enter your Windows workgroup/domain here
encrypt passwords = yes
wins support = yes
local master = yes

[homes] #Make your /home directories accessable to the users who own them
browsable = no
read only = no
map archive = no

path = /export/data #Enter any other Linux directories you want to share here
read only = no
map archive = no

# end

2. Setup Samba to Run at Startup

chmod 755 /etc/rc.d/rc.samba

[Either reboot or run

killall -TERM smbd #stop the samba server
/etc/rc.d/rc.samba start #start the samba server

to start and stop the server.]

3. Setup a Samba User

smbpasswd -a username

4. Login to Samba

smbclient //localhost/data

5. Add share to 'My Network Places' in Windows XP

In order to see the share in Windows, you will need to add the share to 'My Network Places' through Network Tasks>>'Add a network place'>>'Choose another network location' and enter the share using the following format: \\hostname\share (ie. \\MB\data)

Now you can browse your share through the Network Neighboorhood.

6. Mount share in Windows XP

In order to add a Samba share as a mapped drive in 'My Computer', right click on My Computer, select the drive name and enter the folder name using the following format: \\hostname\share (ie. \\MB\data)

Now you can see your share as a drive in My Computer.


Last edited by initself; 03-24-2004 at 08:30 AM.
Old 11-17-2003, 03:19 AM   #2
Registered: Nov 2003
Distribution: Debian
Posts: 164

Rep: Reputation: 30
Thanks initself.
Old 11-25-2003, 10:23 PM   #3
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Rep: Reputation: 30
just what i was looking for
Old 11-26-2003, 01:43 AM   #4
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
awesome, I've been meaning to check out samba for a while but been too lazy to do any research
Old 01-11-2005, 09:44 PM   #5
LQ Newbie
Registered: Jun 2004
Posts: 7

Rep: Reputation: 0


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 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
Apache PHP MySQL Setup after Slackware 9.0 Installation initself Slackware 37 12-20-2003 06:48 AM
Samba Setup christer Linux - Networking 3 10-12-2003 05:43 PM
samba setup atari303 Linux - Networking 4 07-19-2001 02:13 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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