Szerintem ez a windowson múlik:
https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/guest-access-in-smb2-is-disabled-by-default
If you can't configure your third-party device to be secure, you can
enable insecure guest access with the following Group Policy settings:
1. Open the Local Group Policy Editor (gpedit.msc) on your Windows device.
2. In the console tree, select
Computer Configuration > Administrative Templates > Network > Lanman
Workstation.
3. For the setting, right-click Enable insecure guest logons and select Edit.
4. Select Enabled > OK.
sz.zs
On Sat, 28 Jan 2023, Csaba wrote:
Sziasztok!
Windows 10 felé szeretnék megosztani egyetlen mappát, helyi hálózaton, saját
gépemről.
Anonim módon lehessen csatlakozni, jelszó nélkül szeretném elérhetővé tenni,
egyébként is router mögött vagyok, valamint csak én használnám.
Ha van jelentősége, Ubuntu Linux van a gépen, erre telepítettem a Samba-t.
Szinte mindent alapértelmezetten hagytam, a "megosztva" könyvtárnak 777
jogosultságot adtam, valamint a vendégként történő csatlakozást lehetővé
tettem.
A Windows látja a megosztást, de másolni nem tud bele, sem semmit létrehozni
("a mappához való hozzáférés megtagadva").
Szeretném, ha a Windows tudná írni-olvasni-törölni a mappát és új mappákat
létrehozni benne, amelyek szintén írhatóak-olvashatóak-törölhetőek lennének.
Az alábbiakban mit kellene módosítanom a beállításokban, vagy esetleg milyen
további opciókat kellene hozzáadnom?
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
server role = standalone server
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user
usershare allow guests = yes
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
; valid users = %S
[Windows-nak]
comment = Windows-nak
path = /home/felhasznalo/megosztva
browseable = yes
read only = no
guest ok = yes
Üdvözlettel: Csaba
_________________________________________________
linux lista - linux@mlf.linux.rulez.org
http://mlf.linux.rulez.org/mailman/listinfo/linux