# # Sample configuration file for the Samba suite for Debian GNU/Linux. # # $Id: smb.conf,v 1.2.4.6 2002/03/13 18:56:16 peloy Exp $ # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentary and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command # "testparm" to check that you have not many any basic syntactic # errors. # #======================= Global Settings ======================= [global] passwd program = /usr/bin/passwd %u remote announce = 192.168.0.255 domain master = yes dns proxy = no hosts equiv = /etc/hosts encrypt passwords = yes socket options = TCP_NODELAY wins support = yes invalid users = root max log size = 1000 obey pam restrictions = yes passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . security = user domain logons = yes local master = yes server string = %h server (Samba %v) workgroup = angel syslog = 0 netbios name = angel.server.com.ar log file = /var/log/samba/log.%m os level = 64 [homes] path = /home/SambaUsers user = @angel comment = Samba Home Directories valid users = javixp,@angel create mask = 0700 directory mask = 0700 write list = @angel [printers] comment = All Printers browseable = no path = /tmp printable = yes public = no writable = no create mode = 0700 # A sample share for sharing your CD-ROM with others. ;[cdrom] ; comment = Samba server's CD-ROM ; writable = no ; locking = no ; path = /cdrom ; public = yes # The next two parameters show how to auto-mount a CD-ROM when the # cdrom share is accesed. For this to work /etc/fstab must contain # an entry like this: # # /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0 # # The CD-ROM gets unmounted automatically after the connection to the # # If you don't want to use auto-mounting/unmounting make sure the CD # is mounted on /cdrom # ; preexec = /bin/mount /cdrom ; postexec = /bin/umount /cdrom