$NetBSD: patch-ab,v 1.29 2014/03/03 08:15:10 obache Exp $ --- ../examples/smb.conf.default.orig 2010-01-14 10:12:10.000000000 +0000 +++ ../examples/smb.conf.default @@ -26,7 +26,7 @@ workgroup = MYGROUP # server string is the equivalent of the NT Description field - server string = Samba Server + server string = Samba %v (%h) # Security mode. Defines in which mode Samba will operate. Possible # values are share, user, server, domain and ads. Most people will want @@ -63,10 +63,10 @@ # this tells Samba to use a separate log file for each machine # that connects - log file = /usr/local/samba/var/log.%m +; log file = @SAMBA_LOGDIR@/log.%m # Put a capping on the size of the log files (in Kb). - max log size = 50 +; max log size = 50 # Use password server option only with security = server # The argument list may include: @@ -145,7 +145,7 @@ # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The default is NO. - dns proxy = no +; dns proxy = no # These scripts are used on a domain controller or stand-alone # machine to add or delete corresponding unix accounts @@ -182,14 +182,14 @@ # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer -[printers] - comment = All Printers - path = /usr/spool/samba - browseable = no +;[printers] +; comment = All Printers +; path = /usr/spool/samba +; browseable = no # Set public = yes to allow user 'guest account' to print - guest ok = no - writable = no - printable = yes +; guest ok = no +; writable = no +; printable = yes # This one is useful for people to share files ;[tmp]