summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-af')
-rw-r--r--net/samba/patches/patch-af53
1 files changed, 53 insertions, 0 deletions
diff --git a/net/samba/patches/patch-af b/net/samba/patches/patch-af
new file mode 100644
index 00000000000..a9bc6b32d9a
--- /dev/null
+++ b/net/samba/patches/patch-af
@@ -0,0 +1,53 @@
+$NetBSD: patch-af,v 1.5 2004/01/11 02:26:31 jlam Exp $
+
+--- ../examples/smb.conf.default.orig Fri Aug 15 16:39:44 2003
++++ ../examples/smb.conf.default
+@@ -21,7 +21,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
+@@ -58,10 +58,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 = /usr/local/samba/var/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:
+@@ -91,7 +91,7 @@
+ # and the manual pages for details.
+ # You may want to add the following on a Linux system:
+ # SO_RCVBUF=8192 SO_SNDBUF=8192
+- socket options = TCP_NODELAY
++; socket options = TCP_NODELAY
+
+ # Configure Samba to use multiple interfaces
+ # If you have multiple network interfaces then you must list them
+@@ -147,7 +147,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
+@@ -186,7 +186,7 @@
+ # specifically define each individual printer
+ [printers]
+ comment = All Printers
+- path = /usr/spool/samba
++ path = /var/tmp
+ browseable = no
+ # Set public = yes to allow user 'guest account' to print
+ guest ok = no