我已经按照本指南在 CentOS 7 上配置了一个文件服务器来共享主目录,在 CentOS 7 上设置文件服务器 - 一步步。但是当我尝试访问共享时,它显示空白窗口。我可以看到服务已启动并正常运行。
[root@localhost ~]# systemctl status smb
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2017-06-12 16:34:15 IST; 7min ago
Main PID: 3251 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─3251 /usr/sbin/smbd
├─3252 /usr/sbin/smbd
├─3253 /usr/sbin/smbd
└─3254 /usr/sbin/smbd
Jun 12 16:34:15 localhost.localdomain systemd[1]: Starting Samba SMB Daemon...
Jun 12 16:34:15 localhost.localdomain smbd[3251]: [2017/06/12 16:34:15.45648...
Jun 12 16:34:15 localhost.localdomain smbd[3251]: STATUS=daemon 'smbd' fin...
Jun 12 16:34:15 localhost.localdomain systemd[1]: Started Samba SMB Daemon.
Hint: Some lines were ellipsized, use -l to show in full.
主页块位于smb.conf
:
[homes]
comment = Home Directories
browseable = No
inherit acls = Yes
read only = No
valid users = %S %D%w%S
防火墙已关闭,SELinux 已启用home dir allowed
。我是否遗漏了什么?