blob: e142fe368f8fafa47812a6daafa32b7b14aeadd8 (
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
|
$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]
|