debian home samba testparm -s Load smb config files from etc samba smb

 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
debian:/home/samba# testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[share]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
[global]
dos charset = cp1251
unix charset = utf8
display charset = cp1251
netbios name = FILESERVER
server string = FILESERVER SERVER
interfaces = eth0
log level = 1
log file = /var/log/samba/workstations/%m.log
max log size = 50
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
set primary group script = /usr/sbin/usermod -g %g %u
add machine script = /usr/sbin/useradd -g nt_workstations -s /bin/false -d /dev/null %u
logon script = %G.bat
logon path =
logon home =
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
hosts allow = 192.168., 127.
[homes]
comment = Home Directories
read only = No
browseable = No
[netlogon]
path = /srv/samba/netlogon
browseable = No
[share]
path = /home/samba/incoming
force group = users
read only = No
create mask = 0775
directory mask = 0775