Home > debian > samba – Share files and folders on Debian machine with windows users

samba – Share files and folders on Debian machine with windows users

Problem:

Needed to share a file (Thunderbird software) on my debian machine with users on windows.

Solution:
As root on debian ip 192.168.x.x
1. Install samba. (I used synaptic. YMMV)

$ apt-get install samba

2. vim /etc/samba/smb.conf
Add the following at the end of the file.

[Software]
path=”/home/user/software”
browsable = yes
public = yes

Save and close.

3. Add a samba user. This has to be an existing user on your box.

smbpasswd -a user

4. Stop and start samba

/etc/init.d/samba stop
/etc/init.d/samba start

Now on the windows machine (depending on your windows version)
In explorer
Add a network drive then browse to //192.168.x.x/software

Source:
https://www.linuxquestions.org/questions/linux-software-2/debian-to-windows-file-sharing-programs-946890/

Advertisements
Categories: debian Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: