# 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 (perhaps too # many!) most of which are not shown in this example # # 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] # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4 workgroup = SIGOTOBA # server string is the equivalent of the NT Description field server string = Samba/FreeBSD # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page hosts allow = 192.168.0. 192.168.100. 127. # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used guest account = antadare map to guest = Bad User # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. security = user # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents encrypt passwords = yes # Most people will find that this option gives better performance. # See speed.txt and the manual pages for details socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. dns proxy = no # Client codepage settings # for Japanese Users client code page = 932 coding system = sjis #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no writeable = yes [SIGOTOBA1] comment = Sigotoba1 Only path = /usr/local/samba/sigotoba1 read only = no create mode = 0664 directory mode = 0775 [SIGOTOBA0] comment = For SIGOTOBA0 Relationship path = /usr/local/samba/sigotoba0 read only = no [SHARE] comment = For Whole Office path = /usr/local/samba/whole read only = no guest only = yes guest ok = yes