victorreame
(usa Ubuntu)
Enviado em 08/02/2018 - 09:52h
renato_pacheco escreveu:
Esse processo é um daemon do Samba. A minha pergunta é: vc tem necessidade de manter um serviço Samba rodando nesse servidor? Se sim, é necessário verificar nos logs do Samba a quantidade de acessos, revisar as configurações smb.conf (para deixá-lo mais enxuto possível) etc. Caso contrário, pare o serviço e descadastre-o da inicialização do sistema. Se for Debian, faça:
# service samba stop
# systemctl disable samba
--
Renato Carneiro Pacheco
Certificado Linux LPIC-1
Especialista em Segurança em Redes de Computadores
Graduado em Redes de Comunicação
http://br.linkedin.com/in/renatocarneirop
http://www.facebook.com/renatocarneirop
"Não acredite no que eu digo, pois é a minha experiência e não a sua. Experimente, indague e busque." - Osho Rajneesh
A minha pergunta é: vc tem necessidade de manter um serviço Samba rodando nesse servidor?
Sim, uso para compartilhamento dos arquivos, só possuo esse servidor na empresa.
Se sim, é necessário verificar nos logs do Samba a quantidade de acessos
[2018/02/08 07:33:27.906659, 0] ../source4/smbd/server.c:370(binary_smbd_main)
samba version 4.1.13-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2018/02/08 07:33:31.219407, 0] ../source4/smbd/server.c:488(binary_smbd_main)
samba: using 'standard' process model
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2018/02/08 07:33:31.230470, 0] ../lib/util/become_daemon.c:136(daemon_ready)
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2018/02/08 07:59:13.793501, 0] ../auth/ntlmssp/ntlmssp_sign.c:236(ntlmssp_check_packet)
NTLMSSP NTLM2 packet check failed due to invalid signature!
[2018/02/08 08:06:08.171448, 0] ../auth/ntlmssp/ntlmssp_sign.c:236(ntlmssp_check_packet)
NTLMSSP NTLM2 packet check failed due to invalid signature!
revisar as configurações smb.conf
# Global parameters
[global]
netbios name = SERVIDOR
workgroup = BUMI-PDC
server role = active directory domain controller
winbind enum groups = Yes
printing = bsd
winbind trusted domains only = No
load printers = No
comment = Sistemas Bumi
log file = /var/log/samba/log.%m
winbind enum users = Yes
hide unreadable = Yes
disable spoolss = yes
realm = BUMI.PDC
printcap name = /dev/null
idmap_ldb:use rfc2307 = yes
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
max log size = 50
path = /sistemas
winbind use default domain = Yes
winbind nss info = rfc2307
#WINBIND
# logs
#disable printer
[netlogon]
path = /var/lib/samba/sysvol/bumi.pdc/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[dados]
path = /dados
force directory mode = 0770
comment = Dados Bumi
writeable = yes
force create mode = 0770
[db]
comment = Banco de Dados Firebird
path = /var/data
read only = No
browseable = Yes
valid users = administrator
[sistemas]
path = /sistemas
force directory mode = 0770
comment = Sistemas Bumi
writeable = yes
force create mode = 0770
[WEB]
path = /var/www/html
force directory mode = 0770
comment = Sistemas Web Bumi
writeable = yes
force create mode = 0770
[NFeMM]
path = /var/www/html/SisBumi/sistemas/mm/notas/nfe/producao
force directory mode = 0770
comment = Notas Madeira Madeira
writeable = yes
force create mode = 0770