Samba dont work correctly

sudo systemctl status smb.service
● smb.service - Samba SMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-01-12 13:34:46 EET; 21s ago
       Docs: man:smbd(8)
   Main PID: 8996 (smbd)
     Status: "smbd: ready to serve connections..."
      Tasks: 4 (limit: 7085)
     Memory: 28.1M
        CPU: 270ms
     CGroup: /system.slice/smb.service
             ├─8996 /usr/bin/smbd --foreground --no-process-group
             ├─9002 /usr/bin/smbd --foreground --no-process-group
             ├─9003 /usr/bin/smbd --foreground --no-process-group
             └─9004 /usr/lib/samba/samba/samba-bgqd --ready-signal-fd=47 --parent-watch-fd=13 --debuglevel=0 -F

 12 13:34:44 ende systemd[1]: Starting Samba SMB Daemon...
 12 13:34:46 ende smbd[8996]: [2022/01/12 13:34:46.109334,  0] ../../source3/smbd/server.c:1739(main)
 12 13:34:46 ende smbd[8996]:   smbd version 4.15.3 started.
 12 13:34:46 ende smbd[8996]:   Copyright Andrew Tridgell and the Samba Team 1992-2021
 12 13:34:46 ende smbd[8996]: [2022/01/12 13:34:46.260853,  0] ../../lib/param/loadparm.c:747(lpcfg_map_parameter)
 12 13:34:46 ende smbd[8996]:   Unknown parameter encountered: "auth methods"
 12 13:34:46 ende smbd[8996]: [2022/01/12 13:34:46.260963,  0] ../../lib/param/loadparm.c:1751(lpcfg_do_global_parameter)
 12 13:34:46 ende smbd[8996]:   Ignoring unknown parameter "auth methods"
 12 13:34:46 ende systemd[1]: Started Samba SMB Daemon.
 12 13:34:

Yesterday, immediately after setting up the samba, it worked and today, after rebooting the system, it does not view computers on the network


security = user
workgroup = WORKGROUP
server string = Samba

guest account = ende
map to guest = Bad User
auth methods = guest, sam_ignoredomain
create mask = 0664
directory mask = 0775
hide dot files = yes

comment = Public Folder

path = /home/ende/public
browseable = Yes
guest ok = Yes
public = yes
writeable = Yes
read only = no
guest ok = yes
create mask = 0666
directory mask = 0775

my beloved first question on samba is always: do you really need samba?

And the most often issue is that it gets blocked on firewall rules on the local router.

smb.service and nmb.service both should be running to be able to use local hostnames also …

the workgroup specified in the [global] section has to match the Windows workgroup (default WORKGROUP).
check if windows uses the same name.

i do not see logging setup in your config:
logging = systemd
should work or set it to a directory that is writable for smb:
log file = /var/log/samba/%m.log

and if you only need Usershares you do not need a full samba setup:

All computers with Windows are on the network (about 200) . And I see only mine with endeavors . I can see all computers on the network with nmap -sP