summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-af
blob: 5b84820afb5afd37e74d2f23c788002673dcaacf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
$NetBSD: patch-af,v 1.7 2005/11/14 08:05:27 jlam Exp $

--- ../examples/smb.conf.default.orig	2005-10-12 13:03:50.000000000 -0400
+++ ../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 = /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:
@@ -96,7 +96,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
@@ -152,7 +152,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
@@ -189,14 +189,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 = /var/tmp
+;   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]