SMB 共享身份验证不起作用

SMB 共享身份验证不起作用

我对 SMB 共享有问题。我有 4 个用户目录和一个集体目录。我为用户创建帐户(Linux 帐户和 smb 帐户)。我可以在 Nautilius 中看到目录,但无法登录。当我为访客创建共享时,它运行良好。

我的smb.conf:

[global]
; General server settings
netbios name = Microserver
server string =
workgroup = WORKGROUP
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_$

passdb backend = tdbsam
security = user
encrypt passwords = true
name resolve order = hosts wins bcast
interfaces = 127.0.0.1, 192.168.1.10/24
bind interfaces only = yes
wins support = yes

printing = CUPS
printcap name = CUPS

syslog = 1
syslog only = yes

[foo1]
    path = /smb/foo1
    read only = no
    writable = yes
    browseable = yes
    valid users = foo1
    create mask = 0644
    directory mask = 0755

[foo2]
    path = /smb/foo2
    read only = no
    writable = yes
    browseable = yes
    valid users = foo2
    create mask = 0644
    directory mask = 0755

...

[colective]
    read only = no
    writeable = yes
    browseable = yes
    path = /smb/colective
    create mask = 0644
    directory mask = 0755

操作系统:Debian 8.1.0

相关内容