alecardoso
(usa Outra)
Enviado em 11/05/2023 - 09:18h
Estou com o erro abaixo quando inicializo o Samba
May 11 09:10:50 FSEMTEC smbd[347241]: Copyright Andrew Tridgell and the Samba Team 1992-2022
May 11 09:10:50 FSEMTEC smbd[347241]: [2023/05/11 09:10:50.235979, 0] ../../lib/param/loadparm.c:747(lpcfg_map_parameter)
May 11 09:10:50 FSEMTEC smbd[347241]: Unknown parameter encountered: "user"
May 11 09:10:50 FSEMTEC smbd[347241]: [2023/05/11 09:10:50.236016, 0] ../../lib/param/loadparm.c:1791(lpcfg_do_service_parameter)
May 11 09:10:50 FSEMTEC smbd[347241]: Ignoring unknown parameter "user"
May 11 09:10:50 FSEMTEC smbd[347241]: [2023/05/11 09:10:50.236064, 0] ../../lib/param/loadparm.c:747(lpcfg_map_parameter)
May 11 09:10:50 FSEMTEC smbd[347241]: Unknown parameter encountered: "user"
May 11 09:10:50 FSEMTEC smbd[347241]: [2023/05/11 09:10:50.236076, 0] ../../lib/param/loadparm.c:1791(lpcfg_do_service_parameter)
May 11 09:10:50 FSEMTEC smbd[347241]: Ignoring unknown parameter "user"
May 11 09:10:50 FSEMTEC systemd[1]: Started Samba SMB Daemon.
Segue as configurações do Samba 4 que tenho instalado em minha distribuição Rock Linux
# 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.
#
# Note:
# SMB1 is disabled by default. This means clients without support for SMB2 or
# SMB3 are no longer able to connect to smbd (by default).
[global]
allow hosts = ALL
writeable = yes
socket options = TCP_NODELAY
log file = /var/log/samba.%m
workgroup = EMTEC
local master = no
server string = Servidor Linux - Emtec
load printers = no
max log size = 50
valid users = gonzales
domain master = no
encrypt passwords = yes
dns proxy = no
interfaces = 10.0.0.14
netbios name = FSEMTEC
preferred master = no
[Publico]
force create mode = 0777
force directory mode = 0777
public = yes
valid users = gonzales
printable = no
browseable = yes
path = /home/Publico
[Emtec]
user = gonzales,root,usrpleno,@gonzales,thais.goncalves
available = no
path = /home/Emtec
comment = Unidade Emtec
browseable = no
valid users = root,gonzales,usrpleno,@gonzales,thais.goncalves
[Tecnologia]
user = thais.carvalho,@Tecnologia
path = /home/Emtec/TI
writable = yes
browseable = yes
comment = Destinado ao Time de Tecnologia
valid users = thais.carvalho,@Tecnologia
force group = Tecnologia
printable = no
force directory mode = 0777
force create mode = 0777
create mode = 0777
directory mode = 0777
=======================
Resultado do TESTPARM
testparm
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated
Unknown parameter encountered: "user"
Ignoring unknown parameter "user"
Unknown parameter encountered: "user"
Ignoring unknown parameter "user"
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions