我有一台 ubuntu 服务器 20:
- 分销商 ID:Ubuntu
- 描述:Ubuntu 20.04.2 LTS
- 发行:20.04
- 代号:focal
我之前曾以多种方式安装了 ubuntu 共享,但在基于 Linux 的系统上都无法工作。:(。我必须能够访问我的共享的展位窗口和 Linux 系统。但只有我可以在 Windows 下访问它。我已阅读并尝试了大量论坛和主题,但都没有用。
我的实际配置是:
global]
unix charset = UTF-8
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
log level = 1
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
client min protocol = NT1
[publicshare]
path = /sare
writable = yes
guest ok = yes
guest only = yes
force create mode = 775
force directory mode = 775
我的桑巴信息:
mrkiss@microserver:~$ sudo smbstatus
Samba version 4.11.6-Ubuntu
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
3350 nobody nogroup 192.168.1.113 (ipv4:192.168.1.113:39558) SMB2_02 - -
Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
share 3350 192.168.1.113 Sun Aug 1 11:20:39 AM 2021 UTC - -
Locked files:
Pid User(ID) DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
3350 65534 DENY_NONE 0x81 RDONLY NONE /share Movie/Movies/Single/DVD/Uj/W_The Bounty/VIDEO_TS Sun Aug 1 11:22:55 2021