Tutorial: Install Samba Fileserver under Linux

How to install a Samba Fileserver under Linux

Tutorial:

apt-get install samba 
nano /etc/samba/smb.conf
[global]
 guest account = nobody
 map to guest = bad user
 socket options = TCP_NODELAY
 encrypt passwords = true
 passdb backend = tdbsam
 netbios name = HOMESERVER
 server string = %h server
 security = user
 workgroup = WORKGROUP

[Platte]
 path = /mnt/Platte
 browseable = yes
 guest ok = no
 writeable = yes
 public = no
 valid users = mathias

[Share]
 path = /mnt/Platte/Share
 writeable = no
 public = yes
 guest only = yes

Benutzer mit Passwort festlegen:

 useradd mathias
 smbpasswd -a mathias

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Nach oben scrollen