Arquivos sendo Excluidos

1. Arquivos sendo Excluidos

Eric
emcarpanezi

(usa Ubuntu)

Enviado em 09/04/2021 - 14:45h


Boa tarde Pessoal, tenho um servidor de arquivos dedicado. esta acontecendo o seguinte. arquivos com extensão .pdf não esta sendo salvo.

nos logs do full_audit, ele informa que o arquivo foi criado e logo em seguida ja tem um unlinkat , e o arquivos some !. alguem ja passou por isso,
Sistema Operacional: Debian 10
Samba 4.13.0


  


2. Re: Arquivos sendo Excluidos

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 09/04/2021 - 15:21h


como esta o seu smb.conf ?
pode postar ai ?


3. Re: Arquivos sendo Excluidos

Eric
emcarpanezi

(usa Ubuntu)

Enviado em 09/04/2021 - 15:29h


danniel-lara escreveu:


como esta o seu smb.conf ?
pode postar ai ?


[global]
security = ADS
interfaces = lo ens18
workgroup = PMAI
realm = PMAI.SAMBA
log file = /var/log/samba/%m.log
log level = 3
idmap_ldb:use rfc2307 = yes
wins support = yes
username map = /opt/samba/etc/user.map
client min protocol = SMB2
client max protocol = SMB3
map acl inherit = yes
store dos attributes = yes

vfs objects = acl_xattr,acl_tdb,recycle,full_audit
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
winbind refresh tickets = yes
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config PMAI:backend = ad
idmap config PMAI:schema_mode = rfc2307
idmap config PMAI:range = 10000-9999999
idmap config PMAI:unix_nss_info = no
idmap_ldb:use rfc2307 = yes
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
sync always = yes
strict sync = yes

recycle:repository = .Lixeira/%U
recycle:directory_mode = 770
recycle:keeptree = yes
recycle:versions = yes
recycle:exclude = *.mp3, *.mp4, *.exe, *.msi, *.bat, *.log, *.tmp
recycle:exclude_dir = cache, tmp, temp

# Auditoria Arquivos
full_audit:success = all
full_audit:prefix = %U|%I|%S
full_audit:failure = none
full_audit:facility = local7
full_audit:priority = notice

# ------------------ #
# COMPARTILHAMENTOS
# ------------------ #




[Publico]
path = /srv/dados/p_publico
read only = no

[Usuarios]
path = /srv/dados/p_usuarios
read only = no


Segue log da criação do arquivo

Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|connectpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|connectpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|openat|ok|w|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fcntl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fcntl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|kernel_flock|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_file|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|setxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|set_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fget_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fget_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_set_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fsetxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.SAMBA_PAI
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fset_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf []
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fgetxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.SAMBA_PAI
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fget_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fsetxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|security.NTACL
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|create_file|ok|0x120196|file|create|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|get_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|security.NTACL
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_file|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|kernel_flock|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|close|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|stat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|realpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|connectpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|get_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|security.NTACL
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_file|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|create_file|ok|0x10080|file|open|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|get_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|security.NTACL
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_file|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|stat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|get_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|stat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|stat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|stat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|unlinkat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|connectpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|connectpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|connectpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|openat|ok|w|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fcntl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fcntl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|kernel_flock|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_file|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|setxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|set_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fget_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fget_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_set_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fsetxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.SAMBA_PAI
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fset_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf []
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fgetxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.SAMBA_PAI
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fget_nt_acl|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_fd|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fsetxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|security.NTACL
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|create_file|ok|0x120196|file|overwrite_if|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|get_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|security.NTACL
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|sys_acl_blob_get_file|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|strict_lock_check|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf:0-73710:1
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|pwrite_send|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|pwrite_recv|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fsync_send|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fsync_recv|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|getxattr|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|user.DOSATTRIB
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|get_dos_attributes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|ntimes|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf|qua dez 31 21:00:01 1969 -03|qua dez 31 21:00:01 1969 -03|sex abr 9 15:19:18 2021 -03|qua dez 31 21:00:01 1969 -03
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|fstat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|kernel_flock|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|stat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|stat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:17 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|unlinkat|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf
Apr 9 15:19:18 srvarq-pmai smbd_audit: emcarpanezi|192.168.0.8|Usuarios|connectpath|ok|/srv/dados/p_usuarios/emcarpanezi/Desktop/eric_novo.pdf




4. Re: Arquivos sendo Excluidos

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 09/04/2021 - 16:04h


ok e como esta as permissões dos diretórios ?

/srv/dados/p_publico
/srv/dados/p_usuarios


5. Re: Arquivos sendo Excluidos

Eric
emcarpanezi

(usa Ubuntu)

Enviado em 09/04/2021 - 16:26h

danniel-lara escreveu:


ok e como esta as permissões dos diretórios ?

/srv/dados/p_publico
/srv/dados/p_usuarios


drwxrwx---+ 18 root domain admins 4096 abr 9 15:51 p_publico
drwxrwx---+ 29 root domain admins 4096 abr 9 12:31 p_usuarios

# file: p_usuarios/
# owner: root
# group: domain\040admins
user::rwx
user:root:rwx
group::rwx
group:NT\040Authority\\authenticated\040users:r-x
group:NT\040Authority\\system:rwx
group:domain\040admins:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:group::---
default:group:NT\040Authority\\system:rwx
default:group:domain\040admins:rwx
default:mask::rwx
default:other::---


# file: p_publico/
# owner: root
# group: domain\040admins
user::rwx
user:root:rwx
group::rwx
group:NT\040Authority\\authenticated\040users:rwx
group:domain\040admins:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:group::r-x
default:group:NT\040Authority\\authenticated\040users:rwx
default:group:domain\040admins:r-x
default:mask::rwx
default:other::---


Segue fotos em anexo, o que notei foi o seguinte, se eu fazer o download de algum arquivos na internet com extensão pdf ele salva normal, se eu clicar em Imprimir e gerar arquivo pdf já da o problema.

na pasta Publico não esta mostrando, mas esta com acesso total os usuarios autenticados no compartilhamento