Freebsd 8.1 Samba4 smbclient 返回 NT_STATUS_INVALID_PARAMETER

Freebsd 8.1 Samba4 smbclient 返回 NT_STATUS_INVALID_PARAMETER

我想设置一个 NAS 服务器并在其上运行 Samba4。当我运行此命令时:

# smbclient -I 192.168.48.128 -L NAS_GROUP
Enter root's password:
Connection to 192.168.48.128 failed (Error NT_STATUS_INVALID_PARAMETER)

这是我的 /usr/local/etc/smb4.conf:

[global]

workgroup = NAS_GROUP
server string = nas_server
security = user
interfaces = em0
log file = /var/log/samaba/log.%m
max log size = 50
local master = no
dns proxy = no
unix charset = UTF-8
dos charset = cp850

#Partages :
[documents]
comment = documents dir
path = storage/documents
wirteable = yes
hide dot files = yes
guest ok = no
valid users = %S

[medias]
comment = medias dir
path = storage/medias
wirteable = yes
hide dot files = yes
guest ok = no
valid users = %S

有什么想法或建议吗?

答案1

您应该检查路径和可写行。路径必须是绝对路径,并且可写不应是可写的

相关内容