Visto e adattato giusto per iniziare lo script si presenta cosi' :
/etc/samba/smb.conf
Comandi per restartare i demoni, testare lo scipt ed accedere al lato server con configurazioni ed info gestione :[global]
workgroup = MSHOME
workgroup = maxdom
security = share
encrypt password = false;
printing = cups
printcap name = cups
[public]
comment = Condivisione
browsable = true
writable = true
path = /home/max/Desktop/Condivisione
[printers]
comment = All Printers
browseable = no
path = /var/lib/samba/printers
printable = yes
public = yes
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
----------------------------------------------------------------------------------------------------
/etc/init.d/samba restart | Restarta i demoni |
-----------------------------------------------------------------------------------------------------
testparm /etc/samba/smb.conf | Testa il file di configurazione
-----------------------------------------------------------------------------------------------------
smbclient -L "hostname" | Accede al server ed informa sulle cond.
------------------------------------------------------------------------------------------------------
Nel caso specifico creo 2 workgroup, l'esistente per windows, ed un altro per
debian.