ILD

windows 10 连接 ubuntu 18.04 samba登录失败
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2019-3-26 站点:Inside Linux Development

$ cat /etc/samba/smb.conf

[global]

        workgroup = WORKGROUP

        security = user

        encrypt passwords = yes

        passdb backend = smbpasswd

        map to guest = Bad User

        usershare allow guests = Yes

        ntlm auth = yes


[yuan]

        comment = yuan home directory

        path = /home/yuan

        read only = no

#       guest ok = yes

        browseable = yes

        writable = Yes

        valid users = yuan


加上        ntlm auth = yes 就ok了。

https://superuser.com/questions/1125438/windows-10-password-error-with-samba-share

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.