Здравствуйте, установил Fedora Server 38 на Boxes. Установил Samba.
Настроил samba вот так:
sudo -i
dnf -y install samba samba-client
systemctl enable smb nmb
firewall-cmd --add-service=samba --permanent
firewall-cmd --reload
getenforce
setsebool -P samba_enable_home_dirs on
pdbedit -a user
systemctl restart smb nmb
hostname server1
hostnamectl set-hostname server1
systemctl restart smb nmb
Вот мой конфиг:
# 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]
workgroup = WORKGROUP
usershare owner only = false
security = user
map to guest = bad password
client min protocol = NT1
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
# Install samba-usershares package for support
include = /etc/samba/usershares.conf
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
quest only = no
quest ok = yes
share modes = yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
Пишет ошибку при подключении с линукса:
С винды что тоже не удаётся подключиться и просит сделать диагностику сети.
Помогите пжж, из-за чего он не может подключиться, вроде всё правильно настроил