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
Last edited by initself; 03-24-2004 at 08:30 AM.
|