forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 824|回复: 4

    [文件共享] Win10连接报错

    [复制链接]

    7

    主题

    13

    帖子

    80

    积分

    注册会员

    Rank: 2

    积分
    80
    发表于 2022-2-28 09:10:30 | 显示全部楼层 |阅读模式

    Win10连接文件共享报错:因为文件共享不安全,所以你不能连接到文件共享。此共享需要过时的SMB1协议,而此协议是不安全的,可能会使你的系统遭受攻击。 你的系统需要SMB2或更高版本。

    /etc/samba/smb.conf.template中修改server min protocol 没有效果
    1. root@GL-SFT1200:/mnt/sda1# cat /var/etc/smb.conf
    2. [global]
    3.         netbios name = GL-SFT1200
    4.         display charset = UTF-8
    5.         interfaces = lo br-lan
    6.         server string = GL-SFT1200-98c
    7.         unix charset = UTF-8
    8.         workgroup = WORKGROUP
    9.         browseable = yes
    10.         deadtime = 30
    11.         domain master = yes
    12.         encrypt passwords = true
    13.         enable core files = no
    14.         guest account = nobody
    15.         guest ok = yes
    16.         invalid users = root
    17.         local master = yes
    18.         load printers = no
    19.         map to guest = Bad User
    20.         min receivefile size = 16384
    21.         null passwords = yes
    22.         obey pam restrictions = yes
    23.         os level = 20
    24.         passdb backend = smbpasswd
    25.         preferred master = yes
    26.         printable = no
    27.         security = share
    28.         smb encrypt = disabled
    29.         smb passwd file = /etc/samba/smbpasswd
    30.         socket options = TCP_NODELAY IPTOS_LOWDELAY
    31.         syslog = 2
    32.         use sendfile = yes
    33.         writeable = yes
    34.         server min protocol = SMB2
    35.         server max protocol = SMB2

    36. [homes]
    37.         comment     = Home Directories
    38.         browsable   = no
    39.         read only   = no
    40.         create mode = 0750

    41. [GL-Samba]
    42.         path = /mnt/sda1
    43.         read only = yes
    44.         guest ok = yes
    复制代码


    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9642

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9642

    官方人员

    发表于 2022-2-28 10:49:54 | 显示全部楼层
    windows上samba1使能了没?如果没使能可以使能看一下




    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    0

    主题

    2

    帖子

    18

    积分

    新手上路

    Rank: 1

    积分
    18
    发表于 2022-9-1 23:19:33 | 显示全部楼层
    萝卜大侠 发表于 2022-2-28 10:49
    windows上samba1使能了没?如果没使能可以使能看一下

    文件共享的账号密码是什么呀?我输入root的账号密码不行啊
    回复

    使用道具 举报

    0

    主题

    2

    帖子

    18

    积分

    新手上路

    Rank: 1

    积分
    18
    发表于 2022-9-1 23:21:18 | 显示全部楼层
    Young-olo 发表于 2022-9-1 23:19
    文件共享的账号密码是什么呀?我输入root的账号密码不行啊

    guest ok = yes//允许匿名访问
    回复

    使用道具 举报

    0

    主题

    834

    帖子

    1684

    积分

    禁止发言

    积分
    1684
    发表于 2023-1-14 08:30:09 | 显示全部楼层
    提示: 作者被禁止或删除 内容自动屏蔽
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-5-8 19:15 , Processed in 0.023690 second(s), 26 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表