LuizJr
(usa Conectiva)
Enviado em 15/08/2019 - 09:40h
Segue as informações:
[root@fileserver ~]# cat /etc/samba/smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
#server string = FILE-UNION
server string = FILESERVER
map to guest = bad user
#security = user
# interfaces = eth1
#bind interfaces only = yes
#encrypt passwords = yes
#passdb backend = tdbsam
vfs objects = recycle crossrename full_audit
crossrename:sizelimit = 2000
recycle:facility = LOCAL6
recycle:priority = NOTICE
recycle:repository = /dados/lixeira/%U
recycle:keeptree = True
recycle:touch = Yes
recycle:exclude = *.tmp, *.temp, *.log, *.ldb, *.o, *.obj, ~*.*. *.bak
recycle:exclude_dir = tmp, temp, cache
recycle:versions = No
recycle:noversions = .doc|.docx|.xls|.ppt|*.dc1
#[homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes
#[printers]
# comment = All Printers
# path = /var/tmp
# printable = Yes
# create mask = 0600
# browseable = No
#[print$]
# comment = Printer Drivers
# path = /var/lib/samba/drivers
# write list = @printadmin root
# force group = @printadmin
# create mask = 0664
# directory mask = 0775
[Departamento]
path = /dados/dados/corporate/files/Departamento
comment =
public = yes
writable = yes
guest only = no
create mask = 2777
directory mask = 2777
force create mode = 2777
force directory mode = 2777
[Departamento_Fiscal]
path = /dados/dados/corporate/files/Depto_Fiscal
comment = Departamento Fiscal
public = yes
writable = yes
guest ok = yes
create mask = 2777
directory mask = 2777
force create mode = 2777
force directory mode = 2777
[Seguranca T.I]
path = /dados/dados//corporate/files/Segurança T.I
comment = Seguranca T.I
public = yes
writable = yes
guest ok = yes
create mask = 2777
directory mask = 2777
force create mode = 2777
force directory mode = 2777
[Camptecnica]
path = /dados/dados/corporate/files/camptecnica
public = yes
writable = yes
read only = yes
comment = camptecnica
guest ok = yes
create mask = 2777
directory mask = 2777
force create mode = 2777
force directory mode = 2777
[Manual Clientes PDF]
path = /dados/dados/corporate/files/MANUAL CLIENTES PDF (1)
comment = Manual Clientes
public = yes
writable = yes
guest ok = yes
create mask = 2777
directory mask = 2777
force create mode = 2777
force directory mode = 2777
[publico]
comment = Publico
path = /dados/dados//corporate/files/Departamento/Publico
public = yes
read only = yes
writable = yes
guest ok = yes
create mask = 2777
directory mask = 2777
force create mode = 2777
force directory mode = 2777
#[lixeira]
# path = /srv/samba/lixeira
# writeable = yes
# browseable = no
[root@fileserver ~]# smbd -V
Version 4.8.3