You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
70 lines
1.9 KiB
5 years ago
|
[global]
|
||
|
# Имя сервера
|
||
|
workgroup = group name
|
||
|
netbios name = strange name
|
||
|
server string = Calculate Directory Server
|
||
|
|
||
|
#маска создаваемых директорий для Windows и cifs-клиентов
|
||
|
directory mask = 0755
|
||
|
#маска для изменения прав на директории для cifs-клиентов
|
||
|
directory security mask = 0755
|
||
|
#маска создаваемых директорий для smbfs-клиентов
|
||
|
force directory security mode = 0755
|
||
|
#ограничение прав файлов при создании и модификации
|
||
|
#для cifs и smbfs клиентов
|
||
|
security mask = 0644
|
||
|
force security mode = 0644
|
||
|
#права файлов на создаваемые и модифицируемые файлы из Windows
|
||
|
create mask = 0644
|
||
|
|
||
|
# добавление админских привилегий в домене группе Domain Admins
|
||
|
enable privileges = yes
|
||
|
|
||
|
!guest account =
|
||
|
!dns proxy
|
||
|
|
||
|
# A publicly accessible directory, but read only, except for people in
|
||
|
# the "staff" group
|
||
|
[tmp]
|
||
|
comment = Public Stuff
|
||
|
path = /home/samba
|
||
|
public = yes
|
||
|
writable = no
|
||
|
printable = no
|
||
|
write list = @staff
|
||
|
|
||
|
[netlogon]
|
||
|
comment = Logon Service
|
||
|
share modes = no
|
||
|
|
||
|
[unix]
|
||
|
path = /home/path
|
||
|
browseable = No
|
||
|
writable = yes
|
||
|
directory mask = 0777
|
||
|
directory security mask = 0777
|
||
|
force directory security mode = 0
|
||
|
create mask = 0777
|
||
|
|
||
|
[netlogon]
|
||
|
|
||
|
!writable = yes
|
||
|
!comment
|
||
|
|
||
|
[-homes]
|
||
|
# New comment
|
||
|
path = /home/user/somewhere
|
||
|
comment = Home Directories
|
||
|
valid users = %U
|
||
|
read only = No
|
||
|
browseable = No
|
||
|
|
||
|
[unix]
|
||
|
security mask = 0777
|
||
|
force security mode = 0
|
||
|
force user = %U
|
||
|
valid users = %U
|
||
|
hide unreadable = no
|
||
|
root preexec = /usr/lib/calculate/calculate-server/bin/execserv -s --login %U
|
||
|
root postexec = /usr/lib/calculate/calculate-server/bin/execserv -s --logout %U
|