桑巴问题,Windows7客户端与ubuntu18.04服务器失去连接

时间:2019-01-15 12:45:54

标签: windows-7 samba ubuntu-18.04

这是我的第一篇文章,希望不会犯太多错误。
我有以下问题。 我在运行Ubuntu 18.04 LTS的服务器上做了一个samba共享。

我可以访问共享。 当我尝试运行远程客户端程序时,出现错误:
与服务器的连接丢失:错误2(未接收到数据)

这是我的“ smb.conf”配置:

[global]  
    dns proxy = No  
    lanman auth = Yes  
    log file = /var/log/samba/log.%m  
    map to guest = Bad User  
    max log size = 1000  
    ntlm auth = ntlmv1-permitted  
    obey pam restrictions = Yes  
    pam password change = Yes  
    panic action = /usr/share/samba/panic-action %d  
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew  \s*\spassword:* %n\n *password\supdated\ssuccessfully* .  
    passwd program = /usr/bin/passwd %u  
    security = USER  
    server max protocol = NT1  
    server role = standalone server  
    server string = Test  
    syslog = 0  
    unix password sync = Yes  
    usershare allow guests = Yes  
    workgroup = KHD  
    idmap config * : backend = tdb  


[printers]  
    browseable = No  
    comment = All Printers  
    create mask = 0700  
    path = /var/spool/samba  
    printable = Yes  


[print$]  
    comment = Printer Drivers  
    path = /var/lib/samba/printers  


[SeqPilot]  
    path = /media/data/tools/SeqPilot  
    read only = No  
    valid users = jsi, krezdorn  
    guest okay = no  
    browseable = yes  
    writeable = yes  

以下是“ smbstatus --shares 中的信息:

sudo smbstatus --shares


Service      pid     Machine       Connected at                     Encryption   Signing     
---------------------------------------------------------------------------------------------
SeqPilot     14779   161.42.50.198 Tue Jan 15 11:29:59 AM 2019 CET  -            -         

我试图修复此问题几天。

谢谢您的任何建议。

0 个答案:

没有答案