samba:~# cat /etc/samba/smb.conf [global] workgroup = KOTI server string = %h netbios name = Samba null passwords = yes log file = /var/log/samba/log.%m max log size = 1000 security = share encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes guest account = nobody invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . socket options = TCP_NODELAY # Jaot [DVD] comment = DVD-asema writable = no locking = no path = /cdrom public = yes guest ok = yes guest only = yes guest account = nobody [Jako] comment = Jako-hakemisto writable = yes path = /jako/jako public = yes guest ok = yes guest only = yes guest account = nobody