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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189 | [global]
usershare owner only = false
max log size = 1000
unix password sync = yes
idmap uid = 16777216-33554431
domain master = no
security = user
logon script = %G.bat
template shell = /dev/null
allow trusted domains = no
logon drive = m:
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
server string = Samba file and print server
log file = /var/log/samba/samba.log
printcap name = cups
interfaces = 127.0.0.1/8 192.168.0.0/24
server schannel = no
os level = 33
client schannel = no
obey pam restrictions = yes
client use spnego = no
delete user script = /usr/sbin/userdel '%u'
remote announce = 192.168.0.255/workgroup 192.168.0.0/workgroup
hosts allow = 127. 192.168.0.
delete group script = /usr/sbin/groupdel '%g'
write raw = no
local master = no
netbios name = Samba24
logon path = \\%L\profiles\%u
follow symlinks = no
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
username level = 6
idmap gid = 16777216-33554431
delete user from group script = /usr/sbin/userdel '%u' '%g'
bind interfaces only = yes
winbind separator = @
enable spoolss = yes
passwd program = /usr/bin/passwd '%u'
winbind trusted domains only = yes
cups options = raw
name resolve order = wins lmhosts bcast
client signing = no
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
read raw = no
workgroup = workgroup
dns proxy = no
winbind cache time = 360
winbind nss info = no
add group script = /usr/sbin/groupadd '%g'
winbind nested groups = no
winbind use default domain = yes
passwd chat timeout = 120
remote browse sync = 192.168.0.255
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
password level = 6
update encrypted = yes
logon home = \\%L\homes\%u
server signing = no
encrypt passwords = yes
machine password timeout = 120
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username map = /etc/samba/smbusers
; load printers = yes
; printing = cups
; guest account = nobody
; null passwords = no
; encrypt passwords = yes
; preferred master = no
; domain logons = no
; time server = no
; wins support = no
; wins proxy = no
; preserve case = yes
; short preserve case = yes
; nt pipe support = yes
; nt status support = yes
; client plaintext auth = no
; disable netbios = no
; pam password change = no
; hostname lookups = no
; passdb backend = tdbsam
; winbind refresh tickets = no
; winbind offline logon = no
; guest ok = no
[homes]
comment = Home Directories
path = /home
valid users = %U
read only = no
available = yes
browseable = yes
guest ok = no
printable = no
locking = no
strict locking = no
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
read only = no
; available = yes
; browseable = yes
; guest ok = no
; printable = no
locking = no
strict locking = no
[profiles]
comment = User Profiles
path = /var/lib/samba/profiles
read only = no
; available = yes
; browseable = yes
; guest ok = no
; printable = no
create mode = 0600
directory mask = 0700
locking = no
strict locking = no
[printers]
comment = All Printers
path = /var/spool/samba
; browseable = yes
; writable = no
; guest ok = no
printable = yes
locking = no
strict locking = no
[pdf-documents]
path = /var/lib/samba/pdf-documents
comment = Converted PDF Documents
admin users = %U
; available = yes
; browseable = yes
writeable = yes
guest ok = yes
locking = no
strict locking = no
[pdf-printer]
path = /tmp
comment = PDF Printer Service
printable = yes
guest ok = yes
use client driver = yes
printing = bsd
print command = /usr/bin/gadmin-samba-pdf %s %u
lpq command =
lprm command =
[RAID_volume]
path = /media/my_username/2TB_RAID_ARRAY
comment = No comment
read only = no
available = yes
browseable = yes
guest ok = no
printable = no
locking = no
strict locking = no
create mask = 0755
[Shared_Folder]
path = /home/my_username/Public
comment = No comment
read only = no
; available = yes
; browseable = yes
guest ok = yes
; printable = no
locking = no
strict locking = no
create mask = 0755
[anonymous]
path = /samba/anonymous
writeable = yes
; browseable = yes
guest ok = yes
[WD_GREEN]
path = /media/my_username/WD_GREEN_2TB
|