LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Samba Setup after Slackware 9.0 Installation (https://www.linuxquestions.org/questions/slackware-14/samba-setup-after-slackware-9-0-installation-116930/)

initself 11-17-2003 02:30 AM

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

[global]
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

[data]
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.

mb

daYz 11-17-2003 03:19 AM

Thanks initself.

bm1 11-25-2003 10:23 PM

just what i was looking for

Locura 11-26-2003 01:43 AM

awesome, I've been meaning to check out samba for a while but been too lazy to do any research :D

decimal3 01-11-2005 09:44 PM

Excellent! :)


All times are GMT -5. The time now is 11:28 PM.