i followed this article first but didn’t work, tried to disable SElinux but nothing happed
, I was using Pop os and few days ago i Replaced with fedora,
these settings was working on Pop, but i have no idea why they are not working here.
I’m Using Virt Manager to Run Windows 10 Guest machine
[global]
dns proxy = No
map to guest = Bad User
panic action = /usr/share/samba/panic-action %d
security = USER
server string = %h server (Samba, Fedora)
usershare allow guests = Yes
wins support = Yes
workgroup = HOME
idmap config * : backend = tdb
hosts allow = 127.0.0.1 192.168.122.1/24
hosts deny = 0.0.0.0/0
[homes]
browseable = No
comment = Home Directories
inherit acls = Yes
read only = No
valid users = %S %D%w%S
[printers]
browseable = No
comment = All Printers
create mask = 0600
path = /var/tmp
printable = Yes
[print$]
comment = Printer Drivers
create mask = 0664
directory mask = 0775
force group = @printadmin
path = /var/lib/samba/drivers
write list = @printadmin root
[share]
comment = Host SAMBA Server for VM
create mask = 0777
directory mask = 0777
force group = jawad
force user = jawad
guest ok = Yes
path = /home/jawad/share
read only = No
And Journalctl -f output when restarting smb and nmb
Nov 08 20:16:43 fedora systemd[1]: smb.service: Got notification message from PID 19087, but reception only permitted for main PID 19083
Nov 08 20:17:06 fedora nmbd[19080]: [2021/11/08 20:17:06.469294, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Nov 08 20:17:06 fedora nmbd[19080]: *****
Nov 08 20:17:06 fedora nmbd[19080]:
Nov 08 20:17:06 fedora nmbd[19080]: Samba name server FEDORA is now a local master browser for workgroup HOME on subnet 192.168.1.102
Nov 08 20:17:06 fedora nmbd[19080]:
Nov 08 20:17:06 fedora nmbd[19080]: *****
Nov 08 20:17:06 fedora nmbd[19080]: [2021/11/08 20:17:06.469821, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Nov 08 20:17:06 fedora nmbd[19080]: *****
Nov 08 20:17:06 fedora nmbd[19080]:
Nov 08 20:17:06 fedora nmbd[19080]: Samba name server FEDORA is now a local master browser for workgroup HOME on subnet 192.168.122.1
Nov 08 20:17:06 fedora nmbd[19080]:
Nov 08 20:17:06 fedora nmbd[19080]: *****
Nov 08 20:17:06 fedora nmbd[19080]: [2021/11/08 20:17:06.470489, 0] ../../source3/nmbd/nmbd_browsesync.c:355(find_domain_master_name_query_fail)
Nov 08 20:17:06 fedora nmbd[19080]: find_domain_master_name_query_fail:
Nov 08 20:17:06 fedora nmbd[19080]: Unable to find the Domain Master Browser name HOME<1b> for the workgroup HOME.
Nov 08 20:17:06 fedora nmbd[19080]: Unable to sync browse lists in this workgroup.
Nov 08 20:17:06 fedora nmbd[19080]: [2021/11/08 20:17:06.470666, 0] ../../source3/nmbd/nmbd_browsesync.c:355(find_domain_master_name_query_fail)
Nov 08 20:17:06 fedora nmbd[19080]: find_domain_master_name_query_fail:
Nov 08 20:17:06 fedora nmbd[19080]: Unable to find the Domain Master Browser name HOME<1b> for the workgroup HOME.
Nov 08 20:17:06 fedora nmbd[19080]: Unable to sync browse lists in this workgroup.
Still the same
i think Samba Server Is working but Windows Can’t Connect to it for some reason
Tried to connect to Samba through Nautilus from the same system and it worked
Windows Saying \192.168.122.1\ Is there but Can’t connect Maybe because a firewall blocking it
i configured SElinux also tried to set it to Premissive but nothing changed