Debian 7.0
Sponsored Link

Fully accessed shared directory2013/05/12

Install Samba and Create a shared directory that anybody can read and write, and authentication is not needed.
[1] Install Samba
aptitude -y install samba

[2] Configure Samba
mkdir /home/share

chmod 777 /home/share

vi /etc/samba/smb.conf
# line 34: add

unix charset = UTF-8
# line 39: change if needed (same one to Windows)

workgroup =
# line 64: uncomment and change IP address you allow

interfaces =
# line 71: uncomment

bind interfaces only = yes
# line 103: change (no auth)

security =
# add at the last line

# any name you like

   path = /home/share  
# shared directory

   writable = yes  
# writable

   guest ok = yes  
# guest OK

   guest only = yes  
# guest only

   create mode = 0777  
# fully accessed

   directory mode = 0777  
# fully accessed

   share modes = yes  
# warn if some people access to a file
/etc/init.d/samba restart

Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.
[3] Configure on Windows client. This example is on Windows 7. Select [My Computer] - [Map Network Drive] like following example.
[4] Specify shared folder's place in Folder section like example and Click 'Finish' button to enter.
[5] Done to access to shared folder.
Matched Content