Samba è un sistema di rete completo in grado di connettere senza problemi sia PC Win che Linux.
Normalmente è già preinstallato ed è sufficiente condividere una cartella per attivarlo.
Volendo creare condivisioni di rete serie bisogna editare il file di configurazione e porre le seguenti modifiche
/etc/samba/smb.conf
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#======================= Global Settings =======================
[global]
workgroup = WORKGROUP
server string = %h server (Samba, LinuxMint)
#### Debugging/Accounting ####
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user
unix password sync = yes
pam password change = yes
########## Domains ###########
########## Printing ##########
############ Misc ############
usershare allow guests = yes
#======================= Share Definitions =======================
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes
[server]
path = /media/serpart/serdisk
comment = server
available = yes
browsable = yes
public = yes
writable = yes
create mask = 0777
directory mask = 0777
hide dot files = no
valid users = utentevalidosulserver
user = %S
guest ok = no
# Ricapitolando:
# x accedere da win impostare sopra tipo di accesso:
# security = user
# smb passwd file = /etc/samba/smbpasswd
# poi da terminale riavviare Samba e creare gli utenti che avranno accesso
# sudo /etc/init.d/samba restart
# sudo smbpasswd -a felisari
Versione stampabile- Accedi o registrati per inserire commenti.
- letto 955 volte
- Send to friend

