1 |
vostorga 11/06/29 17:53:04 |
2 |
|
3 |
Added: smb.conf.default.patch |
4 |
Log: |
5 |
Version bump to 3.5.9 bug #373445 , Adding notes to smb.conf.default #352869 |
6 |
|
7 |
(Portage version: 2.1.9.42/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-fs/samba/files/3.5/smb.conf.default.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/files/3.5/smb.conf.default.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/files/3.5/smb.conf.default.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: smb.conf.default.patch |
16 |
=================================================================== |
17 |
--- samba-3.5.9/examples/smb.conf.default 2011-06-14 05:17:28.000000000 -0600 |
18 |
+++ /etc/samba/smb.conf.default 2011-06-29 10:12:13.000000000 -0600 |
19 |
@@ -61,11 +61,11 @@ |
20 |
# otherwise the user "nobody" is used |
21 |
; guest account = pcguest |
22 |
|
23 |
# this tells Samba to use a separate log file for each machine |
24 |
# that connects |
25 |
- log file = /usr/local/samba/var/log.%m |
26 |
+ log file = /var/log/samba/log.%m |
27 |
|
28 |
# Put a capping on the size of the log files (in Kb). |
29 |
max log size = 50 |
30 |
|
31 |
# Use password server option only with security = server |
32 |
@@ -79,19 +79,22 @@ |
33 |
# Specifies the Active Directory realm the host is part of |
34 |
; realm = MY_REALM |
35 |
|
36 |
# Backend to store user information in. New installations should |
37 |
# use either tdbsam or ldapsam. smbpasswd is available for backwards |
38 |
-# compatibility. tdbsam requires no further configuration. |
39 |
+# compatibility. tdbsam requires no further configuration. If you're |
40 |
+# migrating from < samba 3.4, you'll have to convert your old user |
41 |
+# passwords to the new backend with the command: |
42 |
+# pdbedit -i smbpasswd:/var/lib/samba/private/smbpasswd -e |
43 |
; passdb backend = tdbsam |
44 |
|
45 |
# Using the following line enables you to customise your configuration |
46 |
# on a per machine basis. The %m gets replaced with the netbios name |
47 |
# of the machine that is connecting. |
48 |
# Note: Consider carefully the location in the configuration file of |
49 |
# this line. The included file is read at that point. |
50 |
-; include = /usr/local/samba/lib/smb.conf.%m |
51 |
+; include = /etc/samba/smb.conf.%m |
52 |
|
53 |
# Configure Samba to use multiple interfaces |
54 |
# If you have multiple network interfaces then you must list them |
55 |
# here. See the man page for details. |
56 |
; interfaces = 192.168.12.2/24 192.168.13.2/24 |
57 |
@@ -164,29 +167,29 @@ |
58 |
writable = yes |
59 |
|
60 |
# Un-comment the following and create the netlogon directory for Domain Logons |
61 |
; [netlogon] |
62 |
; comment = Network Logon Service |
63 |
-; path = /usr/local/samba/lib/netlogon |
64 |
+; path = /var/lib/samba/netlogon |
65 |
; guest ok = yes |
66 |
; writable = no |
67 |
; share modes = no |
68 |
|
69 |
|
70 |
# Un-comment the following to provide a specific roving profile share |
71 |
# the default is to use the user's home directory |
72 |
;[Profiles] |
73 |
-; path = /usr/local/samba/profiles |
74 |
+; path = /var/lib/samba/profiles |
75 |
; browseable = no |
76 |
; guest ok = yes |
77 |
|
78 |
|
79 |
# NOTE: If you have a BSD-style print system there is no need to |
80 |
# specifically define each individual printer |
81 |
[printers] |
82 |
comment = All Printers |
83 |
- path = /usr/spool/samba |
84 |
+ path = /var/spool/samba |
85 |
browseable = no |
86 |
# Set public = yes to allow user 'guest account' to print |
87 |
guest ok = no |
88 |
writable = no |
89 |
printable = yes |
90 |
@@ -202,11 +205,11 @@ |
91 |
# the "staff" group |
92 |
;[public] |
93 |
; comment = Public Stuff |
94 |
; path = /home/samba |
95 |
; public = yes |
96 |
-; writable = no |
97 |
+; writable = yes |
98 |
; printable = no |
99 |
; write list = @staff |
100 |
|
101 |
# Other examples. |
102 |
# |