User Tools

Site Tools


admin:samba

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
admin:samba [2025/04/17 14:28] – created rjversluisadmin:samba [2025/04/17 18:15] (current) rjversluis
Line 1: Line 1:
 ======Samba====== ======Samba======
 +{{:admin:naspi.png?480}}\\
  
 +
 + \\
 +=====Goal=====
 +Providing a NAS for Mac, Linux and Windows based on a Raspberry Pi and [[https://www.samba.org/samba/|Samba]].\\
 +
 + \\
 +=====WEB Interface=====
 +[[https://webmin.com|WEBmin]] is very powerful, but sometimes its easier to edit the Samba file directly. ;) \\
 +Direct edit is also available in the WEBmin.\\
  
  
  \\  \\
 =====Server===== =====Server=====
 +====Example share====
 +<code>
 +[Public]
 + path = /mnt/sda1/Public
 + public = yes
 + force group = users
 + user = @users
 + writeable = yes
 +</code>
 +
 +====Mac TimeMachine====
 +  * https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X
 +===Global extra settings===
 +<code>
 +[global]
 + fruit:metadata = stream
 + fruit:posix_rename = yes 
 + fruit:model = Xserve
 + fruit:nfs_aces = no
 + fruit:wipe_intentionally_left_blank_rfork = yes 
 + fruit:veto_appledouble = no
 + fruit:delete_empty_adfiles = yes 
 +
 +</code>
 +
 +===Share example===
 +<code>
 +[TimeMachine]
 + public = yes
 + writeable = yes
 + path = /mnt/sda1/TimeMachine
 + user = @users
 + fruit:time machine = yes
 +</code>
 +
 ====Windows==== ====Windows====
-To enable Window to find a Samba Server the wsdd2 package must be installed:+To enable the Window Explorer to find a Samba Server the **wsdd2** package must be installed:
 <code> <code>
 sudo apt install wsdd* sudo apt install wsdd*
 </code> </code>
 See also: https://github.com/Netgear/wsdd2 See also: https://github.com/Netgear/wsdd2
 +
 + \\
 +=====Samba users=====
 +The easiest way is to add a user to the RPi with the user mananger and then to Samba:
 +<code>
 +sudo smbpasswd -a <linuxuser>
 +</code>
  
  
Line 19: Line 71:
   * https://www.samba.org/samba/GUI/   * https://www.samba.org/samba/GUI/
   * https://webmin.com   * https://webmin.com
 +  * https://kraisnet.de/index.php/de/themen/11-nuetzliches/34-raid-1-auf-raspberry-pi-einrichten
  
admin/samba.1744892913.txt.gz · Last modified: 2025/04/17 14:28 by rjversluis