TITOLO Configurare SAMBA
OGGETTO Settare il file smb.conf


# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = NOGAPDOMAIN

# server string is the equivalent of the NT Description field
   server string = Vulcano

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = server
# Use password server option only with security = server
   password server = NOGAPSERVER

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#        the encrypted SMB passwords. They allow the Unix password
#        to be kept in sync with the SMB password.
  unix password sync = Yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*


 # A publicly accessible directory, but read only, except for people in
# the "staff" group
   comment = Apache-root
   path = /var/www/html
   public = yes
   read only = no
   writable = yes
   browseable = yes
   create mask = 777
#   write list = @staff




Ricordarsi di crare gli utenti con "useradd pinco", "passwd pinco" ed "smbd adduser pinco"