Il faut editer le fichier / etc/samba/smb.conf et changer le type de sécurité par share. Exemple:
[global]
workgroup = MYNTGROUP
server string = comeback
comment = Serveur de fichiers
hosts allow = 192.168.123. 127.
log file = / var/log/samba/%m.log
max log size = 5000
security = share # < = important
encrypt passwords = yes
smb passwd file = / etc/samba/smbpasswd
unix password sync = Yes
passwd program = / usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
- passwd:*all*authentication*tokens*updated*success
fully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 1
[tmp]
path = / var/tmp
public = yes
guest only = yes
guest account = toto
guest ok = yes # < = important
writable = yes # < = important
printable = no