VM Spec: Windows10 VM, работающая на QEMU/KVM
my `/etc/samba/smb.conf`:
Код: Выделить всё
[global]
workgroup = SAMBA
security = user
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
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
[shared]
comment = windows/linux share
public = Yes
available = Yes
writeable = Yes
force create mode = 777
force directory mode = 777
guest ok = Yes
path = $HOME/mysharedfolder
valid users = root
read only = No
browseable = Yes
После перезапуска сервисов SMB и NMB я захожу в свой Windows VM и использую вариант сети карты в Explorer, Enter \\ linuxip \ shared in informer in in in in in in inder> in in inder> in inder> in in inder> in inder> and interder
Это всплывающее окно показано:
Код: Выделить всё
You do not have permission to access IP. Contact your network administrator to get access
Я попытался добавить различные параметры в мой smb.conf, результат которого наклеивается выше, и даже попытался сделать шаги здесь:
https://learn.microsoft.com/en-us/troub ... -explorers
Все безрезультатно. вверх. Соответствующие строки в моем скрипте QEMU/KVM запуска:
Код: Выделить всё
-device e1000e,netdev=vmnic\
-netdev user,id=vmnic\
Подробнее здесь: https://stackoverflow.com/questions/797 ... ndows10-vm