samba服务器上的身份验证失败

时间:2018-08-06 15:15:09

标签: authentication samba

我正在尝试连接到samba服务器,但是我可以找到登录方式

我的/etc/samba/smb.conf

[global]
        log file = /var/log/samba/log.%m
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        obey pam restrictions = yes
        map to guest = bad user
        encrypt passwords = yes
        passwd program = /usr/bin/passwd %u
        passdb backend = tdbsam
        wins support = true
        dns proxy = no
        server string = %h Server
        unix password sync = yes
        workgroup = WORKGROUP
        os level = 20
        security = user
        syslog = 0
        panic action = /usr/share/samba/panic-action %d
        usershare allow guests = yes
        max log size = 1000
        pam password change = yes

[Magana]
        writeable = yes
        valid users = magana
        path = /var/www/projects/dev/magana
        force directory mode = 770
        force group = www-data
        force create mode = 770
        force user = magana
        comment = Public Share Directory
        public = yes
        create mode = 770
        directory mode = 770

所以我试图用下一个用户列表登录,但没有成功:

  • \ magana
  • 192.168.1.56 \ magana
  • workgroup \ magana

我想念什么? 如果删除行valid users = magana

,我可以连接到共享文件夹

0 个答案:

没有答案